Service Temporaily Unavailbale Message and tomcat servers starts responding without a restart after few mins

2012-03-07 Thread Amol Puglia
Hello Team, We are getting service temporarily unavailable message very frequently from our application. We are having following versions of tomcat and apache. Tomcat Version :- Apache Tomcat/6.0.26 Apache Version :- 2.2.16 Java Version :- jdk1.6.0_24 Whenever there is service temporarily

Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Guofeng Zhang
Hi, I try tomcat7-maven-plugin/2.0-beta-1. When I use mvn tomcat7:run to launch my app, I got: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context I configured the datatsource as global naming datasource in server.xml, GlobalNamingResources Resource

Re: Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Olivier Lamy
Hello Sounds like an issue. It will be really lovely if you could create a sample project to reproduce that and attach it to a new issue here: https://issues.apache.org/jira/browse/MTOMCAT BTW does that work using a context file tru the configuration contextFile${tomcatContextXml}/contextFile

Re: JDBC Pool - Error handling during connection creation

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 3/7/12 12:12 AM, amit shah wrote: I am using tomcat-jdbc.jar and tomcat-juli.jar from version 7.0.26. I don't see any place in setupConnection where an exception is swallowed, do you?

Re: Service Temporaily Unavailbale Message and tomcat servers starts responding without a restart after few mins

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amol, On 3/7/12 4:53 AM, Amol Puglia wrote: We are getting service temporarily unavailable message very frequently from our application. We are having following versions of tomcat and apache. Tomcat Version :- Apache Tomcat/6.0.26 Would it

Re: Trying to compile the tomcat connector

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex, On 3/6/12 6:41 PM, Alex Samad - Yieldbroker wrote: pcre_amd64CLEAN : cd .\pcre - $(MAKE) /$(MAKEFLAGS) /F .\pcre.amd64 RECURSE=1 CLEAN + $(MAKE) /$(MAKEFLAGS) /F .\pcre.amd64 CFG=pcre.amd64 RECURSE=1 + CLEAN cd .. I'm not sure about

Re: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guofeng, On 3/7/12 5:32 AM, Guofeng Zhang wrote: Resource auth=Container maxPoolSize=100 minPoolSize=10 name=jdbc/iviewDS testQuery=select count(*) from T_ROLE You might want to use a simper testQuery (like SELECT 1 FROM DUAL, for instance). Some

Tomcat 7.0.26 Expression Language Issue when Comparing Character Objects

2012-03-07 Thread kerry
Hello. I have been testing a Java Web Application to upgrade from Tomcat 6.0.32 (x86) to Tomcat 7.0.26 (x64). I am using Java 6 update 31. I have also tried pointing Tomcat 7.0.26 (x64) to Java 7 Update 3 and experience the same issue. Windows 7 x64 IDE is Netbeans 7.0.1 Tomcat 7.0.26 x64 Java 6

JMX JVM bug workaround question

2012-03-07 Thread Kari Scott
We are using Tomcat 7.0.23 with jdk1.6.0_30 on Solaris 10, mod_ajp 1.3 and Apache 2.2.21. I'm using the following code to retrieve memory information from our JMX server: ObjectName contextObjectName = new ObjectName(java.lang:type=Memory); CompositeData memoryUsage =

Re: JMX JVM bug workaround question

2012-03-07 Thread Konstantin Kolinko
2012/3/7 Kari Scott kari.sc...@cdw.com: We are using Tomcat 7.0.23 with jdk1.6.0_30 on Solaris 10, mod_ajp 1.3  and Apache 2.2.21. I'm using the following code to retrieve memory information from our JMX server: ObjectName contextObjectName = new ObjectName(java.lang:type=Memory);

Re: JMX JVM bug workaround question

2012-03-07 Thread Jess Holle
How can this be a low priority JVM bug!?! On 3/7/2012 11:21 AM, Konstantin Kolinko wrote: 2012/3/7 Kari Scottkari.sc...@cdw.com: We are using Tomcat 7.0.23 with jdk1.6.0_30 on Solaris 10, mod_ajp 1.3 and Apache 2.2.21. I'm using the following code to retrieve memory information from our

Re: JMX JVM bug workaround question

