JNDI/Tomcat question from newbie
Hello All, I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question (more of a best practices/most scalable/fastest performance/least resource consumption type of question). Each time the JNDI resource (pooled database connection) is needed, should a complete JNDI lookup be performed or can part of the lookup be cached? For example, should the code be: code Context initCtx = new InitialContext (); Context envCtx = (Context)initCtx.lookup (java:comp/env); ds = (DataSource)envCtx.lookup (jdbc/data_source_name); /code or can the java:comp/env Context be saved as an attribute in the servlet context and a (synchronized) code segment like the following be used to obtain the DataSource? code Context ctx = (Context)ctxFromServletContext.lookup (); ds = (DataSource)ctx.lookup (jdbc/data_source_name); /code Thus far, I haven't read anything about which method is acceptable/preferred or if one method yields significant performance benefit. Since, according to the docs a Context is not guaranteed to be synchronized against concurrent access by multiple threads, I assume that the first code segment above should be synchronized, especially if it is in a static method. Thanks in advance, Gord - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JNDI/Tomcat question from newbie
Personally, I'd just keep a reference to the datasource around maybe as a class instance variable. It doesn't constitute a connection in and of itself -- just a way of getting one from the pool. Connections on the other hand should be explicitly closed as soon as they aren't needed anymore in any method that get's one. --David Hyatt, Gordon wrote: Hello All, I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question (more of a best practices/most scalable/fastest performance/least resource consumption type of question). Each time the JNDI resource (pooled database connection) is needed, should a complete JNDI lookup be performed or can part of the lookup be cached? For example, should the code be: code Context initCtx = new InitialContext (); Context envCtx = (Context)initCtx.lookup (java:comp/env); ds = (DataSource)envCtx.lookup (jdbc/data_source_name); /code or can the java:comp/env Context be saved as an attribute in the servlet context and a (synchronized) code segment like the following be used to obtain the DataSource? code Context ctx = (Context)ctxFromServletContext.lookup (); ds = (DataSource)ctx.lookup (jdbc/data_source_name); /code Thus far, I haven't read anything about which method is acceptable/preferred or if one method yields significant performance benefit. Since, according to the docs a Context is not guaranteed to be synchronized against concurrent access by multiple threads, I assume that the first code segment above should be synchronized, especially if it is in a static method. Thanks in advance, Gord - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- === David Smith Network Operations Supervisor Department of Entomology College of Agriculture Life Sciences Cornell University 2132 Comstock Hall Ithaca, NY 14853 Phone: 607.255.9571 Fax: 607.255.0939 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache - JK2 - Tomcat Question
I have a 'newbie' jk2 / Tomcat question. I am running Tomcat behind Apache with mod_jk2 interfacing the two. If I hit the URL www.myserver.com/contextname I get the JSP/servlet that I am hoping for. I am using the correct mapping ([URI:/contextname/*]) in the workers2.properties and everything up to this point makes sense. I am also running multiple virtual hosts through Apache. I want to be able to hit URLs such as dev.myserver.com or www.myVirtualServer.com/contextname. If I use a redirect in the Apache httpd file, I can redirect the incoming request back to www.myserver.com/context, but this seems hocky. How do I 'connect' alternate inbound URLs to a Tomcat context? What is controlling the connection between www.myserver.com and Tomcat? This is a great list and I really appreciate all the advice that I've gleaned from it so far. PS - Using Tomcat 5.5 and Apache 2.? Regards, Geoff Wiggs Orcas Technologies, Inc [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache - JK2 - Tomcat Question
Try the virtual host directive in httpd... I think you can do something there Though I will be implementing the same tomorrow :) Regards Vaneet -Original Message- From: Geoff Wiggs [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 7:59 PM To: tomcat-user@jakarta.apache.org Subject: Apache - JK2 - Tomcat Question I have a 'newbie' jk2 / Tomcat question. I am running Tomcat behind Apache with mod_jk2 interfacing the two. If I hit the URL www.myserver.com/contextname I get the JSP/servlet that I am hoping for. I am using the correct mapping ([URI:/contextname/*]) in the workers2.properties and everything up to this point makes sense. I am also running multiple virtual hosts through Apache. I want to be able to hit URLs such as dev.myserver.com or www.myVirtualServer.com/contextname. If I use a redirect in the Apache httpd file, I can redirect the incoming request back to www.myserver.com/context, but this seems hocky. How do I 'connect' alternate inbound URLs to a Tomcat context? What is controlling the connection between www.myserver.com and Tomcat? This is a great list and I really appreciate all the advice that I've gleaned from it so far. PS - Using Tomcat 5.5 and Apache 2.? Regards, Geoff Wiggs Orcas Technologies, Inc [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vaneet Sharma executive manager iDeasTank Limited an iwg business dolphins' court po 388 valletta, m-malta/europe mobile: +356 9943 8263 skype: CALLVANEET fax: +356 9952 phone: +356 9942 [EMAIL PROTECTED] call me on www.skype.com - my ID is CALLVANEET Want a signature like this? - www.plaxo.com\signature iwg is a global e-mobile company creating, building and growing new businesses. iwg founders are pioneers in creating multi-billion dollar mobile and Internet businesses in Europe, Asia and the US. www.iWG.info www.countryprofiler.com/iWG www.visitmalta.com www.mfc.com.mt Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache - JK2 - Tomcat Question
Geoff Wiggs wrote: I have a 'newbie' jk2 / Tomcat question. I am running Tomcat behind Apache with mod_jk2 interfacing the two. snip Just so you are aware, jk2 is deprecated in favor of jk. As of version 1.2.10 of jk, most useful features in jk2 should be in jk. See http://jakarta.apache.org/tomcat/connectors-doc/ This does not mean you cannot use jk2, it just has little support if any. HTH - Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Serious Tomcat Question
Hi, I would like to hear opinions from users or developers who have a little more experience with mod-jk/Tomcat then me. With multiple virtual hosts, I would like to add and delete virtual hosts on a routine basis. This is achieved by re-starting both httpd and tomcat after re-configuration (I don't know any other way). Surprisingly, Apache immediately returns a server error 500 response while Tomcat is re-starting. IMHO this renders almost useless the init() and destroy() servlet logic that is used to make user sessions persistent before and after a server restart. If, for example, the expected servlet response is JavaScript that is embedded in a web page, then the whole web application gets broken without even showing an error by this. This is so because there is no way that I can catch this error in JavaScript. The error 500 response is HTML and and the script engine cannot read it. This is just a special case but I think an error 500 response for a server re-start could be considered a disaster in most other cases as well. What can be done about this? I have filed a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=34050 Do you agree with my view? How long would a thing like this take to fix? Many thanks, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serious Tomcat Question
Not sure what your need or frequency is for routine adding/deleting of a virtual host is, but have you considered running multiple instances of Tomcat and connecting them each over different jk port? Perhaps, one instance runs your stable virtual hosts - another runs your dynamic set of virtual hosts? I have experienced that Tomcat tends to startup more slowly the more virtual hosts you have in the config. I run with multiple instances of Tomcat and when I do need to restart Tomcat, it is relatively quick. Doesn't address your session issue though. btw I run FC2/Apache 2.0/JK2/Tomcat 5.0.28 At 05:33 PM 3/17/2005, Bernard wrote: Hi, I would like to hear opinions from users or developers who have a little more experience with mod-jk/Tomcat then me. With multiple virtual hosts, I would like to add and delete virtual hosts on a routine basis. This is achieved by re-starting both httpd and tomcat after re-configuration (I don't know any other way). Surprisingly, Apache immediately returns a server error 500 response while Tomcat is re-starting. IMHO this renders almost useless the init() and destroy() servlet logic that is used to make user sessions persistent before and after a server restart. If, for example, the expected servlet response is JavaScript that is embedded in a web page, then the whole web application gets broken without even showing an error by this. This is so because there is no way that I can catch this error in JavaScript. The error 500 response is HTML and and the script engine cannot read it. This is just a special case but I think an error 500 response for a server re-start could be considered a disaster in most other cases as well. What can be done about this? I have filed a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=34050 Do you agree with my view? How long would a thing like this take to fix? Many thanks, Bernard - 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: Serious Tomcat Question
Thanks Dan for your reply. Your suggestion is very much appreciated. Running multiple instances as a workaround for this may be fine for a handful of virtual hosts, but if you have 50 or 100? How much memory and CPU or even how many physical machines do I need for that? I would also find it error-prone having to administer multiple different ports. Currently adding and deleting a virtual host is a fully automated process. I have one jsp page on one host only and for the rest I have only 2 servlets for each host. The servlets generate remote scripts only - no jsp and no HTML at all. I also don't have any security issues on the server side because users cannot upload server-parsed documents. I can't imagine that running so many virtual machines and tomcats will serve me well. Currently this is handled beautifully with mod_jserv but feel I have to switch to tomcat because old mod_jserv doesn't appear to be supported with Apache httpd version 2. I just need a very basic robust, cooperative servlet engine for this and not a space shuttle solution. Am I perhaps using the wrong servlet engine? I could live without jsp entirely as long as the old servlet tag as a means of java server-side include is supported. Regards, Bernard On Thu, 17 Mar 2005 19:15:00 -0800, you wrote: Not sure what your need or frequency is for routine adding/deleting of a virtual host is, but have you considered running multiple instances of Tomcat and connecting them each over different jk port? Perhaps, one instance runs your stable virtual hosts - another runs your dynamic set of virtual hosts? I have experienced that Tomcat tends to startup more slowly the more virtual hosts you have in the config. I run with multiple instances of Tomcat and when I do need to restart Tomcat, it is relatively quick. Doesn't address your session issue though. btw I run FC2/Apache 2.0/JK2/Tomcat 5.0.28 At 05:33 PM 3/17/2005, Bernard wrote: Hi, I would like to hear opinions from users or developers who have a little more experience with mod-jk/Tomcat then me. With multiple virtual hosts, I would like to add and delete virtual hosts on a routine basis. This is achieved by re-starting both httpd and tomcat after re-configuration (I don't know any other way). Surprisingly, Apache immediately returns a server error 500 response while Tomcat is re-starting. IMHO this renders almost useless the init() and destroy() servlet logic that is used to make user sessions persistent before and after a server restart. If, for example, the expected servlet response is JavaScript that is embedded in a web page, then the whole web application gets broken without even showing an error by this. This is so because there is no way that I can catch this error in JavaScript. The error 500 response is HTML and and the script engine cannot read it. This is just a special case but I think an error 500 response for a server re-start could be considered a disaster in most other cases as well. What can be done about this? I have filed a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=34050 Do you agree with my view? How long would a thing like this take to fix? Many thanks, Bernard - 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 jk2.conf and tomcat question heeelp
B Wiley wrote: Hello, Is there a way to put an absolute path in the jk2.conf location tag that would look like /var/www/html/*.jsp I'm trying to set things up so If i have a .jsp in my website root it forwards the request to tomcat without having the .jsp physically sitting inside the tomcat root. How will Tomcat know where that file is? He has not clue about your website root. Is this possible ??? Not without Tomcat itself capable of serving that file. The Tomcat is not PHP where you can fed the physical file to it's engine. Also, do not use JK2. It's unsupported. Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache jk2.conf and tomcat question heeelp
Thank you but I'm still not getting something, how do you create an alias directory ??? Is that just a symlink ? Please help me understand one concept. I cannot seem to get an answer for this ANYWHERE I've been at this for WEEKS I do not want my jsp pages and my html pages in two different locations . I just want them all in /var/www/html. Is this possible ? Can this be done, does anyone understand what I'm talking about hlp At 08:45 PM 12/22/2004, you wrote: I think the way to do that is set up an alias directory inside apache.conf pointing to that absolute location, then put the entry in jk2.conf for that alias. Cheers, -T Hello, Is there a way to put an absolute path in the jk2.conf location tag that would look like /var/www/html/*.jsp I'm trying to set things up so If i have a .jsp in my website root it forwards the request to tomcat without having the .jsp physically sitting inside the tomcat root. Is this possible ??? Thanks in advance - 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 jk2.conf and tomcat question heeelp
Create a Java web application in the 'normal' fashion. See http://localhost/tomcat-docs/appdev/index.html for how to set things up. This will create your entire web application in $CATALINA_HOME/webapps. Now, in your Apache httpd.conf file, you need some configuration additions. Let's say your application is called beg-jsp (for beginning JSP). Directory /home/tomcat/tomcat-5.0/webapps/beg-jsp Options Indexes MultiViews AllowOverride None Order allow,deny Allow from 127.0.0.1 Allow from 192.168.1 /Directory Replace /home/tomcat/tomcat-5.0/webapps/beg-jsp with the directory where your application is located. Adjust the Allow from statements as desired. Also add an alias directive in your httpd.conf. Alias /beg-jsp//home/tomcat/tomcat-5.0/webapps/beg-jsp/ Again, replace /home/tomcat/tomcat-5.0/webapps/beg-jsp with YOUR directory. Now, in workers2.properties, add the following lines to pass all jsp requests to Tomcat. [uri:lvh.mdeggers.org/beg-jsp/*.jsp] worker=ajp13:localhost:8009 Replace lvh.mdeggers.org with your hostname. The worker I'm using is the default worker. Change that if you've defined it differently than the default. Now Apache will serve all content except for files ending with jsp. That will get sent to Tomcat to serve. HTH - /mde/ just my two cents . . . . - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
apache jk2.conf and tomcat question heeelp
Hello, Is there a way to put an absolute path in the jk2.conf location tag that would look like /var/www/html/*.jsp I'm trying to set things up so If i have a .jsp in my website root it forwards the request to tomcat without having the .jsp physically sitting inside the tomcat root. Is this possible ??? Thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: apache jk2.conf and tomcat question heeelp
I think the way to do that is set up an alias directory inside apache.conf pointing to that absolute location, then put the entry in jk2.conf for that alias. Cheers, -T Hello, Is there a way to put an absolute path in the jk2.conf location tag that would look like /var/www/html/*.jsp I'm trying to set things up so If i have a .jsp in my website root it forwards the request to tomcat without having the .jsp physically sitting inside the tomcat root. Is this possible ??? Thanks in advance - 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: Tomcat Question - HELP
-Original Message- From: Shapira, Yoav Personally, I'd take this support list over any commercial support organization, hands down. +1 Try asking questions like (almost any on this list) to Redmond and see what the response is :-) regards DaveP *** snip here *** -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
go back to formula... Daniel Salud (310)665-6583 John Najarian [EMAIL PROTECTED] 10/01/2004 05:05 PM Please respond to Tomcat Users List To: 'Tomcat Users List' [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Can all you people take this bitching contest elsewhere? My 9 year old knows better than to keep this up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - 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: Tomcat Question - HELP
That goes to you too... Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
Michael, its better if you just keep your comments to your self. You are so pathetic. Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Question - HELP
Daniel, I think the same goes for you. You are attacking the generosity and kindness of the people on this list, and I think I speak for most of the list when I say that you have crossed a line. Please make your future posts constructive and refrain from flaming us. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it [EMAIL PROTECTED] wrote: Michael, its better if you just keep your comments to your self. You are so pathetic. Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - 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]
[OT] Re: Tomcat Question - HELP
This needs to stop but if it's to continue, would everyone not mind putting [OT] at the beginnning of the subject line? -Thanks On Mon, 2004-10-04 at 12:04, Mike Fowler wrote: Daniel, I think the same goes for you. You are attacking the generosity and kindness of the people on this list, and I think I speak for most of the list when I say that you have crossed a line. Please make your future posts constructive and refrain from flaming us. -Mike Fowler I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it [EMAIL PROTECTED] wrote: Michael, its better if you just keep your comments to your self. You are so pathetic. Daniel Salud (310)665-6583 [EMAIL PROTECTED] 10/01/2004 04:37 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - 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: Tomcat Question - HELP
anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder
RE: Tomcat Question - HELP
Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Question - HELP
On Fri, Oct 01, 2004 at 08:58:32AM -0700, [EMAIL PROTECTED] wrote: : First of all, let me tell you that I am not a big fan of tomcat and second : if you just want to annoy me, don't even reply to my question. For good or ill, when you post to a public forum, you put yourself at the mercy of all those subscribed. : I am soliciting for clue on where else to look. Understandable, but based on your post there's not a lot for us to go on. You say there's nothing in the logs, and that's 99% of what most people here would check when there's a problem. Tomcat is pretty good about complaining when it can't do something. ;) Otherwise, go for the usual: check the system for memory issues, check whether other processes are causing a problem, etc. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Tomcat Question - HELP
Thanks a lot. This is my first time to subscribed to this kind of forum and I would expect people who are here are mostly educated and professional. I appreciate your input. Daniel Salud (310)665-6583 QM [EMAIL PROTECTED] 10/01/2004 09:33 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP On Fri, Oct 01, 2004 at 08:58:32AM -0700, [EMAIL PROTECTED] wrote: : First of all, let me tell you that I am not a big fan of tomcat and second : if you just want to annoy me, don't even reply to my question. For good or ill, when you post to a public forum, you put yourself at the mercy of all those subscribed. : I am soliciting for clue on where else to look. Understandable, but based on your post there's not a lot for us to go on. You say there's nothing in the logs, and that's 99% of what most people here would check when there's a problem. Tomcat is pretty good about complaining when it can't do something. ;) Otherwise, go for the usual: check the system for memory issues, check whether other processes are causing a problem, etc. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Tomcat Question - HELP
With your tomcat PID destroyed, try telneting to your listener ip/port and see if you can get a connection.. something else may be bound to your ip/port that is keeping tomcat from starting.. Thanks, Azam Khan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:01 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron: Rick Moen is _not_ your personal, private helpdesk. The other 1% of you who want to discuss ways to improve How to Ask Questions the Smart Way, thank you! Please reach Rick at [EMAIL PROTECTED]. This is an automated e-mail. (Your mail has not reached a human.) Thanks! Mr. Autoresponder This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you
RE: Tomcat Question - HELP
Have I seen something like this before? Yes I have. Many times. Would I share what I did? Absolutely: I posted the log and described the situation. Now, I see that you're still not posting it... :( Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced, etc.), and live with the consequences, many times over the years, and YMMV ;) In this specific case, no commercial support organization would be able to help you more given the negligible information content you posted. Instead, you'd be dragged along until you posted your logs and/or provided steps to reproduce the problem, and be charged according to your support agreement, so at least you'll have the satisfaction of knowing your $$$ spent on support aren't being completely wasted, only mostly wasted. If the problem happens again, and you provide more details, the probability of you getting concrete help is higher than with the scant details provided in your original post. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:01 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM - Rick Moen [EMAIL PROTECTED] 09/30/2004 07:15 PM To: [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): I have a tomcat question: I killed the tomcat PID and restarted it using my start up script on /etc/rc2.d (Unix - Sun). I saw a new PID after I restarted it but it won't open the jsp page and I cannot to my servlets. I was getting Internal Server error. It appears that Tomcat did not actually start.I looked at the Catalina out logs but nothing much there to tell what was the issue. I have to reboot the server to clear tomcat and it started just fine after reboot. Any ideas what cause it not to restart ? Daniel Salud (310)665-6583 Thanks for your mail about How to Ask Questions the Smart Way. As a reminder, that essay suggests (generic) ways to ensure you're asking technical questions in the right way, in the right place. People write back for one of two _very_ different reasons: o Good reason: Sending feedback/suggestions to help improve the essay. o VERY BAD reason: Asking essay co-author Rick Moen for technical help. Guess what? 99% of such mails are for the VERY BAD type of reason. If you're about to do that, STOP. Do something else. Anything. Don't act like a moron
RE: Tomcat Question - HELP
I really don't care what your personal views are. I am not a decision maker here. We use apache/tomcat for non-mission critical app. Actually we don't have a choice because the vendor who wrote the code bundled everything with all those open source stuff. Why don't we make this forum simple. If you are willing help, just focus on helping to address specific technical issues and not express your personal opinions about things that are not relevant like attacking somebody's technical know-how, etc.(not you but one of those who reply to my posting). Like KISS...keep it simple and straight to the point. I didn't post the log because I am 99.99 sure that will only see a clean startup message and nothing else. We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls catalina.sh and it solved my issue. I got that idea from one of the good replies I got for this particular issue. My 2 cents. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 11:49 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced, etc.), and live with the consequences, many times over the years, and YMMV ;) In this specific case, no commercial support organization would be able to help you more given the negligible information content you posted. Instead, you'd be dragged along until you posted your logs and/or provided steps to reproduce the problem, and be charged according to your support agreement, so at least you'll have the satisfaction of knowing your $$$ spent on support aren't being completely wasted, only mostly wasted. If the problem happens again, and you provide more details, the probability of you getting concrete help is higher than with the scant details provided in your original post. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:01 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote: First of all, let me tell you that I am not a big fan of tomcat and second if you just want to annoy me, don't even reply to my question. Be professional man. I am soliciting for clue on where else to look. I am a Unix admin and not a an app admin. I also managed Weblogic and it's a lot easier for me to debug. Thanks. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 08:35 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, So something went wrong, you looked at the logs and didn't see anything to help you debug the problem, restarted the server, now it's all fine, and you expect someone else to have a clue as to what went wrong? Come on ;) Post the log if still have it, otherwise have a good weekend ;) Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 11:34 AM To: Tomcat Users List Subject: Re: Tomcat Question - HELP anybody ? Daniel Salud (310)665-6583 - Forwarded by Daniel Salud/LA/SPE on 10/01/2004 08:32 AM
Re: Tomcat Question - HELP
[EMAIL PROTECTED] wrote: We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls catalina.sh and it solved my issue. Daniel, Doesn't your Tomcat bin directory include a shutdown.sh script? Why not use that instead of killing the PID? I've never had an issue with port contention when using shutdown.sh. Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
Daniel, You really SHOULD care. I just started a web hosting business on the Linux platform using Tomcat. I had no prior experience using the software and I have read as much as I can in books, but they are always out of date, even when new. Press time is always too long. Open source just keeps getting better so much faster. So an open community forum with the WRITERS of the software is a MODERN MIRACLE. This forum, and Yoav, have been invaluble resources to me. No propiretary software provider would EVER be willing to provide such support. They aren't smart enough and they don't care enough. So if you want, stick with your proprietary solutions and your Technical Support Staff (untrained teenagers and non-english speakers reading general answers to your not-so-general questions). But don't disreguard the ADVICE my friend Yoav gave you on HOW TO USE THE RESOURSE he has offered to you FREE OF CHARGE as a common human courtesy. Listen to him. He knows how to help you help yourself. Justin Jaynes --- [EMAIL PROTECTED] wrote: I really don't care what your personal views are. I am not a decision maker here. We use apache/tomcat for non-mission critical app. Actually we don't have a choice because the vendor who wrote the code bundled everything with all those open source stuff. Why don't we make this forum simple. If you are willing help, just focus on helping to address specific technical issues and not express your personal opinions about things that are not relevant like attacking somebody's technical know-how, etc.(not you but one of those who reply to my posting). Like KISS...keep it simple and straight to the point. I didn't post the log because I am 99.99 sure that will only see a clean startup message and nothing else. We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls catalina.sh and it solved my issue. I got that idea from one of the good replies I got for this particular issue. My 2 cents. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 11:49 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced, etc.), and live with the consequences, many times over the years, and YMMV ;) In this specific case, no commercial support organization would be able to help you more given the negligible information content you posted. Instead, you'd be dragged along until you posted your logs and/or provided steps to reproduce the problem, and be charged according to your support agreement, so at least you'll have the satisfaction of knowing your $$$ spent on support aren't being completely wasted, only mostly wasted. If the problem happens again, and you provide more details, the probability of you getting concrete help is higher than with the scant details provided in your original post. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:01 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how hard it is to debug a problem when it is not accompanied by any other information. A UNIX admin should also know that novice users normally don't see anything abnormal in the logs. They have to list the output of a program for you to notice something. Ninety percent of the time the assertion 'the log says nothing' is false. UNIX admins know that. Please post the log and any information that may give us more context. Gerardo On Fri, 1 Oct 2004 [EMAIL PROTECTED] wrote
Re: Tomcat Question - HELP
I did use it but it didn't shut it down so I had not choice. I think that's the other puzzle I need to solve. Why it won't shut down gracefully. Daniel Salud (310)665-6583 Robert F. Hall [EMAIL PROTECTED] 10/01/2004 12:26 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: Tomcat Question - HELP [EMAIL PROTECTED] wrote: We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls catalina.sh and it solved my issue. Daniel, Doesn't your Tomcat bin directory include a shutdown.sh script? Why not use that instead of killing the PID? I've never had an issue with port contention when using shutdown.sh. Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
I appreciate your feedback and I do respect his input but he and the other gentlemen should not attack anybody's technical capability if they are really since in helping. That's what this forum is for. They don't know what I know and how much I know. Daniel Salud (310)665-6583 Justin Jaynes [EMAIL PROTECTED] 10/01/2004 01:01 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Daniel, You really SHOULD care. I just started a web hosting business on the Linux platform using Tomcat. I had no prior experience using the software and I have read as much as I can in books, but they are always out of date, even when new. Press time is always too long. Open source just keeps getting better so much faster. So an open community forum with the WRITERS of the software is a MODERN MIRACLE. This forum, and Yoav, have been invaluble resources to me. No propiretary software provider would EVER be willing to provide such support. They aren't smart enough and they don't care enough. So if you want, stick with your proprietary solutions and your Technical Support Staff (untrained teenagers and non-english speakers reading general answers to your not-so-general questions). But don't disreguard the ADVICE my friend Yoav gave you on HOW TO USE THE RESOURSE he has offered to you FREE OF CHARGE as a common human courtesy. Listen to him. He knows how to help you help yourself. Justin Jaynes --- [EMAIL PROTECTED] wrote: I really don't care what your personal views are. I am not a decision maker here. We use apache/tomcat for non-mission critical app. Actually we don't have a choice because the vendor who wrote the code bundled everything with all those open source stuff. Why don't we make this forum simple. If you are willing help, just focus on helping to address specific technical issues and not express your personal opinions about things that are not relevant like attacking somebody's technical know-how, etc.(not you but one of those who reply to my posting). Like KISS...keep it simple and straight to the point. I didn't post the log because I am 99.99 sure that will only see a clean startup message and nothing else. We actually replicated the issue and killing a tomcat PID, sometimes does not release the port it is listening to/or using. I killed the tomcat PID, clear port 8080 and make sure nothing else is using it or holding it and restarted tomcat with my rc2.d script that calls catalina.sh and it solved my issue. I got that idea from one of the good replies I got for this particular issue. My 2 cents. Daniel Salud (310)665-6583 Shapira, Yoav [EMAIL PROTECTED] 10/01/2004 11:49 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP Hi, Personally, I'd take this support list over any commercial support organization, hands down. But that's just my personal experience as someone who's had to make that decision (commercial versus open-source, paid support versus community support, dedicated support staff versus outsourced, etc.), and live with the consequences, many times over the years, and YMMV ;) In this specific case, no commercial support organization would be able to help you more given the negligible information content you posted. Instead, you'd be dragged along until you posted your logs and/or provided steps to reproduce the problem, and be charged according to your support agreement, so at least you'll have the satisfaction of knowing your $$$ spent on support aren't being completely wasted, only mostly wasted. If the problem happens again, and you provide more details, the probability of you getting concrete help is higher than with the scant details provided in your original post. Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:01 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP I know all those. I already have our web engineer looked at it and he found nothing from the log so I wouldn't post the log. I guess between you and my web engineer, I will trust his judgement. I am hoping that somebody has seen something like this before and would share what they did. Have you? That's one of the issues with open source as you already know. No support so sometimes you have to rely on user forums for open source stuff. Thanks anyway. Daniel Salud (310)665-6583 Gerardo Juarez [EMAIL PROTECTED] 10/01/2004 09:48 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:RE: Tomcat Question - HELP I think a UNIX admin should know how
RE: Tomcat Question - HELP
Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Question - HELP
Can all you people take this bitching contest elsewhere? My 9 year old knows better than to keep this up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat Question - HELP Let me summarise this thread: 1. You hate all those open source stuff 2. You are not a big fan of tomcat 3. You think we are not educated and professional 4. You will trust your web engineer over our judgement 5. You really don't care what your personal views are 6. You seem to know exactly what this forum is for an how we should run it and behave on it 6. You won't do what you are asked (i.e. post a simple logfile) 7. You seem to think as a Unix admin that killing a process that has an obvious, documented and non-trivial shutdown sequence is a good idea (I'm sure DBA's will love you for this) 8. You publicly admitted to mailing Rick Moen directly for help (great autoreply though ;-) ) What gets me is that everyone who replied to you was civil and helpful. Really, you guys are the greatest! I'm mostly a lurker and I've totally lost control (yes I know: YHBT. YHL. HAND.) Daniel, I just hope for your sake that no potential future employer ever finds this thread on Google (or that you are wisely using an alias). Have a good weekend, Michiel - 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]
Tomcat question
Hello, Does anyone know why I am able to load .jsp files but not .jspa files? Example: http://localhost/forum/admin/setup/index.jsp works http://localhost/forum/admin/setup/setup.index!default.jspa does not work I am using Fedora Core 2, tomcat 4.1.27 and the jk2 / AJP 1.3 connector. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat question
*.jspa is not mapped to the JSP servlet. See $CATALINA_HOME/conf/web.xml -Tim Thomas E. Dukes wrote: Hello, Does anyone know why I am able to load .jsp files but not .jspa files? Example: http://localhost/forum/admin/setup/index.jsp works http://localhost/forum/admin/setup/setup.index!default.jspa does not work I am using Fedora Core 2, tomcat 4.1.27 and the jk2 / AJP 1.3 connector. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
*.jspa is not mapped to the JSP servlet. See $CATALINA_HOME/conf/web.xml Thanks, Tim, I am really new to tomcat and java. I took a look in the web.xml and didn't see anything related to .jspa. Can you please tell me what I need to add. I tried adding: servlet-mapping servlet-namejspa/servlet-name url-pattern*.jspa/url-pattern /servlet-mapping But that broke everything. Thanks -Tim Thomas E. Dukes wrote: Hello, Does anyone know why I am able to load .jsp files but not .jspa files? Example: http://localhost/forum/admin/setup/index.jsp works http://localhost/forum/admin/setup/setup.index!default.jspa does not work I am using Fedora Core 2, tomcat 4.1.27 and the jk2 / AJP 1.3 connector. - 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: Tomcat question
Hi, servlet-mapping servlet-namejspa/servlet-name url-pattern*.jspa/url-pattern /servlet-mapping That's pretty close: look at the servlet-mapping element for *.jsp. Copy and paste it, change the url-pattern to *.jspa. That's it. Keep the servlet-name the same, don't modify it to jspa. Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Hi, servlet-mapping servlet-namejspa/servlet-name url-pattern*.jspa/url-pattern /servlet-mapping That's pretty close: look at the servlet-mapping element for *.jsp. Copy and paste it, change the url-pattern to *.jspa. That's it. Keep the servlet-name the same, don't modify it to jspa. Thanks!! Made the change. It didn't break this time but when I try to access the page, http://localhost/forum/admin/setup/setup.index!default.jspa, I still get error 404 object not found - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Hi, Made the change. It didn't break this time but when I try to access the page, http://localhost/forum/admin/setup/setup.index!default.jspa, I still get error 404 object not found What's this weird URL? Are you really running on port 80? Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Hi, Made the change. It didn't break this time but when I try to access the page, http://localhost/forum/admin/setup/setup.index!default.jspa, I still get error 404 object not found What's this weird URL? Are you really running on port 80? Hi, I'm trying to setup jive forums. Try this link: http://palmettodomains.com/forum/admin/setup/main.jsp, the click the Continue button. Thanks!! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Embed Tomcat Question
Can an existing web app which use listener and filter etc, be deployed without any changes in a new embedded tomcat enviroment? I'm having troubles with the new embedded tomcat environment. Any guidance? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Foolish Java / Tomcat question
asbestos underwear So I get the concept of the garbage collector.. at least in principal.. but what happens to all the memory that gets allocated for a tomcat session (by a single login) when that session closes or is timed out? is *everything* from that session decremented so it can be cleaned up? do I need to be checking for this? what about session beans and variables stored therein? /asbestos underwear thanks. let the scorching begin.
RE: Foolish Java / Tomcat question
Hi, Per the Servlet Specification, when a session is destroyed all its attribute references are cleared. Then normal garbage collection rules apply: if there are no other references to these objects, they can be garbage collected, and you don't have to worry about it. If there are other references to these objects, they cannot be garbage collected. Yoav Shapira Millennium Research Informatics -Original Message- From: Jon Yeargers [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 1:19 PM To: 'Tomcat Users List' Subject: Foolish Java / Tomcat question asbestos underwear So I get the concept of the garbage collector.. at least in principal.. but what happens to all the memory that gets allocated for a tomcat session (by a single login) when that session closes or is timed out? is *everything* from that session decremented so it can be cleaned up? do I need to be checking for this? what about session beans and variables stored therein? /asbestos underwear thanks. let the scorching begin. This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Linux memory management with Tomcat question
I've got tomcat running on a Linux machine with 2000GB of RAM. The tomcat settings are JAVA_OPTS=-server -Xms1500M -Xmx1500M; therefore, when i start Tomcat, I'll see free memory drop to about 500MB - which is expected. But, when tomcat is running and especially under heavy load the free memory continues to drop while buffer and cache rises. I understand that Linux places all used memory into the buffer and cache and puts it back to free memory when needed. But I'm confused as to why free memory would be used at all since 1500MB of memory has already been allocated to Tomcat. I mean, why isn't it pulling from it's own heap instead of consuming Linux's free memory? - Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2'
Re: Linux memory management with Tomcat question
ok, so your server has 2GB of ram or 2000Mb. the memory usage may increase for several reasons, the primary one is there's a slow leak in one of your applications. This may be as simple as several objects referencing each other. If they happen to result in circular references, the garbage collector may not reclaim the heap memory if the server is under moderate load. Eventually the VM would garbage those objects, but for the short term it would look just like a leak. Another possible cause is if the sessions are set to never expire or expire in a very long time, like 1 day or greater. In general, I profile my webapps and use JMeter to simulate load. I strive for flat memory usage under constant load. A simple thing like clearing all the arrays or nulling references in a object structure will insure the heap is garbage ASAP instead of several minutes. Say I make an object model for some data that has a hierarchical structure. Once I'm done with translating the data into HTML, I clear that object structure to make sure the heap is garbaged efficiently. I hope that helps. peter --- tom ly [EMAIL PROTECTED] wrote: I've got tomcat running on a Linux machine with 2000GB of RAM. The tomcat settings are JAVA_OPTS=-server -Xms1500M -Xmx1500M; therefore, when i start Tomcat, I'll see free memory drop to about 500MB - which is expected. But, when tomcat is running and especially under heavy load the free memory continues to drop while buffer and cache rises. I understand that Linux places all used memory into the buffer and cache and puts it back to free memory when needed. But I'm confused as to why free memory would be used at all since 1500MB of memory has already been allocated to Tomcat. I mean, why isn't it pulling from it's own heap instead of consuming Linux's free memory? - Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Linux memory management with Tomcat question
Thanks for the reply Peter. Which OS are you using? Peter Lin [EMAIL PROTECTED] wrote: ok, so your server has 2GB of ram or 2000Mb. the memory usage may increase for several reasons, the primary one is there's a slow leak in one of your applications. This may be as simple as several objects referencing each other. If they happen to result in circular references, the garbage collector may not reclaim the heap memory if the server is under moderate load. Eventually the VM would garbage those objects, but for the short term it would look just like a leak. Another possible cause is if the sessions are set to never expire or expire in a very long time, like 1 day or greater. In general, I profile my webapps and use JMeter to simulate load. I strive for flat memory usage under constant load. A simple thing like clearing all the arrays or nulling references in a object structure will insure the heap is garbage ASAP instead of several minutes. Say I make an object model for some data that has a hierarchical structure. Once I'm done with translating the data into HTML, I clear that object structure to make sure the heap is garbaged efficiently. I hope that helps. peter --- tom ly wrote: I've got tomcat running on a Linux machine with 2000GB of RAM. The tomcat settings are JAVA_OPTS=-server -Xms1500M -Xmx1500M; therefore, when i start Tomcat, I'll see free memory drop to about 500MB - which is expected. But, when tomcat is running and especially under heavy load the free memory continues to drop while buffer and cache rises. I understand that Linux places all used memory into the buffer and cache and puts it back to free memory when needed. But I'm confused as to why free memory would be used at all since 1500MB of memory has already been allocated to Tomcat. I mean, why isn't it pulling from it's own heap instead of consuming Linux's free memory? - Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2'
ssl from IIS to Tomcat question
WE have configured IIS to use SSL over https and to redirect JSP{/servlet requests to Tomcat. Howevert, I understand that from IIS to Tomcat, the request is made decrypted clear text. How can I setup Tomcat and IIS to use SSL roundtrip from client-IIS-Tomcat and back a gain??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
re: Tomcat question
Hello, I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box. My question is specific to Tomcat. I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles. However, these logfiles are all inclusive of everything that goes on in Tomcat. Is there a way where I could set up individual logs for my developers that are their own personal logfiles. Does Tomcat allow for that? Thanks. Chris Bliesner Lead Oracle DBA El Paso Boeing IDS e-mail: [EMAIL PROTECTED] 915-834-1757 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
Howdy, I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box. My question is specific to Tomcat. I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles. However, these logfiles are all inclusive of everything that goes on in Tomcat. Is there a way where I could set up individual logs for my developers that are their own personal logfiles. Does Tomcat allow for that? Thanks. You can nest a Logger element inside a Host, Engine, or Context. If you configure your server such that each developer has his own Host, Context(s), or Engine, then each can have their own Logger. Alternatively, and many people do this for convenience, each developer can have his/her own Tomcat instance. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat question
Bliesner, Christopher P wrote: Hello, I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box. My question is specific to Tomcat. I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles. However, these logfiles are all inclusive of everything that goes on in Tomcat. Is there a way where I could set up individual logs for my developers that are their own personal logfiles. Does Tomcat allow for that? Thanks. You can certianly set a log file per Context. If you can live with a Context per developer, then your problem is solved. It is odd that your specific logs are getting extraneous (global tomcat) bits - normally that stuff is consumed by the top level logger and doesn't pass down to the overriding loggers. -- Josh Rehman citysearch.com 213.739.3559 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat question
thanks. Unfortunately, if I setup each developer a different log, they still get the whole logfile from Tomcat. I believe that I would have to setup several virtual hosts in Apache and then setup Tomcat versions for each one. However, I'm going to have one of the developer's try to route their servlet to a separate output.log file in their code. I'll let you know if it works. -Original Message- From: Josh Rehman [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 2:59 PM To: Tomcat Users List Subject: Re: Tomcat question Bliesner, Christopher P wrote: Hello, I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box. My question is specific to Tomcat. I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles. However, these logfiles are all inclusive of everything that goes on in Tomcat. Is there a way where I could set up individual logs for my developers that are their own personal logfiles. Does Tomcat allow for that? Thanks. You can certianly set a log file per Context. If you can live with a Context per developer, then your problem is solved. It is odd that your specific logs are getting extraneous (global tomcat) bits - normally that stuff is consumed by the top level logger and doesn't pass down to the overriding loggers. -- Josh Rehman citysearch.com 213.739.3559 - 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: Tomcat question
Thanks for your help :) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 2:55 PM To: Tomcat Users List Subject: RE: Tomcat question Howdy, I have setup Tomcat 4.12 in conjunction with Apache 2.0.43 on a Solaris UNIX box. My question is specific to Tomcat. I know that I can modify the server.xml to include individual logfiles under the webapps directory, both Local logs and (I believe) Catalina logfiles. However, these logfiles are all inclusive of everything that goes on in Tomcat. Is there a way where I could set up individual logs for my developers that are their own personal logfiles. Does Tomcat allow for that? Thanks. You can nest a Logger element inside a Host, Engine, or Context. If you configure your server such that each developer has his own Host, Context(s), or Engine, then each can have their own Logger. Alternatively, and many people do this for convenience, each developer can have his/her own Tomcat instance. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]
tomcat question
Title: Message im not sure im sending my question to the right mailing list, but here we go. i have tomcat 4.1.29 installed on window 2000 and im running it as service, the question is how do i change the classpath of the tomcat? i change setclasspath file but it didnt help thank you in advance. mobile mapping application Guy LubovitchProject Manager TelmapBareket 11Herzelia [EMAIL PROTECTED] tel: mobile: +972(9)9582844+972(54)550865 Powered by Plaxo Want a signature like this? Add me to your address book...
RE: tomcat question
I'm almost sure that in Tomcat_Home/conf/tomcat4.conf there should be an entry for that. Well I'm talking about Linux, actually, but the setup should be similar for Windows... -Original Message- From: Guy Lubovitch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 12:14 PM To: '[EMAIL PROTECTED]' Subject: tomcat question im not sure im sending my question to the right mailing list, but here we go. i have tomcat 4.1.29 installed on window 2000 and im running it as service, the question is how do i change the classpath of the tomcat? i change setclasspath file but it didnt help thank you in advance. mobile mapping application Guy Lubovitch Project Manager Telmap Bareket 11 Herzelia [EMAIL PROTECTED] tel: mobile: +972(9)9582844 +972(54)550865 http://www.plaxo.com/signature Powered by Plaxo http://www.plaxo.com/signature Want a signature like this? https://www.plaxo.com/add_me?u=4294976276v0=17453k0=1888001226 Add me to your address book...
RE: tomcat question
Actually in solaris and linux its working for me, I can be more exact and exaplain that the problem is that I cannot connect to my jboss from tomcat because of some initial class the tomcat load before jboss_client.jar and the only way I made it work was addd this line to setclasspath,bat : set CLASSPATH=%JAVA_HOME%\lib\tools.jar;C:\work\app\Tomcat 4.1.29\server\lib\jbossall-client.jar -Original Message- From: Nadia Kunkov [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 7:20 PM To: Tomcat Users List Subject: RE: tomcat question I'm almost sure that in Tomcat_Home/conf/tomcat4.conf there should be an entry for that. Well I'm talking about Linux, actually, but the setup should be similar for Windows... -Original Message- From: Guy Lubovitch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 12:14 PM To: '[EMAIL PROTECTED]' Subject: tomcat question im not sure im sending my question to the right mailing list, but here we go. i have tomcat 4.1.29 installed on window 2000 and im running it as service, the question is how do i change the classpath of the tomcat? i change setclasspath file but it didnt help thank you in advance. mobile mapping application Guy Lubovitch Project Manager Telmap Bareket 11 Herzelia [EMAIL PROTECTED] tel: mobile: +972(9)9582844 +972(54)550865 http://www.plaxo.com/signature Powered by Plaxo http://www.plaxo.com/signature Want a signature like this? https://www.plaxo.com/add_me?u=4294976276v0=17453k0=1888001226 Add me to your address book... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: crazy iPlanet/Tomcat question.
Hi, Thanks. I forgot about that... I had to touch an index.jsp file in the Netscape docroot to trick it into thinking a file was there. Now it works. Netscape - iPlanet - SunONE. That's marketing for ya... :) -e On Mon, 21 Jul 2003, Bill Barker wrote: I haven't used iPlanet since it was called Netscape ;-). I believe that you have to 'index.jsp' an index file to iPlanet. You could also try enabling the auto-config and compare that to what you have. Follow the instructions at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig and s/ApacheConfig/NSConfig/. Eric J. Pinnell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI redirector on Solaris. However it will not load the default page (welcome page) such as index.jsp. If I put the full URL in (http://host.com/context/index.jsp) it works but if I just put in the context without the index.jsp I get a page not found error. Anyone seen this before? BTW I have iPlanet set to server index.jsp as a default page and my welcome page in my web.xml is index.jsp. I'm wondering if there is something I can do with the connector/connector config or if I have to configure a redirect through the server. Thanks for any help in advance! -e obj.conf: Init fn=load-modules funcs=jk_init,jk_service shlib=/apps/netscape/iws/http s-webshares/plugins/nsapi_redirector.so Init fn=jk_init worker_file=/apps/netscape/iws/https-webshares/config/workers .properties log_level=debug log_file=/apps/netscape/iws/https-webshares/logs /nsapi-redirector.log Object name=default NameTrans fn=assign-name from=/servlet/* name=servlet NameTrans fn=assign-name from=/examples/* name=servlet NameTrans fn=assign-name from=/newcontext/* name=servlet snip Object name=servlet ObjectType fn=force-type type=text/plain Service fn=jk_service worker=worker1 /Object workers.propeties worker.list=worker1 worker.worker1.port=48109 worker.worker1.host=localhost worker.worker1.type=ajp13 - 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]
crazy iPlanet/Tomcat question.
Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI redirector on Solaris. However it will not load the default page (welcome page) such as index.jsp. If I put the full URL in (http://host.com/context/index.jsp) it works but if I just put in the context without the index.jsp I get a page not found error. Anyone seen this before? BTW I have iPlanet set to server index.jsp as a default page and my welcome page in my web.xml is index.jsp. I'm wondering if there is something I can do with the connector/connector config or if I have to configure a redirect through the server. Thanks for any help in advance! -e obj.conf: Init fn=load-modules funcs=jk_init,jk_service shlib=/apps/netscape/iws/http s-webshares/plugins/nsapi_redirector.so Init fn=jk_init worker_file=/apps/netscape/iws/https-webshares/config/workers .properties log_level=debug log_file=/apps/netscape/iws/https-webshares/logs /nsapi-redirector.log Object name=default NameTrans fn=assign-name from=/servlet/* name=servlet NameTrans fn=assign-name from=/examples/* name=servlet NameTrans fn=assign-name from=/newcontext/* name=servlet snip Object name=servlet ObjectType fn=force-type type=text/plain Service fn=jk_service worker=worker1 /Object workers.propeties worker.list=worker1 worker.worker1.port=48109 worker.worker1.host=localhost worker.worker1.type=ajp13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: crazy iPlanet/Tomcat question.
I haven't used iPlanet since it was called Netscape ;-). I believe that you have to 'index.jsp' an index file to iPlanet. You could also try enabling the auto-config and compare that to what you have. Follow the instructions at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig and s/ApacheConfig/NSConfig/. Eric J. Pinnell [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I have seached and looked through the archives with no luck. I have also experimented quite a bit and have a question: I currently have iPlanet 4.1 connected to Tomcat 4.1.18 via the NSAPI redirector on Solaris. However it will not load the default page (welcome page) such as index.jsp. If I put the full URL in (http://host.com/context/index.jsp) it works but if I just put in the context without the index.jsp I get a page not found error. Anyone seen this before? BTW I have iPlanet set to server index.jsp as a default page and my welcome page in my web.xml is index.jsp. I'm wondering if there is something I can do with the connector/connector config or if I have to configure a redirect through the server. Thanks for any help in advance! -e obj.conf: Init fn=load-modules funcs=jk_init,jk_service shlib=/apps/netscape/iws/http s-webshares/plugins/nsapi_redirector.so Init fn=jk_init worker_file=/apps/netscape/iws/https-webshares/config/workers .properties log_level=debug log_file=/apps/netscape/iws/https-webshares/logs /nsapi-redirector.log Object name=default NameTrans fn=assign-name from=/servlet/* name=servlet NameTrans fn=assign-name from=/examples/* name=servlet NameTrans fn=assign-name from=/newcontext/* name=servlet snip Object name=servlet ObjectType fn=force-type type=text/plain Service fn=jk_service worker=worker1 /Object workers.propeties worker.list=worker1 worker.worker1.port=48109 worker.worker1.host=localhost worker.worker1.type=ajp13 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Question - content expiration
We have a problem where when the back button is pressed in the browser it displays a This page has expired message. How can i get tomcat to display the previous page correctly? The Web server is IIS5 with the redirector 2 connector with tomcat 4.1.24 thanks chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dumb Tomcat question
A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Thanks for your info. -Bala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dumb Tomcat question
just install them in two different locations /usr/local/tomcat /usr/local/tomcat2 then on tomcat2/conf/server.xml change all the ports so that they don't conflict with tomcat/conf/server.xml then just start them up, that is all you need to do Filip -Original Message- From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:13 AM To: Tomcat Users List Subject: Dumb Tomcat question A dumb question: I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Thanks for your info. -Bala - 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: Dumb Tomcat question
Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Dumb Tomcat question
Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Dumb Tomcat question
it gets set in the startup scripts for you Filip -Original Message- From: Balakrishna Kudaravalli [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 9:46 AM To: Tomcat Users List Subject: RE: Dumb Tomcat question Thanks for the info. What about CATALINA_HOME is it mandatory for me to set that env. variable ? -- how does this work when i have two instances -Bala At 12:16 PM 6/13/2003 -0400, you wrote: Howdy, It's not a dumb question ;) I need to run 2 instances on Tomcat 4.1.24 on one unix physical host. Could you pl. let me know 1) What are the environment variables that need to be set for both the instances ? - CATALINA_HOME , PATH CLASSPATH 2) Can I set CATALINA_HOME for both instances ? -- how would this work Simply install tomcat in two separate directories, let's say /usr/local/tomcat1 and /usr/local/tomcat2. That's about it. The startup/shutdown scripts are intelligent enough to use relative paths, so they won't interfere with each other. You don't need to specify CLASSPATH at all, as tomcat ignores that anyways. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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]
Non-Tomcat question
Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
RE: Non-Tomcat question
Try forum.java.sun.com or www.theserverside.com or www.jguru.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: Non-Tomcat question Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
Re: Non-Tomcat question
http://forum.java.sun.com/ You will get some cocky people responding when you ask a simple question but over all, they all try to help. Make sure you post with an appropriate title not (HELP!!, etc) and be as thourough as possible. Also when posting code use [code] YOUR CODE HERE[/code] if it's not the [] then use but I'm almost positive it's []. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OFF-TOPIC] Re: Non-Tomcat question
http://forum.java.sun.com/ John On Wed, 11 Jun 2003 15:10:04 -0500, [EMAIL PROTECTED] wrote: Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OFF-TOPIC] Re: Non-Tomcat question
Thank you all for replying. -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 3:16 PM To: Tomcat Users List Subject: [OFF-TOPIC] Re: Non-Tomcat question http://forum.java.sun.com/ John On Wed, 11 Jun 2003 15:10:04 -0500, [EMAIL PROTECTED] wrote: Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. * -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * This communication may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please notify the sender via return e-mail and delete it from your computer. Thank you. St. Jude Medical, Inc. *
Re: Non-Tomcat question
Does anyone know of a good java forum I can post my question to? To add to the list, there are several very good moderated forums at http://www.ibm.com/developerworks/java including, sometimes, the Java Filter forum http://www-106.ibm.com/developerworks/forums/dw_forum.jsp?forum=177cat=10 which, ahem, I moderate. In addition, http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi is active and often gives good responses. Joe Sam Joe Sam Shirah -http://www.conceptgo.com conceptGO -Consulting/Development/Outsourcing Java Filter Forum: http://www.ibm.com/developerworks/java/ Just the JDBC FAQs: http://www.jguru.com/faq/JDBC Going International?http://www.jguru.com/faq/I18N Que Java400? http://www.jguru.com/faq/Java400 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:10 PM Subject: Non-Tomcat question Hi, Does anyone know of a good java forum I can post my question to? I apologize for asking this question in this forum. However, I have been searching and not coming up with any. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Not wholly a Tomcat question but
Now I did a search of the archives, and found someone else with this same problem. It seemed to open a whole kettle of resentment, and I do not wish to reopen an old wound. However the question never really got answered in a way I can understand. I have found the members of this group so helpful and do not wish to offend at all. If I am out of line here please tell me (but gently as I have such tender sensibilities). I have my Servlets and JSP up and running. Thanks for all the help! Then of course I had to mess with them, and added a bean to manage data which I store in this folder with all my other class files. C:\Tomcat\webapps\idcard\WEB-INF\classes\idcard. Until I added the bean reference the JSP file ran nicely. The JSP file is stored in this folder: C:\Tomcat\webapps\idcard However when I run the JSP and hit submit to allow the capture of the data that the bean is used for I get this warning: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. Which I don't understand because I am not aware of calling this class but it must somehow be referenced as part of something else I am using...but what? and this error: Generated servlet error (with some variations on the theme): C:\Tomcat\work\Standalone\localhost\idcard\retrieveData$jsp.java:64: Class org.apache.jsp.GetData not found. GetData getData = null; I have tried moving my bean file around to several different places within the structure and calling it by idcard.GetData but neither of those solutions worked. Should the JSP and the bean be in the same folder? It seems to me it would be adequate to use the path in calling the bean...wouldn't it? Can anyone explain what the issue is and how to resolve it? Sandra Patricia Hunter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but
Howdy, Does the bean (or GetData) have a package? It should. If it doesn't have a package, Jasper will put in the org.apache.jsp package which is not what you want. Jasper uses Javac in order to compile the servlets that come out of the JSPs, so you're using Javac indirectly if you are deploying uncompiled JSPs. You can use Jikes instead of you'd like. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 9:59 AM To: 'Tomcat Users List' Subject: Not wholly a Tomcat question but Now I did a search of the archives, and found someone else with this same problem. It seemed to open a whole kettle of resentment, and I do not wish to reopen an old wound. However the question never really got answered in a way I can understand. I have found the members of this group so helpful and do not wish to offend at all. If I am out of line here please tell me (but gently as I have such tender sensibilities). I have my Servlets and JSP up and running. Thanks for all the help! Then of course I had to mess with them, and added a bean to manage data which I store in this folder with all my other class files. C:\Tomcat\webapps\idcard\WEB-INF\classes\idcard. Until I added the bean reference the JSP file ran nicely. The JSP file is stored in this folder: C:\Tomcat\webapps\idcard However when I run the JSP and hit submit to allow the capture of the data that the bean is used for I get this warning: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. Which I don't understand because I am not aware of calling this class but it must somehow be referenced as part of something else I am using...but what? and this error: Generated servlet error (with some variations on the theme): C:\Tomcat\work\Standalone\localhost\idcard\retrieveData$jsp.java:64: Class org.apache.jsp.GetData not found. GetData getData = null; I have tried moving my bean file around to several different places within the structure and calling it by idcard.GetData but neither of those solutions worked. Should the JSP and the bean be in the same folder? It seems to me it would be adequate to use the path in calling the bean...wouldn't it? Can anyone explain what the issue is and how to resolve it? Sandra Patricia Hunter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but
Sometimes Yoav I frighten myself with how ignorant I am. I say at the top of the bean: package idcard, and then I keep it in the idcard folder with all the other classes that are part of the app. Do I need to do anything else to make it a package? How would I use JIKES instead? Is it a classpath thing? Sandra Patricia Hunter -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: March 31, 2003 7:09 AM To: Tomcat Users List Subject: RE: Not wholly a Tomcat question but Howdy, Does the bean (or GetData) have a package? It should. If it doesn't have a package, Jasper will put in the org.apache.jsp package which is not what you want. Jasper uses Javac in order to compile the servlets that come out of the JSPs, so you're using Javac indirectly if you are deploying uncompiled JSPs. You can use Jikes instead of you'd like. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 9:59 AM To: 'Tomcat Users List' Subject: Not wholly a Tomcat question but Now I did a search of the archives, and found someone else with this same problem. It seemed to open a whole kettle of resentment, and I do not wish to reopen an old wound. However the question never really got answered in a way I can understand. I have found the members of this group so helpful and do not wish to offend at all. If I am out of line here please tell me (but gently as I have such tender sensibilities). I have my Servlets and JSP up and running. Thanks for all the help! Then of course I had to mess with them, and added a bean to manage data which I store in this folder with all my other class files. C:\Tomcat\webapps\idcard\WEB-INF\classes\idcard. Until I added the bean reference the JSP file ran nicely. The JSP file is stored in this folder: C:\Tomcat\webapps\idcard However when I run the JSP and hit submit to allow the capture of the data that the bean is used for I get this warning: org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. Which I don't understand because I am not aware of calling this class but it must somehow be referenced as part of something else I am using...but what? and this error: Generated servlet error (with some variations on the theme): C:\Tomcat\work\Standalone\localhost\idcard\retrieveData$jsp.java:64: Class org.apache.jsp.GetData not found. GetData getData = null; I have tried moving my bean file around to several different places within the structure and calling it by idcard.GetData but neither of those solutions worked. Should the JSP and the bean be in the same folder? It seems to me it would be adequate to use the path in calling the bean...wouldn't it? Can anyone explain what the issue is and how to resolve it? Sandra Patricia Hunter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - 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: Not wholly a Tomcat question but
Howdy, Sometimes Yoav I frighten myself with how ignorant I am. It doesn't seem like your ignorant at all ;) You can be sure for every question you ask, at least 3 people on the list have run into the problem, and most people on this list aren't at all clueless... I say at the top of the bean: package idcard, and then I keep it in the idcard folder with all the other classes that are part of the app. Do I need to do anything else to make it a package? C:\Tomcat\work\Standalone\localhost\idcard\retrieveData$jsp.java:64: Class org.apache.jsp.GetData not found. GetData getData = null; This error typically means that GetData didn't have a package statement, so Jasper stuck it in Jasper's default package, org.apache.jsp, which would make other classes that refer to GetData fail. Take a look at retrieveData$jsp.java, which should be in tomcat's work directory. Take a look at GetData, make sure it has a package statement, e.g. package idcard, and make sure the classes that use GetData import it by the appropriate package name. How would I use JIKES instead? Is it a classpath thing? See the Jasper 2 how-to: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html#Using% 20Jikes I wouldn't move to jikes at this time, as I don't think your problem is javac-related and moving to jikes now will just add a variable. Solve this first ;) Yoav Shapira Millennium ChemInformatics This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but
It doesn't seem like your ignorant at all ;) Ah mush, it'll win me over every time! Okay: So I mucked around a very little bit: My bean DOES say package idcard; and always has, yet the $jsp.java file says package org.apache.jsp like you said. I have restarted Tomcat several times since this problem appeared. It is my understanding that Tomcat compiles the jsp files when they are called but perhaps I am wrong about that? I compile the servelts and beans but is there more I should be doing with the jsp files? Why would the work file reference a different package from the webapp file? H Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but
Howdy, Try stopping tomcat, removing the contents of the work directory, and restarting tomcat. Tomcat recompiles JSP files on an as-needed bases, e.g. when they change. If they don't change, but one of the classes they depend on does change, the JSP will not be recompiled automatically. Yoav Shapira Millennium ChemInformatics -Original Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:37 AM To: 'Tomcat Users List' Subject: RE: Not wholly a Tomcat question but It doesn't seem like your ignorant at all ;) Ah mush, it'll win me over every time! Okay: So I mucked around a very little bit: My bean DOES say package idcard; and always has, yet the $jsp.java file says package org.apache.jsp like you said. I have restarted Tomcat several times since this problem appeared. It is my understanding that Tomcat compiles the jsp files when they are called but perhaps I am wrong about that? I compile the servelts and beans but is there more I should be doing with the jsp files? Why would the work file reference a different package from the webapp file? H Sandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but I FIXED IT!
It was stupid microsoft thing: I had changed the file name from getData to GetData and microsoft didn't recognize the difference in the two names but java and tomcat sure did. Thanks for your help. Again!+ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not wholly a Tomcat question but
does your JSP have the import statements? [EMAIL PROTECTED] import=idcard.*% also, have you tried in your JSP file to do % idcard.GenData data = null; % instead of % GenData data = null; % Filip -Original Message- From: Sandra Patricia Hunter [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 7:37 AM To: 'Tomcat Users List' Subject: RE: Not wholly a Tomcat question but It doesn't seem like your ignorant at all ;) Ah mush, it'll win me over every time! Okay: So I mucked around a very little bit: My bean DOES say package idcard; and always has, yet the $jsp.java file says package org.apache.jsp like you said. I have restarted Tomcat several times since this problem appeared. It is my understanding that Tomcat compiles the jsp files when they are called but perhaps I am wrong about that? I compile the servelts and beans but is there more I should be doing with the jsp files? Why would the work file reference a different package from the webapp file? H Sandra - 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]
Tomcat question
Hi, I want to write a servlet to log any request to the .gif files in my server (im using tomcat 4.1.18). I have mapped any requests ending with .gif to a servlet (using web.xml file ) My questions are : 1. Which method(s) do i need to override (doPost or doGet) ? 2. After logging the request, how can i delegate sending the .gif file to the server itself ? Thanks Bye __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat question
This is really exactly the sort of usage that Filters were designed to deal with. You are much better off using a Filter. Just for chuckles, the following should work for a Servlet-based solution (for TC 4 at least): public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // insert logging logic here RequestDispatcher rd = getServletContext().getNamedDispatcher(default); rd.forward(request, response); } ali salehi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I want to write a servlet to log any request to the .gif files in my server (im using tomcat 4.1.18). I have mapped any requests ending with .gif to a servlet (using web.xml file ) My questions are : 1. Which method(s) do i need to override (doPost or doGet) ? 2. After logging the request, how can i delegate sending the .gif file to the server itself ? Thanks Bye __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Question
I was using Tomcat for over a year with no trouble. I just got a new computer and was reinstalling everything...including Tomcat (3.2.1) running Windows 2000. I start Tomcat and browse successfully to http::\\localhost:8080 get the Tomcat picture...all seems well. My concern is that Tomcat does not close when I call shutdown or Tomcat stop I have to close the window manually now. Also, when it starts up I always (even after a fresh reboot) get the java.net.BindException::Address in use error. But, it still seems to start ok and run. I have checked through mail archives and tried running the netstart -a commandand I don't show port 8080 on the list once I manually close the window (selecting close from dos window). Any ideas would be helpful. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
re: simple tomcat question
here is the source to my page http://the45.dhs.org:8080/examples/jsp/test.jsp %@ page session=false % % String title = Hello, world!; % head title%= title %/title /head body bgcolor=white h1%= title %/h1 /body -ryan The Original X-tra Strength Non-Aspirin Caplets -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: simple tomcat question
Attributes have to be quoted. Somewhere in your error message there was also a something similar about a attribute not being quoted. Check out your previous post to see. Good luck with the rest of the page :) %@ page session=false % Ryan wrote: here is the source to my page http://the45.dhs.org:8080/examples/jsp/test.jsp %@ page session=false % % String title = Hello, world!; % head title%= title %/title /head body bgcolor=white h1%= title %/h1 /body -ryan The Original X-tra Strength Non-Aspirin Caplets -- 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]
simple tomcat question
I am currently using 4.1.10 and running it as a standalone on port 8080. It can be seen here: http://the45.dhs.org:8080 I am simply trying to make my own jsp pages in the default examples directory. The jsp examples can be found here: http://the45.dhs.org:8080/examples/jsp However, a very simple jsp file that displays a string gives the following error: http://the45.dhs.org:8080/examples/jsp/test.jsp Can anyone tell me why this is? -ryan The Original X-tra Strength Non-Aspirin Caplets -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: simple tomcat question
A code listing would be helpful. Ryan wrote: I am currently using 4.1.10 and running it as a standalone on port 8080. It can be seen here: http://the45.dhs.org:8080 I am simply trying to make my own jsp pages in the default examples directory. The jsp examples can be found here: http://the45.dhs.org:8080/examples/jsp However, a very simple jsp file that displays a string gives the following error: http://the45.dhs.org:8080/examples/jsp/test.jsp Can anyone tell me why this is? -ryan The Original X-tra Strength Non-Aspirin Caplets -- 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: simple tomcat question
please post the jsp code. Ryan wrote: I am currently using 4.1.10 and running it as a standalone on port 8080. It can be seen here: http://the45.dhs.org:8080 I am simply trying to make my own jsp pages in the default examples directory. The jsp examples can be found here: http://the45.dhs.org:8080/examples/jsp However, a very simple jsp file that displays a string gives the following error: http://the45.dhs.org:8080/examples/jsp/test.jsp Can anyone tell me why this is? -ryan The Original X-tra Strength Non-Aspirin Caplets -- 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 Question
Larry, You've helped me with something in the past and I was wondering if you could lend a helping hand again. here is the situation... Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp but my contetxs read.. Context path=/cocoon docBase=webapps/cocoon debug=0 reloadable=true /Context Context path=/ docBase=C:/src/java/jsp debug=0 reloadable=true /Context The problem is if I make a code change, and have to upload a newly compiled class to my site, the changes don't take affect unless I stop and re-start Tomcat. Any suggestions??? Thanks Anthony -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 3:36 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question I would recommend giving it a try. The 3.3 release notes covers the most important new features and changes. Primarily, check out the 2. INSTALLING AND RUNNING TOMCAT and 5. NEW FEATURES AND CHANGES IN THIS RELEASE in: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme Cheers, Larry -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1 And is there any side affects that will make problems with Cocoon 1.8.2, and IIS 5.0 Thanks Anthony -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 12:57 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question After inspecting the source for StaticInterceptor, there is a bug that causes the debug level always be reset to 0. That would explain the lack of additional output. It is this interceptor that decides whether to redirect to a found welcome file or display a directory lists when the request refers to a directory. It is not clear why this interceptor is not picking up your welcome file. I have confirmed that this bug, among many others, is not present in Tomcat 3.3 and later. If you can give 3.3.1 a try, you would also benefit in that Tomcat 3.3 will validate the web.xml. If the welcome file is being ignored due to some syntax error in web.xml, you would find out about it. The alternative is to build your own Tomcat 3.2.x from source, removing the debug=0 in the contextInit() method of StaticInterceptor. Cheers, Larry -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:37 AM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question OK, Ive set up the error log to go to tomcat.log. This is what I have in my log after I try to access http://foo.bar.com/cocoon Nothing seems to change in here after I access http://foo.bar.com/cocoon or http://foo.bar.com/cocoon/index.xml I go back and forth between pages, refreshing and still nothing seems to appear 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /examples ) 2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /index.html ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test ) 2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init /cocoon webapps/cocoon 2002-05-01 11:22:58 - Ctx( /cocoon ): Reading C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml 2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp 2002-05-01 11:22:59 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2002-05-01 11:22:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 THanks Tony -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Tomcat Question
What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat Question
Hi, I am using Tomcat with the ADL sample Runtime environment. It is currently working as a standalone product. I would like to make it multi-user so the website (runtime environment) can be accessed via a URL on any client browser. I am currently reviewing the tomcat docs to see if I can determine how to set this up but any immediate help would be greatly appreciated. Thank you, Susan Himmelman Programmer Smartfirm Inc. v 902.445.9429 f 902.443.3026 -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: July 23, 2002 11:24 AM To: 'Tomcat Users List' Subject: Tomcat Question Larry, You've helped me with something in the past and I was wondering if you could lend a helping hand again. here is the situation... Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp but my contetxs read.. Context path=/cocoon docBase=webapps/cocoon debug=0 reloadable=true /Context Context path=/ docBase=C:/src/java/jsp debug=0 reloadable=true /Context The problem is if I make a code change, and have to upload a newly compiled class to my site, the changes don't take affect unless I stop and re-start Tomcat. Any suggestions??? Thanks Anthony -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 3:36 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question I would recommend giving it a try. The 3.3 release notes covers the most important new features and changes. Primarily, check out the 2. INSTALLING AND RUNNING TOMCAT and 5. NEW FEATURES AND CHANGES IN THIS RELEASE in: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/readme Cheers, Larry -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 1:53 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question How hard is it to upgrade from Tomcat 3.2.4 to 3.3.1 And is there any side affects that will make problems with Cocoon 1.8.2, and IIS 5.0 Thanks Anthony -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 12:57 PM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question After inspecting the source for StaticInterceptor, there is a bug that causes the debug level always be reset to 0. That would explain the lack of additional output. It is this interceptor that decides whether to redirect to a found welcome file or display a directory lists when the request refers to a directory. It is not clear why this interceptor is not picking up your welcome file. I have confirmed that this bug, among many others, is not present in Tomcat 3.3 and later. If you can give 3.3.1 a try, you would also benefit in that Tomcat 3.3 will validate the web.xml. If the welcome file is being ignored due to some syntax error in web.xml, you would find out about it. The alternative is to build your own Tomcat 3.2.x from source, removing the debug=0 in the contextInit() method of StaticInterceptor. Cheers, Larry -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:37 AM To: 'Tomcat Users List' Subject: RE: Tomcat Cocoon Question OK, Ive set up the error log to go to tomcat.log. This is what I have in my log after I try to access http://foo.bar.com/cocoon Nothing seems to change in here after I access http://foo.bar.com/cocoon or http://foo.bar.com/cocoon/index.xml I go back and forth between pages, refreshing and still nothing seems to appear 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /examples ) 2002-05-01 11:22:51 - Ctx( /cocoon ): Set debug to 1 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /cocoon ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /admin ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /index.html ) 2002-05-01 11:22:51 - ContextManager: Adding context Ctx( /test ) 2002-05-01 11:22:58 - Ctx( /cocoon ): XmlReader - init /cocoon webapps/cocoon 2002-05-01 11:22:58 - Ctx( /cocoon ): Reading C:\jakarta-tomcat-3.2.4\webapps\cocoon\WEB-INF\web.xml 2002-05-01 11:22:58 - Ctx( /cocoon ): Loading -2147483646 jsp 2002-05-01 11:22:59 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2002-05-01 11:22:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 THanks Tony -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED
RE: Tomcat Question
Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:34 AM To: Tomcat Users List Subject: AW: Tomcat Question What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
AW: Tomcat Question
Have you tried my hint with the jsp ? -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:38 An: 'Tomcat Users List' Betreff: RE: Tomcat Question Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat Question
Im not using any JSP's everything is in XML. But, to kinda answer your question if I make changes to my xml, they take affect right away.. Any suggestions??? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:42 AM To: Tomcat Users List Subject: AW: Tomcat Question Have you tried my hint with the jsp ? -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:38 An: 'Tomcat Users List' Betreff: RE: Tomcat Question Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat Question
Hello Anthony, FYI, Well I am trying to run servlet/beans with tomcat and place new class files at the specific classpath its working fine for me... I neednot restart the tomcat everytime.I am using tomcat 4.0.3. I haven't changed anything in the configuration files... Nishant Awasthi Corporate Systems Development Progressive Insurance Anthony Diodato To: 'Tomcat Users List' adiodato@p21[EMAIL PROTECTED] .comcc: (bcc: Nishant Awasthi) Subject: RE: Tomcat Question 07/23/2002 10:37 AM Please respond to Tomcat Users List Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:34 AM To: Tomcat Users List Subject: AW: Tomcat Question What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- 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 Question
are these jar files or class files? also, are they located in your webapps WEB-INF/classes directory or elsewhere? The reloading works correctly in tomcat 4+ versions of tomcat, but i've never tried it on the previous versions. Is there anything in the tomcat log files that suggest it is trying to reload classes? In my $TOMCAT_HOME/logs/catalina.out (tomcat v4.1.7b) it looks like: WebappClassLoader: Resource '/WEB-INF/classes/com/nav/fcws/util/MQBrowser.class' was modified; Date is now: Tue Jul 02 12:03:47 CDT 2002 Was: Tue Jul 02 11:45:34 CDT 2002 -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:38 AM To: 'Tomcat Users List' Subject: RE: Tomcat Question Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:34 AM To: Tomcat Users List Subject: AW: Tomcat Question What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- 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 Question
Are there certain classpath configurations that I may need to make?? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:46 AM To: Tomcat Users List Subject: RE: Tomcat Question Hello Anthony, FYI, Well I am trying to run servlet/beans with tomcat and place new class files at the specific classpath its working fine for me... I neednot restart the tomcat everytime.I am using tomcat 4.0.3. I haven't changed anything in the configuration files... Nishant Awasthi Corporate Systems Development Progressive Insurance Anthony Diodato To: 'Tomcat Users List' adiodato@p21[EMAIL PROTECTED] .comcc: (bcc: Nishant Awasthi) Subject: RE: Tomcat Question 07/23/2002 10:37 AM Please respond to Tomcat Users List Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:34 AM To: Tomcat Users List Subject: AW: Tomcat Question What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- 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] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat Question
if a jsp file is touched or changed it will be recompiled regardless of whether the context's reloadable flag is set to true. this is a 'feature' of jsps over servlets. -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:42 AM To: Tomcat Users List Subject: AW: Tomcat Question Have you tried my hint with the jsp ? -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:38 An: 'Tomcat Users List' Betreff: RE: Tomcat Question Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -- 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 Question
They are class files. And they are located in both places... I have my servlets in the WEB-INF/classes directory and all of my other Java classes are in c:/src/java/... But neither locations are working the way I want them to work. Nothing in logs either. -Original Message- From: Sullivan, Mark E [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:41 AM To: 'Tomcat Users List' Subject: RE: Tomcat Question are these jar files or class files? also, are they located in your webapps WEB-INF/classes directory or elsewhere? The reloading works correctly in tomcat 4+ versions of tomcat, but i've never tried it on the previous versions. Is there anything in the tomcat log files that suggest it is trying to reload classes? In my $TOMCAT_HOME/logs/catalina.out (tomcat v4.1.7b) it looks like: WebappClassLoader: Resource '/WEB-INF/classes/com/nav/fcws/util/MQBrowser.class' was modified; Date is now: Tue Jul 02 12:03:47 CDT 2002 Was: Tue Jul 02 11:45:34 CDT 2002 -Original Message- From: Anthony Diodato [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:38 AM To: 'Tomcat Users List' Subject: RE: Tomcat Question Servlets and Beans... If I change the code for one of my servlets, I need to re-start Tomcat for the changes to take affect. has anyone run into this problem before... -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 10:34 AM To: Tomcat Users List Subject: AW: Tomcat Question What classes are you talking about servlets/beans or jsp's ? AFAIK in that version of tomcat the reloadable flag only works for jsp's. Try to touch a jsp (change the modification date) and request it. This should also reload the classes that are loaded through the same classloader. I can't remember the classloader hierarchy for that tomcat version and which classes where loaded by which classloader, so I don't take any garantie that it will work. -Ursprüngliche Nachricht- Von: Anthony Diodato [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Juli 2002 16:24 An: 'Tomcat Users List' Betreff: Tomcat Question Im running Tomcat 3.2.4, is there a way to load recompiled classes without having to re-start Tomcat?? I was told to add reloadable=true to the context configuration for your webapp -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- 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] Visit our website at http://www.p21.com/visit The information in this e-mail is confidential and may contain legally privileged information. It is intended solely for the person or entity to which it is addressed. Access to this e-mail by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, action taken, or action omitted to be taken in reliance on it, is prohibited and may be unlawful. If you received this e-mail in error, please contact the sender and delete the material from any computer. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]