Broken pipe
Hello list, I'm getting the following error messages when I do a quick refresh on a jsp page: On my engine_log I have: 2002-06-18 17:14:19 Ajp13Request[5] Adding cookie JSESSIONID=F869DFDCF1A1E28C9258B3F10FE76E2E.tomcat1 2002-06-18 17:14:19 Ajp13Processor[8009][4] invoking... 2002-06-18 17:14:19 StandardEngine[Test-Engine]: Mapping server name '198.64.133.217' 2002-06-18 17:14:19 StandardEngine[Test-Engine]: Trying a direct match 2002-06-18 17:14:19 Ajp13Processor[8009][4] done invoking, finishing request/response 2002-06-18 17:14:19 Ajp13Processor[8009][4] process: invoke java.io.IOException: Broken pipe at java.net.SocketOutputStream.socketWrite(Native Method) at java.net.SocketOutputStream.write(SocketOutputStream.java:91) at org.apache.ajp.Ajp13.send(Ajp13.java:525) at org.apache.ajp.RequestHandler.finish(RequestHandler.java:496) at org.apache.ajp.Ajp13.finish(Ajp13.java:395) at org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java:192) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:435) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495) at java.lang.Thread.run(Thread.java:479) ... and on catalina out I get: [Ajp13] Error receiving message I'm using a RedHat Linux Server 2.4.18, glibc 2.2.4, jdk1.3.1_03, tomcat 4.0.2, Apache 1.3.24 with mod_jk-eapi.so, SAPDB and Bitmechanic JDBC Connection Pool. I'm stuck... Any help will be greatefully appreciated... [EMAIL PROTECTED]
mod_webapp and *.shtml not working
Hello, I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and a site site-name that use SSI. I cannot make them to work together (Apache to serve *.shtml and Tomcat serve JUST *.jsp). Can you please tell me what I'm doing wrong and what else should I do to make it work? My server.xml looks like: __ --- Server port=8005 shutdown=SHUTDOWN debug=0 !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=10 enableLookups=false appBase=webapps acceptCount=5 debug=0/ Engine className=org.apache.catalina.connector.warp.WarpEngine name=testing debug=0 /Engine /Service /Server _ My httpd.conf looks like: _ --- LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c --- DirectoryIndex index.shtml index.html index.htm index.php index.php4 index.jsp --- AddIcon /icons/layout.gif .html .shtml .htm .pdf --- AddType text/html .shtml AddHandler server-parsed .shtml --- WebAppConnection warpConnection warp localhost:8008 WebAppInfo /webapp-info --- VirtualHost 192.168.2.15:80 DocumentRoot /web/site-name/htdocs ServerName 192.168.2.15 LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-agent}i\ TransferLog /web/site-name/logs/access.log ErrorLog /web/site-name/logs/error.log WebAppDeploy biocapital-java warpConnection / /VirtualHost mod_include, mod_mime, mod_cgi are also included and enabled for Apache I also have: $CATALINA_HOME/webapps/site-name - /web/site-name/htdocs The result is that Apache is complaining that /index.shtml was not found, but all my *.jsp files are properly handled by Tomcat. If I change WebAppDeploy biocapital-java warpConnection / to look like WebAppDeploy biocapital-java warpConnection /something Apache is not complaining, but I'll be no longer capable to read my *.jsp files. Also, if instead *.shtml I use html (other site) in the same setup, everything goes just fine. Can you help, please? Catalin
Tomcat, Apache and SSI
Hello, I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and two virtual sites. One of the sites use SSI and is working just fine if I don't start Tomcat. The problem is that when I start Tomcat, then Apache, the site that use *.shltm shows me the contents of his htdocs instead of reading the index.shtml. When I click on index.shtml I get a 404 file not found error. I would like to let Apache to serve the *.shtml pages and not to use the servlet-ssi.jar of Tomcat to do that. Can anyone help please? Thank you in advance, Catalin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat, Apache and SSI
index.shtml was added in the DirectoryIndex section and I have instructed Apache to parse .shtml files: --- AddType text/html .shtml AddHandler server-parsed .shtml --- I used the XBitHack directive, but with no success unnfortunately. So I have the same situation -- Apache Tomcat/4.0.2 responding and not Apache. Any ideas? Thank you, Catalin [EMAIL PROTECTED] wrote: You need to add index.shtml in the DirectoryIndex section of your httpd.conf. Also you may need to enable Apache to parse .shtml files (if you haven't done that already). Look at XBitHack directive in your httpd.conf. RS Catalin Mihailescu [EMAIL PROTECTED] on 04/08/2002 03:32:50 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Tomcat, Apache and SSI Hello, I'm using a RedHat 7.0 box, Apache/1.3.22, Tomcat 4.0.2 and two virtual sites. One of the sites use SSI and is working just fine if I don't start Tomcat. The problem is that when I start Tomcat, then Apache, the site that use *.shltm shows me the contents of his htdocs instead of reading the index.shtml. When I click on index.shtml I get a 404 file not found error. I would like to let Apache to serve the *.shtml pages and not to use the servlet-ssi.jar of Tomcat to do that. Can anyone help please? Thank you in advance, Catalin -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]