Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-04-2009
Registered User
 

Join Date: Dec 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 10

Hi,

In our server, we installed bea 10.3. We are pointing to new jdk 1.6 of bea. But the sun solaris server, it is taking java version "1.5.0_07" by the solaris one. We have generate the key using jdk 1.6 of (jce jar). We are not able to create the keys. The Exception is



Code:
Error: wrap() failed
java.security.InvalidKeyException: wrap() failed
     at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:395)

        at javax.crypto.Cipher.wrap(DashoA13*..)

Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_INVALID

        at sun.security.pkcs11.wrapper.PKCS11.C_WrapKey(Native Method)

        at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:391)

        ... 3 more

Error: java.lang.Exception: Could not wrap the key: wrap() failed

java.lang.Exception: Could not wrap the key: wrap() failed


We changed in the path & java_home in Solaris. But it's not reflecting at the time of executing the sh script.

Regards,
Viji

Last edited by DukeNuke2; 12-04-2009 at 02:24 AM.. Reason: please use code tags!
Sponsored Links
  #2  
Old 12-04-2009
Registered User
 

Join Date: May 2008
Location: SINGAPORE.. The "FINE" City
Posts: 2,663
Thanks: 0
Thanked 6 Times in 6 Posts
Did you remove the old JDK and reboot the system?
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Adding Support for Booting From SATA DVDs on SPARC Platforms Running the Solaris 10 8/07 or Solaris Linux Bot Solaris BigAdmin RSS 0 11-06-2009 06:00 PM
BigAdmin's Guide to Unofficial Solaris Names (Solaris Release Naming Matrix) Linux Bot Solaris BigAdmin RSS 0 10-08-2009 08:15 AM
NTFS under Solaris (switching from windows to Solaris server) microbot Solaris 2 07-14-2009 09:46 AM
Now possible to upgrade directly from Solaris 8 SPARC to latest Solaris 10 release Linux Bot Solaris BigAdmin RSS 0 04-21-2009 07:15 PM
Disk Mirror in Solaris 9 via Solaris Volume Manager deal732 Solaris 3 05-02-2007 11:43 AM



All times are GMT -4. The time now is 08:01 AM.