You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Susan Teague Rector <se...@vcu.edu> on 2007/04/16 19:37:12 UTC

help - ssl on tomcat

Hi all,

I just joined the list so please excuse if there are numerous postings 
about this topic. I did search the archives and have googled quite a bit 
but cannot figure out why SSL is not working on Tomcat.

I have Tomcat 5.5 loaded on Linux Redhat. I followed these directions 
explicitly: http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html
The only configuration change I have is that I'm running Tomcat on :80 
and SSL on :443. I've updated my server.xml with these changes.

When I tried to navigate to https://myserver:443, I get a 404 and my 
logs say that there's been a broken pipe socket exception:

Apr 16, 2007 11:26:09 AM org.apache.catalina.core.StandardHostValve status
WARNING: Exception Processing ErrorPage[errorCode=404, 
location=/error/404.jsp]
ClientAbortException:  java.net.SocketException: Broken pipe
        at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:327)
        at 
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
        at 
org.apache.catalina.connector.Response.flushBuffer(Response.java:537)
        at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:286)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at 
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at 
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
        at 
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
        at 
org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
        at 
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
        at org.apache.coyote.Response.action(Response.java:182)
        at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)

Can anyone point me to any documentation about what this means?

Thank you!

susan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: help - ssl on tomcat

Posted by Susan Teague Rector <se...@vcu.edu>.
Hi Hassan

Whoops - I was using 5.5 - just didn't give you the right URL! :)

Thanks for the tip - I will look at the SSL connector in the logs

thank you!

susan

Hassan Schroeder wrote:
> On 4/16/07, Susan Teague Rector <se...@vcu.edu> wrote:
>
>> I have Tomcat 5.5 loaded on Linux Redhat. I followed these directions
>> explicitly: http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html
>
> Uh, you should use the documentation for the version that you're
> actually running, eh? :-)
> <http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html>
>
>> When I tried to navigate to https://myserver:443
>
> And you should only need to use 'https://myserver/' -- the port will
> default to the proper one.
>
> In any case, you should look in your logs at the startup messages;
> if there's a problem with the SSL connector, it should show up there
> before you even try to access it.
>
> HTH,


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: help - ssl on tomcat

Posted by Hassan Schroeder <ha...@gmail.com>.
On 4/16/07, Susan Teague Rector <se...@vcu.edu> wrote:

> I have Tomcat 5.5 loaded on Linux Redhat. I followed these directions
> explicitly: http://tomcat.apache.org/tomcat-5.0-doc/ssl-howto.html

Uh, you should use the documentation for the version that you're
actually running, eh? :-)
<http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html>

> When I tried to navigate to https://myserver:443

And you should only need to use 'https://myserver/' -- the port will
default to the proper one.

In any case, you should look in your logs at the startup messages;
if there's a problem with the SSL connector, it should show up there
before you even try to access it.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org