Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2992
  • Last Modified:

How to get the LockBox creation done for RSA Encryption

Hi,

I had my java application using and working for Lockbox earlier. But when I changed the code and trying to re-register my identity for RSA Client I am getting below exception. The rsa property file is same as before. I have also got my earlier identity record deleted from RSA server before I was trying to register again.


[16 Nov 2010 15:30:51] ERROR [NEXRSAEncryptionService] com.rsa.kmc.KMException: com.rsa.kmc.x.bg: Lokbox creation failed
      at com.rsa.kmc.x.aQ.e(Unknown Source)
      at com.rsa.kmc.x.aQ.a(Unknown Source)
      at com.rsa.kmc.KMConfig.<init>(Unknown Source)
      at com.nex.fuelsale.NEXRSAEncryptionService.<init>(Unknown Source)
      at com.nex.fuelsale.NEXFuelSaleRSAEncryption.insertTransactionUsingRSA(Unknown Source)
      at com.nex.fuelsale.NEXFuelSaleRSAEncryption.main(Unknown Source)
Caused by: com.rsa.kmc.x.bg: Lokbox creation failed
      at com.rsa.kmc.core.client.Store.g(Unknown Source)
      at com.rsa.kmc.core.client.Store.e(Unknown Source)
      at com.rsa.kmc.core.client.Store.<init>(Unknown Source)
      ... 6 more
Caused by: java.lang.Exception: Error: -44 LockBox::LockBox : Lockbox file was not found.
      at com.emc.clb.clbBridge.clbBridgeJNI.new_LockBox__SWIG_0(Native Method)
      at com.emc.clb.clbBridge.LockBox.<init>(LockBox.java:39)
      at com.emc.clb.LockBox.<init>(LockBox.java:128)



I can provide more details about proerties that I using upon the request. But just in case if somebody can give me any tip on what possibly could be wrong.

Thanks
0
MehtaJasmin
Asked:
MehtaJasmin
  • 2
1 Solution
 
GenroseSusaiCommented:
Looking at the exception, it says the Lockbox file was not found and hence the problem.
Can you check is there any path issue.
0
 
MehtaJasminAuthor Commented:
the issue got resolved.

I just had to create 'RSA' folder under respective directory. The code worked there after without any exception.

Thanks for your time.

0
 
MehtaJasminAuthor Commented:
found solution myself.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now