Re: 5.5.x JDBCRealm problem - wasn't this fixed?
On Sun, 27 Mar 2005 16:57:53 -0800, Michael Mehrle [EMAIL PROTECTED] wrote: Sorry for reposting this, but I'm really desperate - anyone?? In 5.5.9 (see the changelog). We recommend using the data source realm, BTW, which does everything much better. I just switched from 5.0.28 to 5.5.8 on my Fedora server. The app works fine but after some inactivity of approx 7 hours I try to log in and get the following error: at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) [tdx] WARN [http-8080-Processor23] JDBCRealm.getPassword(555) | Exception retrieving password for molecool If I recycle tomcat it works fine and as long as I keep hitting the server I don't get this problem. However, if I am gone for a few hours and come back I encounter this problem. Now, I did some digging online and others have encountered this as well. But I was under the impression that this bug was fixed and that 5.5.8 wasn't leaking connections anymore. Just for sh...ts and giggles I tried 5.5.7 and it's got the same problem. Here's my cofiguration: Context path= docBase=ROOT debug=99 reloadable=true antiJARLocking=true antiResourceLocking=true Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=@DB-DRIVERNAME@ connectionURL=@DB-URL@ connectionName=@DB-USERNAME@ connectionPassword=@DB-PASSWORD@ userTable=app_user userNameCol=username userCredCol=password userRoleTable=user_role roleNameCol=role_name / Resource name=jdbc/tdx auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 driverClassName=@DB-DRIVERNAME@ username=@DB-USERNAME@ password=@DB-PASSWORD@ url=@DB-URL@ defaultAutoCommit=true removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true/ /Context I would really appreciate some help here. There appears to be some jakarta-.jar file that fixes this, but I was unable to dig it up. I also tried to get tomcat out of cvs, but the build process seems to be more than I can handle at this point (missing references). This site needs to be up and running by Tuesday - ANY pointers would be very welcome ;-) Michael -- 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]
Simulating SilverStream setEnableHistoryFixup() API
Hi all, We are working on migration of web-based application from SilverStream application server to Tomcat. There is a SilverStream specific call setEnableHistoryFixup() which is used to fixup browser history. For details refer to 'Controlling Browser History' section of the link: http://www.novell.com/documentation/extendas35/docs/help/books/pgPageAdvanced.html We are facing following problem in the web-application. Some of our pages get cached in Netscape version 7.0, though we have set the response-headers: 'Cache-control' to 'no-cache' and 'Pragma' to 'no-cache'. It seems the above problem gets solved in SilverSteam application server after using setEnableHistoryFixup(false). We want to simulate the similar functionality either using Java code or using Java-Script. Does anyone have any idea on how we can simulate setEnableHistoryFixup() functionality using Java/JavaScript? Does Tomcat provide any similar functionality? Pointers/any help would really be appreciated. Regards, ~Kanchan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [SPAM_EMAIL] - Simulating SilverStream setEnableHistoryFixup() API - Email has different SMTP TO: and MIME TO: fields in the email addresses
Hi , I faced this problem , As immediate solution i provided work around in which in every send redirect or form submit get a renadom number and add in query string. In which way ur page will not cached And with tomcat i tried with changing all setting but it still refer cache. :( Pradeep -Original Message- From: Kanchan Deshpande [mailto:[EMAIL PROTECTED] Sent: 28.03.2005 02:16 PM To: tomcat-user@jakarta.apache.org Subject: [SPAM_EMAIL] - Simulating SilverStream setEnableHistoryFixup() API - Email has different SMTP TO: and MIME TO: fields in the email addresses Hi all, We are working on migration of web-based application from SilverStream application server to Tomcat. There is a SilverStream specific call setEnableHistoryFixup() which is used to fixup browser history. For details refer to 'Controlling Browser History' section of the link: http://www.novell.com/documentation/extendas35/docs/help/books/pgPageAdvance d.html We are facing following problem in the web-application. Some of our pages get cached in Netscape version 7.0, though we have set the response-headers: 'Cache-control' to 'no-cache' and 'Pragma' to 'no-cache'. It seems the above problem gets solved in SilverSteam application server after using setEnableHistoryFixup(false). We want to simulate the similar functionality either using Java code or using Java-Script. Does anyone have any idea on how we can simulate setEnableHistoryFixup() functionality using Java/JavaScript? Does Tomcat provide any similar functionality? Pointers/any help would really be appreciated. Regards, ~Kanchan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message, including any attachments contains confidential and privileged information for the sole use of the intended recipient(s), and is protected by law. If you are not the intended recipient, please destroy all copies of the original message. Any unauthorized 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. Indus and R Systems International Ltd reserves the right to record, monitor, and inspect all email communications through its internal and external networks. Your messages shall be subject to such lawful supervision as Indus and R Systems International Ltd deems necessary in order to protect its information, interests and reputation. Indus and R Systems International Ltd prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Persistence manager ClassNotFoundException during deserialization
Although I am getting a different stacktrace, I hope #19701 will solve my issue. Thanks for spending your valuable time for me. On Tue, 22 Mar 2005 20:27:45 +, Mark Thomas [EMAIL PROTECTED] wrote: It is only a guess but it looks like you have hit http://issues.apache.org/bugzilla/show_bug.cgi?id=19701 This was fixed in the 4.1.31 release Mark Antony Paul wrote: I need to have a bug registered for this as I could convince my manager. I searched bugzilla but could'nt find one. If anyone know the relevant bug# please post it or shall I post a bug report and any one close it immediately ?. On Wed, 9 Mar 2005 15:05:13 +0530, Antony Paul [EMAIL PROTECTED] wrote: It is working in 4.1.31. Thanks for the help rgds Antony Paul On Tue, 08 Mar 2005 22:52:50 +, Mark Thomas [EMAIL PROTECTED] wrote: What happens on 4.1.31? Mark Antony Paul wrote: I created a sample application and is available at http://geocities.com/antonypaul24/web.html . Any one can download it and test. rgds Antony Paul On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul [EMAIL PROTECTED] wrote: I am waiting for some knowledgeable person to answer my questions. Meanwhile I will write a test application, download Tomcat source code and try to debug the problem. rgds Antony Paul On Mon, 7 Mar 2005 18:30:47 +0530, Antony Paul [EMAIL PROTECTED] wrote: Hi all, I am getting ClassNotFoundException when deserialising arrays/Lists stored in session. It have no problem with normal objects but have error when it is made an array or List. The set up is Tomcat 4.1.12 standalone. Sun J2SE 1.4.2_04. Using Filestore persistent manager which is set in example config. The full stack trace is given below from catalina.out. 2005-03-07 18:22:23 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.IllegalStateException: Error deserializing Session 8D30D6F68AA046F5DEB574FCA3C8E06F: java.lang.ClassNotFoundException: [Lmd.edrugstore.model.AuthenticatedWebUser; at org.apache.catalina.session.PersistentManagerBase.swapIn(PersistentManagerBase.java:717) at org.apache.catalina.session.PersistentManagerBase.findSession(PersistentManagerBase.java:593) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(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.invokeNext(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:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:534) rgds Antony Paul - 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] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- rgds Antony Paul http://www.geocities.com/antonypaul24/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Facing problem with implementation of DBCP
Hi All, Iam facing problem with DBCP implementation from last one week.I followed all the instructions which are mentioned in the documentation section,but i could not implement it. When i run the Program which is involving DBCP, is showing the following error: java.sql.SQLException: Cannot load JDBC driver class 'null' . Normal JDBC Programs are working fine.I placed all the three jar files and Jdbc Driver(Mysql Connector) in $CATALINA_HOME/common/lib folder.(commons-collections.jar,commons-dbcp.jar, commons-pool.jar and mysql-connector-java-3.1.7-bin.jar) The configuration which iam using is: Linux Operating System (Redhat v 8.0) Mysql(v 3.23) Mysql Connector(3.1.7) Tomcat 4.1.24 J2sdk 1.4.1 I will be very glad to you,if you can assist me in resolving this issue. -- Ajay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: [SPAM_EMAIL] - Simulating SilverStream setEnableHistoryFixup() API - Email has different SMTP TO: and MIME TO: fields in the email addresses
This kind of history fixup would be very helpfull for our project too... Have you already tried to get the related SilverStream javascript code? -Mensagem original- De: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Enviada em: segunda-feira, 28 de março de 2005 05:54 Para: Tomcat Users List; Kanchan Deshpande Assunto: RE: [SPAM_EMAIL] - Simulating SilverStream setEnableHistoryFixup() API - Email has different SMTP TO: and MIME TO: fields in the email addresses Hi , I faced this problem , As immediate solution i provided work around in which in every send redirect or form submit get a renadom number and add in query string. In which way ur page will not cached And with tomcat i tried with changing all setting but it still refer cache. :( Pradeep -Original Message- From: Kanchan Deshpande [mailto:[EMAIL PROTECTED] Sent: 28.03.2005 02:16 PM To: tomcat-user@jakarta.apache.org Subject: [SPAM_EMAIL] - Simulating SilverStream setEnableHistoryFixup() API - Email has different SMTP TO: and MIME TO: fields in the email addresses Hi all, We are working on migration of web-based application from SilverStream application server to Tomcat. There is a SilverStream specific call setEnableHistoryFixup() which is used to fixup browser history. For details refer to 'Controlling Browser History' section of the link: http://www.novell.com/documentation/extendas35/docs/help/books/pgPageAdvance d.html We are facing following problem in the web-application. Some of our pages get cached in Netscape version 7.0, though we have set the response-headers: 'Cache-control' to 'no-cache' and 'Pragma' to 'no-cache'. It seems the above problem gets solved in SilverSteam application server after using setEnableHistoryFixup(false). We want to simulate the similar functionality either using Java code or using Java-Script. Does anyone have any idea on how we can simulate setEnableHistoryFixup() functionality using Java/JavaScript? Does Tomcat provide any similar functionality? Pointers/any help would really be appreciated. Regards, ~Kanchan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] DISCLAIMER: This message, including any attachments contains confidential and privileged information for the sole use of the intended recipient(s), and is protected by law. If you are not the intended recipient, please destroy all copies of the original message. Any unauthorized 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. Indus and R Systems International Ltd reserves the right to record, monitor, and inspect all email communications through its internal and external networks. Your messages shall be subject to such lawful supervision as Indus and R Systems International Ltd deems necessary in order to protect its information, interests and reputation. Indus and R Systems International Ltd prohibits and takes steps to prevent its information systems from being used to view, store or forward offensive or discriminatory material. - 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: Facing problem with implementation of DBCP
This is usually because of a mis-match in settings in one or more of your context.xml definition, your web.xml, and your JNDI lookup code. Check to be sure they are named consistently and properly configured. Also check your logs for any exceptions related to this. For further help, please post your configs, code, and any logged exceptions. --David ajay kumar wrote: Hi All, Iam facing problem with DBCP implementation from last one week.I followed all the instructions which are mentioned in the documentation section,but i could not implement it. When i run the Program which is involving DBCP, is showing the following error: java.sql.SQLException: Cannot load JDBC driver class 'null' . Normal JDBC Programs are working fine.I placed all the three jar files and Jdbc Driver(Mysql Connector) in $CATALINA_HOME/common/lib folder.(commons-collections.jar,commons-dbcp.jar, commons-pool.jar and mysql-connector-java-3.1.7-bin.jar) The configuration which iam using is: Linux Operating System (Redhat v 8.0) Mysql(v 3.23) Mysql Connector(3.1.7) Tomcat 4.1.24 J2sdk 1.4.1 I will be very glad to you,if you can assist me in resolving this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TC55 what server version of JDK
We are currently running Tomcat 4 on Solaris 8 using Java J2EE 1.4 SDK I have been asked to setup Tomcat 5.5 on Solarix 8 . When I installed it temporarily on my Windows server it requires Java 1.5 JRE. But I only find 1.5 JRE for J2SE not J2EE. How can I install TC55 on Solaris 8, I cannot find an enterprise version of Sun's JRE. Ned - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: TC55 what server version of JDK
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as TC55 what server version of JDK. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reload Class Does Not Kill Session in 5-5?
Hello, I am new at using the 5-5.7 Tomcat servlet engine, and I just noticed something unique from the older versions. If I update a class file, I can see that the class gets reloaded, but my session does not expire like in previous versions. So my question is, is this correct and if so, where is this configured, and if this is not proper behavior, then I have coded something bad. Thanks, Scott
AutoReply: Reload Class Does Not Kill Session in 5-5?
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as Reload Class Does Not Kill Session in 5-5?. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Admin application creates duplicate secure attribute in server.xml
Mike, unfortunately I'm only gotten better at restoring server.xml after it has been corrupted. You are the first person from the tomcat-user list to even confirm that the problem exits on other sites.. One consultant I consulted said that they had never heard of the problem, but that we were also the first site he had worked with that actually used the admin function actively, By the way, just for the record, not only the secure attribute, but also the protocol attribute is duplicated, right? And only on the SSL connector. Mike Dippold wrote: I just wanted to check to see if you have figured anything out with the tomcat admin ssl duplicate problem. I have tried it on 5.0.28 and also 5.5.7 and every time I change a datasource or anything else, it corrupts the xml. Thanks, Mike Dippold - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: Re: Admin application creates duplicate secure attribute in server.xml
Hello tomcat-user@jakarta.apache.org, This refers to your mail with subject as Re: Admin application creates duplicate secure attribute in server.xml. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
caching pattern
Im looking for an idea of how to setup a caching pattern? I left my tomcat book elsewhere and feel lost. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: caching pattern
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as caching pattern. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Deployment of webapplication in tomcat 5.5
Hi, I am trying to deploy a web application in my tomcat 5.5 which I am using https port. I am new to deployment of applications in Tomcat5.5. Can anybody help me here? Thanks Dushyanth __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: Deployment of webapplication in tomcat 5.5
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as Deployment of webapplication in tomcat 5.5. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.5.x JDBCRealm problem - wasn't this fixed?
Fixed indeed - I was up late yesterday and jumped on that 5.5.9 release like it was manna from heaven (best analogy I could think of - I'm not religious). Logged in this morning after a night of inactivity and everything seems to be working :-) Thanks for taking care of this, guys - please forward my regards to the person who fixed this. I also must point out that everything seems to be a bit snappier now - have there been any performance increases? I'm running an image gallery all through tomcat, so it's hosting *everything* - looks a lot faster than before. Good job. Michael - Original Message - From: Remy Maucherat [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, March 28, 2005 12:34 AM Subject: Re: 5.5.x JDBCRealm problem - wasn't this fixed? On Sun, 27 Mar 2005 16:57:53 -0800, Michael Mehrle [EMAIL PROTECTED] wrote: Sorry for reposting this, but I'm really desperate - anyone?? In 5.5.9 (see the changelog). We recommend using the data source realm, BTW, which does everything much better. I just switched from 5.0.28 to 5.5.8 on my Fedora server. The app works fine but after some inactivity of approx 7 hours I try to log in and get the following error: at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) [tdx] WARN [http-8080-Processor23] JDBCRealm.getPassword(555) | Exception retrieving password for molecool If I recycle tomcat it works fine and as long as I keep hitting the server I don't get this problem. However, if I am gone for a few hours and come back I encounter this problem. Now, I did some digging online and others have encountered this as well. But I was under the impression that this bug was fixed and that 5.5.8 wasn't leaking connections anymore. Just for sh...ts and giggles I tried 5.5.7 and it's got the same problem. Here's my cofiguration: Context path= docBase=ROOT debug=99 reloadable=true antiJARLocking=true antiResourceLocking=true Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=@DB-DRIVERNAME@ connectionURL=@DB-URL@ connectionName=@DB-USERNAME@ connectionPassword=@DB-PASSWORD@ userTable=app_user userNameCol=username userCredCol=password userRoleTable=user_role roleNameCol=role_name / Resource name=jdbc/tdx auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 driverClassName=@DB-DRIVERNAME@ username=@DB-USERNAME@ password=@DB-PASSWORD@ url=@DB-URL@ defaultAutoCommit=true removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true/ /Context I would really appreciate some help here. There appears to be some jakarta-.jar file that fixes this, but I was unable to dig it up. I also tried to get tomcat out of cvs, but the build process seems to be more than I can handle at this point (missing references). This site needs to be up and running by Tuesday - ANY pointers would be very welcome ;-) Michael -- 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: Re: 5.5.x JDBCRealm problem - wasn't this fixed?
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as Re: 5.5.x JDBCRealm problem - wasn't this fixed?. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TC55 what server version of JDK
The 1.5 (aka 5.0) JRE is the one you need. Tomcat does not require J2EE to be installed. Mark Ned La Celle wrote: We are currently running Tomcat 4 on Solaris 8 using Java J2EE 1.4 SDK I have been asked to setup Tomcat 5.5 on Solarix 8 . When I installed it temporarily on my Windows server it requires Java 1.5 JRE. But I only find 1.5 JRE for J2SE not J2EE. How can I install TC55 on Solaris 8, I cannot find an enterprise version of Sun's JRE. Ned - 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]
AutoReply: Re: TC55 what server version of JDK
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as Re: TC55 what server version of JDK. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Deployment of webapplication in tomcat 5.5
suryadevara dushyanth wrote: Hi, I am trying to deploy a web application in my tomcat 5.5 which I am using https port. I am new to deployment of applications in Tomcat5.5. Can anybody help me here? Yes. Reading the documentation would be a good place to start. Try http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html and http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html in particular. Thanks Dushyanth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AutoReply: Re: Deployment of webapplication in tomcat 5.5
Hello Tomcat Users List tomcat-user@jakarta.apache.org, This refers to your mail with subject as Re: Deployment of webapplication in tomcat 5.5. Thank you for sending your CV and registering with A.S. Consultancy Services. Our team will review your CV and match it against current requirements. If your profile matches with any ongoing opening, we will contact you by telephone / email. We recommend that you update your profile and send us an updated CV whenever your contact details or your career path changes, so that your record is up-to-date with us. Please be assured that your CV will remain confidential with us and we will submit your profile to our clients only after due consultation with you. In case you require any further information please do contact us. with warm regards, Staffing Team A.S. Consultancy Services #1205, 2nd Main, 2nd Cross, Vijayanagar, Bangalore - 560040, India Tele - 91 80 2310 9012, Telefax - 91 80 2330 5364, Email - [EMAIL PROTECTED] URL: www.asconsultancy.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TC55 what server version of JDK
Mark, Thanks for the response. But will the J2SE 1.5 JDK support the server functions like the J2EE 1.4 JDK ? Ned At 12:33 PM 3/28/2005, you wrote: The 1.5 (aka 5.0) JRE is the one you need. Tomcat does not require J2EE to be installed. Mark Ned La Celle wrote: We are currently running Tomcat 4 on Solaris 8 using Java J2EE 1.4 SDK I have been asked to setup Tomcat 5.5 on Solarix 8 . When I installed it temporarily on my Windows server it requires Java 1.5 JRE. But I only find 1.5 JRE for J2SE not J2EE. How can I install TC55 on Solaris 8, I cannot find an enterprise version of Sun's JRE. Ned - 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] Thanks :-) Ned B. La Celle --- The honey bee is the only insect that produces food eaten by man. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TC55 what server version of JDK
J2EE 1.4 can be thought of as just another library. It should work happily with a 1.5/5.0 JRE. Mark Ned La Celle wrote: Mark, Thanks for the response. But will the J2SE 1.5 JDK support the server functions like the J2EE 1.4 JDK ? Ned At 12:33 PM 3/28/2005, you wrote: The 1.5 (aka 5.0) JRE is the one you need. Tomcat does not require J2EE to be installed. Mark Ned La Celle wrote: We are currently running Tomcat 4 on Solaris 8 using Java J2EE 1.4 SDK I have been asked to setup Tomcat 5.5 on Solarix 8 . When I installed it temporarily on my Windows server it requires Java 1.5 JRE. But I only find 1.5 JRE for J2SE not J2EE. How can I install TC55 on Solaris 8, I cannot find an enterprise version of Sun's JRE. Ned - 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] Thanks :-) Ned B. La Celle --- The honey bee is the only insect that produces food eaten by man. - 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: unauthenticated 304s - final try
Mark Leone sez: It's still worth investigating IMO. One could argue that returning to an unauthorized client even the info that a resource has not changed since an authenticated request was returned successfully violates the authentication protection. that's pretty much what *i* thought, anyway... This may have more to do with the server's authentication requirements than the HTTP spec. Does anyone know if the Servlet spec addresses this? from the 2.4 Servlet spec: If the user is authenticated using form login and has created an HTTP session, the timeout or invalidation of that session leads to the user being logged out in the sense that subsequent requests must cause the user to be re-authenticated. seems fairly straightforward to me. i agree that the HTTP spec is less than optimally clear, and that this isn't a huge issue - it's just that it excercises a MSIE6 misfeature that html pages are cached, but included .js .css files are not, resulting in the display of ugly broken pages when this happens. --alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Applyihg patch to Jakarta-tomcat-5.5.8
Hi All, I am trying to install tomcat 5.5.8 to my Linux 9.0 According to installation procedure I should apply patch jakarta-tomcat-5.5.8-compat.tar to the file jakarta-tomcat-5.5.8 (after untaring from jakarta-tomcat-5.5.8.tar.gz) Does anybody know how to do it. I untarred the jakarta-tomcat-5.5.8.tar.gz file which created a directory jakarta-tomcat-5.5.8. But after that when I apply command like patch jakarta-tomcat-5.5.8 jakarta-tomcat-5.5.8-compat.tar or patch jakarta-tomcat-5.5.8-compat it simply hangs and does nothing. Can anyone please guide me about applying patch. Thanks for the help in advance. Biranchi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Applyihg patch to Jakarta-tomcat-5.5.8
On Mon, 28 Mar 2005 12:19:37 -0800, biranchi rout [EMAIL PROTECTED] wrote: Hi All, I am trying to install tomcat 5.5.8 to my Linux 9.0 According to installation procedure I should apply patch jakarta-tomcat-5.5.8-compat.tar to the file jakarta-tomcat-5.5.8 (after untaring from jakarta-tomcat-5.5.8.tar.gz) Does anybody know how to do it. Patch isn't quite the right term, just untar jakarta-tomcat-5.5.8-compat.tar the same as you did jakarta-tomcat-5.5.8.tar.gz except you don't need to decompress it so just use: tar -xvf jakarta-tomcat-5.5.8-compat.tar Regards, -- Jason Bainbridge http://kde.org - [EMAIL PROTECTED] Personal Site - http://jasonbainbridge.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 5.5.x JDBCRealm problem - wasn't this fixed?
On Mon, 28 Mar 2005 09:28:24 -0800, Michael Mehrle [EMAIL PROTECTED] wrote: Fixed indeed - I was up late yesterday and jumped on that 5.5.9 release like it was manna from heaven (best analogy I could think of - I'm not religious). Logged in this morning after a night of inactivity and everything seems to be working :-) Good. Thanks for taking care of this, guys - please forward my regards to the person who fixed this. I also must point out that everything seems to be a bit snappier now - have there been any performance increases? I'm running an image gallery all through tomcat, so it's hosting *everything* - looks a lot faster than before. Good job. There were no performance improvements since 5.5.4, so Ithere should not be any difference with the new build. -- 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: Re: unauthenticated 304s - final try
I see. You're relying on the server's proper implementation of session timeout behavior to force IE to reload a page that hasn't changed, since IE doesn't save all the components of the page. when it caches it. I think your excerpt from the servlet spec is pretty clear, and probably the best recourse for requesting a fix to Tomcat. I think that it's not really a matter of clarity wrt the http spec. It just specifies how a server requests authorization credentials when it wants them, but it's up to the server to decide under what circumstances it wants them. In other words, if 304 is the wrong status in the circumstance you describe, then the only other possible right answer is 401. But the semantics for status 401 just say, in effect, the server sends 401 when it decides it wants authorization credentials. So it's really the server (i.e. servlet) spec that's being violated here, IMO, not HTTP. -Mark From: alexander dosher [EMAIL PROTECTED] Date: 2005/03/28 Mon PM 01:47:34 EST To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: unauthenticated 304s - final try Mark Leone sez: It's still worth investigating IMO. One could argue that returning to an unauthorized client even the info that a resource has not changed since an authenticated request was returned successfully violates the authentication protection. that's pretty much what *i* thought, anyway... This may have more to do with the server's authentication requirements than the HTTP spec. Does anyone know if the Servlet spec addresses this? from the 2.4 Servlet spec: If the user is authenticated using form login and has created an HTTP session, the timeout or invalidation of that session leads to the user being logged out in the sense that subsequent requests must cause the user to be re-authenticated. seems fairly straightforward to me. i agree that the HTTP spec is less than optimally clear, and that this isn't a huge issue - it's just that it excercises a MSIE6 misfeature that html pages are cached, but included .js .css files are not, resulting in the display of ugly broken pages when this happens. --alex. - 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]
is there an already build of apache+jk+tomcat bundle available
hi to all i ad a problem naming my server mycompany.exemple.somting so i mooved to a .org same bug if i use mysite.org as server name tomcat simply dosent anwser so im wondering if there is a bundle containing apache+jk+tomcat somwere [EMAIL PROTECTED] administrateur http://monteregiechat.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 4.1.29 and WAR context settings
Greetings, I am using Tomcat 4.1.29 and trying to deploy a WAR named meridian.war with context configuration values. The WAR is not unpacking and I keep getting the following error... java.lang.NullPointerException at java.io.File.init(File.java:180) at org.apache.catalina.core.StandardContext.getBasePath(StandardContext.java:3902) at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3344) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3474) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardHost.start(StandardHost.java:754) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) My server.xml configuration is as follows (minus passwords and sensitive stuff): Server port=18006 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.catalina.connector.http.HttpConnector port=18081 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=6/ Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Engine name=Standalone defaultHost=localhost debug=0 Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt timestamp=true/ Host name=localhost debug=0 appBase=D:\java\projects\meridian\dist\war autoDeploy=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_log. suffix=.txt timestamp=true/ Realm className=com.plumcreek.commons.security.ReverseProxyRealm / Context path=/meridian debug=0 reloadable=true crossContext=false Resource name=jdbc/as400 auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/as400 parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter parameter namedriverClassName/name valuecom.ibm.as400.access.AS400JDBCDriver/value /parameter parameter nameurl/name valuejdbc:as400://some.place.net;naming=system/value /parameter parameter nameusername/name valuesomeusername/value /parameter parameter namepassword/name valuesomepassword/value /parameter parameter namemaxActive/name value10/value /parameter parameter namemaxIdle/name value5/value /parameter parameter namemaxWait/name value-1/value /parameter /ResourceParams /Context /Host /Engine /Service /Server Any help would be appreciated. Thanks Brandon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
BASIC Authentication for Custom Realm
Hi All, I am trying to write a custom realm for my web application. I have added the realm in the sever.xml file as below: Realm className=com.web.tomcat.security.CustomRealm debug=0/ and I had the following entries in my web.xml file. security-constraint web-resource-collection web-resource-namewebfiles/web-resource-name url-pattern/*/url-pattern /web-resource-collection auth-constraint role-nameeveryone/role-name /auth-constraint /security-constraint login-config auth-methodBASIC/auth-method realm-nameCustomRealm/realm-name /login-config security-role role-nameeveryone/role-name /security-role When I access a page in my app, I'm expecting to get a Login Dialog box that's provided by the web browser. But it doesn't happen, when I try to access a web page. If I remove my custom realm entry in the server.xml, the login dialog appears. Has the appearance of the Login Dialog got to do anything with the Realm? Can someone please let me know what's going wrong here? Thanks, Kalyan.
Tomcat 4.1.17 with Jrockit JVM does not allow to install with a Windows Service
Hello, I am trying to use the BEA 1.4.2 JVM with Tomcat 4.1.17 to start as a NT service but it fails to even recognize the BEA JDK Kit . As anyone faced this problem i would appreciate if you can share the information a solution to fix this problem. Thanks Chandra - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: caching pattern
On Mon, Mar 28, 2005 at 04:47:30PM +, Didier McGillis wrote: : Im looking for an idea of how to setup a caching pattern? That's awful vague ;) What sort of caching? Content, data, other? Depending on what you're trying to do, and your desire/willingness to use third-party tools, you may not have to write it yourself from scratch. -QM -- software -- http://www.brandxdev.net/ tech news -- http://www.RoarNetworX.com/ code scan -- http://www.JxRef.org/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
MBeans?
I'm a little puzzled by Mbeans. JMX self-describes as a management technology, but it seems as if people (and particularly JBoss) are using Mbeans as building blocks for services in the app server that are not well-modeled as EJBs. Can anyone offer a pointer to some information on this?
Re: Admin application creates duplicate secure attribute in server.xml
Yes the wrong saving SSL Connector is a bug and I fix it for Tomcat 5.5.x. The old StandardServer saving code was strange. The new StoreConfig module has a flexible customizable API to store server.xml and context.xml. You can activate the new saving module with Server ... Listener className=org.apache.catalina.storeconfig.StoreConfigLifecycleListener/ /Server This listener register a new MBean with more options to save the tomcat configurations. Give 5.5.9 a try ... :-) Peter Jeffrey Barnett schrieb: Mike, unfortunately I'm only gotten better at restoring server.xml after it has been corrupted. You are the first person from the tomcat-user list to even confirm that the problem exits on other sites.. One consultant I consulted said that they had never heard of the problem, but that we were also the first site he had worked with that actually used the admin function actively, By the way, just for the record, not only the secure attribute, but also the protocol attribute is duplicated, right? And only on the SSL connector. Mike Dippold wrote: I just wanted to check to see if you have figured anything out with the tomcat admin ssl duplicate problem. I have tried it on 5.0.28 and also 5.5.7 and every time I change a datasource or anything else, it corrupts the xml. Thanks, Mike Dippold - 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: Facing problem with implementation of DBCP
Obviously the problem is of the driver class, and you are saying you have followed all the instruction as per documentation, i am sure that you are doing things correctly a silly mistake like typos , password is doing havoc try , for sometime quit that program and then be back after some time with free mind .. you will get tthe problem.. Birendar Singh Waldiya Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]