2012-03-07 Thread Kari Scott
On Mar 7, 2012, at 11:49 AM, Jess Holle wrote: How can this be a low priority JVM bug!?! I know. My other motive in posting this was to draw attention to it and maybe get some other folks to vote for it. :-) On 3/7/2012 11:21 AM, Konstantin Kolinko wrote: 2012/3/7 Kari

Re: Tomcat 7.0.26 Expression Language Issue when Comparing Character Objects

2012-03-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kerry, On 3/7/12 10:59 AM, ke...@kjaklive.com wrote: My issue is with the Expression Language and how a Character object is compared to an in-line Character object in order to decide what content to display on the web page. My original

RE: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread Jim Garrison
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 06, 2012 12:27 PM To: Tomcat Users List Subject: RE: tomcat6w.exe -- 32bit and 64bit versions identical? From: Jim Garrison [mailto:jim.garri...@troux.com] Subject:

RE: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread Caldarale, Charles R
From: Jim Garrison [mailto:jim.garri...@troux.com] Subject: RE: tomcat6w.exe -- 32bit and 64bit versions identical? That is correct. The tomcat6w.exe program does not access the JVM, so it need not match the JVM's execution mode. Is that a change from 6.0.20? No idea - that's almost

Re: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread Konstantin Kolinko
2012/3/7 Jim Garrison jim.garri...@troux.com: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 06, 2012 12:27 PM To: Tomcat Users List Subject: RE: tomcat6w.exe -- 32bit and 64bit versions identical? From: Jim Garrison

Re: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread André Warnier
Jim Garrison wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, March 06, 2012 12:27 PM To: Tomcat Users List Subject: RE: tomcat6w.exe -- 32bit and 64bit versions identical? From: Jim Garrison [mailto:jim.garri...@troux.com]

Re: Tomcat 7.0.26 Expression Language Issue when Comparing Character Objects

2012-03-07 Thread Konstantin Kolinko
2012/3/7 Christopher Schultz ch...@christopherschultz.net: I think that's the deal: Tomcat takes the character from your object's property and decides that everything should be coerced to Long, then tries to coerce your String literal to a Long, which obviously does not work (there appear to

Re: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread André Warnier
For what it's worth : I just added a FAQ entry on this topic, to provide somewhere to send to for a range of similar questions. http://wiki.apache.org/tomcat/FAQ/Windows#Q11 - To unsubscribe, e-mail:

Re: exception when running my struts jsp

2012-03-07 Thread Konstantin Kolinko
2012/3/8 Oussama Jlassi oussa...@live.fr: i added my web project without the lib folder i use struts 1.3.10 in tomcat 6 when i run localhost:8080/struts1/login.jsp i got http://img15.hostingpics.net/pics/826740login.png localhost:8080/struts1/index2.jsp i got

Re: exception when running my struts jsp

2012-03-07 Thread Pid
On 07/03/2012 21:06, Konstantin Kolinko wrote: 2012/3/8 Oussama Jlassi oussa...@live.fr: i added my web project without the lib folder i use struts 1.3.10 in tomcat 6 when i run localhost:8080/struts1/login.jsp i got http://img15.hostingpics.net/pics/826740login.png

What is the best way to view Tomcat JDBC pool properties in Tomcat 6?

2012-03-07 Thread hodgesz
In 6.0.29 we used the Spring MBeanExporter to export the Tomcat JDBC pool properties. We are still able to view them with this approach in JConsole and using the JMXProxy Servlet with Tomcat 7. However since Tomcat JDBC pool is part of Tomcat 7 are its properties exposed without using the

RE: Trying to compile the tomcat connector

2012-03-07 Thread Alex Samad - Yieldbroker
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, 8 March 2012 2:31 AM To: Tomcat Users List Subject: Re: Trying to compile the tomcat connector -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alex, On 3/6/12 6:41 PM, Alex

Re: What is the best way to view Tomcat JDBC pool properties in Tomcat 6?

2012-03-07 Thread Pid *
On 8 Mar 2012, at 02:26, hodgesz hodg...@gmail.com wrote: In 6.0.29 we used the Spring MBeanExporter to export the Tomcat JDBC pool properties. We are still able to view them with this approach in JConsole and using the JMXProxy Servlet with Tomcat 7. However since Tomcat JDBC pool is part