Re: Apache 2, Tomcat 5, and JK2.
Hi, Can anyone point me to a how-to please. Regards, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Hi Dave, I changed the DNS settings with my ISP and that has fixed the problem. Thanks, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to run Tomcat 5.0.12
I have installed Tomcat 5.0.12 on Win 2000 using j2sdk1.4.2_01 but it will not run. Should I be havving a problem? Toncat 5.0.11 was fine. - Original Message - From: Wade Chandler [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:19 PM Subject: RE: Unable to access JSP page on local host One thing copy a web.xml file from one of the examples and use that. Reason being validation and DTD tags. I had a problem similar to that once. -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 8:58 AM To: Tomcat Users List Subject: Re: Unable to access JSP page on local host Try not to install Tomcat in the Program Files path. The path to Tomcat installation SHOULD NOT have any space in between. By the way, have you already checked if the installation of Tomcat was indeed successful by bringing up the Tomcat page with http://localhost:your_port_number ? If you are simply accessing a JSP page under catalina_home/your project, you don't have to use the deployment descriptor (i.e. web.xml). Hope this helps. - Original Message - From: anunay ashish [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 04, 2003 06:37 AM Subject: Unable to access JSP page on local host Hi, I am using TOMCAT to host JSP pages. The directory structure is: C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system The page that I want to access is pageFormat.jsp inside Tracking_system through the url: http://localhost:8080/Tracking_system/pageFormat.jsp The web.xml file inside WEB-INF is containing only the following tag: web-app /web-app I am not able to access the page. Sometimes I am able to and sometimes I am not with the error description coming as: The requested resource (/Tracking_system/pageFormat.jsp) is not available. In fact /Tracking_system is also not shown as a directory. Where am I doing wrong? What is the problem? Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to run Tomcat 5.0.12
Thanks, I installed jwsdp-1.2 which includes a Tomcat 5 installation ...that must have confused the issue .. John - Original Message - From: epyonne [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 06, 2003 3:47 PM Subject: Re: Unable to run Tomcat 5.0.12 Just a wild guess is the Tomcat 5.0.11 still running? Did you change the port number for Tomcat 5.0.12? What error message did you get? - Original Message - From: John Bell [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 06, 2003 08:43 AM Subject: Re: Unable to run Tomcat 5.0.12 I have installed Tomcat 5.0.12 on Win 2000 using j2sdk1.4.2_01 but it will not run. Should I be havving a problem? Toncat 5.0.11 was fine. - Original Message - From: Wade Chandler [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, October 06, 2003 2:19 PM Subject: RE: Unable to access JSP page on local host One thing copy a web.xml file from one of the examples and use that. Reason being validation and DTD tags. I had a problem similar to that once. -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 8:58 AM To: Tomcat Users List Subject: Re: Unable to access JSP page on local host Try not to install Tomcat in the Program Files path. The path to Tomcat installation SHOULD NOT have any space in between. By the way, have you already checked if the installation of Tomcat was indeed successful by bringing up the Tomcat page with http://localhost:your_port_number ? If you are simply accessing a JSP page under catalina_home/your project, you don't have to use the deployment descriptor (i.e. web.xml). Hope this helps. - Original Message - From: anunay ashish [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 04, 2003 06:37 AM Subject: Unable to access JSP page on local host Hi, I am using TOMCAT to host JSP pages. The directory structure is: C:\Program Files\Apache Group\Tomcat 4.1\webapps\Tracking_system The page that I want to access is pageFormat.jsp inside Tracking_system through the url: http://localhost:8080/Tracking_system/pageFormat.jsp The web.xml file inside WEB-INF is containing only the following tag: web-app /web-app I am not able to access the page. Sometimes I am able to and sometimes I am not with the error description coming as: The requested resource (/Tracking_system/pageFormat.jsp) is not available. In fact /Tracking_system is also not shown as a directory. Where am I doing wrong? What is the problem? Regards, Anunay Ashish. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Hi Dave, I now have - as below in httpd.conf. The same prob exists. If capucino is 2nd all is ok if freshlyroast is 2nd it is not found. So The first VirtualHost section is used for requests without a known server name and so freshly is not a known server name??? Regards VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeepp ServerName www.freshlyroastcoffee.biz ErrorLog logs/freshlyroastcoffee.error_log CustomLog logs/freshlyroastcoffee.biz-access_log combined JkMount /coffeepp ajp13 JkMount /coffeepp/*.jsp ajp13 JkMount /coffeepp/* ajp13 JkMount /coffeepp/servlet/JumpServlet ajp13 JkMount /coffeepp/servlet/AccAddrServlet ajp13 /VirtualHost VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined JkMount /coffeemy ajp13 JkMount /coffeemy/* ajp13 JkMount /coffeemy/*.jsp ajp13 JkMount /coffeemy/servlet/JumpServlet ajp13 JkMount /coffeemy/servlet/AccAddrServlet ajp13 /VirtualHost - Original Message - From: David Rees [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Hi Dave, VirtualHost * ServerName www.freshlyroastcoffee.biz DocumentRoot /coffeepp JkMount /* ajp13 etc /VirtualHost VirtualHost * ServerName www.capucino.co.uk DocumentRoot /coffeemy JkMount /* ajp13 etc /VirtualHost With this setup www.freshlyroastcoffee.biz is found so is www.capucino.co.uk. However, if www.capucino.co.uk is the first virtual host then www.freshlyroastcoffee.biz is not found and it defaults to www.capucino.co.uk - the first default virtual host. Regards, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Thanks for your help. I am still confused. By is not found what exactly is happenning? Me too. How about a coffee? www.capucino.co.uk is run instead of www.freshlyroastcoffee.biz. If you run www.freshlyroastcoffee.biz and hover over a link you get http://213.120.114.94/coffeemy/jsp/control/prodinfo... whereas it should be http://www.freshlyroastcoffee.biz/coffeepp/jsp/control/prodinfo This is when capucino is the first virtual host ie freshlyroast is not found and is defaulted to capucino. However, when capucino is the second virtual host all works fine. ie freshlyroast works cos it defaults to the first virtual host and for some reason capucino works in second position - whereas in second position freshlyroast does'nt. - Original Message - From: David Rees [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, October 02, 2003 7:41 PM Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts On Thu, October 2, 2003 1at 0:33 am, John Bell sent the following Hi Dave, VirtualHost * ServerName www.freshlyroastcoffee.biz DocumentRoot /coffeepp JkMount /* ajp13 etc /VirtualHost VirtualHost * ServerName www.capucino.co.uk DocumentRoot /coffeemy JkMount /* ajp13 etc /VirtualHost With this setup www.freshlyroastcoffee.biz is found so is www.capucino.co.uk. However, if www.capucino.co.uk is the first virtual host then www.freshlyroastcoffee.biz is not found and it defaults to www.capucino.co.uk - the first default virtual host. -Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache 2 Tomcat4.1.27 name based virtual hosts
Hi, In Apache http.conf I have name based virtual hosts. If I have capucino.co.uk as the first virtual host (default) then a request to freshlyroastcoffee.biz is ignored and www.freshlyroastcoffee.biz goes to the capucino site. If I put freshlyroastcoffe first then all is fine and capucino is picked up but I cannot see where I am going wrong whether its a typo or just got it wrong. # Use name-based virtual hosting. NameVirtualHost * #VirtualHost * VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined /VirtualHost VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeepp ServerName www.freshlyroastcoffee.biz ErrorLog logs/freshlyroastcoffee.error_log CustomLog logs/freshlyroastcoffee.biz-access_log combined /VirtualHost include D:\ApacheTomcat\Tomcat-4.1\conf\jk\mod_jk.conf In mod_jk_conf :- JkMount /coffeemy ajp13 JkMount /coffeemy/* ajp13 JkMount /coffeemy/*.jsp ajp13 JkMount /coffeepp ajp13 JkMount /coffeepp/* ajp13 JkMount /coffeepp/*.jsp ajp13 In Tomcat's server.xml Context path=/coffeemy docBase=d:\coffeemy debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=coffeemy_log. suffix=.txt timestamp=true/ /Context Context path=/coffeepp docBase=d:\coffeepp debug=0reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=coffeepp_log. suffix=.txt timestamp=true/ /Context Regards, John
Re: Apache 2 Tomcat4.1.27 name based virtual hosts
Dave, I tried putting the JkMount in the Virtual Hosts section instead of in mod_jk.conf but it did not seem to make any difference. I did leave mod_jk.conf in as there is other localhost stuff in it + JkWorkersFile D:/ApacheTomcat/Tomcat-4.1/conf/jk/workers.properties JkLogFile D:/ApacheTomcat/Tomcat-4.1/logs/mod_jk.log Regards, - Original Message - From: David Rees [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 5:56 PM Subject: Re: Apache 2 Tomcat4.1.27 name based virtual hosts On Wed, October 1, 2003 at 2:02 am, John Bell sent the following In Apache http.conf I have name based virtual hosts. If I have capucino.co.uk as the first virtual host (default) then a request to freshlyroastcoffee.biz is ignored and www.freshlyroastcoffee.biz goes to the capucino site. If I put freshlyroastcoffe first then all is fine and capucino is picked up but I cannot see where I am going wrong whether its a typo or just got it wrong. snip Your Apache configuration is broken. Make it look like below instead of including your mod_jk.conf. The JkMount directive needs to go inside of each VirtualHost. -Dave NameVirtualHost * VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined JkMount /coffeemy ajp13 JkMount /coffeemy/* ajp13 JkMount /coffeemy/*.jsp ajp13 /VirtualHost VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeepp ServerName www.freshlyroastcoffee.biz ErrorLog logs/freshlyroastcoffee.error_log CustomLog logs/freshlyroastcoffee.biz-access_log combined JkMount /coffeepp ajp13 JkMount /coffeepp/* ajp13 JkMount /coffeepp/*.jsp ajp13 /VirtualHost - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Memory usage Tomcat 4.1.24
The recently installed Tomcat 4.1.24 on startup takes about 60M of memory. Is it my configuration. I have not noticed previous versions consuming so much. I have 6 or so applications in webapps - mainly struts - documentaion, examples etc. Using j2sdk1.4.0. Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tiomcat 4.1.24 HTTP Status 404 - The requested resource (servlet) is not available
I have Tomcat 4.02 working using servlets and JSP and have now installed Tomcat 4.1.24 as a service. When I run the web site all is fine until a servlet is called and I get The requested resource (/coffeemy/servlet/ControlServlet) is not available this happens with all the servlets I use. Any suggestions please. John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat, Apache and PHP
John, I changed the order of Virtual Hosts in httpd.conf and put the PHP site as the first one - which becomes the default - and now the JSP site is served by Tomcat and the PHP site is at least found by Apache. I guess there is something not quite right as the site should have been picked up without it being the default and now although the site (phpMyAdmin) is found it is not being served quite correctly. John - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 1:10 PM Subject: RE: Tomcat, Apache and PHP OK, conversely, is there configuration for PHP that would skip picking up a URL that is IP-only for the PHP processor? I'm not that familiar with PHP configuration, I'm assuming it's done by file extension. Is that extension map happening for all of Apache, or just specific virtual hosts? John -Original Message- From: John Bell [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 1:36 AM To: Tomcat Users List Subject: Re: Tomcat, Apache and PHP Thanks John, No JkMount /* ajp13. I suspect that my config in httpd.conf needs to be changed. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 11:00 PM Subject: RE: Tomcat, Apache and PHP Do you have a wildcard JkMount statement somewhere, that would take effect for that IP address? Something like JkMount /* ajp13? John -Original Message- From: John Bell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 7:52 AM To: [EMAIL PROTECTED] Subject: Tomcat, Apache and PHP I use mod_jk to connect Apache and Tomcat. I want Apache to serve PHP resources. If I do http://localhost/myPHP then Apache serves the PHP application which is what I want to do remotely but if I do http/213.120.114.94/myPHP then the request is sent onto Tomcat which does'nt serve PHP. I try and use Vitual Hosts in the Apache httpd.conf file as many sites wil ne hosted on the server. NameVirtualHost 213.120.114.94 VirtualHost 213.120.114.94 ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined /VirtualHost Can anyone help please. John --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat, Apache and PHP
John, I changed the order of Virtual Hosts in httpd.conf and put the PHP site as the first one - which becomes the default - and now the JSP site is served by Tomcat and the PHP site is at least found by Apache. I guess there is something not quite right as the site should have been picked up without it being the default and now although the site (phpMyAdmin) is found it is not being served quite correctly. John - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, January 02, 2003 1:10 PM Subject: RE: Tomcat, Apache and PHP OK, conversely, is there configuration for PHP that would skip picking up a URL that is IP-only for the PHP processor? I'm not that familiar with PHP configuration, I'm assuming it's done by file extension. Is that extension map happening for all of Apache, or just specific virtual hosts? John -Original Message- From: John Bell [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 1:36 AM To: Tomcat Users List Subject: Re: Tomcat, Apache and PHP Thanks John, No JkMount /* ajp13. I suspect that my config in httpd.conf needs to be changed. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 11:00 PM Subject: RE: Tomcat, Apache and PHP Do you have a wildcard JkMount statement somewhere, that would take effect for that IP address? Something like JkMount /* ajp13? John -Original Message- From: John Bell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 7:52 AM To: [EMAIL PROTECTED] Subject: Tomcat, Apache and PHP I use mod_jk to connect Apache and Tomcat. I want Apache to serve PHP resources. If I do http://localhost/myPHP then Apache serves the PHP application which is what I want to do remotely but if I do http/213.120.114.94/myPHP then the request is sent onto Tomcat which does'nt serve PHP. I try and use Vitual Hosts in the Apache httpd.conf file as many sites wil ne hosted on the server. NameVirtualHost 213.120.114.94 VirtualHost 213.120.114.94 ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined /VirtualHost Can anyone help please. John --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat, Apache and PHP
I use mod_jk to connect Apache and Tomcat. I want Apache to serve PHP resources. If I do http://localhost/myPHP then Apache serves the PHP application which is what I want to do remotely but if I do http/213.120.114.94/myPHP then the request is sent onto Tomcat which does'nt serve PHP. I try and use Vitual Hosts in the Apache httpd.conf file as many sites wil ne hosted on the server. NameVirtualHost 213.120.114.94 VirtualHost 213.120.114.94 ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined /VirtualHost Can anyone help please. John
Re: Tomcat, Apache and PHP
Thanks John, No JkMount /* ajp13. I suspect that my config in httpd.conf needs to be changed. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 01, 2003 11:00 PM Subject: RE: Tomcat, Apache and PHP Do you have a wildcard JkMount statement somewhere, that would take effect for that IP address? Something like JkMount /* ajp13? John -Original Message- From: John Bell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 01, 2003 7:52 AM To: [EMAIL PROTECTED] Subject: Tomcat, Apache and PHP I use mod_jk to connect Apache and Tomcat. I want Apache to serve PHP resources. If I do http://localhost/myPHP then Apache serves the PHP application which is what I want to do remotely but if I do http/213.120.114.94/myPHP then the request is sent onto Tomcat which does'nt serve PHP. I try and use Vitual Hosts in the Apache httpd.conf file as many sites wil ne hosted on the server. NameVirtualHost 213.120.114.94 VirtualHost 213.120.114.94 ServerAdmin [EMAIL PROTECTED] DocumentRoot /coffeemy ServerName www.capucino.co.uk ErrorLog logs/capucino.error_log CustomLog logs/capucino.co.uk-access_log combined /VirtualHost Can anyone help please. John --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.434 / Virus Database: 243 - Release Date: 12/25/2002 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Redirecting std err on win2000 to catalina.out
Sorry logging again. My Tomact 4 std error stream on Win2000 is not directed at $CATALINA_HOME/logs/catalina.out in the catalina.bat file. Could anyone tell me the syntax to use please. In addition within a servlet I use log(some message) and I cannot find where this is going to. John
Tomcat Oracle timeout? oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
Hi, I have a connection pool and use Oracle in a test environment. Normally all is OK however, if left alone for many hours the following happens when the attempt is made to connect. Can anyone help please? Entered article.display POOL get connection numconnections = 2 1 Oracle Error in article.display java.sql.SQLException: Io exception: Connection reset by peer: socket write error at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:292) at oracle.jdbc.driver.OracleStatement.init(OracleStatement.java:307) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.java:189) at oracle.jdbc.driver.OraclePreparedStatement.init(OraclePreparedStatement.java:172) at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:339) at control.Article.display(Article.java:245) at jsp.control.homecont_3._jspService(homecont_3.java:251) at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source) at org.apache.tomcat.core.Handler.invoke(Unknown Source) at org.apache.tomcat.core.Handler.service(Unknown Source) at org.apache.tomcat.facade.ServletHandler.service(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484) setting instacr null in article test POOL free connection numconnections = 1 In connMgr.release POOL new instance getInstance numpools = 2 POOL getInstance clients = 406 POOL getInstance numconnections = 1 hello from 2 Cat2SideBean hello from 2 Cat3SideBean POOL getInstance clients = 407 John
org.apache.jasper.JasperException: Unable to compile class for JSP
Hi, Running a web application on Tomcat 3.3 and trying to move to Tomcat 4.0.2 and now get these errors. org.apache.jasper.JasperException: Unable to compile class for JSP C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp\control\homecont$jsp.java:8: Class or interface declaration expected. import javax.servlet.*; ^ C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp\control\homecont$jsp.java:14: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.homecont$jsp not found. public class homecont$jsp extends HttpJspBase { I guess it it some thing very basic - I have looked. John.
tomcat 4.0.2
Hi, I am moving from Tomcat 3.3 to Tomcat 4.0.2 and now get these errors. org.apache.jasper.JasperException: Unable to compile class for JSP C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp\control\homecont$jsp.java:8: Class or interface declaration expected. import javax.servlet.*; ^ C:\ApacheTomcat\jakarta-tomcat-4.0.2\work\localhost\coffee\jsp\control\homecont$jsp.java:14: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.homecont$jsp not found. public class homecont$jsp extends HttpJspBase { I guess it it some thing very basic - I have looked. John.