Re: Running More than one instance of tomcat
its quite east to restart one of them. As u should set autoreload to true and thren when ever u want to restart the one of the application then simply reload a servlet/jsp that has already being executesd. and that classloader is it self restart and it is as good as restarting the server which u can see in the log file as all the Base servlerts are re initialized. tarun - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:19 PM Subject: RE: Running More than one instance of tomcat That's fine but I need to be able to restart the development one without upsetting the test one... Thanks Donie -Original Message- From: tarunjava [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 12:45 To: Tomcat Users List Subject: Re: Running More than one instance of tomcat u dont need to run 2 seperate instance but create 2 seperate applications and both will have seperater class loader and thus will work as completly seperate sites. tarun - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:11 PM Subject: Running More than one instance of tomcat Hi all How can I run two version of tomcat using different server.xml files? I need one for testing and one for development on the same machine... Thanks Donie -Original Message- From: Brian Adams [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 12:34 To: 'Tomcat Users List' Subject: RE: JDBC what problems are you having? can you post an error or code or both? B -Original Message- From: vinny patel [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:48 AM To: [EMAIL PROTECTED] Subject: JDBC I am having problems with my servlets that connect to a postgres database. I am using the Tomcat 4, if anyone has any suggestions, i would be gratefull! thanks _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- 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] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- 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] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Tomcat 4.0, Linux 2.4 - Tomcat appears to deploy all directoriesunder /usr/local/tomcat as web apps.
actually what u should do is add a attribute to Host tar which is -- appsBase=/home and then u should have the docBase as /site/... The the nbase of ur application will be /home and not /usr.. tarun _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: No Suitable JDBC Driver Found when running Tomcat 4 .0 as NT service with JDK1.3.1_01
what must be happening is that u are putting the driver classpath in autoexec.bat or soem other batch file which is executeds after the tomcat begins as a servie so u get the error but after the complete booting autoexec file is executed and then the driver is in the classpath so u dont get the error. Simply put the driver in the path of tomcat which may be /catalina/classes or /catalina/server/classes and it should woirk tarun - Original Message - From: Liu, Dongqi [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:08 PM Subject: No Suitable JDBC Driver Found when running Tomcat 4 .0 as NT service with JDK1.3.1_01 Hi All, I posted this problem a few days ago but didn't get any reponse. I am reposting it here just to draw enough attention and hopefull somebody out there can lead me to a solution. My problem is that when Tomcat is running as a NT service, it complains no suitable JDBC Driver found. However, when I start up Tomcat4.0 from command line using exactly the same set up, everything works fine. The driver class loads fine in Tomcat Service, since I did a Class.forName(COM.ibm.db2.jdbc.app.DB2Driver) without getting any exceptions. I am using Tomcat 4.0 with JDK1.3.1_01 on a NT box, thanks, -dongqi CONFIDENTIALITY NOTICE -- This transmission is intended for the sole use of the individual and/or entity to whom it is addressed, and may contain information and/or attachments that are privileged, confidential and exempt from disclosure under applicable law. If the reader of this transmission is not the intended recipient, you are hereby notified that any disclosure, dissemination, distribution, duplication or the taking of any action in reliance on the contents of this transmission by someone other than the intended addressee or its designated agent is strictly prohibited. If your receipt of this transmission is in error, please notify the sender by replying immediately to this transmission and destroy the transmission. Thank you. (MSWPR1/ODpt) -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: question on IIS 4 and catalina
yes ofcourse u caN DO THAT . wHAT U NEED TO DO IS THAT all the requests will be recieved by the IIS and will make a connector that will forward the request matching the url mapping /servlets to tomcat. Its quite easy and is at the jakarta's site and is\f still u are unzble to then i will mail u the detailds tarun - Original Message - From: Binopoulos Alexandros [EMAIL PROTECTED] To: 'Tomcat Users List' (E-mail) [EMAIL PROTECTED] Sent: Monday, February 11, 2002 8:22 PM Subject: question on IIS 4 and catalina Hello all, I've managed to setup IIS and catalina; IIS on 80 and catalina on 8080. Catalina takes care of /servlet path, but can't I call all the servlets without the 8080 port suffix? Is it possible to call http://localhost/servlet/AServlet http://localhost/servlet/AServlet and still have IIS take care of all the static content of the resulting page (images , etc)? Thanks, Alexandros _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: running tomcat server from a cdrom
i think it is very much possible as the tomcat writes only in the log files and in temp directory for each application which are configurable. tarun - Original Message - From: Franck Delahaye [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 12:40 AM Subject: running tomcat server from a cdrom Hi, I am new to tomcat and uses the 3.2 version to make a web application. I'd like to run tomcat from a cdrom on a windows boxe : after having tested my application on the hard disk, put the tomcat tree on a cd with a jvm and make a .bat script that launches tomcat I have tried that, and it seems that tomcat wants to write in the log directory and in the conf directory. Is it possible to make a specific configuration and launch tomcat sothat it does not try to write any files and work from a CDROM ? regards, Franck -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Java.exe Memory Usage Crashes Tomcat
how much increase in Xms have u made, as i had faced the same prob and had over comed by increaing the value to 64Mb tarun - Original Message - From: Suzanne Holtham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 1:14 AM Subject: Java.exe Memory Usage Crashes Tomcat I am running Tomcat 3.3a on Windows 2000 Server. I get approximately 1 hit per minute on the most popular JSPs. After 4-5 hours the memory of the java.exe process maxes out and I get an Internal Server error. I have tried the following with no success: 1) Turned the verbosity level to ERROR for logs. 2) Set session=false in the JSPs. 3) Increased Xms and Xmx parameters. Please help, I am a die hard Tomcat fan, and would really love to get this working on Tomcat. Thanks, Suzanne. __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: [Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3
t could be that the resource for which the reuqest is made in not avaiable. It cannot be bacuase of the use of mod_jk. Try making a call to the same resource directly and in that case too the prob will come tarun - Original Message - From: Thanh Duong [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 4:44 PM Subject: [Ajp13] bad read: -103 on Tomcat4.0.1 with Apache 1.3 Hi all, I got this error message on tomcat4.0.1 with apache 1.3 when using multiple virtual hosts. [Ajp13] bad read: -103 To pass servlet/jsp requests to tomcat I am using the mod_jk.so instead of web_app.so module. Does someone know the reason for this error message? Thanks for your help Thanh Duong -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: configuring tomcat and apache
the 2 most useful links for the same are : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html this will solve all ur probs tarun _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: problem in running servlets
i hope by classpath u mean u have put the class file in the directory /My Application/WEB-NF/lasses/ folder . If it is anywhere else it wont work ~! tarun - Original Message - From: Deep Singh Bhau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 5:23 PM Subject: problem in running servlets Hi I have put the Servlet class(DeepServlet.class) in a folder which is there in my classpath. And I have set the following in web.xml(it is within the folder WEB-INF UNDER MY APPLICATION). web-app servlet servlet-namedeep/servlet-name servlet-classcom.servlet.DeepServlet/servlet-class /servlet servlet-mapping url-pattern/deep/url-pattern servlet-namedeep/servlet-name /servlet-mapping /web-app BUT IM OPENING IT IN BROWSER http://localhost:8080/deep/deep ITS GIVING PAGE NOT FOUND. Please comment Regards, Deep _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
tomcat and other servers
the 2 most useful links for the same are : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html this will solve all ur probs tarun
Re: Configuration Tomcat 4.0.1 for developing JSPs
the application in which u are making the changes should have the attribute regarding autoReloading true. This change in made at the place where the application is configures i.e. in server.xml file., bye tarun - Original Message - From: Christian Endres [EMAIL PROTECTED] To: Tomcat User [EMAIL PROTECTED] Sent: Monday, February 11, 2002 1:55 PM Subject: Configuration Tomcat 4.0.1 for developing JSPs Hello, for a project we are using JSPs. For developing we are working with JBuilder5 Enterprise under Windows 2000. The running Tomcat version is 4.0.1. So far everything works fine. The problem we have is following: When we are testing the JSPs Tomcat is compiling them correctly an we can look at them in the browsers (Netscape 4.7x, Netscape 6 IE 5 and 6). But when we are making changes in the JSPs Tomcat doesn't recognize the changes and only shows the JSPs earlier compiled. When we delete Tomcats cache directory and restart Tomcat the newer JSPs will be compiled and everything is fine again. Now we would like to know if there is a possibility to tell Tomcat to check the JSPs for changes or do we always have to delete the cache and restart Tomcat? Best regards Christian -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Configuration Tomcat 4.0.1 for developing JSPs
the prob as i see is the Tomcat is not taking the changes and noit the browser tarun - Original Message - From: Shiva.Devaguptapu [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 11, 2002 2:24 PM Subject: RE: Configuration Tomcat 4.0.1 for developing JSPs Include the following piece of code in your jsp's, check doing the same and reply if the problem still persists... % response.setHeader(Cache-Control,no-cache); response.setHeader(Pragma,no-cache); response.setHeader(Expires,-1); % -Original Message- From: Christian Endres [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 1:56 PM To: Tomcat User Subject: Configuration Tomcat 4.0.1 for developing JSPs Hello, for a project we are using JSPs. For developing we are working with JBuilder5 Enterprise under Windows 2000. The running Tomcat version is 4.0.1. So far everything works fine. The problem we have is following: When we are testing the JSPs Tomcat is compiling them correctly an we can look at them in the browsers (Netscape 4.7x, Netscape 6 IE 5 and 6). But when we are making changes in the JSPs Tomcat doesn't recognize the changes and only shows the JSPs earlier compiled. When we delete Tomcats cache directory and restart Tomcat the newer JSPs will be compiled and everything is fine again. Now we would like to know if there is a possibility to tell Tomcat to check the JSPs for changes or do we always have to delete the cache and restart Tomcat? Best regards Christian -- 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] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Session Management between IIS and Tomcat
hi, The information saved in a session remains on the server specific class loader only and a session id is passed to the client which means the info in the session object is in the Tomcat's application specific class loader. But to share info between IIS and tomcat what we can to is save the info in cookies (ofcource on client) and when ever a server makes a request irrespective of the fact whether it is tomcat or IIS ,it can access the info. Session indirectly uses cookies but only to save the session id . If u want i can send u the coding for taking info in a JPS from cookie. i am quite sure this will work. waiting for a reply tarun - Original Message - From: Anton Brazhnyk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 11, 2002 2:34 PM Subject: RE: Session Management between IIS and Tomcat Hi, -Original Message- From: Pavel Brun [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 09, 2002 6:48 PM To: Tomcat User Subject: Session Management between IIS and Tomcat I have already posted this question a while ago, but I was wondering if anybody knows of a mechanism for sharing an IIS session with Tomcat and vice versa? I would greatly appreciate any information anyone can give me. Even if there is no solution, I would appreciate someone telling me that it is not possible, or it would be difficult. I think it's not possible in terms of servlet engine sessions. Session is a java object and it's typically used to store some information in it. I bet IIS session's purpose is the same but with native windows code. There is more: Cookie name and url-rewriting parameter name in TC are called jsessionid and I doubt they're called that way in IIS. But, I think it's still possible in general, though you'll have to do it by yourself at applications level. It won't be easy, but if you really need it... Even those answers will help me. Thanks Paul Anton -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC
it would have been better had u send the prob u are facing. And in general try the code as a stand alone application and see if can get connected to the DB and if u do , then the prob could that the User is not authenticated to access the DB. for that u need to make an entry that the User should be allowed to access the DB from localhost:8080. tarun - Original Message - From: vinny patel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 11, 2002 3:17 PM Subject: JDBC I am having problems with my servlets that connect to a postgres database. I am using the Tomcat 4, if anyone has any suggestions, i would be gratefull! thanks _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Running More than one instance of tomcat
u dont need to run 2 seperate instance but create 2 seperate applications and both will have seperater class loader and thus will work as completly seperate sites. tarun - Original Message - From: Donie Kelly [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:11 PM Subject: Running More than one instance of tomcat Hi all How can I run two version of tomcat using different server.xml files? I need one for testing and one for development on the same machine... Thanks Donie -Original Message- From: Brian Adams [mailto:[EMAIL PROTECTED]] Sent: 11 February 2002 12:34 To: 'Tomcat Users List' Subject: RE: JDBC what problems are you having? can you post an error or code or both? B -Original Message- From: vinny patel [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 3:48 AM To: [EMAIL PROTECTED] Subject: JDBC I am having problems with my servlets that connect to a postgres database. I am using the Tomcat 4, if anyone has any suggestions, i would be gratefull! thanks _ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com -- 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] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]