Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Solaris 8 mod_jk problems

Blackmore, John

2004-01-08


Well, it works now... but I'm not sure what I did right! I had fiddled with
the server.xml for a while, then changed it back, restarted Apache, and
voila, all is well.

-----Original Message-----
From: Blackmore, John
Sent: Thursday, January 08, 2004 3:35 PM
To: Tomcat Users List
Subject: Solaris 8 mod_jk problems


I'm having trouble getting Apache to work with Tomcat in Solaris 8. Here's
my setup:

Hardware: Sun Fire V480
OS: Solaris 8
Apache: 2.0.40
Tomcat: 4.0.4
Java: 1.4.0

I'm now configuring a mirror for a server that works fine, with the same
configuration. I thought I could copy Apache and Tomcat distributions,
reconfigure the server name, where applicable, and I'd be all set. On the
new server, Apache works and Tomcat works in standalone mode, but it seems
that Apache is not loading the conf/auto/mod_jk.conf file properly. When I
try to access an examples servlet through port 80, I get this error:

[Thu Jan 08 15:19:45 2004] [error] [client <ip address>] File does not
exist: /Tools/Apache/htdocs/examples/servlet, referer:
http://servername.dot.com/examples/servlets/

Naturally, there is an appropriate Alias directive in mod_jk.conf for the
examples context.

One other error that may be relevant, appears in the Apache log file when I
shut down Tomcat:

2004-01-08 13:59:13 [org.apache.catalina.connector.warp.WarpConnector] Error
accepting requests
java.net.SocketException: Socket closed
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:343)
    at java.net.ServerSocket.implAccept (ServerSocket.java:438)
    at java.net.ServerSocket.accept (ServerSocket.java:409)
    at
org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
    at java.lang.Thread.run (Thread.java:536)

My config is identical to that of the server that's working OK, with the
exception of the server name, which I substituted in httpd.conf, server.xml,
and workers.properties. I'm not sure what's relevant in those files, so I
won't post them yet. I'll be happy to include any more details upon request
though. I'm not sure where else to look for the cause, so I'd appreciate any
suggestions.

Thanks!

John Blackmore
Senior Software Engineer
Product Development
Educational Testing Service




**************************************************************************
This e-mail and any files transmitted with it may contain privileged or
confidential information. It is solely for use by the individual for whom
it is intended, even if addressed incorrectly. If you received this e-mail
in error, please notify the sender; do not disclose, copy, distribute, or
take any action in reliance on the contents of this information; and delete
it from your system. Any other use of this e-mail is prohibited. Thank you
for your compliance.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.