Re: Re: Very Very Slow performance of Tomcat
Antonio_Fiol_Bonn?, can you give us something test data such as throughput, Average response time etc. as a reference ? including hw configuration and software configuration? >Is maxProcessors lower than Apache's MaxClients? > >Are you hitting the max. number of connections to your database? > >When it goes slow, does it hang later? > >Are you closing all your connections to the DB? > > > >Q: ---> Is there a "checklist" somewhere for this kind of things? It >would be useful for nearly everyone. > > >Antonio Fiol > > >Deepak Hegde wrote: > >>Hi All, >> >>I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >>machine having O.S 5.8 version. >> >>Web application is developed to use Postgres Database also. >> >>I am facing lots of performance issues with Tomcat i.e sometimes tomcat process >>hangs and website stops opening and some times it goes very slow. The Problem gets >>sloved when i restart the tomcat service again. >> >>I am really struggling find out the reason for this >> >>Somebody please help me .. >> >>Regards, >>Deepak >> >> >> >> wuhui [EMAIL PROTECTED] 2004-02-18 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Very Very Slow performance of Tomcat
Most probably it'll be the problem of lot many open db connections floating around. Make sure that all your db connections are closed after the db operation. Best regards, Abhilash John -Original Message- From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 February 2004 1:26 PM To: Tomcat Users List Subject: Re: Very Very Slow performance of Tomcat Is maxProcessors lower than Apache's MaxClients? Are you hitting the max. number of connections to your database? When it goes slow, does it hang later? Are you closing all your connections to the DB? Q: ---> Is there a "checklist" somewhere for this kind of things? It would be useful for nearly everyone. Antonio Fiol Deepak Hegde wrote: >Hi All, > >I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >machine having O.S 5.8 version. > >Web application is developed to use Postgres Database also. > >I am facing lots of performance issues with Tomcat i.e sometimes tomcat process hangs >and website stops opening and some times it goes very slow. The Problem gets sloved >when i restart the tomcat service again. > >I am really struggling find out the reason for this > >Somebody please help me .. > >Regards, >Deepak > > > > This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : Re: Very Very Slow performance of Tomcat
Antonio, I'm facing to the same performance problems with Tomcat. My the maxProcessor value is equal to 75 while the Apache's MaxClients is equals to 150. the MaxKeepAliveRequests of apache is equal to 100 Do you understand the relationship between theses attributes ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] Antonio Fiol Bonnín <[EMAIL PROTECTED]> 18/02/2004 08:55 Veuillez répondre à "Tomcat Users List" Pour : Tomcat Users List <[EMAIL PROTECTED]> cc : Objet : Re: Very Very Slow performance of Tomcat Is maxProcessors lower than Apache's MaxClients? Are you hitting the max. number of connections to your database? When it goes slow, does it hang later? Are you closing all your connections to the DB? Q: ---> Is there a "checklist" somewhere for this kind of things? It would be useful for nearly everyone. Antonio Fiol Deepak Hegde wrote: >Hi All, > >I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >machine having O.S 5.8 version. > >Web application is developed to use Postgres Database also. > >I am facing lots of performance issues with Tomcat i.e sometimes tomcat process hangs and website stops opening and some times it goes very slow. The Problem gets sloved when i restart the tomcat service again. > >I am really struggling find out the reason for this > >Somebody please help me .. > >Regards, >Deepak > > > > L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.
RE: Réf. : Re: Very Very Slow performance of Tomcat
Hi, Can u check the total number of concurrent connections (Apache) when the problem occurs: The way to do this is: ptree | grep -c httpd : Would give the number of concurrent connections. The values of MaxClients / maxProcessor varies from application to application and the load one would expect when the application is live. ThreadDump helps detecting where the application is getting hanged...connections problems is one of the issues...can see the same in the dumps... Arnab C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 2:11 PM To: Tomcat Users List Subject: Réf. : Re: Very Very Slow performance of Tomcat Antonio, I'm facing to the same performance problems with Tomcat. My the maxProcessor value is equal to 75 while the Apache's MaxClients is equals to 150. the MaxKeepAliveRequests of apache is equal to 100 Do you understand the relationship between theses attributes ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] Antonio Fiol Bonnín <[EMAIL PROTECTED]> 18/02/2004 08:55 Veuillez répondre à "Tomcat Users List" Pour : Tomcat Users List <[EMAIL PROTECTED]> cc : Objet : Re: Very Very Slow performance of Tomcat Is maxProcessors lower than Apache's MaxClients? Are you hitting the max. number of connections to your database? When it goes slow, does it hang later? Are you closing all your connections to the DB? Q: ---> Is there a "checklist" somewhere for this kind of things? It would be useful for nearly everyone. Antonio Fiol Deepak Hegde wrote: >Hi All, > >I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >machine having O.S 5.8 version. > >Web application is developed to use Postgres Database also. > >I am facing lots of performance issues with Tomcat i.e sometimes tomcat process hangs and website stops opening and some times it goes very slow. The Problem gets sloved when i restart the tomcat service again. > >I am really struggling find out the reason for this > >Somebody please help me .. > >Regards, >Deepak > > > > L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
where can I find reason for this exception message from tomcat?
Hi, All, I have installed tomcat 4.1.24 on windows 2000 server and hardware is compaq. And jdk1.3.1_08 has installed. My web application deployed on the ROOT context of this tomcat and use own connection pool for MS SQL Server 2000. The jdbc driver for MS SQL Server2000 are msbase.jar, mssqlserver.jar, msutil.jar and located on %JAVA_HOME%\jre\lib\ext. The web application is working just as interface for user authentication. It works well about 2-3 weeks after starting tomcat and then suddenly fail to authenticate user. User data still on the proper table. I found exception message from the log file of tomcat and that message is repeated in a logfile. Does anybody know what is the meaning of this message? Exception message is the below. - 2004-02-06 15:41:05 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception java.lang.NullPointerException at java.io.File.(Unknown Source) at org.apache.naming.resources.FileDirContext.file(FileDirContext.java:880) at org.apache.naming.resources.FileDirContext.getAttributes(FileDirContext.java :487) at org.apache.naming.resources.BaseDirContext.getAttributes(BaseDirContext.java :797) at org.apache.naming.resources.ProxyDirContext.cacheLoad(ProxyDirContext.java:1 491) at org.apache.naming.resources.ProxyDirContext.cacheLookup(ProxyDirContext.java :1412) at org.apache.naming.resources.ProxyDirContext.lookup(ProxyDirContext.java:300) at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.set(DefaultServlet. java:2267) at org.apache.catalina.servlets.DefaultServlet$ResourceInfo.(DefaultServl et.java:2219) at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.jav a:921) at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:506) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TEST
TEST sorry bout this - new spam filter is blocking me! *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. *** For any information on the Quinn Group of Companies please visit :- http://www.quinn-group.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4 or 5 and SOAP
Hello does anyone knows how can I make SOAP working on my Apache Tomcat server ? On the version 3.2 I had no problem, but with the 4 or 5 I can do nothing. Do you know a good tutorial for Tomcat 5/4 or another solution Thanks. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Réf. : RE: Réf. : Re: Very Very Slow performance of Tomcat
Arnab, Do you know how to use ThreadDump in order to detect application hanging reasons ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] "Arnab Chakravarty" <[EMAIL PROTECTED]> 18/02/2004 10:05 Veuillez répondre à "Tomcat Users List" Pour : "Tomcat Users List" <[EMAIL PROTECTED]> cc : Objet : RE: Réf. : Re: Very Very Slow performance of Tomcat Hi, Can u check the total number of concurrent connections (Apache) when the problem occurs: The way to do this is: ptree | grep -c httpd : Would give the number of concurrent connections. The values of MaxClients / maxProcessor varies from application to application and the load one would expect when the application is live. ThreadDump helps detecting where the application is getting hanged...connections problems is one of the issues...can see the same in the dumps... Arnab C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 2:11 PM To: Tomcat Users List Subject: Réf. : Re: Very Very Slow performance of Tomcat Antonio, I'm facing to the same performance problems with Tomcat. My the maxProcessor value is equal to 75 while the Apache's MaxClients is equals to 150. the MaxKeepAliveRequests of apache is equal to 100 Do you understand the relationship between theses attributes ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] Antonio Fiol Bonnín <[EMAIL PROTECTED]> 18/02/2004 08:55 Veuillez répondre à "Tomcat Users List" Pour : Tomcat Users List <[EMAIL PROTECTED]> cc : Objet : Re: Very Very Slow performance of Tomcat Is maxProcessors lower than Apache's MaxClients? Are you hitting the max. number of connections to your database? When it goes slow, does it hang later? Are you closing all your connections to the DB? Q: ---> Is there a "checklist" somewhere for this kind of things? It would be useful for nearly everyone. Antonio Fiol Deepak Hegde wrote: >Hi All, > >I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >machine having O.S 5.8 version. > >Web application is developed to use Postgres Database also. > >I am facing lots of performance issues with Tomcat i.e sometimes tomcat process hangs and website stops opening and some times it goes very slow. The Problem gets sloved when i restart the tomcat service again. > >I am really struggling find out the reason for this > >Somebody please help me .. > >Regards, >Deepak > > > > L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.
RE: Tomcat 4 or 5 and SOAP
Mind sharing some more information :) Which SOAP engine are you using? Axis? What kind of problems are you getting? I am running Axis on Tomcat4 without any issues. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 09:48 To: [EMAIL PROTECTED] Subject: Tomcat 4 or 5 and SOAP Hello does anyone knows how can I make SOAP working on my Apache Tomcat server ? On the version 3.2 I had no problem, but with the 4 or 5 I can do nothing. Do you know a good tutorial for Tomcat 5/4 or another solution Thanks. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Tomcat logging Problem???
I am using Tomcat 4.1.27 in combination with struts and log4J. My problem is every time sending data to Tomcat my log output increments e.g. if I submit any form for the first time my log works fine, the next time I submit a form my log shows the same line twice then three times and so on first submit 18 Feb 2004 11:16:59,987 DEBUG - de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! second submit 18 Feb 2004 11:16:59,987 DEBUG - de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! third ... 18 Feb 2004 11:16:59,987 DEBUG - de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! fourth .. 18 Feb 2004 11:16:59,987 DEBUG - de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! 123597 [Thread-1] DEBUG de.shs.partnerportal.adb.ui.web.actions.GpSucheAction - Eingaben geprft! The first line is the one defined in my log4J configuration. Any ideas??? Thanks in advance
RE: Réf. : RE: Réf. : Re: Very Very Slow performance of Tomcat
Hi, Look the thread dump generates some stack trace information which can help you identify the portion of the source where the code might be getting stuck. (Total Number of thread running/active in JVM) You have to check those portions of the code...is there any infinite loop while getting connections or in some other way... Importantly have you ever tried doing any performance testing / load testing for your application. That helps determine where the application generally breaks!!! or the limits of the application :). Hope thinks works out for you. Arnab C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 3:26 PM To: Tomcat Users List Subject: Réf. : RE: Réf. : Re: Very Very Slow performance of Tomcat Arnab, Do you know how to use ThreadDump in order to detect application hanging reasons ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] "Arnab Chakravarty" <[EMAIL PROTECTED]> 18/02/2004 10:05 Veuillez répondre à "Tomcat Users List" Pour : "Tomcat Users List" <[EMAIL PROTECTED]> cc : Objet : RE: Réf. : Re: Very Very Slow performance of Tomcat Hi, Can u check the total number of concurrent connections (Apache) when the problem occurs: The way to do this is: ptree | grep -c httpd : Would give the number of concurrent connections. The values of MaxClients / maxProcessor varies from application to application and the load one would expect when the application is live. ThreadDump helps detecting where the application is getting hanged...connections problems is one of the issues...can see the same in the dumps... Arnab C -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 2:11 PM To: Tomcat Users List Subject: Réf. : Re: Very Very Slow performance of Tomcat Antonio, I'm facing to the same performance problems with Tomcat. My the maxProcessor value is equal to 75 while the Apache's MaxClients is equals to 150. the MaxKeepAliveRequests of apache is equal to 100 Do you understand the relationship between theses attributes ? ___ NATEXIS ASSET MANAGEMENT Meissa SAKHO 01 58 19 45 71. . . . . . . . . . . . (84571) [EMAIL PROTECTED] Antonio Fiol Bonnín <[EMAIL PROTECTED]> 18/02/2004 08:55 Veuillez répondre à "Tomcat Users List" Pour : Tomcat Users List <[EMAIL PROTECTED]> cc : Objet : Re: Very Very Slow performance of Tomcat Is maxProcessors lower than Apache's MaxClients? Are you hitting the max. number of connections to your database? When it goes slow, does it hang later? Are you closing all your connections to the DB? Q: ---> Is there a "checklist" somewhere for this kind of things? It would be useful for nearly everyone. Antonio Fiol Deepak Hegde wrote: >Hi All, > >I am running Tomcat 4 and Apache 1.3 and Struts Framework on Sun Sparc >machine having O.S 5.8 version. > >Web application is developed to use Postgres Database also. > >I am facing lots of performance issues with Tomcat i.e sometimes tomcat process hangs and website stops opening and some times it goes very slow. The Problem gets sloved when i restart the tomcat service again. > >I am really struggling find out the reason for this > >Somebody please help me .. > >Regards, >Deepak > > > > L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] L'integrite de ce message n'etant pas assuree sur internet, Natexis Banques Populaires ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur. The integrity of this message cannot be guaranteed on the Internet. Natexis Banques Populaires can not therefore be considered responsible for the contents.Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP
Thanks. I tried that and got some break through. Now instead of "error code 2" ping 127.0.0.1, gives "Destination unreachable" and for ping localhost, it gives unknown host name. Also "ipcongif" still doesnt work. -Sunit -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:28 AM To: Tomcat Users List Subject: Re: PROBLEM STARTING TOMCATPLEASE HELP Sunit, This is moving off topic for the list, but here it goes. First READ all of these instruction. You may find your problem without having to go through all these steps. Open Network Connections. One at a time right click a network device and select properties. Select uninstall. Do this for all connections. This will cause any network connections to stop functioning(doesn't sound like they currently are so no problem) Reboot the machine. If you have a NIC card then windows should detect it and install the drivers. Return to Network Connections. Follow these instructions to reinstall the loopback driver: To manually install the adapter, follow the steps below: Click Start, and choose Control Panel Double-click Add Hardware and then click Next. Select Yes, I have already connected the hardware, and then click Next. Scroll down and click Add a new hardware device, and then click Next. Select Install the hardware that I manually select from a list, and then click Next. Click Network adapters, and then click Next. In the Manufacturers box, click Microsoft. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. Click Next once more and then click Finish. After the adapter is installed successfully, you can configure its options manually, as with any other adapter. You need to allocate a TCP/IP address. To manually configure the adapter's options: Select Start | Control Panel and then choose Network Connections. Choose Local Area Connection 2 and click Change settings of this connection Highlight Internet Protocol (TCP/IP) and then click Properties. Here you can configure the IP address and Subnet Mask. Set IP to something like 192.168.0.2 Make sure connection is Enabled when viewed from Network Connections. You should see the IP in the Details window located in the lower left of the window when you select the connection. Until you have this fixed you will be unable to get TC to run. If after this you are still unable to get a ping 127.0.0.1 to work then you have some issues that need resolved and are off topic for the list (IMHO). Good Luck Doug www.parsonstechnical.com > TCP/IP is already installed using MS loop back adapter. > > In command promt I tried doing ipcofig: it gives error > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error > "Unable to contact IP driver, error code 2" > - 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: Can I chain authenticators?
Ryan Rhodes wrote: I have a portal project. I need to allow users to navigate seamlessly from the portal to a commercial product that’s based on Tomcat 4.1 and uses Basic Authentication. To get around this, I hacked BasicAuthenticator and added some code to get the credentials from the request body: if( hreq.getMethod().toUpperCase().equals("POST") && hreq.getParameter("username") != null && hreq.getParameter("password") != null ) { username = hreq.getParameter("username"); password = hreq.getParameter("password"); principal = context.getRealm().authenticate(username,password); if (principal != null) { register(request, response, principal, Constants.BASIC_METHOD, username, password); return (true); } } Why is this any better than "Basic Authentication"? If every request has to be acompanied by user/pass in request, it can also be done via regular HTTP headers. You are not gaining any additional security this way. As for portals, the most important thing about them is not authentication (it is left to the web server; be it Tomcat or Apache), but authorization and presentation. Authenticationg is easy, you can choose: - HTTP Basic (totally unsafe, but if going over SSL it doesn't matter) - HTTP Digest (there were client problems in the past) - HTTP SPNEGO (Microsoft's implementation of GSS-API/Kerberos5 over HTTP) Basic works with all browsers, but is unsecure, unless ran over HTTPS. Digest had problems on the client side in the past and I don't know which clients support it reliably. SPNEGO is great if you have Kerberos framework in place (MIT or Heimdal on UNIX or Active Directory on Win2k/2003/XP). Also only Mozilla 1.5/1.6 and IE6 support it on the client side. On the server side, you need either IIS or Apache + mod_spnego/mod_gssapi as front-end. Coyote connector doesn't have that feature yet. I read in the lists somewhere that if I add a custom Authenticator it will disable the Basic Authenticator. Can I separate this code out and chain the Authenticators together? What level should I configure the Valve at for the Authenticator? Why would you "chain" authenticators? Authentication is a go/no-go module. It either succeeds or fails. There is no "second try" or "auxiliary machanism". What would you do if the client supplies both your custom user/pass and HTTP Basic user/pass (not unthinkable)? Save yourself a maintainance nightmare and think your security model throughly, then implement what you feel is right for you. Nixie. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP
ping to the ip which u configured in ur new settings. and use that Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Sunit Bansal" <[EMAIL PROTECTED]> 02/18/2004 05:46 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To "Tomcat Users List" <[EMAIL PROTECTED]> cc Subject RE: PROBLEM STARTING TOMCATPLEASE HELP Thanks. I tried that and got some break through. Now instead of "error code 2" ping 127.0.0.1, gives "Destination unreachable" and for ping localhost, it gives unknown host name. Also "ipcongif" still doesnt work. -Sunit -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:28 AM To: Tomcat Users List Subject: Re: PROBLEM STARTING TOMCATPLEASE HELP Sunit, This is moving off topic for the list, but here it goes. First READ all of these instruction. You may find your problem without having to go through all these steps. Open Network Connections. One at a time right click a network device and select properties. Select uninstall. Do this for all connections. This will cause any network connections to stop functioning(doesn't sound like they currently are so no problem) Reboot the machine. If you have a NIC card then windows should detect it and install the drivers. Return to Network Connections. Follow these instructions to reinstall the loopback driver: To manually install the adapter, follow the steps below: Click Start, and choose Control Panel Double-click Add Hardware and then click Next. Select Yes, I have already connected the hardware, and then click Next. Scroll down and click Add a new hardware device, and then click Next. Select Install the hardware that I manually select from a list, and then click Next. Click Network adapters, and then click Next. In the Manufacturers box, click Microsoft. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. Click Next once more and then click Finish. After the adapter is installed successfully, you can configure its options manually, as with any other adapter. You need to allocate a TCP/IP address. To manually configure the adapter's options: Select Start | Control Panel and then choose Network Connections. Choose Local Area Connection 2 and click Change settings of this connection Highlight Internet Protocol (TCP/IP) and then click Properties. Here you can configure the IP address and Subnet Mask. Set IP to something like 192.168.0.2 Make sure connection is Enabled when viewed from Network Connections. You should see the IP in the Details window located in the lower left of the window when you select the connection. Until you have this fixed you will be unable to get TC to run. If after this you are still unable to get a ping 127.0.0.1 to work then you have some issues that need resolved and are off topic for the list (IMHO). Good Luck Doug www.parsonstechnical.com > TCP/IP is already installed using MS loop back adapter. > > In command promt I tried doing ipcofig: it gives error > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error > "Unable to contact IP driver, error code 2" > - 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] ForwardSourceID:NT666E DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP
did u configure DNS in advanced properties of tcp/ip??? Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Sunit Bansal" <[EMAIL PROTECTED]> 02/18/2004 05:46 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To "Tomcat Users List" <[EMAIL PROTECTED]> cc Subject RE: PROBLEM STARTING TOMCATPLEASE HELP Thanks. I tried that and got some break through. Now instead of "error code 2" ping 127.0.0.1, gives "Destination unreachable" and for ping localhost, it gives unknown host name. Also "ipcongif" still doesnt work. -Sunit -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:28 AM To: Tomcat Users List Subject: Re: PROBLEM STARTING TOMCATPLEASE HELP Sunit, This is moving off topic for the list, but here it goes. First READ all of these instruction. You may find your problem without having to go through all these steps. Open Network Connections. One at a time right click a network device and select properties. Select uninstall. Do this for all connections. This will cause any network connections to stop functioning(doesn't sound like they currently are so no problem) Reboot the machine. If you have a NIC card then windows should detect it and install the drivers. Return to Network Connections. Follow these instructions to reinstall the loopback driver: To manually install the adapter, follow the steps below: Click Start, and choose Control Panel Double-click Add Hardware and then click Next. Select Yes, I have already connected the hardware, and then click Next. Scroll down and click Add a new hardware device, and then click Next. Select Install the hardware that I manually select from a list, and then click Next. Click Network adapters, and then click Next. In the Manufacturers box, click Microsoft. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. Click Next once more and then click Finish. After the adapter is installed successfully, you can configure its options manually, as with any other adapter. You need to allocate a TCP/IP address. To manually configure the adapter's options: Select Start | Control Panel and then choose Network Connections. Choose Local Area Connection 2 and click Change settings of this connection Highlight Internet Protocol (TCP/IP) and then click Properties. Here you can configure the IP address and Subnet Mask. Set IP to something like 192.168.0.2 Make sure connection is Enabled when viewed from Network Connections. You should see the IP in the Details window located in the lower left of the window when you select the connection. Until you have this fixed you will be unable to get TC to run. If after this you are still unable to get a ping 127.0.0.1 to work then you have some issues that need resolved and are off topic for the list (IMHO). Good Luck Doug www.parsonstechnical.com > TCP/IP is already installed using MS loop back adapter. > > In command promt I tried doing ipcofig: it gives error > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error > "Unable to contact IP driver, error code 2" > - 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] ForwardSourceID:NT666E DISCLAIMER: The information contained in this message is intended only and solely for the addressed individual or entity indicated in this message and for the exclusive use of the said addressed individual or entity indicated in this message (or responsible for delivery of the message to such person) and may contain legally privileged and confidential information belonging to Tata Consultancy Services. It must not be printed, read, copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person other than the addressee. Unauthorized use, disclosure or copying is strictly prohibited and may constitute unlawful act and can possibly attract legal action, civil and/or criminal. The contents of this message need not necessarily reflect or endorse the views of Tata Consultancy Services on any subject matter. Any action taken or omitted to be taken based on this message is entirely at your risk and neither the originator of this message nor Tata Consultancy Services takes any responsibility or liability towards the same. Opinions, conclusions and any other information contained in this message that do not relate to the official business of Tata Consultancy Services shall be understood as neither given nor endorsed by Tata Consultancy Services or any affiliate of Tata Consultancy Services. If you have received this message in error, you should destroy th
Re: Can I chain authenticators?
Why would you "chain" authenticators? Well, i have chained SSL and BASIC authenticators. I the users have some "well known" certificate installed (checked agains LDAP) they do not have to enter some user/password, else a BASIC authenticator (via https) is presented. So it is possible to use the application from within the company or at home without login, if the user needs access to the application from some internet-cafe a login screen will be presented. Ciao, Mario smime.p7s Description: S/MIME Cryptographic Signature
RE: PROBLEM STARTING TOMCAT----------------PLEASE HELP
No, I just configured IP and subnet mask. -Sunit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 5:30 PM To: Tomcat Users List Subject: RE: PROBLEM STARTING TOMCATPLEASE HELP did u configure DNS in advanced properties of tcp/ip??? Pavan Kumar Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com "Sunit Bansal" <[EMAIL PROTECTED]> 02/18/2004 05:46 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To "Tomcat Users List" <[EMAIL PROTECTED]> cc Subject RE: PROBLEM STARTING TOMCATPLEASE HELP Thanks. I tried that and got some break through. Now instead of "error code 2" ping 127.0.0.1, gives "Destination unreachable" and for ping localhost, it gives unknown host name. Also "ipcongif" still doesnt work. -Sunit -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:28 AM To: Tomcat Users List Subject: Re: PROBLEM STARTING TOMCATPLEASE HELP Sunit, This is moving off topic for the list, but here it goes. First READ all of these instruction. You may find your problem without having to go through all these steps. Open Network Connections. One at a time right click a network device and select properties. Select uninstall. Do this for all connections. This will cause any network connections to stop functioning(doesn't sound like they currently are so no problem) Reboot the machine. If you have a NIC card then windows should detect it and install the drivers. Return to Network Connections. Follow these instructions to reinstall the loopback driver: To manually install the adapter, follow the steps below: Click Start, and choose Control Panel Double-click Add Hardware and then click Next. Select Yes, I have already connected the hardware, and then click Next. Scroll down and click Add a new hardware device, and then click Next. Select Install the hardware that I manually select from a list, and then click Next. Click Network adapters, and then click Next. In the Manufacturers box, click Microsoft. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next. Click Next once more and then click Finish. After the adapter is installed successfully, you can configure its options manually, as with any other adapter. You need to allocate a TCP/IP address. To manually configure the adapter's options: Select Start | Control Panel and then choose Network Connections. Choose Local Area Connection 2 and click Change settings of this connection Highlight Internet Protocol (TCP/IP) and then click Properties. Here you can configure the IP address and Subnet Mask. Set IP to something like 192.168.0.2 Make sure connection is Enabled when viewed from Network Connections. You should see the IP in the Details window located in the lower left of the window when you select the connection. Until you have this fixed you will be unable to get TC to run. If after this you are still unable to get a ping 127.0.0.1 to work then you have some issues that need resolved and are off topic for the list (IMHO). Good Luck Doug www.parsonstechnical.com > TCP/IP is already installed using MS loop back adapter. > > In command promt I tried doing ipcofig: it gives error > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following error > "Unable to contact IP driver, error code 2" > - 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] ForwardSourceID:NT666E
Re: PROBLEM STARTING TOMCAT----------------PLEASE HELP
Sunit, Go to Network Connections. How many connections do you have? Open each and see what device it uses. Listed at the top in the box that says connect using: Or scroll right in Network Connections. For the one that is the loopback go in and set a gateway as the same as the ip you set. Also check to see if the fire wall is enabled. Look on the advanced tab. Disable it if it is. Click on the configure button beside the loopback device. Does it show that it is working properly? If you have any other network connections other than the loopback, right click them and disable them. Doug - Original Message - From: "Sunit Bansal" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 7:06 AM Subject: RE: PROBLEM STARTING TOMCATPLEASE HELP > No, I just configured IP and subnet mask. > > -Sunit > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 5:30 PM > To: Tomcat Users List > Subject: RE: PROBLEM STARTING TOMCATPLEASE HELP > > > > did u configure DNS in advanced properties of tcp/ip??? > > Pavan Kumar > Tata Consultancy Services > Mailto: [EMAIL PROTECTED] > Website: http://www.tcs.com > > > "Sunit Bansal" <[EMAIL PROTECTED]> > 02/18/2004 05:46 AM > Please respond to > "Tomcat Users List" <[EMAIL PROTECTED]> > > >To "Tomcat Users List" <[EMAIL PROTECTED]> > cc > Subject RE: PROBLEM STARTING TOMCATPLEASE HELP > > > > > > > > Thanks. > I tried that and got some break through. > Now instead of "error code 2" ping 127.0.0.1, gives "Destination > unreachable" > and for ping localhost, it gives unknown host name. > > Also "ipcongif" still doesnt work. > > -Sunit > > -Original Message- > From: Parsons Technical Services [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 11:28 AM > To: Tomcat Users List > Subject: Re: PROBLEM STARTING TOMCATPLEASE HELP > > > Sunit, > > This is moving off topic for the list, but here it goes. > First READ all of these instruction. You may find your problem without > having to go through all these steps. > > > Open Network Connections. > One at a time right click a network device and select properties. > Select uninstall. > Do this for all connections. > This will cause any network connections to stop functioning(doesn't sound > like they currently are so no problem) > Reboot the machine. > If you have a NIC card then windows should detect it and install the > drivers. > Return to Network Connections. > Follow these instructions to reinstall the loopback driver: > > To manually install the adapter, follow the steps below: > > Click Start, and choose Control Panel > > Double-click Add Hardware and then click Next. > Select Yes, I have already connected the hardware, and then click Next. > Scroll down and click Add a new hardware device, and then click Next. > Select Install the hardware that I manually select from a list, and then > click Next. > Click Network adapters, and then click Next. > In the Manufacturers box, click Microsoft. > In the Network Adapter box, click Microsoft Loopback Adapter, and then > click > Next. > Click Next once more and then click Finish. > After the adapter is installed successfully, you can configure its options > manually, as with any other adapter. You need to allocate a TCP/IP > address. > To manually configure the adapter's options: > > Select Start | Control Panel and then choose Network Connections. > Choose Local Area Connection 2 and click Change settings of this > connection > Highlight Internet Protocol (TCP/IP) and then click Properties. > Here you can configure the IP address and Subnet Mask. > > Set IP to something like 192.168.0.2 > > Make sure connection is Enabled when viewed from Network Connections. > You should see the IP in the Details window located in the lower left of > the > window when you select the connection. Until you have this fixed you will > be > unable to get TC to run. If after this you are still unable to get a ping > 127.0.0.1 to work then you have some issues that need resolved and are off > topic for the list (IMHO). > > Good Luck > Doug > www.parsonstechnical.com > > > > TCP/IP is already installed using MS loop back adapter. > > > > In command promt I tried doing ipcofig: it gives error > > Also ping localhost, ping 127.0.0.0, ping 127.0.0.1 gives following > error > > "Unable to contact IP driver, error code 2" > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-ma
Rolling over stdout.log and stderr.log in Tomcat 4.1.x
Is it possible to set an option to have these logs rolled over? If not, does anyone have any windows script files that will do the job just the same? _ Jeremy Nix Southwest Financial Services, LTD. [EMAIL PROTECTED] (513) 621-6699 ext.1158 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
why should i run apache to install tomcat4.1.29
Hello I am a newbie and I am looking for a satisfactory answer why we need to install apache and run it,to install tomcat 4.1.29 on windows 95 os regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Tomcat 3.3.1 vs Tomcat 4.1.29
Hello, I've just downloaded and installed both release of Tomcat. In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) can anyone help me? Eric Clément 230 Rue Marcelin Berthelot ZI Toulon Est - La Garde - BP 68 83079 Toulon cedex 09 - France Tél: 04-94-08-75-85 Fax: 04-94-08-09-38 Mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: why should i run apache to install tomcat4.1.29
The short version is you dont. You can use Tomcat to serve both static contents and servlets. -Original Message- From: xavier manohar [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 13:46 To: [EMAIL PROTECTED] Subject: why should i run apache to install tomcat4.1.29 Hello I am a newbie and I am looking for a satisfactory answer why we need to install apache and run it,to install tomcat 4.1.29 on windows 95 os regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
Re: Tomcat 3.3.1 vs Tomcat 4.1.29
Are you trying to run them both at the same time? On Wednesday 18 February 2004 09:00 am, CLEMENT Eric wrote: > Hello, > I've just downloaded and installed both release of Tomcat. > In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is > running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) > can anyone help me? > > Eric Clément > 230 Rue Marcelin Berthelot > ZI Toulon Est - La Garde - BP 68 > 83079 Toulon cedex 09 - France > > Tél: 04-94-08-75-85 > Fax: 04-94-08-09-38 > > Mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison & Company, Inc. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 3.3.1 vs Tomcat 4.1.29
Check your JAVA_HOME env variable, and please tell us WHAT happens. To have more information when starting tomcat, change startup.bat to replace "start" by "debug" on line 41 : (call "%EXECUTABLE%" debug %CMD_LINE_ARGS%) when prompt, type "run", you should have more information... -Message d'origine- De : CLEMENT Eric [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 février 2004 15:00 À : [EMAIL PROTECTED] Objet : Tomcat 3.3.1 vs Tomcat 4.1.29 Hello, I've just downloaded and installed both release of Tomcat. In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) can anyone help me? Eric Clément 230 Rue Marcelin Berthelot ZI Toulon Est - La Garde - BP 68 83079 Toulon cedex 09 - France Tél: 04-94-08-75-85 Fax: 04-94-08-09-38 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 3.3.1 vs Tomcat 4.1.29
I'm hoping you are either: a) Not running them at the same time or b) changing the port numbers they are listening on so they don't try taking the same port numbers already being used by other running tomcat services. I suspect a collision of Tomcat's trying to grab the same ports. If this isn't the case, take a look at [tomcat_home]/logs/catalina.out for any exceptions to explain the problem. --David CLEMENT Eric wrote: Hello, I've just downloaded and installed both release of Tomcat. In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) can anyone help me? Eric Clément 230 Rue Marcelin Berthelot ZI Toulon Est - La Garde - BP 68 83079 Toulon cedex 09 - France Tél: 04-94-08-75-85 Fax: 04-94-08-09-38 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 3.3.1 vs Tomcat 4.1.29
Of course not. But the first time I launched Tomcat 4.1.29, it was perfect, then I installed J2eeSDK (downloaded from Sun Website). Then when I started again Tomcat 4.1.29, nothing occured. But it's OK with Tomcat 3.3.1. thanks -Message d'origine- De : Ben Souther [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 février 2004 15:11 À : Tomcat Users List Objet : Re: Tomcat 3.3.1 vs Tomcat 4.1.29 Are you trying to run them both at the same time? On Wednesday 18 February 2004 09:00 am, CLEMENT Eric wrote: > Hello, > I've just downloaded and installed both release of Tomcat. > In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is > running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) > can anyone help me? > > Eric Clément > 230 Rue Marcelin Berthelot > ZI Toulon Est - La Garde - BP 68 > 83079 Toulon cedex 09 - France > > Tél: 04-94-08-75-85 > Fax: 04-94-08-09-38 > > Mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Ben Souther F.W. Davison & Company, Inc. - 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 3.3.1 vs Tomcat 4.1.29
Post error messages. If you don't find any, post what you observe. Just doesn't work is not enough. There are so many potential problems (Packageless classes, syntax error in *.xml, port conflicts) that we can sit here and guess for hours. > -Original Message- > From: CLEMENT Eric [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 3:00 PM > To: [EMAIL PROTECTED] > Subject: Tomcat 3.3.1 vs Tomcat 4.1.29 > > > Hello, > I've just downloaded and installed both release of Tomcat. > In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat > 3.3.1 is running, > Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) > can anyone help me? > > Eric Clément > 230 Rue Marcelin Berthelot > ZI Toulon Est - La Garde - BP 68 > 83079 Toulon cedex 09 - France > > Tél: 04-94-08-75-85 > Fax: 04-94-08-09-38 > > 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: why should i run apache to install tomcat4.1.29
The only time you really need Apache web server along with Tomcat is if there are some basic functionality in apache that you need that Tomcat currently doesnt provide. I.E. mod_rewrite, or some other custom module. In theory you can change the source to do X Y and Z but if apache which has a long stable history and can does it better, it might be simpler just to use the apache. Just my take on the matter. Thomas Yiannis Mavroukakis <[EMAIL PROTECTED]> 02/18/2004 09:02 AM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To 'Tomcat Users List' <[EMAIL PROTECTED]> cc Subject RE: why should i run apache to install tomcat4.1.29 The short version is you dont. You can use Tomcat to serve both static contents and servlets. -Original Message- From: xavier manohar [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 13:46 To: [EMAIL PROTECTED] Subject: why should i run apache to install tomcat4.1.29 Hello I am a newbie and I am looking for a satisfactory answer why we need to install apache and run it,to install tomcat 4.1.29 on windows 95 os regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
RE: Tomcat 3.3.1 vs Tomcat 4.1.29
I set "debug" option. This is what happen: " GRAVE: Une exception ou une erreur s'est produite dans le conteneur durant le tr aitement de la requÛte java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.removeAttribu te(Ljava/lang/String;)V at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:321) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:564) at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard ContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:564) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:195) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:564) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a:564) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:20 6) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:700) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java :584) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP ool.java:683) at java.lang.Thread.run(Thread.java:534) "" thanks -Message d'origine- De : STOCKHOLM, Raymond [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 février 2004 15:16 À : Tomcat Users List Objet : RE: Tomcat 3.3.1 vs Tomcat 4.1.29 Check your JAVA_HOME env variable, and please tell us WHAT happens. To have more information when starting tomcat, change startup.bat to replace "start" by "debug" on line 41 : (call "%EXECUTABLE%" debug %CMD_LINE_ARGS%) when prompt, type "run", you should have more information... -Message d'origine- De : CLEMENT Eric [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 février 2004 15:00 À : [EMAIL PROTECTED] Objet : Tomcat 3.3.1 vs Tomcat 4.1.29 Hello, I've just downloaded and installed both release of Tomcat. In the same environment(ie 6, Win XP and jsdk 1.4), Tomcat 3.3.1 is running, Tomcat 4.1.29 doesn't (Tomcat 5.0.18 neither) can anyone help me? Eric Clément 230 Rue Marcelin Berthelot ZI Toulon Est - La Garde - BP 68 83079 Toulon cedex 09 - France Tél: 04-94-08-75-85 Fax: 04-94-08-09-38 Mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 3.3.1 vs Tomcat 4.1.29
That sounds as if there is jar file that contains an outdated servlet api that doesn't contain HttpServletRequest.removeAttribute() > -Original Message- > From: CLEMENT Eric [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 3:45 PM > To: Tomcat Users List > Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29 > > java.lang.NoSuchMethodError: > javax.servlet.http.HttpServletRequest.removeAttribu > te(Ljava/lang/String;)V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 3.3.1 vs Tomcat 4.1.29
Sounds rigth. Any idea where I can get the good one? Thanks -Message d'origine- De : Ralph Einfeldt [mailto:[EMAIL PROTECTED] Envoyé : mercredi 18 février 2004 15:51 À : Tomcat Users List Objet : RE: Tomcat 3.3.1 vs Tomcat 4.1.29 That sounds as if there is jar file that contains an outdated servlet api that doesn't contain HttpServletRequest.removeAttribute() > -Original Message- > From: CLEMENT Eric [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 3:45 PM > To: Tomcat Users List > Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29 > > java.lang.NoSuchMethodError: > javax.servlet.http.HttpServletRequest.removeAttribu > te(Ljava/lang/String;)V - 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]
about tomcat and apache
Hello when i run a jsp file that calls a bean class in its usebean function,doesn't responded correctly when i executed it after running tomcat alone .However when i started tomcat again after starting apache server the jsp file worked correctly .Can any one help me to understand why this happens. Regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Need help in Tomcat 4.1.29
Hi all I want to add a particular directory in tomcat's shared classpath. The directory is outside tomcat home directory. I can do this by adding this path in the tomcat's startup classpath. But it throws some other exceptions. Is there any way i can do this ? Thanks Surendra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 3.3.1 vs Tomcat 4.1.29
It should be contained in the tomcat distribution. But the outdated one is found before the one that is delivered with tomcat. Search for servlet.jar, j2ee.jar on your machine. (e.g. in JAVA_HOME/jre/lib/ext) > -Original Message- > From: CLEMENT Eric [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 18, 2004 4:01 PM > To: Tomcat Users List > Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29 > > > Sounds rigth. Any idea where I can get the good one? > Thanks > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [OFF-TOPIC] Workflow Engines
Personaly I work with OpenSymphony and I find it good. If i may add some more: http://www.jcorporate.com/ http://www.jcorporate.com/html/news/Press/ExpressoRelease5.0.html http://www.openbusinessengine.org/index.html http://www.dstc.edu.au/Research/Projects/Pegamento/Breeze/breeze.html http://www.powerfolder.org/ http://www.ofbiz.org/ http://werkflow.werken.com/ http://www.vivtek.com/wftk/ Cheers, Hernâni -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 12 de Fevereiro de 2004 16:34 To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] Workflow Engines Hi Evgeny, > I worked with IBM MQ Series Workflow and it is great > commercial software. Could you please list Open Source > workflow systems. Thanks for the response. Below is a list of the open source engines I have found so far: OpenFlow http://www.openflow.it/EN/index_html Shark http://shark.objectweb.org/ OpenSymphony OSWorkflow http://www.opensymphony.com/osworkflow/ jBpm http://www.jbpm.org/ WfMOpen http://wfmopen.sourceforge.net/ Bonita http://bonita.objectweb.org/ Bossa http://www.bigbross.com/bossa/ XFlow http://xflow.sourceforge.net/ As you can see, there are quite a number of them. Regards, Ryan. - 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 installation
hello I am very much worried whether my tomcat has been installed correctly in windows 95.the follwing line comes in the command prompt . when i run tomcat.pls help me to confirm that I have installed it correctly. If there is any mistake pls help me to sort out. [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util. LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.actio n.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.webapp.admin .ApplicationResources', returnNull=true [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=0/280 config=C:\Tomcat 4.1\conf\jk2.prope rties Regards, Mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Re: Tomcat 4 or 5 and SOAP
Apache Axis works very well: http://ws.apache.org/axis/index.html At 2/18/2004 10:48 AM, you wrote: Hello does anyone knows how can I make SOAP working on my Apache Tomcat server ? On the version 3.2 I had no problem, but with the 4 or 5 I can do nothing. Do you know a good tutorial for Tomcat 5/4 or another solution Thanks. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Tomcat 3.3.1 vs Tomcat 4.1.29
> == > Date: Wed, 18 Feb 2004 16:00:51 +0100 > From: "CLEMENT Eric" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Subject: RE: Tomcat 3.3.1 vs Tomcat 4.1.29 > == > > Sounds rigth. Any idea where I can get the good one? > Thanks > Check the jakarta web site: there are several jar file with different servlet releases. Moreover, there is a corrispondence between the Tomcat and servlet releases! (i.e. you must install the correct servlet release for each Tomcat version) Bye G -- Giuseppe Briotti [EMAIL PROTECTED] "Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius." (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat installation
These messages are normal. If you are not getting any exceptions further up the logs you should be ok -Original Message- From: xavier manohar [mailto:[EMAIL PROTECTED] Sent: 18 February 2004 15:17 To: [EMAIL PROTECTED] Subject: tomcat installation hello I am very much worried whether my tomcat has been installed correctly in windows 95.the follwing line comes in the command prompt . when i run tomcat.pls help me to confirm that I have installed it correctly. If there is any mistake pls help me to sort out. [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util. LocalStrings', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.actio n.ActionResources', returnNull=true [INFO] PropertyMessageResources - -Initializing, config='org.apache.webapp.admin .ApplicationResources', returnNull=true [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on 0.0.0.0/0.0.0.0:8009 [INFO] JkMain - -Jk running ID=0 time=0/280 config=C:\Tomcat 4.1\conf\jk2.prope rties Regards, Mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. Note:__ This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Jaguar Freight Services and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs.
WebdavServlet Locking Issues
Hello, I've been testing the WebdavServlet that comes packaged with Tomcat 5.0.18 and am impressed by its simplicity (and by its possibility for extensibility using DirContext). I've run into some problems, however, with getting its locking functionality to work with client apps. I've tried several webdav clients including Dreamweaver MX, and none of them seem to like the way that the WebdavServlet implements locking. In particular, once the client obtains a lock (which occurs successfully), it is not possible for the client to perform any other operations on that resource -- not even unlocking the resource is possible. Any attempts at accessing the resource, and the client is sent an SC_LOCKED status by the WebdavServlet. I read a few archived posts from the 2001/2002 timeframe that reference some locking issues, but I'd be suprised that 2 years later no one has gotten locking to work with apps like Dreamweaver? Any suggestions or workarounds are welcome! Thanks, Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WebdavServlet Locking Issues
Ryan Dewell wrote: Hello, I've been testing the WebdavServlet that comes packaged with Tomcat 5.0.18 and am impressed by its simplicity (and by its possibility for extensibility using DirContext). I've run into some problems, however, with getting its locking functionality to work with client apps. I've tried several webdav clients including Dreamweaver MX, and none of them seem to like the way that the WebdavServlet implements locking. In particular, once the client obtains a lock (which occurs successfully), it is not possible for the client to perform any other operations on that resource -- not even unlocking the resource is possible. Any attempts at accessing the resource, and the client is sent an SC_LOCKED status by the WebdavServlet. I read a few archived posts from the 2001/2002 timeframe that reference some locking issues, but I'd be suprised that 2 years later no one has gotten locking to work with apps like Dreamweaver? Any suggestions or workarounds are welcome! The WebDAV servlet has only recently become maintained again. There are some related patches in Tomcat 5.0.19, although I don't know if this would fix your problems. -- x Rémy Maucherat Developer & Consultant JBoss Group (Europe) SàRL x - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 3.3.1 vs Tomcat 4.1.29
Ralph Einfeldt wrote: It should be contained in the tomcat distribution. But the outdated one is found before the one that is delivered with tomcat. Search for servlet.jar, j2ee.jar on your machine. (e.g. in JAVA_HOME/jre/lib/ext) humm I suspect a malicious CLASSPATH mangling... could you try to set CLASSPATH to a nil value then restart TOMCAT 4 (or 5) Jerome -- Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003 http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3?ouv_ean13=9782212111941 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Stopping repeating requests
Hi, I have a problem where a user enters data into a form and then submits this to the server, which in turn wrights this content into a database. The problem I have is that if the user then refreshes the page via F5 then it adds the same data in again. Is there any way to ensure that this does not occur. Any help would be greatly appreciated. Thanks Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stopping repeating requests
Hi! Peter Guyatt wrote: I have a problem where a user enters data into a form and then submits this to the server, which in turn wrights this content into a database. The problem I have is that if the user then refreshes the page via F5 then it adds the same data in again. Is there any way to ensure that this does not occur. Not really... to your servlet/jsp processing the HTTP-POST, those two requests are two separate entities that each need to be processed. How should your servlet know if the second request is a reload or another person POSTing from the same machine as the first one? If you have any criteria in the data itself, you could, of course, add some kind of logic to the servlet in order to validate the data first. If, for example, you d not want two database rows that are entirely identical, you could first SELECT the form data and only INSERT if there is no result. HTH Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Stopping repeating requests
On submit of the form, show a dialog box and prompt the user to submit the data. Then you can clear the data from the page. Best regards, Abhilash John -Original Message- From: Peter Guyatt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 February 2004 10:48 PM To: Tomcat Users List Subject: Stopping repeating requests Hi, I have a problem where a user enters data into a form and then submits this to the server, which in turn wrights this content into a database. The problem I have is that if the user then refreshes the page via F5 then it adds the same data in again. Is there any way to ensure that this does not occur. Any help would be greatly appreciated. Thanks Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stopping repeating requests
Pete, When the user submits the page where is the user sent? If he stays on the same page and the form stay populated you need to do some checks for change in a field before allowing the page to submit again. The better way is to clear the form or send them to another page. That's all client side. On the server side: Is there a positive ID field such as SSN that can be picked up from the form? If so then test the database for existence of this and inform the user. Or (I haven't done this yet but am sure it will work) grab the session ID and set a flag or a cookie that is checked prior to updating the database. You could even give the user the option to resubmit the data and do an update with it overwriting the prior entry. If you can use some unique data from the form this is usually the better (IMHO). Some other factor to consider in which approach to take is if the client fills in the form say one or two days later or from another machine. Doug www.parsonstechnical.com Subject: Stopping repeating requests > Hi, > > I have a problem where a user enters data into a form and then submits this > to the server, which in turn wrights this content into a database. > > The problem I have is that if the user then refreshes the page via F5 then > it adds the same data in again. > > Is there any way to ensure that this does not occur. > > Any help would be greatly appreciated. > > Thanks > > Pete > > > - > 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: Stopping repeating requests
Howdy, >> I have a problem where a user enters data into a form and then submits >this >> to the server, which in turn wrights this content into a database. >> >> The problem I have is that if the user then refreshes the page via F5 >then >> it adds the same data in again. >> >> Is there any way to ensure that this does not occur. Another, simple possibility is to take them to another page (e.g. a confirmation page) after they submit the form, instead of leaving them on a page where they can hit submit or refresh again. 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]
jsp error
Hello when i run a jsp file that calls a bean class in its usebean function,doesn't responded correctly when i executed it after running tomcat alone .However when i started tomcat again after starting apache server the jsp file worked correctly .Can any one help me to understand why this happens. Regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
jsp error
Hello when i run a jsp file that calls a bean class in its usebean function,doesn't responded correctly when i executed it after running tomcat alone .However when i started tomcat again after starting apache server the jsp file worked correctly .Can any one help me to understand why this happens. Regards mano Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Problems with ViewCVS
Hey guys, Sorry for the undoubtedly stupid question, but I can't get ViewCVS to work. I installed it, the standalone web server that comes with it works just fine. So, I enabled CGI in Tomcat, copied the .cgi files into a cgi-bin folder in my application, and it said it couldn't find the cgi scripts. So, I went into conf/web.xml and changed the cgiPathPrefix for the server. It seems to now be finding the script, but all I get it a blank page. I look at the source and it's just giving me a blank html page back. Any help is greatly appreciated. Thanks, --keith.
Re: Stopping repeating requests
Hi! Parsons Technical Services wrote: The better way is to clear the form or send them to another page. That's all client side. Not necessarily. What I do in such situations is this: have a servlet process the form data and then send something else (e.g. an "update successfull"-page) as response via sendRedirect(). This way, the user _has_ to at least push the back button. If you then add headers to prevent the page containing the form from being cached, even that would give the user a plain empty form all over again. Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp error
Mano, When you say that it runs ok after starting apache, do you also mean you are accessing it from apache? What is your setup and OS. Post your web.xml and any errors. A similar symptom occurred when the mappings were not correct. Doug www.parsonstechnical.com - Original Message - From: "xavier manohar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 12:38 PM Subject: jsp error > Hello > > when i run a jsp file that calls a bean class in its usebean > function,doesn't responded correctly when i executed it after running tomcat > alone .However when i started tomcat again after starting apache server the > jsp file worked correctly .Can any one help me to understand why this > happens. > Regards > mano > > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp error
Hello Doug , I hve not chnged any thing in the web .xml .The context path is still the root. my os is windows 95 regards mano Parsons Technical Services <[EMAIL PROTECTED]> wrote: Mano, When you say that it runs ok after starting apache, do you also mean you are accessing it from apache? What is your setup and OS. Post your web.xml and any errors. A similar symptom occurred when the mappings were not correct. Doug www.parsonstechnical.com - Original Message - From: "xavier manohar" To: Sent: Wednesday, February 18, 2004 12:38 PM Subject: jsp error > Hello > > when i run a jsp file that calls a bean class in its usebean > function,doesn't responded correctly when i executed it after running tomcat > alone .However when i started tomcat again after starting apache server the > jsp file worked correctly .Can any one help me to understand why this > happens. > Regards > mano > > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Re: Stopping repeating requests
I use a system where a servlet sets a 'token' (a random number attribute) which the JSP must return (using a hidden form field attribute) to the servlet when the form is submitted. The servlet keeps a copy of the token. The servlet checks the token sent by the JSP with its own (current) copy. If the two match, the form is processed, otherwise it is rejected. When the servlet processes a form-submit request, it always discards the current token, so that it can never be reused. It means, of course, that you have to design things so that the same 'controller' servlet is used to both display the JSP (after it sets the token) and then to handle the form submit from it. It works for me. Harry Mantheakis London, UK > Hi, > > I have a problem where a user enters data into a form and then submits this > to the server, which in turn wrights this content into a database. > > The problem I have is that if the user then refreshes the page via F5 then > it adds the same data in again. > > Is there any way to ensure that this does not occur. > > Any help would be greatly appreciated. > > Thanks > > Pete > > > - > 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]
JkMount and /*/servlet/
I'd like to have apache proxy all jsp and servlets to an underlying tomcat, but I'm having some trouble getting the JkMount directives right. I have: JkMount /*.jsp local JkMount /*/servlet/ local which are pretty much from the docs. using those I get the following: localhost/foo/test.jsp tomcat localhost/foo/bar/test.jsp tomcat localhost/servlet/ apache localhost/foo/servlet/ tomcat localhost/foo/bar/servlet/ apache This is a bit weird, because the * is behaving differently in the 2 cases. Is there a simple way to use JkMount so all that goes to tomcat, or am I going to need to make explicate entries for each URL? I've tried a couple permutations of the *, but always the same result. System is debian testing, mod-jk is 1.2.5, tomcat is 4.0.4, apache is 1.3.29 thanks seph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JkMount and /*/servlet/
Did you try ? JkMount /*/servlet/* local Thomas seph <[EMAIL PROTECTED]> 02/18/2004 01:01 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject JkMount and /*/servlet/ I'd like to have apache proxy all jsp and servlets to an underlying tomcat, but I'm having some trouble getting the JkMount directives right. I have: JkMount /*.jsp local JkMount /*/servlet/ local which are pretty much from the docs. using those I get the following: localhost/foo/test.jsp tomcat localhost/foo/bar/test.jsp tomcat localhost/servlet/ apache localhost/foo/servlet/ tomcat localhost/foo/bar/servlet/ apache This is a bit weird, because the * is behaving differently in the 2 cases. Is there a simple way to use JkMount so all that goes to tomcat, or am I going to need to make explicate entries for each URL? I've tried a couple permutations of the *, but always the same result. System is debian testing, mod-jk is 1.2.5, tomcat is 4.0.4, apache is 1.3.29 thanks seph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stopping repeating requests
Phil, True. I should have not said "all client side". How about client side validation? Point being as weather to handle it more from the client or server. All depends on application. Doug > Hi! > > Parsons Technical Services wrote: > > The > > better way is to clear the form or send them to another page. That's all > > client side. > > Not necessarily. What I do in such situations is this: have a servlet > process the form data and then send something else (e.g. an "update > successfull"-page) as response via sendRedirect(). This way, the user > _has_ to at least push the back button. If you then add headers to > prevent the page containing the form from being cached, even that > would give the user a plain empty form all over again. > > Phil > > > - > 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: jsp error
Mano, Please post the URLs that you are using to access the server. One with apache started and the one when Tomcat is running alone. Doug - Original Message - From: "xavier manohar" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 12:57 PM Subject: Re: jsp error > Hello Doug , > I hve not chnged any thing in the web .xml .The context path is still the root. > my os is windows 95 > regards > mano > > Parsons Technical Services <[EMAIL PROTECTED]> wrote: > Mano, > > When you say that it runs ok after starting apache, do you also mean you are > accessing it from apache? > > What is your setup and OS. > > Post your web.xml and any errors. > > A similar symptom occurred when the mappings were not correct. > > Doug > www.parsonstechnical.com > > > - Original Message - > From: "xavier manohar" > > To: > Sent: Wednesday, February 18, 2004 12:38 PM > Subject: jsp error > > > > Hello > > > > when i run a jsp file that calls a bean class in its usebean > > function,doesn't responded correctly when i executed it after running > tomcat > > alone .However when i started tomcat again after starting apache server > the > > jsp file worked correctly .Can any one help me to understand why this > > happens. > > Regards > > mano > > > > > > > > > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, > services, tools and more. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JkMount and /*/servlet/
> Did you try ? > > JkMount /*/servlet/* local yes. with that nothing get's to tomcat, apache gives errors for everything. I also tried /*/*/servlet/ apache doesn't like *servlet*, saying the context must start with /, and /*servlet* still sends everything to apache. seph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JkMount and /*/servlet/
Ive seen cases where one JkMount setting conflicts with another JkMount setting. Try moving the first JkMount setting to the bottom or remove it totally even. See if that works. Thomas seph <[EMAIL PROTECTED]> 02/18/2004 01:25 PM Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To "Tomcat Users List" <[EMAIL PROTECTED]> cc Subject Re: JkMount and /*/servlet/ > Did you try ? > > JkMount /*/servlet/* local yes. with that nothing get's to tomcat, apache gives errors for everything. I also tried /*/*/servlet/ apache doesn't like *servlet*, saying the context must start with /, and /*servlet* still sends everything to apache. seph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How does IIS directory security relate to JK connector?
Hello, I installed the JK connector in IIS 5.0 on Win2K, directing JSP and servlet requests for a certain context to Tomcat 4.1.29, and though it works I can't access the Tomcat resources (JSPs and servlets) anonymously. In fact, the way IIS's "directory security" is involved is something of a mystery. I realize this is a Tomcat forum and not an IIS forum, but their integration is common so perhaps someone here will have some insight. Some details: I have an IIS virtual directory called "tomcat" pointing to a directory containing the isapi_redirector.dll, and the virtual directory has read and script execute permissions. In "directory security" for this virtual directory I have "anonymous access" checked. When I request a servlet or JSP, I get a "403 - Access denied" error. If I also check "Integrated Windows authentication" in directory security, then when I request a servlet or JSP the browser (IE) asks for a userid, password, and domain (obviously NTLM auth going on here) and if I supply valid credentials I can then access the resource. So, somehow these security settings for the virtual directory affect access to the JK connector, but how? Why does it aknowledge the request for "Integrated Windows authentication" but ignore the request for "Anonymous access"? Also, I can actually documents from the virtual directory without auth being invoked. For example, if I turn on "directory browsing" for this virtual directory, I can browse its contents via the browser with no problem and no authentication. If I add "foo.txt" to the directory I can retrieve that file, and if I add "foo.html" I can view that page. If, however, if I request the isapi_redirector.dll file itself, I get the authentication box. I've fiddled with the security settings for the DLL itself, granting "Everyone" read/execute access, but still no luck. Any ideas? Thanks! David A. Ventimiglia DSSG Wells Fargo Bank 415-222-6707 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
Hey All. I've been trying to write a servlet that uses a jdbc driver to connect to a remote Oracle server. I've manage to compile my own standalone app to connect to the DB. I included the ojdbc14.jar in my classpath and everything seemed to work fine. I can't seem to get the same code to work in a servlet with tomcat 5, and I'm pretty sure it's because tomcat does not know where ojdbc14.jar is. I've put it in server/lib and /bin and common/lib, but to no avail. Using the web tool, I've added the ojdbc14.jar file with multiple paths and i've still got nothing. Any help would be appreciates. I'm running this on Linux with tomcat 5, Oracle 9i and apache 1.3.29. Regards, Jeremie -- You live and learn. At any rate, you live. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How does IIS directory security relate to JK connector?
To follow up, I just made some progress. By changing the "Anonymous User Account" in IIS for the tomcat virtual directory from the IUSR_ account to another local account, it works. Presumably it has to do with permissions, though I don't know in what way yet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: How does IIS directory security relate to JK connector? Hello, I installed the JK connector in IIS 5.0 on Win2K, directing JSP and servlet requests for a certain context to Tomcat 4.1.29, and though it works I can't access the Tomcat resources (JSPs and servlets) anonymously. In fact, the way IIS's "directory security" is involved is something of a mystery. I realize this is a Tomcat forum and not an IIS forum, but their integration is common so perhaps someone here will have some insight. Some details: I have an IIS virtual directory called "tomcat" pointing to a directory containing the isapi_redirector.dll, and the virtual directory has read and script execute permissions. In "directory security" for this virtual directory I have "anonymous access" checked. When I request a servlet or JSP, I get a "403 - Access denied" error. If I also check "Integrated Windows authentication" in directory security, then when I request a servlet or JSP the browser (IE) asks for a userid, password, and domain (obviously NTLM auth going on here) and if I supply valid credentials I can then access the resource. So, somehow these security settings for the virtual directory affect access to the JK connector, but how? Why does it aknowledge the request for "Integrated Windows authentication" but ignore the request for "Anonymous access"? Also, I can actually documents from the virtual directory without auth being invoked. For example, if I turn on "directory browsing" for this virtual directory, I can browse its contents via the browser with no problem and no authentication. If I add "foo.txt" to the directory I can retrieve that file, and if I add "foo.html" I can view that page. If, however, if I request the isapi_redirector.dll file itself, I get the authentication box. I've fiddled with the security settings for the DLL itself, granting "Everyone" read/execute access, but still no luck. Any ideas? Thanks! David A. Ventimiglia DSSG Wells Fargo Bank 415-222-6707 [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: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
i have multiple webapps connecting to oracle within the same tomcat instance. removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping only one copy of ojdbc14.jar in common/lib works for me on tomcat 5. if you are connecting via oci drivers, make sure that your LD_LIBRARY_PATH points to your oracle home. i've added the following in my catalina.sh startup file: export ORACLE_BASE=/usr/local/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_TERM=xterm export NLS_LANG=AMERICAN; export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/lib :/ lib:/usr/lib:/usr/local/lib if you're using thin drivers, this should not be required. apu On Wed, 18 Feb 2004 12:59:41 -0500 blais <[EMAIL PROTECTED]> wrote: > Hey All. > > I've been trying to write a servlet that uses a jdbc driver to connect > > to a remote Oracle server. I've manage to compile my own standalone > app to connect to the DB. I included the ojdbc14.jar in my classpath > and everything seemed to work fine. I can't seem to get the same code > to work in a servlet with tomcat 5, and I'm pretty sure it's because > tomcat does not know where ojdbc14.jar is. I've put it in server/lib > and /bin and common/lib, but to no avail. Using the web tool, I've > added the ojdbc14.jar file with multiple paths and i've still got > nothing. Any help would be appreciates. > > I'm running this on Linux with tomcat 5, Oracle 9i and apache 1.3.29. > > Regards, > Jeremie > > -- > You live and learn. At any rate, you live. > > - > 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 very very slow when doing heavy XML processing
It seems that much of the lag is taking place with the http connectors, the time spent processing is much less than the time it takes to send the reqest back through the http connector. For instance, from looking at the SOAP logs, i can see that the thread took 3 seconds to process inside of AXIS soap engine, but when i look at the responce time in JMeter, I see 10 seconds to get a response. Peter Lin <[EMAIL PROTECTED]> wrote: If you look at the XML numbers in my performance article, you'll see that XML is very memory and CPU intensive. There's very little you can do about XML eating tons of resources and being slow. Until motherboards come with XML accelerators built in, XML performance will be slow. You may want to consider using hardware accelerators, or not using XML, if performance is really important. This is true of all XML parsers be it C, C++, .NET, Java, Perl or Python. Some are faster than others, but they are all CPU and memory intensive. peter lin - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard - Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it!
Re: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
Thanks Apu, I am using the thin client and it's still not working. I've put ojdbc14 in common/lib and still nothing. Did you have to add a database connection under the tomcat web administration tool ? And if you did, did you include a path to your ojdbc.jar file? I'm also wondering if maybe the catalina.properties file should be changed or if it should stay the same. Kind Regards, Jeremie Apu Shah wrote: i have multiple webapps connecting to oracle within the same tomcat instance. removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping only one copy of ojdbc14.jar in common/lib works for me on tomcat 5. if you are connecting via oci drivers, make sure that your LD_LIBRARY_PATH points to your oracle home. i've added the following in my catalina.sh startup file: export ORACLE_BASE=/usr/local/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_TERM=xterm export NLS_LANG=AMERICAN; export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/lib :/ lib:/usr/lib:/usr/local/lib if you're using thin drivers, this should not be required. apu On Wed, 18 Feb 2004 12:59:41 -0500 blais <[EMAIL PROTECTED]> wrote: Hey All. I've been trying to write a servlet that uses a jdbc driver to connect to a remote Oracle server. I've manage to compile my own standalone app to connect to the DB. I included the ojdbc14.jar in my classpath and everything seemed to work fine. I can't seem to get the same code to work in a servlet with tomcat 5, and I'm pretty sure it's because tomcat does not know where ojdbc14.jar is. I've put it in server/lib and /bin and common/lib, but to no avail. Using the web tool, I've added the ojdbc14.jar file with multiple paths and i've still got nothing. Any help would be appreciates. I'm running this on Linux with tomcat 5, Oracle 9i and apache 1.3.29. Regards, Jeremie -- You live and learn. At any rate, you live. - 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 very very slow when doing heavy XML processing
Thanks for the reply peter! The CPU and memory on the server seem to have a lot left over that we're not using, we're using about 15-20% of them. Is there some way I can utilized more CPU and memory in order to improve performance. We're the middleware where the frontend sends XML-RPC messages to us convert this data into XML before we send it to a backend, the backend processes the data then responds to us with XML data, we then convert this data and respond it back to the front end. We're hoping to have 20 req/sec per server for production, is this a feasible target? Right now our speed is at 6 req/sec. Our specs for production( we have Intel Pentium 3 now) are dual 2.8 Ghz Xeon processors with 512MB cache, 2GB RAM, 36GB HD, Redundant fans. Peter Lin <[EMAIL PROTECTED]> wrote: If you look at the XML numbers in my performance article, you'll see that XML is very memory and CPU intensive. There's very little you can do about XML eating tons of resources and being slow. Until motherboards come with XML accelerators built in, XML performance will be slow. You may want to consider using hardware accelerators, or not using XML, if performance is really important. This is true of all XML parsers be it C, C++, .NET, Java, Perl or Python. Some are faster than others, but they are all CPU and memory intensive. peter lin - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard - Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.
Re: Very Very Slow performance of Tomcat
wuhui wrote: >Antonio_Fiol_Bonn?, > can you give us something test data such as throughput, Average response time > etc. as a reference ? > No. At least not something reliable. Typical average load time for our apps is between 500ms and 1000ms, depending on the pages. Light pages go as low as 200ms. With heavy database queries, pages go up to 3000ms. I consider anything above that figure to be worth worrying. > including hw configuration and software configuration? > > 2x Apache 1.3 + 2x Tomcat 5.0.18 + 1x Oracle 9.2.0.1 Every "1x" means a separate machine running that software. Shared for different apps. Hardware ranges from 2-Pentium >2Ghz processors to a Sun V440 with 8 (?) processors. Memory from 1 to 4Gb. Our apps are not CPU- or memory- intensive anyway. The only thing I can assure you is that if you do not ensure (at least) you are not hitting what I mentioned, your performance will be horrible. I learned that from experience :-( Horrible means more than 20 seconds per request, if the request is served at all. Yours, Antonio Fiol >>Is maxProcessors lower than Apache's MaxClients? >> >>Are you hitting the max. number of connections to your database? >> >>When it goes slow, does it hang later? >> >>Are you closing all your connections to the DB? >> >> smime.p7s Description: S/MIME Cryptographic Signature
Re: Réf. : Re: Very Very Slow performance of Tomcat
[EMAIL PROTECTED] wrote: Antonio, I'm facing to the same performance problems with Tomcat. My the maxProcessor value is equal to 75 while the Apache's MaxClients is equals to 150. the MaxKeepAliveRequests of apache is equal to 100 Do you understand the relationship between theses attributes ? MaxClients is the maximum number of Apache processes you can have. Each Apache process "connects" to a processor in Tomcat. Make your own calculations ;-) MaxKeepAliveRequests is something completely unrelated, as far as it is not below the average number of components (images, ...) of your pages. It's the max number of requests an Apache process will serve to you before closing the HTTP connection. My advice: Don't play too much with it, unless you have very high loads and really need to. ;-) netstat -n --tcp | grep SYN_RECV on tomcat side while you are having the performance problems / apparent hangs. If there are more than 3 connections in that state, you may be suffering from lack of processors. Try raising maxProcessors to 150 if it is the case. (Or lowering MaxClients to 75 if your load is very light) Tip: Have you got a stateful inspection firewall in the middle? If so, raising maxProcessors may not be enough. Tell me and I'll explain more. Antonio Fiol smime.p7s Description: S/MIME Cryptographic Signature
Startup scripts not executable?
I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do "chmod +x *.sh" to get things to work. Is this a bug? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JkMount and /*/servlet/
Hi, would ... JkMount /* local ... do the job? Antonio Fiol seph wrote: I'd like to have apache proxy all jsp and servlets to an underlying tomcat, but I'm having some trouble getting the JkMount directives right. I have: JkMount /*.jsp local JkMount /*/servlet/ local which are pretty much from the docs. using those I get the following: localhost/foo/test.jsp tomcat localhost/foo/bar/test.jsp tomcat localhost/servlet/ apache localhost/foo/servlet/ tomcat localhost/foo/bar/servlet/ apache This is a bit weird, because the * is behaving differently in the 2 cases. Is there a simple way to use JkMount so all that goes to tomcat, or am I going to need to make explicate entries for each URL? I've tried a couple permutations of the *, but always the same result. System is debian testing, mod-jk is 1.2.5, tomcat is 4.0.4, apache is 1.3.29 smime.p7s Description: S/MIME Cryptographic Signature
Re: Can I chain authenticators?
> > Why would you "chain" authenticators? > > Well, i have chained SSL and BASIC authenticators. That's not exactly "chaining". In SASL, SSL is called "EXTERNAL" authentication. You just have two independant mechanisms, one of which is solely for authentication (HTTP Basic) and the other can authenticate, but doesn't have to (SSL). Nix. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
URL Redirect
Hello All, I have a simple, yet allusive question. In Apache and Tomcat you can create Virtual Hosts. Within the Virtual Hosts you can specify different parameters. In Apache httpd.conf I can have the following: ServerName www.domain1.com Redirect permanent / http://www.domain2.com/domain2 Is there a feature like that in Tomcat, either in the server.xml or web.xml, I'm probably guessing server.xml. Any help is greatly appreciated. Thank you in advanced, Dean - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OFF-TOPIC] Workflow Engines
Hi, I'll save this e-mail preciously. What an amazing list!! Not even Google would find more info together... Antonio Fiol Hernani Mourão wrote: Personaly I work with OpenSymphony and I find it good. If i may add some more: http://www.jcorporate.com/ http://www.jcorporate.com/html/news/Press/ExpressoRelease5.0.html http://www.openbusinessengine.org/index.html http://www.dstc.edu.au/Research/Projects/Pegamento/Breeze/breeze.html http://www.powerfolder.org/ http://www.ofbiz.org/ http://werkflow.werken.com/ http://www.vivtek.com/wftk/ Cheers, Hernâni -Original Message- From: Ryan Lissack [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 12 de Fevereiro de 2004 16:34 To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] Workflow Engines Hi Evgeny, I worked with IBM MQ Series Workflow and it is great commercial software. Could you please list Open Source workflow systems. Thanks for the response. Below is a list of the open source engines I have found so far: OpenFlow http://www.openflow.it/EN/index_html Shark http://shark.objectweb.org/ OpenSymphony OSWorkflow http://www.opensymphony.com/osworkflow/ jBpm http://www.jbpm.org/ WfMOpen http://wfmopen.sourceforge.net/ Bonita http://bonita.objectweb.org/ Bossa http://www.bigbross.com/bossa/ XFlow http://xflow.sourceforge.net/ As you can see, there are quite a number of them. Regards, Ryan. - 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] smime.p7s Description: S/MIME Cryptographic Signature
Re: Startup scripts not executable?
No, sometimes this problem occours (it is also reported in several HowTo's related to Apache and Cocoon :- G > == > Date: Wed, 18 Feb 2004 16:09:16 -0500 > From: Roy Smith <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: Roy Smith <[EMAIL PROTECTED]> > Subject: Startup scripts not executable? > == > > I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The > scripts > in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got > unpacked > without the execute bit set. I had to do "chmod +x *.sh" to > get things > to work. > > Is this a bug? > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Giuseppe Briotti [EMAIL PROTECTED] "Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius." (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Startup scripts not executable?
Roy Smith wrote: I downloaded Tomcat-5.0.18 onto my Mac OSX-10.3.2 system. The scripts in $CATALINA_HOME/bin (startup.sh, catalina.sh, etc) all got unpacked without the execute bit set. I had to do "chmod +x *.sh" to get things to work. Is this a bug? You probably downloaded the zipped version. AFAIK, ZIP format does not support permissions. The tarred and gzipped version is OK. Antonio Fiol smime.p7s Description: S/MIME Cryptographic Signature
tomcat5.0 or 4.1
I am new to Tomcat and Java and I am trying to decide whether to use 4.1 or 5.0. I have the enterprise version of Jbuilder which doesn't support 5.0 yet. What advantages would there be for me to go with 5.0 over 4.1? If I do 4.1 how hard would it be to migrate in 6-10 months After Jbuilder updates? What IDEs do you guys use? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
i did not have to add any database connections under the tomcat web admin tool. catalina.properties remains the same. is there a stack trace with an exception in any logs? (ClassNotFound or any other such exceptions) could you also describe what symptoms you are seeing? does the app hang or does it return an error or are you not seeing database updates apu On Wed, 18 Feb 2004 13:46:21 -0500 blais <[EMAIL PROTECTED]> wrote: > Thanks Apu, > > I am using the thin client and it's still not working. I've put > ojdbc14 in common/lib and still nothing. Did you have to add a > database connection under the tomcat web administration tool ? And if > you did, did you include a path to your ojdbc.jar file? > > I'm also wondering if maybe the catalina.properties file should be > changed or if it should stay the same. > > Kind Regards, > Jeremie > > Apu Shah wrote: > > >i have multiple webapps connecting to oracle within the same tomcat > >instance. > > > >removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping > >only one copy of ojdbc14.jar in common/lib works for me on tomcat 5. > > > >if you are connecting via oci drivers, make sure that your > >LD_LIBRARY_PATH points to your oracle home. i've added the following > >in my catalina.sh startup file: > > > >export ORACLE_BASE=/usr/local/oracle > >export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 > >export ORACLE_TERM=xterm > >export NLS_LANG=AMERICAN; > >export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data > >export > >LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/ > >lib:/ > >lib:/usr/lib:/usr/local/lib > > > >if you're using thin drivers, this should not be required. > > > >apu > > > >On Wed, 18 Feb 2004 12:59:41 -0500 > >blais <[EMAIL PROTECTED]> wrote: > > > > > > > >>Hey All. > >> > >>I've been trying to write a servlet that uses a jdbc driver to > >connect> > >>to a remote Oracle server. I've manage to compile my own standalone > >>app to connect to the DB. I included the ojdbc14.jar in my > >classpath>and everything seemed to work fine. I can't seem to get > >the same code>to work in a servlet with tomcat 5, and I'm pretty sure > >it's because>tomcat does not know where ojdbc14.jar is. I've put it > >in server/lib>and /bin and common/lib, but to no avail. Using the > >web tool, I've>added the ojdbc14.jar file with multiple paths and > >i've still got>nothing. Any help would be appreciates. > >> > >>I'm running this on Linux with tomcat 5, Oracle 9i and apache > >1.3.29.> > >>Regards, > >>Jeremie > >> > >>-- > >>You live and learn. At any rate, you live. > >> > >>--- > >-->To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >> > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat silent freeze
Hi, Sounds like bug with NTPL in RH9, see this thread http://www.mail-archive.com/[EMAIL PROTECTED]/msg106581.html. Thanks Euan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 20:01 To: [EMAIL PROTECTED] Subject: Tomcat silent freeze Hello people, we have Tomcat 4.1.24 installed on a Red Hat 9.0 box with the followings charateristics: CPU: AMD Duron 800Mhz. RAM: 512Mb We have 3 WARs installed on this machine running apparently well, but after some time (apparently random), application server silently stops responding (doesn't send page to client broswer), but the tcp port (80) is still open in LISTEN status and owned by the tomcat system process. Tomcat continues running and no error messages appear in Tomcat nor system logs. The client remains waiting until browser timeout is reached. Any ideas? Plese let me know if you need further information... Thanks in advance, Nicolas Orbes [EMAIL PROTECTED] TLG - NOrbes (598 2) 628 84 09 "Banderas en tu corazón, yo quiero verlas! ondeando, luzca el sol o no..." - 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: URL Redirect
On Wed, 18 Feb 2004, Dean Searle wrote: > I have a simple, yet allusive question. In Apache and Tomcat you can create Virtual > Hosts. Within the Virtual Hosts you can specify different parameters. In Apache > httpd.conf I can have the following: This is somewhat similar to the issue I was working on before (and will hopefully be posting an update on soon). I'll point you to tuckey.org/urlrewrite. He has essentially created a servlet version of apache's mod_rewrite. This would be one way of doing what you are looking for. > > ServerName www.domain1.com > Redirect permanent / http://www.domain2.com/domain2 > > > Is there a feature like that in Tomcat, either in the server.xml or web.xml, I'm > probably guessing server.xml. In web.xml, you would add in the code that is present on Paul Tuckey's website (above). You may need to alter you web.dtd to include the new elements you are introducing. The URLRewriter tool comes with an xml configuration file in which you can state you rules. If it is a redirect you want, add something like this : www.domain1.com www.domain2.com/domain2 Make sure you download the latest version (0.8) or the URLRewriter. Hope this helps. There may be other ways of doing this, but if you have questions about this method, just email me. - Duane - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How does IIS directory security relate to JK connector?
Fixed it, sort of. My advice to anyone having similar trouble with the Tomcat JK connector and IIS 5.0 is to futz with the "Anonymous User Account" settings (strip local domain name out, check the password, uncheck "Allow IIS to control password"). You might get lucky. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:53 AM To: [EMAIL PROTECTED] Subject: RE: How does IIS directory security relate to JK connector? To follow up, I just made some progress. By changing the "Anonymous User Account" in IIS for the tomcat virtual directory from the IUSR_ account to another local account, it works. Presumably it has to do with permissions, though I don't know in what way yet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: How does IIS directory security relate to JK connector? Hello, I installed the JK connector in IIS 5.0 on Win2K, directing JSP and servlet requests for a certain context to Tomcat 4.1.29, and though it works I can't access the Tomcat resources (JSPs and servlets) anonymously. In fact, the way IIS's "directory security" is involved is something of a mystery. I realize this is a Tomcat forum and not an IIS forum, but their integration is common so perhaps someone here will have some insight. Some details: I have an IIS virtual directory called "tomcat" pointing to a directory containing the isapi_redirector.dll, and the virtual directory has read and script execute permissions. In "directory security" for this virtual directory I have "anonymous access" checked. When I request a servlet or JSP, I get a "403 - Access denied" error. If I also check "Integrated Windows authentication" in directory security, then when I request a servlet or JSP the browser (IE) asks for a userid, password, and domain (obviously NTLM auth going on here) and if I supply valid credentials I can then access the resource. So, somehow these security settings for the virtual directory affect access to the JK connector, but how? Why does it aknowledge the request for "Integrated Windows authentication" but ignore the request for "Anonymous access"? Also, I can actually documents from the virtual directory without auth being invoked. For example, if I turn on "directory browsing" for this virtual directory, I can browse its contents via the browser with no problem and no authentication. If I add "foo.txt" to the directory I can retrieve that file, and if I add "foo.html" I can view that page. If, however, if I request the isapi_redirector.dll file itself, I get the authentication box. I've fiddled with the security settings for the DLL itself, granting "Everyone" read/execute access, but still no luck. Any ideas? Thanks! David A. Ventimiglia DSSG Wells Fargo Bank 415-222-6707 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: deploying and undeploying web apps at run time (Tomcat 4.1 version)
It can be done. All of the manager commands seem to work well, except for remove in my case, which doesn't remove the deployed directroy because Tomcat maintains a reference to struts.jar in in my deployed image. I wrote an uninstall and had to manually stop Tomcat and remove the deployed directory. If, like me, you've already qualified your app on Tomcat 4.1 (4.1.29, in my case) you want to check out the docs for running the manager in the 4.1.29 version: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html I wrote my own java client that runs the Tomcat manager application in my installer. It was pretty easy. David Harvey, eXegesys, Inc. www.exegesys.com -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of SMaric Sent: Monday, February 16, 2004 3:52 PM To: [EMAIL PROTECTED] Subject: Re: deploying and undeploying web apps at run time Pretty sure it can be done I remember reading up on this in relation to ANT I think there is some integration with ANT examples in the Tomcat documentation - try http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html And http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant Hope this helps "Abhijat Thakur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi, I want to deploy and undeploy web applications at run time. Aim is that once the tomcat is up we should be able to deploy and undeploy web apps programatically. Is there a way this can be achieved or if i can look up some docs/respurce somewhere. thanks abhijat - 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: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
Thanks again Apu. Here is my core dump since i've removed the database configuration from the web admin tool. HTTP Status 500 - *type* Exception report *message* *description* _The server encountered an internal error () that prevented it from fulfilling this request._ *exception* javax.servlet.ServletException: Servlet execution threw an exception filters.ExampleFilter.doFilter(ExampleFilter.java:149) *root cause* java.lang.UnsatisfiedLinkError: no ojdbc14 in java.library.path java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) java.lang.Runtime.loadLibrary0(Runtime.java:788) java.lang.System.loadLibrary(System.java:834) HelloWorldExample.doGet(HelloWorldExample.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) filters.ExampleFilter.doFilter(ExampleFilter.java:149) *note* _The full stack trace of the root cause is available in the Tomcat logs._ Note that this is going through apache. The java command which is causing this error is *System.loadLibrary("ojdbc14")*. in my servlet. Apparently if this call works, then registering an Oracle driver with *DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); *will also work. When this error is received, nothing hangs at all. Thanks again for your help Apu, you're god send! Cheers, -jeremie Apu Shah wrote: i did not have to add any database connections under the tomcat web admin tool. catalina.properties remains the same. is there a stack trace with an exception in any logs? (ClassNotFound or any other such exceptions) could you also describe what symptoms you are seeing? does the app hang or does it return an error or are you not seeing database updates apu On Wed, 18 Feb 2004 13:46:21 -0500 blais <[EMAIL PROTECTED]> wrote: Thanks Apu, I am using the thin client and it's still not working. I've put ojdbc14 in common/lib and still nothing. Did you have to add a database connection under the tomcat web administration tool ? And if you did, did you include a path to your ojdbc.jar file? I'm also wondering if maybe the catalina.properties file should be changed or if it should stay the same. Kind Regards, Jeremie Apu Shah wrote: i have multiple webapps connecting to oracle within the same tomcat instance. removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping only one copy of ojdbc14.jar in common/lib works for me on tomcat 5. if you are connecting via oci drivers, make sure that your LD_LIBRARY_PATH points to your oracle home. i've added the following in my catalina.sh startup file: export ORACLE_BASE=/usr/local/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_TERM=xterm export NLS_LANG=AMERICAN; export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdbc/ lib:/ lib:/usr/lib:/usr/local/lib if you're using thin drivers, this should not be required. apu On Wed, 18 Feb 2004 12:59:41 -0500 blais <[EMAIL PROTECTED]> wrote: Hey All. I've been trying to write a servlet that uses a jdbc driver to connect> to a remote Oracle server. I've manage to compile my own standalone app to connect to the DB. I included the ojdbc14.jar in my classpath>and everything seemed to work fine. I can't seem to get the same code>to work in a servlet with tomcat 5, and I'm pretty sure it's because>tomcat does not know where ojdbc14.jar is. I've put it in server/lib>and /bin and common/lib, but to no avail. Using the web tool, I've>added the ojdbc14.jar file with multiple paths and i've still got>nothing. Any help would be appreciates. I'm running this on Linux with tomcat 5, Oracle 9i and apache 1.3.29.> Regards, Jeremie -- You live and learn. At any rate, you live. --- -->To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Servlet won't run init()
Hello, I want a servlet to run its init() method when I start Tomcat. I put the following entry in web.xml but that doesn't do it: PgConnectionPoolServlet PgConnectionPoolServlet com.op.reporter_manager.PgConnectionPoolServlet 1 debug 5 PgConnectionPoolServlet /PgConnectionPoolServlet * I will appreciate any ideas on how to fix it? thanks, Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
interact with desktop
Hi all, I just installed tomcat 4.1 . Maybe you guys can help me find out how to set it to interact with desktop. I want to see the errors are in my application . If using ias we can see it by tail -f kjs*. Rgds, Nisa - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet won't run init()
: Hello, : I want a servlet to run its init() method when I start Tomcat. I put : the following entry in web.xml but that doesn't do it: : [snip] Please, humour me: put load-on-startup after init-param. I believe that's the order per the servlet spec. Humour me, part 2: verify the method signature of your servlet's init(). A small typo makes the difference between overload and override... Other than that, some details would be nice: Tomcat version, log messages, what have you... On an unrelated note: is there any reason you're using load-on-startup instead of lifecycle listeners? -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: Servlet won't run init()
Put the tags after the tags. - Original Message - From: "Phil Campaigne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 4:30 PM Subject: Servlet won't run init() > Hello, > I want a servlet to run its init() method when I start Tomcat. I put > the following entry in web.xml but that doesn't do it: > > PgConnectionPoolServlet > PgConnectionPoolServlet > > com.op.reporter_manager.PgConnectionPoolServlet > 1 > > debug > 5 > > > > > > PgConnectionPoolServlet > /PgConnectionPoolServlet > > > * > I will appreciate any ideas on how to fix it? > thanks, > Phil > > > - > 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]
Mark Sutton/LDN/FIMAT is out of the office.
I will be out of the office starting 19/02/2004 and will not return until 23/02/2004. I am out of the office on 19 & 20 Feb 2004. In my absence please contact Conroy Pretorius. Mark *** The e-mail and any attachments are confidential. They may contain privileged information and are intended for the named addressee(s) only. If you are not the intended recipient, please notify us immediately and do not disclose, distribute, or retain this e-mail or any part of it. Unless expressly stated, opinions in this e-mail are those of the individual sender and not of the FIMAT Group. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking. The FIMAT Group reserve the right to monitor e-mail communications through its networks. Where this communication constitutes a financial promotion it is issued and approved by Fimat International Banque S.A. (UK Branch) and is only intended for persons of a kind described in article 19(5) of the Financial Services and Markets Act 2000 (Financial Promotion) Order 2001. This information is not intended to be distributed to UK "Private Customers" (as defined by the Financial Services Authority). Fimat International Banque S.A. (UK Branch) whose registered branch in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised by the Commission Bancaire in France and by the UK Financial Services Authority; regulated by the Financial Services Authority for the conduct of UK Business and is entered in the Financial Services Authority's register (Register Number 183415), access to which can be gained via the following link: www.fsa.gov.uk/register/ Member and a SETS Participant of the London Stock Exchange ("LSE"). Where this communication is confirming an "on exchange" transaction (as defined by the LSE),the transaction is subject to the rules of the LSE. Any information, opinions, estimates and forecasts contained in this document have been arrived at or obtained from public sources believed to be reliable and in good faith which has not been independently verified and no warranty, express or implied, is made as to their accuracy, completeness or correctness. This document is not an offer to sell or a solicitation to acquire or dispose of an interest in financial instruments. If you have received this transmission in error, please telephone +44 020 7676 8999 immediately so that we can arrange for its return. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 4 or 5 and SOAP
I'm using Apache SOAP 2.3.1 here is the error when I put the following adress "http://localhost:8080/soap/servlet/rpcrouter"; Etat HTTP 500 - --- - type Rapport d'exception message description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête. exception javax.servlet.ServletException: "Servlet.init()" pour la servlet rpcrouter a généré une exception org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:164) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:828) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Connection(Http11Protocol.java:700) org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:584) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) cause mère java.lang.NoClassDefFoundError: javax/mail/MessagingException org.apache.soap.server.http.RPCRouterServlet.init (RPCRouterServlet.java:239) javax.servlet.GenericServlet.init(GenericServlet.java:256) org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:164) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:828) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process Connection(Http11Protocol.java:700) org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:584) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) - Original Message - From: "Yiannis Mavroukakis" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 11:12 AM Subject: RE: Tomcat 4 or 5 and SOAP > Mind sharing some more information :) Which SOAP engine are you using? Axis? > What kind of problems are you getting? I am running Axis on Tomcat4 without > any issues. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
CGI Help Needed
Hey, I'm trying to get a CGI based application to work (ViewCVS) and it's not working for whatever reason. I followed the directions on the website to enable CGI support (renamed the file and changed the conf/web.xml). I was originally getting an error where the CGI couldn't be found. It was in my cgi-bin folder, so I changed the cgiPathPrefix in conf/web.xml to cgi-bin and it seems to have worked. Unfortunately, I'm getting a blank page when I load the cgi. I know that the cgi works because I've tested it with it's standalone server, but I want it to work with Tomcat. Any help is greatly appreciated. Thanks, --keith.
Re: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
by doing a system.loadlibrary, you are using the native drivers. this call should not be needed at all if you are using the thin driver, which is a pure java (type 4) driver. you should be able to connect to the database using the thin driver in the following way Driver d = (Driver)Class.forName("oracle.jdbc.OracleDriver").newInstance(); DriverManager.registerDriver(d) ; String connectionStr = "jdbc:oracle:thin:@192.168.0.25:1521:oradb" java.sql.Connection conn = DriverManager.getConnection(connectionStr,user,pass) that's it. no loadLibrary call should be needed at all. apu On Wed, 18 Feb 2004 16:14:25 -0500 blais <[EMAIL PROTECTED]> wrote: > Thanks again Apu. > > Here is my core dump since i've removed the database configuration > from the web admin tool. > > > HTTP Status 500 - > > - > --- > > *type* Exception report > > *message* > > *description* _The server encountered an internal error () that > prevented it from fulfilling this request._ > > *exception* > > javax.servlet.ServletException: Servlet execution threw an exception > filters.ExampleFilter.doFilter(ExampleFilter.java:149) > > *root cause* > > java.lang.UnsatisfiedLinkError: no ojdbc14 in java.library.path > java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) > java.lang.Runtime.loadLibrary0(Runtime.java:788) > java.lang.System.loadLibrary(System.java:834) > HelloWorldExample.doGet(HelloWorldExample.java:65) > javax.servlet.http.HttpServlet.service(HttpServlet.java:743) > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > filters.ExampleFilter.doFilter(ExampleFilter.java:149) > > *note* _The full stack trace of the root cause is available in the > Tomcat logs._ > > > > Note that this is going through apache. The java command which is > causing this error is *System.loadLibrary("ojdbc14")*. in my > servlet. Apparently if this call works, then registering an Oracle > driver with *DriverManager.registerDriver(new > oracle.jdbc.driver.OracleDriver()); *will also work. When this error > is received, nothing hangs at all. Thanks again for your help Apu, > you're god send! > > > Cheers, > -jeremie > > > Apu Shah wrote: > > >i did not have to add any database connections under the tomcat web > >admin tool. > > > >catalina.properties remains the same. > > > >is there a stack trace with an exception in any logs? (ClassNotFound > >or any other such exceptions) > > > >could you also describe what symptoms you are seeing? does the app > >hang or does it return an error or are you not seeing database > >updates > > > >apu > > > >On Wed, 18 Feb 2004 13:46:21 -0500 > >blais <[EMAIL PROTECTED]> wrote: > > > > > > > >>Thanks Apu, > >> > >>I am using the thin client and it's still not working. I've put > >>ojdbc14 in common/lib and still nothing. Did you have to add a > >>database connection under the tomcat web administration tool ? And > >if>you did, did you include a path to your ojdbc.jar file? > >> > >>I'm also wondering if maybe the catalina.properties file should be > >>changed or if it should stay the same. > >> > >>Kind Regards, > >>Jeremie > >> > >>Apu Shah wrote: > >> > >> > >> > >>>i have multiple webapps connecting to oracle within the same tomcat > >>>instance. > >>> > >>>removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping > >>>only one copy of ojdbc14.jar in common/lib works for me on tomcat > >5. >> > >>>if you are connecting via oci drivers, make sure that your > >>>LD_LIBRARY_PATH points to your oracle home. i've added the > >following>>in my catalina.sh startup file: > >>> > >>>export ORACLE_BASE=/usr/local/oracle > >>>export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 > >>>export ORACLE_TERM=xterm > >>>export NLS_LANG=AMERICAN; > >>>export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data > >>>export > >>>LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdb > >c/>>lib:/ > >>>lib:/usr/lib:/usr/local/lib > >>> > >>>if you're using thin drivers, this should not be required. > >>> > >>>apu > >>> > >>>On Wed, 18 Feb 2004 12:59:41 -0500 > >>>blais <[EMAIL PROTECTED]> wrote: > >>> > >>> > >>> > >>> > >>> > Hey All. > > I've been trying to write a servlet that uses a jdbc driver to > > > >>>connect> > >>> > >>> > to a remote Oracle server. I've manage to compile my own > >standalone>>>app to connect to the DB. I included the ojdbc14.jar in > >my>>> > > >>>classpath>and everything seemed to work fine. I can't seem to get > >>>the same code>to work in a servlet with tomcat 5, and I'm pretty > >sure>>it's because>tomcat does not know where ojdbc14.jar is. I've > >put it>>in server/lib>and /bin and common/lib, but to no avail. > >Using the>>web tool, I've>added the ojdbc14.jar file with multiple > >paths and>>i've still got>no
Server ip address
Hi, I'm new to this list, so I apologize if this question has been asked a thousand times. I'm trying to get Tomcat to listen on a specific IP address since there are 2 network adapters on my server. How do I do this ? --- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp error
Mano, Sorry for the delay. Beans and Struts is something that I haven't touched yet. There was a thread I was involved in on servlets that could only be accessed when going thru Apache. It turned out to be a configuration issue on the mappings in the web.xml . There is a section on configuration on Struts at: http://jakarta.apache.org/struts/userGuide/building_controller.html#config And there are some mapping that have to be done for the initial setup. I did run across this at: http://jakarta.apache.org/struts/api/org/apache/struts/taglib/bean/package-summary.html#package_description You must use to introduce a reference to an existing bean, if you wish to reference that bean with other standard JSP tags (such as or ). At this point all I can do is refer you back to the list. Anyone else?? Doug - Original Message - From: "xavier manohar" <[EMAIL PROTECTED]> To: "Parsons Technical Services" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 3:10 PM Subject: Re: re :jsp error > This is the code > jsp is stored in root directory > > > > > class file is stored classes in web inf of the root directory > name.class > public class Name > { > private String uname; > public Name() > { > uname=null; > } > public void setUname(String uname) > { > this.uname=uname; > } > public String getUname() > { > return uname; > } > } > mano > Parsons Technical Services <[EMAIL PROTECTED]> wrote: > This gives clarification that you are accessing the servers as expected. > > Post the syntax of the line in the jsp that calls the class. > Post where this class is stored. > > > - Original Message - > From: "xavier manohar" > > To: "Parsons Technical Services" > > Sent: Wednesday, February 18, 2004 2:49 PM > Subject: Re: re :jsp error > > > > Hello Doug , > > I am using the default port for tomcat > http://localhost:8080/.default directory is root.for apache I am using port > 80 the default port number > > can this add any thing to the question > > mano > > > > > > Parsons Technical Services > wrote: > > Apache > > http://localhost/myapp/mypage.jsp > > http://xxx.xxx.xxx.xxx/myapp/mypage.jsp > > If application is in root: > > http://localhost/mypage.jsp > > http://xxx.xxx.xxx.xxx/mypage.jsp > > > > > > Tomcat > > http://localhost:8080/myapp/mypage.jsp > > http://xxx.xxx.xxx.xxx:/myapp/mypage.jsp > > If application is in root: > > http://localhost:8080/mypage.jsp > > http://xxx.xxx.xxx.xxx:/mypage.jsp > > > > xxx.xxx.xxx.xxx is IP of machine that is running Tomcat or Apache > > is port that Tomcat is listening on. 8080 is default. > > myapp is the name of your application. Not needed if app is running in > root > > context. > > mypage is the name of the page you are trying to load. > > > > Okay list, did I get all of this right?? > > > > To get to my server I use http://172.16.1.1:8080/golf > > This loads the index page. > > http://172.16.1.1:8080/golf/scores.jsp loads the scores jsp page. > > I am running Tomcat on the default port. > > > > Doug > > > > - Original Message - > > From: "xavier manohar" > > > > To: > > > > Sent: Wednesday, February 18, 2004 2:18 PM > > Subject: re :jsp error > > > > > > > Hello Doug, > > > I don't know what the url u mean .pls let me know some > > example. > > > mano > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, > > services, tools and more. > > > > > > Yahoo! India Insurance Special: Be informed on the best policies, > services, tools and more. > > > Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Server ip address
http://jakarta.apache.org/tomcat/faq/misc.html#ip http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html - Original Message - From: "Eric VERGNAUD" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, February 18, 2004 9:35 PM Subject: Server ip address > Hi, I'm new to this list, so I apologize if this question has been asked a > thousand times. > > I'm trying to get Tomcat to listen on a specific IP address since there are > 2 network adapters on my server. > > How do I do this ? > > --- > Eric VERGNAUD - JLynx Software > Cutting-edge technologies and > services for software companies > web: http://www.jlynx.com > --- > > > - > 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: Server ip address
le 19/02/04 4:00, Parsons Technical Services à [EMAIL PROTECTED] a écrit : > http://jakarta.apache.org/tomcat/faq/misc.html#ip > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html > Thanks --- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no ojdbc14 in java.library.path, Help I'm stuck trying to write this servlet!
Thanks Apu, It seems that having a jdbc connection in the web admin tool creates more of a problem. I've removed all web connections and it seems to work. Thanks again Apu, I really appreciate it! Regards, -Jeremie Apu Shah wrote: by doing a system.loadlibrary, you are using the native drivers. this call should not be needed at all if you are using the thin driver, which is a pure java (type 4) driver. you should be able to connect to the database using the thin driver in the following way Driver d = (Driver)Class.forName("oracle.jdbc.OracleDriver").newInstance(); DriverManager.registerDriver(d) ; String connectionStr = "jdbc:oracle:thin:@192.168.0.25:1521:oradb" java.sql.Connection conn = DriverManager.getConnection(connectionStr,user,pass) that's it. no loadLibrary call should be needed at all. apu On Wed, 18 Feb 2004 16:14:25 -0500 blais <[EMAIL PROTECTED]> wrote: Thanks again Apu. Here is my core dump since i've removed the database configuration from the web admin tool. HTTP Status 500 - - --- *type* Exception report *message* *description* _The server encountered an internal error () that prevented it from fulfilling this request._ *exception* javax.servlet.ServletException: Servlet execution threw an exception filters.ExampleFilter.doFilter(ExampleFilter.java:149) *root cause* java.lang.UnsatisfiedLinkError: no ojdbc14 in java.library.path java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) java.lang.Runtime.loadLibrary0(Runtime.java:788) java.lang.System.loadLibrary(System.java:834) HelloWorldExample.doGet(HelloWorldExample.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) filters.ExampleFilter.doFilter(ExampleFilter.java:149) *note* _The full stack trace of the root cause is available in the Tomcat logs._ Note that this is going through apache. The java command which is causing this error is *System.loadLibrary("ojdbc14")*. in my servlet. Apparently if this call works, then registering an Oracle driver with *DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); *will also work. When this error is received, nothing hangs at all. Thanks again for your help Apu, you're god send! Cheers, -jeremie Apu Shah wrote: i did not have to add any database connections under the tomcat web admin tool. catalina.properties remains the same. is there a stack trace with an exception in any logs? (ClassNotFound or any other such exceptions) could you also describe what symptoms you are seeing? does the app hang or does it return an error or are you not seeing database updates apu On Wed, 18 Feb 2004 13:46:21 -0500 blais <[EMAIL PROTECTED]> wrote: Thanks Apu, I am using the thin client and it's still not working. I've put ojdbc14 in common/lib and still nothing. Did you have to add a database connection under the tomcat web administration tool ? And if>you did, did you include a path to your ojdbc.jar file? I'm also wondering if maybe the catalina.properties file should be changed or if it should stay the same. Kind Regards, Jeremie Apu Shah wrote: i have multiple webapps connecting to oracle within the same tomcat instance. removing ojdbc14.jar from all the webapps WEB-INF/lib and keeping only one copy of ojdbc14.jar in common/lib works for me on tomcat 5. >> if you are connecting via oci drivers, make sure that your LD_LIBRARY_PATH points to your oracle home. i've added the following>>in my catalina.sh startup file: export ORACLE_BASE=/usr/local/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export ORACLE_TERM=xterm export NLS_LANG=AMERICAN; export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/jdb c/>>lib:/ lib:/usr/lib:/usr/local/lib if you're using thin drivers, this should not be required. apu On Wed, 18 Feb 2004 12:59:41 -0500 blais <[EMAIL PROTECTED]> wrote: Hey All. I've been trying to write a servlet that uses a jdbc driver to connect> to a remote Oracle server. I've manage to compile my own standalone>>>app to connect to the DB. I included the ojdbc14.jar in my>>> classpath>and everything seemed to work fine. I can't seem to get the same code>to work in a servlet with tomcat 5, and I'm pretty sure>>it's because>tomcat does not know where ojdbc14.jar is. I've put it>>in server/lib>and /bin and common/lib, but to no avail. Using the>>web tool, I've>added the ojdbc14.jar file with multiple paths and>>i've still got>nothing. Any help would be appreciates. I'm running this on Linu
URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0
Hello, I use Tomcat 4.1.27 and Apache 1.3. I want a request to mywebsite.com/123456 to be mapped to mywebsite.com/website/index.jsp?id=123456 In Apache 1.3 with Tomcat, I accomplished this with the following rewrite rule: RewriteRule ^/([0-9]+)/?$ /website/index.jsp?id=$1 [P] However, this rule does not seem to be working with the Apache 2.0 series and Tomcat. I get a 404 error that the page cannot be found. The only way that I can get this rule to even come close, is by using the following: RewriteRule ^/([0-9]+)/?$ http://www.mywebsite.com/website/index.jsp?id=$1 [L,R] This of course forces it to do an external redirect, and requires another request from the client, and ends up rewriting the URL in the client's browser. Does anyone know how to make the first rule work as an internal server-side redirect with Apache 2.0 and Tomcat, so that the client only has to make one request, and the true page is hidden from them? Thanks! -Raiden Johnson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: One user seeing another user's data
Hello Antonio, Kal and All, Thanks for your suggestions and hints. Regards, Kuloth --- Kal Govindu <[EMAIL PROTECTED]> wrote: > We had this problem on our first JSP application. > One of the things we > had to fix it was to remove all variable definitions > from <%!...%> and > move them to <%...%>. > > Kal > > -Original Message- > From: Antonio Fiol Bonnin > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 17, 2004 2:17 AM > To: Tomcat Users List > Subject: Re: One user seeing another user's data > > > Hi Kuloth, > > Seatch Tomcat-user for "concurrency problems" or > "threading issues". > There has been recent discussion on the topic. > > Concurrency problems are the main source of session > mix-up. Also look > for "instance variables" (hint: avoid them in > Servlets) > > Antonio Fiol > > > > Anbu wrote: > > >Hello Bill and All, > > > >Could any one of you throw some light on a problem > that I am facing on > Apache 1.3.28/Mod-jk 1.2.0/Tomcat 4.0.6 setup? > > > >The problem is that an user could see someother > user's data (some kind > of session mix up). When I searched the tomcat-dev > list I found that > Bill had replied that the problem could be related > to error handling and > it is not a synchorinazation problem. > > > >Bill, as you have already seen and analyized this > issue, could you > please help me on this issue ? > > > > > >Thank you all in advance. > > > >Regards, > >Kuloth > > > > > > > > CONFIDENTIALITY NOTE: All e-mail sent to or from > this address will be received by the Waterfield > Group corporate e-mail system and is subject to > archival, monitoring, and/or review by someone other > than the recipient or the sender. > > This e-mail and any of its attachments may contain > proprietary information, which is privileged and > confidential. This e-mail is intended solely for > the use of the individual or entity to which it is > addressed. If you are not the intended recipient of > this e-mail, you are hereby notified that any > dissemination, distribution, copying, or action > taken in relation to the contents of and attachments > to this e-mail is strictly prohibited and may be > unlawful. If you have received this e-mail in > error, please notify the sender immediately and > permanently delete the original and any copy of this > e-mail and any printout. Thank you. > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
setting keepalive timeout in tomcat??
I'm building a middleware component accepting requests from 2-4 instances of a frontend through a load balancer then relaying the requests to a backend, then returning the response back to the frontend servers. I've load tested with Jmeter and have noticed that the first requests from each thread takes substantially longer than subsequent requests. How can I set the keepalive timeout in Tomcat to a greater value? The keepalive timeout only works from requests from the same ip address. If this is correct, how can I utilized the keepalive timeout more effectively for requests coming from the multiple instances of the frontend? Would sticky sessions be the way to go? Thx Tom - Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.
Reg Form Authentication
Hi All, I am using FORM authentication for my web pages. I have no problems in authenticating a user during login where the flow would be like Secured page > Login Screen > Authentication via form ---> Secured Page on success. Now i have another page where a user can sign in. In this case, when i do a form submit of the user creation page, my secured page should be brought up, without going to the login screen. i.e, the user should be considered as authenticated. How can i do this. Thanks Shanmugam PL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]