unknown protocol : https

2002-04-25 Thread Rams

Hi all,
l'm struck up with a minor problem.
l use jsse1.0.2 with jdk1.3 and Tomcat 3.2.1.
ln my sslclient, though l added SSLProvider and set system property like
this:

--
java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
System.setProperty(java.protocol.handler.pkgs,
com.sun.net.ssl.internal.www.protocol);

--
still l'm getting unknown protocol : https exception when l run my jsp
which inturn calls my SSLClient class. jsse.jar is in classpath etc etc..
Suggest me where l am going wrong?

regards
Rams


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




tomcat+jdk1.4+ssl problem

2002-03-19 Thread Rams

Hi all,
l am working on SSL. 
l was using jsse1.0.2, Tomcat 3.2.1 and Jdk1.3 on Windows NT 4.0. With this
SSL was working fine.

When l shifted to jdk1.4, Tomcat is not running. lt throws this error:

-
[Service Control] java.lang.NoSuchMethodError
[Service Control]   at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.a(DashoA6275)
[Service Control]   at
com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.init(DashoA6275)
[Service Control]   at
com.sun.net.ssl.internal.ssl.TrustManagerFactoryImpl.engineInit(DashoA6275)
[Service Control]   at
javax.net.ssl.TrustManagerFactory.init(DashoA6275)
[Service Control]   at
com.sun.net.ssl.TrustManagerFactorySpiWrapper.engineInit(DashoA6275)
[Service Control]   at
com.sun.net.ssl.TrustManagerFactory.init(DashoA6275)
[Service Control]   at
org.apache.tomcat.net.SSLSocketFactory.initProxy(SSLSocketFactory.java:177)
[Service Control]   at
org.apache.tomcat.net.SSLSocketFactory.createSocket(SSLSocketFactory.java:11
8)
[Service Control]   at
org.apache.tomcat.service.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java
:239)
[Service Control]   at
org.apache.tomcat.service.PoolTcpConnector.start(PoolTcpConnector.java:188)
[Service Control]   at
org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
[Service Control]   at
org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:327)
[Service Control]   at
org.jboss.tomcat.TomcatEntry.init(TomcatEntry.java:72)
[Service Control]   at
org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService.ja
va:69)
[Service Control]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[Service Control]   at java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]   at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Service Control]   at java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]   at org.jboss.Main.init(Main.java:203)
[Service Control]   at org.jboss.Main$1.run(Main.java:107)
[Service Control]   at
java.security.AccessController.doPrivileged(Native Method)
[Service Control]   at org.jboss.Main.main(Main.java:103)


ls this a bug of jsse.jar's came along with jdk1.4 or of Tomcat's?

ln one of the mails, u said tomcat is running with jdk1.4.
lf so, where am i going wrong?

ur help is appreciated

regards
Rams




winmail.dat
Description: application/ms-tnef

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]