Tomcat Java Processes
Hello. I'd like to know how Tomcat treats it connection established with the client (browser). Seeing from what apache does ( that is, the browser asks for a connection, the server responds, returns the page, and then sends a close statement to the client. The client receives the page, the close statement and confirms the close. After that, that specific connection is dead) does Tomcat act similarly ? I've noticed that I get lots and lots of java processes running and with a close_wait status. Does this mean that it doesn't close each request made from the browser ? Thanks a lot. Sincerely, John. -- Softway Softcomex Joo Augusto Charnet Computer Engineer - eSoftcomex Team Phone/Fax: 55 19 3739-9200 E-mail: [EMAIL PROTECTED] R. Conceicao, 233 - Cj, 609 - Centro 13010-050 - Campinas - SP - Brazil inline: e:\\Assinatura Digital\\Softway.gif
Tocat 5.0.19 Bug ?
Hello, I'm having some trouble with tomcat 5.019 running in a linux Box. One I update any of my JSP's, without restarting Tomcat, Tomcat is supposed to re-compile the JSP since it has been modified. But at some point I get an error from Tomcat telling me that it didn't find Java's tool.jar. And to fix this problem it tells me to put tools.jar in the classpath. What I do is stop Tomcat, and start it again. Then the compiling goes fine. Any ideas what this could be ? Thanks a lot. Sincerely, John. -- Softway Softcomex Joo Augusto Charnet Computer Engineer - e-Softcomex Team Phone/Fax: 55 19 3739-9200 E-mail: [EMAIL PROTECTED] R. Conceicao, 233 - Cj, 609 - Centro 13010-050 - Campinas - SP - Brazil inline: e:\\Assinatura Digital\\Softway.gif
Re: Tocat 5.0.19 Bug ?
Thanks for the advice. But the problem is happenning in a Linux Operating System, and not Windows. Could it be the same problem ? Thanks again Jacob Kjome wrote: Are you running Tomcat as a service on Windows? The default service install doesn't put tools.jar in the classpath. You can use the service.bat file in CATALINA_HOME/bin to reinstall the service. I modified mine to include this stuff "%EXECUTABLE%" //IS//%SERVICE_NAME% --DisplayName "Apache Tomcat" --Description "Apache Tomcat Server - http://jakarta.apache.org/tomcat/" --Install "%EXECUTABLE%" --ImagePath "%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar" --StartupClass org.apache.catalina.startup.Bootstrap;main;start --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --Java java --Startup manual rem Set extra parameters "%EXECUTABLE%" //US//%SERVICE_NAME% --JavaOptions -Dcatalina.home="\"%CATALINA_HOME%\""#-Djava.endorsed.dirs="\"%CATALINA_HOME%\common\endorsed\""#-Djava.io.tmpdir="\"%CATALINA_HOME%\temp\""#-Dbuild.compiler.emacs=true#-server#-Xms32m#-Xmx512m#-Xrs --StdOutputFile "%CATALINA_HOME%\logs\stdout.log" --StdErrorFile "%CATALINA_HOME%\logs\stderr.log" --WorkingPath "%CATALINA_HOME%\bin" Hope that helps. I'm really not sure why they don't do that in the first place because JSP compilation simply will not work without my modifications. I'm mentioned it to the developers, but so far the request has been ignored. To remove: service.bat remove Tomcat5 To install: service.bat install Jake At 08:29 AM 3/18/2004 -0300, you wrote: Hello, I'm having some trouble with tomcat 5.019 running in a linux Box. One I update any of my JSP's, without restarting Tomcat, Tomcat is supposed to re-compile the JSP since it has been modified. But at some point I get an error from Tomcat telling me that it didn't find Java's tool.jar. And to fix this problem it tells me to put tools.jar in the classpath. What I do is stop Tomcat, and start it again. Then the compiling goes fine. Any ideas what this could be ? Thanks a lot. Sincerely, John. -- http://www.sfw.com.br2c10baa3.gifSoftway Softcomex Joo Augusto Charnet Computer Engineer - e-Softcomex Team Phone/Fax: 55 19 3739-9200 E-mail: mailto:[EMAIL PROTECTED][EMAIL PROTECTED] R. Conceicao, 233 - Cj, 609 - Centro 13010-050 - Campinas - SP - Brazil -- Softway Softcomex Joo Augusto Charnet Computer Engineer - e-Softcomex Team Phone/Fax: 55 19 3739-9200 E-mail: [EMAIL PROTECTED] R. Conceicao, 233 - Cj, 609 - Centro 13010-050 - Campinas - SP - Brazil inline: e:\\Assinatura Digital\\Softway.gif
Apache - Tomcat - DataSource
I've configured my Tomcat to use OracleConnectionPoolDataSource. It works perfectly. But when I try to access through Apache (SSL), it always gives me a BasicDataSource class, and then I get a Class Cast Exception. Any ideas why this happens? Thanks a lot, Sincerely, John. -- Joo Augusto Charnet Computer Engineer - e-Softcomex Team Phone/Fax: 55 19 3739-9200 E-mail: [EMAIL PROTECTED] R. Conceicao, 233 - Cj, 609 - Centro 13010-050 - Campinas - SP - Brazil inline: e:\\Assinatura Digital\\Softway.gif
Tomcat Manager in 3.3.1
Hello, I'd like to know if there is any way to execute the Tomcat Manager in 3.3.1. I know this is a 4.0.1 functionality, but is there a patch that enables this in 3.3.1 ? Thanks a lot .. Sincerely, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DEBUG JSP
Hello. I'd like to know if any one has actually been able to configure Tomcat to debug JSP, and not just Servlets or other Java Classes? Everybody that helped so far gives me some intruction but tells me that they have not tested the instructions. I've done everything I've found about this topic. Switched to OJSP (Oracle JSP compiler) and still got nothing. I'd like to know if any one DID configure tomcat and TESTED it to Debug JSP. Thanks a lot... Sincerely, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DEBUG JSP
I understand your concern, and my JSP are not that complicated that need to be put in any kind of Java Beans. But I still want to be able to Debug JSP through Tomcat. Thanks for the tip. John. Barney Hamish wrote: If your JSPs are so complicated that you need a debugger then I would seriously consider cutting out some of your java code and putting it into java beans that you access from your JSPs. It's much better practice to have JSPs that are only responsible for the view. Hamish -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 12:35 PM To: Tomcat Users List Subject: DEBUG JSP Hello. I'd like to know if any one has actually been able to configure Tomcat to debug JSP, and not just Servlets or other Java Classes? Everybody that helped so far gives me some intruction but tells me that they have not tested the instructions. I've done everything I've found about this topic. Switched to OJSP (Oracle JSP compiler) and still got nothing. I'd like to know if any one DID configure tomcat and TESTED it to Debug JSP. Thanks a lot... Sincerely, John - 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: DEBUG JSP
I'm using JDeveloper 9i as my IDE. I can attach to tomcat's Debugger port through JDeveloper, and my breakpoints only works in my classes. In my JSP it does not work. Could it bem some option on the JAVA_OPTS ? Where could I get the complete reference for the options in JAVA_OPTS ? Thanks again ... John Randy Paries wrote: Not sure what ide you are using, but with intellij by idea you can debug jsp's with tomcat and remote debug It works very well RP -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 8:54 AM To: 'Tomcat Users List' Subject: RE: DEBUG JSP First tell me, do you know remote debugging, that´s the way do do this. After you can create a break point like: stop at teste_jsp:48 Use JAVA_OPTS make Tomcat run in remote debug mode. -- De: João Augusto Charnet[SMTP:[EMAIL PROTECTED]] Responder: Tomcat Users List Enviada: quinta-feira, 20 de fevereiro de 2003 10:49 Para: Tomcat Users List Assunto: Re: DEBUG JSP I understand your concern, and my JSP are not that complicated that need to be put in any kind of Java Beans. But I still want to be able to Debug JSP through Tomcat. Thanks for the tip. John. Barney Hamish wrote: If your JSPs are so complicated that you need a debugger then I would seriously consider cutting out some of your java code and putting it into java beans that you access from your JSPs. It's much better practice to have JSPs that are only responsible for the view. Hamish -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 12:35 PM To: Tomcat Users List Subject: DEBUG JSP Hello. I'd like to know if any one has actually been able to configure Tomcat to debug JSP, and not just Servlets or other Java Classes? Everybody that helped so far gives me some intruction but tells me that they have not tested the instructions. I've done everything I've found about this topic. Switched to OJSP (Oracle JSP compiler) and still got nothing. I'd like to know if any one DID configure tomcat and TESTED it to Debug JSP. Thanks a lot... Sincerely, John - 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]
Tomcat Debug.
First of all I'd like to thank everyone who helped me in configuring the ADMIN in Tomcat 4.1.18. It worked fine. Now I have another question. Is it possible to set Tomcat to listen to diferent ports when debugging ? Here's the problem. We have a group of developers, who acesses tomcat remotely in one machine. Each developer accesses one context of Tomcat. However to Debug, since Tomcat uses one port, when somebody is debugging, the execution of the entire group is going to be in debug mode. This is not interesting. What we want is to each developer have it's own debug port. Did I make myself clear ? If not please let me know. Thanks a lot... Sincerely, John. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Debug.
I'm not sure what the logger is used for. What I want is to have diferent developers debugging the application on the same Tomcat. For this to happen I wanted to tell Tomcat to listen to serveral ports in Debugging mode. So that each developer has it's own debug port from Tomcat. Thanks. John. Ben Ricker wrote: On Thu, 2003-02-13 at 05:28, João Augusto Charnet wrote: Is it possible to set Tomcat to listen to diferent ports when debugging ? What I do with roughly 12 developers is that I add a logger for each user that logs to each developers web app directory. They use the admin interface to restart/redeploy their own context. Not sure if this is exactly what you want... Ben Ricker Here's the problem. We have a group of developers, who acesses tomcat remotely in one machine. Each developer accesses one context of Tomcat. However to Debug, since Tomcat uses one port, when somebody is debugging, the execution of the entire group is going to be in debug mode. This is not interesting. What we want is to each developer have it's own debug port. Did I make myself clear ? If not please let me know. Thanks a lot... Sincerely, John. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jakarta 4.1.18 Web Server Administration
I've just installed Jakarta 4.1.18, and I'd like to know where do I configure the Web Administration ? I'd appreciate any kind of help. I'm new to this version, and I don't know where to start. Thanks a lot.. Sincerely, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Off Topic: SAP DB
I've tested SAP DB. It's a really fast and efficient Database. I had no trouble installing it. What's going on ? John; Fabio Mengue wrote: Hello, Does anyone here has tested or uses SAP DB (www.sapdb.org) ? I am willing to try it, but the setup is a little complicated. Thanks, Fabio. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.03 with apache 1.3.24
I've just configured Tomcat 4.03 to run with apache 1.3.24 with mod_webapp.so. The configuration went fine. But when I start my Tomcat and then Apache, my computer gets really slow, It looks like it doesn't any memory to execute anything. I can't do anything with both server started. Is this normal Thanks a lot... John -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Error in XML
Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Error in XML
Which XML ??? Server.xml Web.xml or tomcat-users.xml [EMAIL PROTECTED] wrote: what's your xml file like? -Original Message- From: João Augusto Charnet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 09, 2002 7:35 AM To: Jakarta Subject: Error in XML Does anybody knows what's going on ??? Every time I start Jakarta 4.03, and a I get the following error: PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed. I couldn't find where this error is ... Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Apache with Tomcat
Hello. I'm having some trouble configuring APACHE 1.3.24 with TOMCAT 3.2.3. I've followed the HOW TO DOCS but I had no success. Any tips to do this the simplest way ??? Thanks a lot. John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: Question on reloading web-applications.
Dominic Parry wrote: Hi Tarun, One way would be provide every user a way to reload their web-application only, without granting access to the manager application (and thus without bothering the sys-admin). Or is there a parameter in Tomcat that checks whether the class files have changes every once in a time-interval I thought exactly this is what happens if the reloadable parameter is set to true... If i'm wrong please let me know. Fabian Also on this note, does anyone know how to, if possible, add and remove web contexts without restarting Tomcat? With the manager is Tomcat 4.xxx you could do this. localhost:8080/manager/install?path=CONTEXT_NAMEwar=file:/path_to_CONTEXTNAME to remove a context localhost:8080/manager/remove?path=CONTEXT_NAME John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Parse Error in Tomcat Startup...
Every time a start TOMCAT I get the following error PARSE error at line 1 column 1 org.xml.sax.SAXParseException: The markup in the document preceding the root ele ment must be well-formed. Anyone knows what's wrong ??? Thanks a lot John.
Classpath Problems
I hava some classes that are grouped up in a package called SFWClasses in the following directory: /Web-inf/classes/SFWClasses. I used to use Jakarta 3.2.3, but now I have upgraded to 4.03. With the older version everything worked fine, now with this new version I get an Error that Jakarta could not find SFWClasses when I import this class in my JSP. Any one know why ??? Thanks a lot ... Sincerely, John. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]