Login or Register to Ask a Question and Join Our Community


Solaris SPARC 10 64Bit -JDK Installation 1.6.05


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris SPARC 10 64Bit -JDK Installation 1.6.05
# 1  
Old 12-07-2009
Solaris SPARC 10 64Bit -JDK Installation 1.6.05

In Sun Solaris 10, not able to create the key. JDK 1.6 Installed & PATH & JAVA_HOME both are referred to jdk 1.6. It is showing the belwo error

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.

If any patch is required for solaris sparc 10. Thanks
# 2  
Old 12-07-2009
what's your kernel patch level? where do ou get the error? pls elaborate
# 3  
Old 12-08-2009
I am creating the keys for password encryption & decryption. That keys are created by the sun JDK 1.6 using jce jar. For that I installed in the jdk 1.6 in the solaris server. I am excuting the script for creating the key, that time i am getting the above issue.

After installing the jdk in soalris sparc 10 64 bit, i have to add any patch in the server.


The Patch level is : Generic_137111-03

Thanks
# 4  
Old 12-08-2009
Quote:
Originally Posted by saktiviji
I am excuting the script for creating the key
What script is this ?
# 5  
Old 12-08-2009
using the shell script we are creating the keys
# 6  
Old 12-08-2009
How do you think anyone can help if you don't post that script, or at least the part of it that cause the problem ?
# 7  
Old 12-08-2009
main()
{

/bea/bea103/jdk160_05/jre/bin/java -DKEYSTORE_PATH=/xx/yy/ -classpath $CLASSPATH SampleTool

}

In classpath, we are adding the related jar& java home
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sun Solaris SPARC Installation Suggetion plaese

Hello Team, I am new to Sun Solaris. I badly need some help, how to install solaris sparc 8 on simics 3.0.31. I am using my Acer laptop with 320 GB HD, 8 GB of RAM, Intel Core i5 processor 430M. Windows 7 already installed on it. 1.Can i make Dual partions on this laptop with Win7 and... (7 Replies)
Discussion started by: faseeh
7 Replies

2. Solaris

SUNWi1cs SUNWi15cs packages for solaris 10 64bit sparc

hi, i need to install SUNWi1cs and SUNWi15cs packages for solaris 10 sparc 64 bit , where can i download these packages . Thanks . (2 Replies)
Discussion started by: zeeshan047
2 Replies

3. Solaris

jdk installation - update environment?

Hi, i have installed jdk 1.6 successfully but when i issue command java -version it shows me old version how to handle it. kindly help (4 Replies)
Discussion started by: malikshahid85
4 Replies

4. Solaris

Where to download solaris 10 for sparc 64bit?

hi all I just got a sun blade 2000 server for free. I need to load a solaris 10 for sparc OS to it. the memory inside the box is 5gb. the cup is SUNW,UltraSPARC-III+ (1200 MHz @ 8:1, 8 MB). so my questions is 1. do I need to install a 64bit os or a 32bit os? 2. where can I download the... (3 Replies)
Discussion started by: rs6000er
3 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. Solaris

SUN SPARC rebooting problem, after Solaris 10 installation

Hi All, I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting. I wish to enter the OK mode again, and install back the Solaris 10. i had try the "break" button and "stop+A" button, but all fail. kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies

7. Solaris

Apcahe2 64bit on solaris 10 sparc!

Hi, i'm trying to compile apache 2.2.13 on solaris 10 sparc as 64bit and for some reason its always compiled as 32bit! i know it can be done cause i've already done it before, so i'm not sure what am i doint wronghttp://forums.digitalpoint.com/images/smilies/frown.gif i've edit /.profile... (0 Replies)
Discussion started by: levic
0 Replies

8. Red Hat

jdk installation question

hi, i just "yum install jdk*.i386" and installation was complete without any error. however, i tried to #javac helloworld " and javac is not found in the $PATH. i tried to locate it and didn't find it. would anyone shed some light on where the "yum install" installed my jdk to? where can i find... (0 Replies)
Discussion started by: k2k
0 Replies

9. UNIX for Dummies Questions & Answers

JDK Installation

I'm trying to install JDK (Java Development tools) and i get this: WARNING: The <SUNWj6dev> package "JDK 6.0 Dev. Tools (1.6.0)" is a prerequisite package and should be installed. WARNING: The <SUNWj6rtx> package "JDK 6.0 64-bit Runtime Env. (1.6.0)" is a prerequisite package and should be... (0 Replies)
Discussion started by: idan_cn
0 Replies

10. Solaris

CC 5.5 compiler flag to issue 64bit porting warnings on sparc-solaris

Hi, We are porting our application from 32bit to 64bit. We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings. But we are not getting any porting warninings WE are using CC 5.5 compiler on sparc-solaris m/c. Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
Login or Register to Ask a Question

Featured Tech Videos