Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10
# 1  
Old 12-04-2009
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 03:24 AM.. Reason: please use code tags!
# 2  
Old 12-04-2009
Did you remove the old JDK and reboot the system?
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

application compiled on solaris 10 throwing error when executed on solaris 9

I have compiled my application on Solaris 10 with following description SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320 The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 But when installing the application on Solaris 9 SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies
Login or Register to Ask a Question