Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391713 - net-nds/jxplorer-3.2-r1 cannot connet to ldaps:// WARNING: initial receipt of exception by jndi broker error pre-initialising SSL for JNDI connection
Summary: net-nds/jxplorer-3.2-r1 cannot connet to ldaps:// WARNING: initial receipt of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 16:15 UTC by Justin Lecher (RETIRED)
Modified: 2011-12-26 15:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2011-11-23 16:15:58 UTC
When I try to connect to ldaps I get problems. Same with the upstream version it works. The missing file isn't created when using the original upstream version either. I don't know whet is going wrong.


From the program:

Error opening connection:
error pre-initialising SSL for JNDI connection: javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist.

avax.naming.NamingException: error pre-initialising SSL for JNDI connection: javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist. [Root exception is javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist.]

From the terminal 


 $ jxplorer 
23-Nov-2011 17:12:05 com.ca.directory.jxplorer.JXplorer printTime
INFO: main start
TIME: Wed Nov 23 17:12:05 CET 2011  (252)

23-Nov-2011 17:12:05 com.ca.directory.jxplorer.JXplorer checkJavaEnvironment
INFO: running java from: /opt/sun-jdk-1.6.0.29/jre
23-Nov-2011 17:12:05 com.ca.directory.jxplorer.JXplorer checkJavaEnvironment
INFO: running java version 1.6.0_29
23-Nov-2011 17:12:05 com.ca.directory.jxplorer.JXplorer setupLogger
INFO: setting up logger
XXX logging initially level WARNING with 0 parents=true
23-Nov-2011 17:12:06 com.ca.commons.cbutil.CBResourceBundle loadBundle
WARNING: unable to load resource bundle 'language.JX'
23-Nov-2011 17:12:06 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
/local/home/justin/.jxplorer/search_filters.txt
23-Nov-2011 17:12:06 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
bookmarks.txt
23-Nov-2011 17:12:06 com.ca.commons.cbutil.CBUtility readPropertyFile
WARNING: No property list:
quicksearch.txt
23-Nov-2011 17:12:06 com.ca.directory.jxplorer.viewer.HTMLTemplateDisplay setStartPage
WARNING: unable to find locale specific start file: /local/home/justin/.jxplorer/htmldocs/start_en.html
23-Nov-2011 17:12:37 com.ca.directory.jxplorer.broker.JNDIBroker openConnection
WARNING: initial receipt of exception by jndi broker error pre-initialising SSL for JNDI connection: javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist.
javax.naming.NamingException: error pre-initialising SSL for JNDI connection: javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist. [Root exception is javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist.]
	at com.ca.directory.jxplorer.broker.CBGraphicsOps.addSSLFactoryToConnectionData(Unknown Source)
	at com.ca.directory.jxplorer.broker.CBGraphicsOps.<init>(Unknown Source)
	at com.ca.directory.jxplorer.broker.JNDIBroker.openConnection(Unknown Source)
	at com.ca.directory.jxplorer.broker.JNDIBroker.processRequest(Unknown Source)
	at com.ca.directory.jxplorer.broker.Broker.processQueue(Unknown Source)
	at com.ca.directory.jxplorer.broker.JNDIBroker.processQueue(Unknown Source)
	at com.ca.directory.jxplorer.broker.Broker.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:662)
Caused by: javax.net.ssl.SSLException: SSL Initialisation error: file '/local/home/justin/.jxplorer/security/cacerts' does not exist.
	at com.ca.commons.security.JXSSLSocketFactory.checkFileSanity(Unknown Source)
	at com.ca.commons.security.JXSSLSocketFactory.init(Unknown Source)
	... 8 more
Comment 1 Miroslav Šulc gentoo-dev 2011-12-26 12:18:17 UTC
maybe upstream uses cacerts provided with jdk/jre? can you check this please?
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-12-26 14:30:05 UTC
/usr/share/jxplorer//security needs to copied to ~/.jxplorer/security. Simple smlinking like in the other cases doesn't work.
Comment 3 Miroslav Šulc gentoo-dev 2011-12-26 15:10:14 UTC
  26 Dec 2011; Miroslav Šulc <fordfrog@gentoo.org> files/jxplorer-pre-r1:
  Fixed bug #391713 (security files not available in user's home directory)

thanks for the report and for the hint