tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Jacobson <marti...@libero.it>
Subject Re: TC 4.1.3 ExptyStackException
Date Mon, 24 Jun 2002 14:34:18 GMT
Remy Maucherat wrote:

> 
> The old HTTP/1.1 connector is unsupported (and apparently, a bug was 
> introduced in there). Try using Coyote HTTP/1.1 instead. You can look at 
> the default configuration file to see how to configure it.
> 
> Remy
> 


Thanks for the quick response! Have tried that, but I now have a new 
problem! Coyote does not appear to initialize the SSL connection 
properly - or I've got something wrong: here's what I find in the logs:

[INFO] Http11Protocol - -Attribute port: 80
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 20000
[INFO] Http11Protocol - -Attribute timeout: 20000
[INFO] Http11Protocol - -Attribute secure: false
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 80
[INFO] Http11Protocol - -Attribute port: 443
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 60000
[INFO] Http11Protocol - -Attribute timeout: 60000
[INFO] Http11Protocol - -Attribute secure: true
[INFO] Http11Protocol - -Attribute algorithm: SunX509
[INFO] Http11Protocol - -Attribute keystore: /Users/martin/.keystore
[INFO] Http11Protocol - -Attribute protocol: TLS
[INFO] Http11Protocol - -Attribute sslImplementation: null
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 443

2002-06-24 16:20:35 Authenticator[/drs]:  Subject to constraint 
SecurityConstraint[Login]
2002-06-24 16:20:35 Authenticator[/drs]:  Calling checkUserData()
2002-06-24 16:20:35 Authenticator[/drs]:   Cannot create new URL
java.net.MalformedURLException: unknown protocol: https
         at java.net.URL.<init>(URL.java:307)
         at java.net.URL.<init>(URL.java:224)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.checkUserData(AuthenticatorBase.java:730)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)

and here's my server.xml

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
		port="80"
	minProcessors="5"
	maxProcessors="75"
	enableLookups="true"
	redirectPort="443"
	acceptCount="10"
	debug="9"
	connectionTimeout="20000"
	useURIValidationHack="false"
/>
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
		port="443"
		minProcessors="5"
		maxProcessors="75"
		enableLookups="true"
		acceptCount="10"
		debug="9"
		scheme="https"
		secure="true"
	   	useURIValidationHack="false">
	<Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
			clientAuth="false"
		  keystoreFile="/Users/martin/.keystore"
		  keystorePass="mypassword"
			  protocol="TLS"
			  algorithm="SunX509"
			  keystoreType="JKS"
	/>
</Connector>

It mentions an sslImplementation as being null, but I don't find any 
mention of such an attribute in the docs. Is this the problem? And if 
so, what do I need to put?

BTW, I didn't really want to be on the bleeding edge of development - 
but I do need a JNDI DataSource that works, so here I am!

Thanks,
Martin



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message