Hi

I am using JBoss 4.0.1 and strong JCE I have written some code which encrypts 
and decrypts a parameter which is passed around my application. The code works 
fine on JBoss running on my dev Windows box but when I run the EAR on Linux it 
fails with a 

java.security.KeyStoreException: JCEKS not found;

I have taken the code that I am running and put it in a simple class which I 
can execute on Linux outside of JBoss and this works fine so I know all the 
correct JARs etc are available in the environment and the Security providers 
are installed.

I have also written some code which lists all the providers etc and the 
Algorithm and KeyStore are listed when run in JBoss but I still get this error.

java.security.KeyStoreException: JCEKS not found;

I have seen a previous post for JBoss 3.0 that says the JCE jars need to be 
added to the ejb classpath as JBoss cannot access classes in lib/ext
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=6957

Is this the case for 4.0.1? Also how come it works on Windows but not Linux 
without any modification we are using the same classpath in our start-up 
scripts?

Any help or thoughts would be most welcome.


Cheers


Neil Mitchell
Betfair


  

 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866427#3866427

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866427


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to