Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Solaris 8 mod_jk problems

Solaris 8 mod_jk problems

2004-01-08       - By Blackmore, John

 Back
Reply:     1     2  

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 Source code of java.net.SocketException: Socket closed
       at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(Native Method)
       at java.net.PlainSocketImpl Source code of java.net.PlainSocketImpl(PlainSocketImpl.java:343)
       at java.net.ServerSocket Source code of java.net.ServerSocket(ServerSocket.java:438)
       at java.net.ServerSocket Source code of java.net.ServerSocket(ServerSocket.java:409)
       at
org.apache.catalina.connector.warp.WarpConnector.run(WarpConnector.java:590)
       at java.lang.Thread Source code of java.lang.Thread(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.