Re: Tomcat tutorial
I find developerworks.ibm.com a good source of example projects. tomcat.apache.org has a couple, but not as good as others. On Fri, Mar 28, 2008 at 2:32 PM, Sam Wun [EMAIL PROTECTED] wrote: Hi, I am new to Tomcat. Is there any Tomcat tutorial (eg. example of projects) I can download from the web? Thanks S Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Re: Tomcat tutorial
try ibm.com/developerworks On Fri, Mar 28, 2008 at 3:17 PM, Sam Wun [EMAIL PROTECTED] wrote: - Original Message From: Patrick Fong [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, March 28, 2008 2:53:49 PM Subject: Re: Tomcat tutorial I find developerworks.ibm.com a good source of example projects. Thanks for the info. But I can't open this webpage. Thanks S tomcat.apache.org has a couple, but not as good as others. On Fri, Mar 28, 2008 at 2:32 PM, Sam Wun [EMAIL PROTECTED] wrote: Hi, I am new to Tomcat. Is there any Tomcat tutorial (eg. example of projects) I can download from the web? Thanks S Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Need setting up Tomcat with Apache web-server
Hi I am trying to setup Tomcat with Apache web-server. I know this is a common problem, but I've searched the mailing lists database and have not found a solution to my problem. I have a feeling this is a simple problem and not opening a vital port. I'm running Apache2 (v2.0.59) with Tomcat (v5.5.17). Both Apache2 and Tomcat have been installed as services on my WinXP machine. I am looking for an open-source (free) alternative to Resin Caucho. After setting up and trying to run JSPs with Tomcat, I get a 503 error with the following error printed in the log files - [6124:5512] [info] jk_ajp_common.c (941): (testWorker) Tomcat has forced a connection close for socket 824 [6124:5512] [error] jk_ajp_common.c (1536): (testWorker) Tomcat is down or refused connection. No response has been sent to the client (yet) I've included the changes I've made the specific configuration files 1) *Http.conf* LoadModule jk_module modules/mod_jk.so IfModule mod_jk.c JkWorkersFile C:/Program Files/Apache Group/apache-tomcat-5.5.17/conf/workers.properties JkLogFile c:/logs/tomcat/tomcat.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories JkRequestLogFormat %w %V %T Alias /jsp-examples C:/Program Files/Apache Group/apache-tomcat-5.5.17/webapps/jsp-examples/ Directory C:/Program Files/Apache Group/apache-tomcat-5.5.17/webapps/jsp-examples/ Options Indexes +FollowSymLinks AllowOverride None Allow from all /Directory JkMount /jsp-examples/servlet/* testWorker JkMount /jsp-examples/*.jsp testWorker Location /jsp-examples/WEB-INF/ AllowOverride None deny from all /Location /IfModule 2) *Worker.properties* IfModule mod_jk.c JkWorkersFile C:/Program Files/Apache Group/apache-tomcat-5.5.17/conf/workers.properties JkLogFile c:/logs/tomcat/tomcat.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories JkRequestLogFormat %w %V %T Alias /jsp-examples C:/Program Files/Apache Group/apache-tomcat-5.5.17/webapps/jsp-examples/ Directory C:/Program Files/Apache Group/apache-tomcat-5.5.17/webapps/jsp-examples/ Options Indexes +FollowSymLinks AllowOverride None Allow from all /Directory JkMount /jsp-examples/servlet/* testWorker JkMount /jsp-examples/*.jsp testWorker Location /jsp-examples/WEB-INF/ AllowOverride None deny from all /Location /IfModule 3) *server.xml *- I've changed the port for non-SSL HTTP/1.1 Connector to 8081 because port 8080 is being used by an existing application. HTTP/1.0 is not created. !-- Define a non-SSL HTTP/1.1 Connector on port 8081(From 8080) -- Connector port=8081 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true / Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 / Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Context path=/jsp-examples docBase=C;/Program Files/Apache Group/apache-tomcat-5.5.17/webapps/jsp-examples/ debug=0/ Any ideas? Cheers Patrick
Re: Need setting up Tomcat with Apache web-server
Yeah - I can't. Apache is currently used in the production server. Resin is the current Servlet Engine. An open source alternative is best. Caldarale, Charles R wrote: From: Patrick Fong [mailto:[EMAIL PROTECTED] Subject: Need setting up Tomcat with Apache web-server Any ideas? Just one, but you may not like it: simplify your life by getting rid of httpd, unless you have a dire need for it. Configure Tomcat to use ports 80 and 443 and let it serve your static content as well. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]