IntelliJ - SSL Support

I am having difficulty communicating over SSL using tomcat 5.0.14 server running under IntelliJ. I configured Tomcat to use SSL port and it works fine outside the IntelliJ. However when I try to do Integrated Debugging (not remote) from within IntelliJ, I can not even start the tomcat server. Here is the complete sequence of events and the error messages I am getting on the console:

C:/j2sdk1.4.2_01\bin\javaw.exe -DtrackHTML.config=/export/netsite/config/tracking/html/TrackingHTML.properties -Dcom.ups.webappcommon.pgf.selector.default-site-type=/export/netsite/config/cclamp/selector.properties -Dups.config.dir=/export/netsite/config -Dups.instance.id=dcr -Duser.log.base.dir=/export/netsite/ext-admin/logs/cclamp -DCONTENT_RULES_HOME=/export/netsite/html-fragments -DNETSITE_HOME=/export/netsite -DtrackingComponent.config=/export/netsite/config/tracking/TrackingComponent.properties -Dbcdn.file.path=/export/netsite/config/dcr/BCDN.properties -Ddcr.file.path=/export/netsite/config/dcr/servlet/dcr.properties -Djava.endorsed.dirs="C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib" -Dcatalina.base=C:\IntelliJ-IDEA-977\system\tomcat_dcr_2bc4b5e9 -Dcatalina.home="C:\Program Files\Apache Software Foundation\Tomcat 5.0" -Djava.io.tmpdir="C:\Program Files\Apache Software Foundation\Tomcat 5.0\temp" -classpath "C:\j2sdk1.4.2_01\lib\tools.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar;C:\j2sdk1.4.2_01\jre\lib\charsets.jar;C:\j2sdk1.4.2_01\jre\lib\jce.jar;C:\j2sdk1.4.2_01\jre\lib\jsse.jar;C:\j2sdk1.4.2_01\jre\lib\plugin.jar;C:\j2sdk1.4.2_01\jre\lib\rt.jar;C:\j2sdk1.4.2_01\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_01\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_01\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_01\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_01\jre\lib\ext\sunjce_provider.jar;C:\export\home\cacs\ext1axj\ups\tracking\DCRClient\build\WEB-INF\classes;C:\export\netsite\bin\java\ims-client.jar;C:\export\netsite\bin\java\watchdog.jar;C:\export\netsite\bin\java\www_util.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\cclamp-client.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\commons-collections.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\components.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\log4j.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\pgf-struts.jar;C:\export\netsite\bin\java\cclamp3.1.4\client\includeinwar\WEB-INF\lib\struts.jar;C:\export\netsite\bin\java\cms_com.jar;C:\export\netsite\bin\java\ConnectionManager_1.1.jar;C:\export\netsite\bin\java\common_isnj.jar;C:\export\netsite\bin\java\ems2_3.jar;C:\export\netsite\bin\java\eyeOne.jar;C:\export\netsite\bin\java\ISNJCustomTags.jar;C:\export\netsite\bin\java\oltsdk.jar;C:\export\netsite\bin\java\common\common_ups.jar;C:\export\netsite\bin\java\scl\SclXmlService.jar;C:\opt\UPS\Tracking\TrackingComponent.jar;C:\opt\UPS\DCRProcess\05.03.01\processDCR.jar;C:\export\netsite\bin\java\xml4j.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jsp-api.jar;C:\export\home\cacs\ext1axj\ups\tracking\DCRClient\src\dcr\WEB-INF\classes;C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\cclamp\WEB-INF\lib\cclamp-app.jar;C:\IntelliJ-IDEA-977\lib\idea_rt.jar" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=NJRARWKS04E3:1290,suspend=y org.apache.catalina.startup.Bootstrap startDec 5, 2003 1:22:23 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:396)
Caused by: java.lang.NoSuchMethodError: javax.net.ssl.SSLServerSocket.getSupportedProtocols()[Ljava/lang/String;
at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getEnabledProtocols(JSSE14SocketFactory.java:210)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.initServerSocket(JSSESocketFactory.java:360)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:129)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:281)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:184)
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1326)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:633)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2413)
at org.apache.catalina.startup.Catalina.load(Catalina.java:531)
at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
... 6 more
Process terminated with exit code 0

Any Ideas?


Thanks...

Please sign in to leave a comment.