File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Setting up jsse.jar in weblogic preclasspath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Setting up jsse.jar in weblogic preclasspath" Watch "Setting up jsse.jar in weblogic preclasspath" New topic
Author

Setting up jsse.jar in weblogic preclasspath

Rashmi Tambe
Ranch Hand

Joined: Aug 07, 2001
Posts: 418
Hi
We have a service layer that talks to LDAP for sign on. We use JSSE to enable secure Internet communications. The service layer that is the EJB is deployed on weblogic. the jsse.jar is included in the ear with the manifest file denoting the proper path inside the ear. However, at runtime, when the bean tries to communicate to LDAP on SSL port using the trust store certificate, i get following error:
javax.naming.CommunicationException: <ldap_LDAP_machine>:636. Root exception is
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure

When i include the jsse.jar in PRE_CLASSPATH variable in weblogic's startup script (startweblogic.bat) , the error is gone!
i do not understand why? is it the problem of jsse.jar, that it has to be loaded by system class loader and not ear class loader? or is it a bug???
 
 
subject: Setting up jsse.jar in weblogic preclasspath
 
Threads others viewed
How to configure SSL in RAD 7
setting up SSL with Weblogic 7.0.7
Getting Log4J working in RAD 7.0
Ear class loading question
jsse in websphere, ssl to ldap
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com