- This topic has 3 replies, 2 voices, and was last updated 17 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
Timothy SeibertParticipantHi:
We have our Tomcat 5.5 servers configured such that the communication with the manager is HTTPS and authentication is through a Novell LDAP (E-directory) server. Using either myEclipse 5.1 or 5.5M2 to start the server fails with the message:
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
However, the connector to port 8443 is properly set with a keystore reference. In fact, I have Ant scripts that operate satisfactorily.Is there something in MyEclipse that has to be configured with a keystore reference or is there something else that I haven’t done or read?
Regards,
Bob N-
Riyad KallaMemberBob,
When you start Tomcat from the command line to run with this security setup you have, I’m guessing you have additional variables set, classpath changes or something along those lines instead just the default Tomcat start.bat file?If that’s the case, you will need to customize the Tomcat launch configuration to meet those changes. If the changes are merely classpath changes, you can do that from the current connector under the “Paths” preferences. If you need to change VM arguments, you can do that under the “JDK” preferences.
But to totally control the launch arguments, you can click the Launch preference panel under Tomcat, create a new launch config, then go under Run > Run As… and under the Servers group, select the new connector run configuration and customize it how you need.
Timothy SeibertParticipantRiyad:
Thanks for the reply. I have set the JDK preferances as:
-Dcatalina.home=C:\ApacheGroup\Tomcat5.5
-Dcatalina.base=C:\ApacheGroup\Tomcat5.5
-Djava.endorsed.dirs=C:\ApacheGroup\Tomcat5.5\common\endorsed
-Djava.io.tmpdir=C:\ApacheGroup\Tomcat5.5\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\ApacheGroup\Tomcat5.5\conf\logging.properties
-Djavax.net.ssl.trustStore=c:/_keystore/novell.keystore
-Xdebug
-Xrunjdwp:transport=dt_socket,address=1041,server=y,suspend=nThe debug statements seemed to be the problem. While I have been running Tomcat is a debug mode for a while it isn’t necessary at the moment.
Thanks for the pointers. I think that it is running again.
Regards,
Bob
Riyad KallaMemberBob,
Glad to hear it. -
AuthorPosts