RE: Service doesn't get inited.

2010-08-31 Thread Kannan Jayaprakasam
I found the solution. In the services.xml (that I had generated using maven wsdl2code command) did not have the scope=application. I had noticed it since the beginning but assumed it won't have any effect. Finally I gave up and introduced it serviceGroup service name=hehehe

Re: OFFTOPIC: Java String problem - possible VM bug

2010-08-31 Thread Konstantin Kolinko
2010/8/31 Caldarale, Charles R chuck.caldar...@unisys.com: From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: OFFTOPIC: Java String problem - possible VM bug I just looked at the sun/oracle download page and the most recent jdk there (jdk-6u21-linux-x64.bin) is still the very

What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread takanobu watanabe
Hello, What is default value of CATALINA_OPTS at apache-tomcat-6.0.29 ? It means No configure catalina.sh as same as value of CATALINA_OPTS just expand tomcat. Because I try to run tomcat lean physical memory condition(128Mb only with armv5). When nothing configure to catalina.sh(default),Tomcat

Re: iCal4j and ThreadLocal

2010-08-31 Thread Ognjen Blagojevic
Is there no way for me to kill these? Not easily. Most uses of ThreadLocal seem to be blissfully (sometimes arrogantly) unaware of thread-pooling mechanisms and app servers. Ideally, these ThreadLocal instances would instead be created in a pool for the webapp to use, rather than being

Re: iCal4j and ThreadLocal

2010-08-31 Thread Leon Rosenberg
On Tue, Aug 31, 2010 at 10:51 AM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Is there no way for me to kill these? Not easily.  Most uses of ThreadLocal seem to be blissfully (sometimes arrogantly) unaware of thread-pooling mechanisms and app servers.  Ideally, these ThreadLocal

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread Rainer Jung
On 31.08.2010 10:34, takanobu watanabe wrote: Hello, What is default value of CATALINA_OPTS at apache-tomcat-6.0.29 ? It means No configure catalina.sh as same as value of CATALINA_OPTS just expand tomcat. Because I try to run tomcat lean physical memory condition(128Mb only with armv5). When

Re: iCal4j and ThreadLocal

2010-08-31 Thread Jess Holle
On 8/31/2010 4:03 AM, Leon Rosenberg wrote: On Tue, Aug 31, 2010 at 10:51 AM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Is there no way for me to kill these? Not easily. Most uses of ThreadLocal seem to be blissfully (sometimes arrogantly) unaware of thread-pooling mechanisms

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread takanobu watanabe
Thank you very much Rainer. Tomcat itself doesn't need much memory and you should be able to run it with less than 64MB Heap (plus Perm) I recognized 64MB = Am + Bm from your advice. Is my recognized correct ? ---example catalina.sh--- -XX:NewSize=Am -XX:MaxNewSize=Am -XX:PermSize=Bm

Expression language not working

2010-08-31 Thread abhishek jain
Hi friends, I have a website in struts 1.2 hosted on tomcat 5.5.x and it uses EL. It is not being evaluated, any suggestions on the reasons why? -- Thanks and kind Regards, Abhishek jain

Re: What is default value of CATALINA_OPTS at apache-tomcat-6.0.29?

2010-08-31 Thread Rainer Jung
On 31.08.2010 13:14, takanobu watanabe wrote: Thank you very much Rainer. Tomcat itself doesn't need much memory and you should be able to run it with less than 64MB Heap (plus Perm) I recognized 64MB= Am + Bm from your advice. Is my recognized correct ? ---example catalina.sh---

Re: iCal4j and ThreadLocal

2010-08-31 Thread Pid
On 31/08/2010 04:38, Caldarale, Charles R wrote: From: Jess Holle [mailto:je...@ptc.com] Subject: Re: iCal4j and ThreadLocal Rather replacing all the threads ASAP upon any reload seems like a much more forgiving implementation. There was an effort underway to do just that a few months

Tomcat isn't working with JRE

2010-08-31 Thread Michaël JERUSALMI
I've been using tomcat for a long time, and so far, i've always been using tomcat on a computer with a JDK installed. Now, i have to deploy a web application using tomcat 6.0 on a virtual machine , on which there's no JDK installed, but only a JRE 1.5. I've tried to put the JAVA_HOME on the

Re: Expression language not working

2010-08-31 Thread Mark Thomas
On 31/08/2010 12:52, abhishek jain wrote: Hi friends, I have a website in struts 1.2 hosted on tomcat 5.5.x and it uses EL. It is not being evaluated, any suggestions on the reasons why? http://www.catb.org/esr/faqs/smart-questions.html

Re: Tomcat isn't working with JRE

2010-08-31 Thread Mark Thomas
On 31/08/2010 13:08, Michaël JERUSALMI wrote: I've been using tomcat for a long time, and so far, i've always been using tomcat on a computer with a JDK installed. Now, i have to deploy a web application using tomcat 6.0 on a virtual machine , on which there's no JDK installed, but only

Re: iCal4j and ThreadLocal

2010-08-31 Thread Pid
On 31/08/2010 11:30, Jess Holle wrote: On 8/31/2010 4:03 AM, Leon Rosenberg wrote: On Tue, Aug 31, 2010 at 10:51 AM, Ognjen Blagojevic ognjen.d.blagoje...@gmail.com wrote: Is there no way for me to kill these? Not easily. Most uses of ThreadLocal seem to be blissfully (sometimes

Re: Expression language not working

2010-08-31 Thread abhishek jain
On Tue, Aug 31, 2010 at 5:22 PM, abhishek jain abhishek.netj...@gmail.comwrote: Hi friends, I have a website in struts 1.2 hosted on tomcat 5.5.x and it uses EL. It is not being evaluated, any suggestions on the reasons why? -- Thanks and kind Regards, Abhishek jain i used myeclipse for

Re: Expression language not working

2010-08-31 Thread abhishek jain
On Tue, Aug 31, 2010 at 5:48 PM, Mark Thomas ma...@apache.org wrote: On 31/08/2010 12:52, abhishek jain wrote: Hi friends, I have a website in struts 1.2 hosted on tomcat 5.5.x and it uses EL. It is not being evaluated, any suggestions on the reasons why?

Re: Expression language not working

2010-08-31 Thread Ben Souther
Look at the top of your deployment descriptor (web.xml) and see if the version is 2.4 or better. On Aug 31, 2010, at 8:35 AM, abhishek jain wrote: On Tue, Aug 31, 2010 at 5:48 PM, Mark Thomas ma...@apache.org wrote: On 31/08/2010 12:52, abhishek jain wrote: Hi friends, I have a

Re: Expression language not working

2010-08-31 Thread abhishek jain
yes, it was originally 2.5, i did tried changing it to 2.4 and of no use, thanks for answering but the problem still persists. abhishek On Tue, Aug 31, 2010 at 6:16 PM, Ben Souther b...@souther.us wrote: Look at the top of your deployment descriptor (web.xml) and see if the version is 2.4

Re: Expression language not working

2010-08-31 Thread abhishek jain
hey I was looking at the tomcat commons lib folder, there is a file called commons-el.jar has that something to do with el-api.jar in my WEB-INF/lib folder ? thanks abhishek On Tue, Aug 31, 2010 at 6:26 PM, abhishek jain abhishek.netj...@gmail.comwrote: yes, it was originally 2.5, i did

Re: Expression language not working

2010-08-31 Thread abhishek jain
Hey , I just realized that actually i accidently placed el-api.jar in WEB-INF/lib folder. If i dont than i get the following exception: Aug 31, 2010 4:28:44 PM org.apache.catalina.core. StandardContext listenerStart SEVERE: Error configuring application listener of class

7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Steven Woody
Hi, I just installed tomcat 7.0.2 on Windows 7.0.2. But when I tried to launch the Configure Tomcat or Monitor Tomcat, I always got the error message: An Instance of 'Tomcat7' is already running. What's wrong with that? I tried to stop the tomcat service, but the error did not go away.

Re: Expression language not working

2010-08-31 Thread Mark Thomas
On 31/08/2010 16:38, abhishek jain wrote: Hey , I just realized that actually i accidently placed el-api.jar in WEB-INF/lib folder. If i dont than i get the following exception: Aug 31, 2010 4:28:44 PM org.apache.catalina.core. StandardContext listenerStart SEVERE: Error configuring

RE: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Jonathan Rosenberg
Is something else listening on the port Tomcat wants to use (8080?)? -- Jonathan Rosenberg Founder Executive Director, Tabby's Place http://www.tabbysplace.org/ -Original Message- From: Steven Woody [mailto:narkewo...@gmail.com] Sent: Tuesday, August 31, 2010 11:43 AM To:

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Steven Woody
On 31 August 2010 23:48, Jonathan Rosenberg j...@tabbysplace.org wrote: Is something else listening on the port Tomcat wants to use (8080?)? I think no. I can open the http://localhost:8080/ and get see the tomcat welcome page. -- Jonathan Rosenberg Founder Executive Director, Tabby's

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread David kerber
On 8/31/2010 11:43 AM, Steven Woody wrote: Hi, I just installed tomcat 7.0.2 on Windows 7.0.2. But when I tried to launch the Configure Tomcat or Monitor Tomcat, I always got the error message: An Instance of 'Tomcat7' is already running. What's wrong with that? I tried to stop the tomcat

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Pid
On 31/08/2010 17:16, Steven Woody wrote: On 31 August 2010 23:48, Jonathan Rosenberg j...@tabbysplace.org wrote: Is something else listening on the port Tomcat wants to use (8080?)? I think no. I can open the http://localhost:8080/ and get see the tomcat welcome page. OK, so you've

Re: iCal4j and ThreadLocal

2010-08-31 Thread Bill Davidson
On 8/30/2010 9:18 PM, Caldarale, Charles R wrote: There's a lot of baggage implemented to support ThreadLocal. It's one of those deceptively easy-to-use Java concepts that utilizes a lot of plumbing underneath the covers (e.g., a specialized per-thread expandable hash map, weak references).

undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
I have a tomcat 5.5 running on a server with redhat enterprise linux 5 and everything has been working for the last 7 -8 months without problems. On Friday the IT department patched/upgraded the server (I believe both tomcat and java were moved up minor versions) and now any undeploy fails.

RE: iCal4j and ThreadLocal

2010-08-31 Thread Caldarale, Charles R
From: Bill Davidson [mailto:bill...@gmail.com] Subject: Re: iCal4j and ThreadLocal It seems to me that using static ThreadLocal's isn't going to save that much overhead vs. just creating a regular local object each time you run. The above is even more true in modern JVMs with method

Re: pick load

2010-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre, On 8/30/2010 10:49 PM, Alexandre Chapellon wrote: [Considering] the fair analysis of Charles, we decided to move applications to Poolable connection factory Excellent. To do so I created a factory iun server.xml as follow: Resource

Re: iCal4j and ThreadLocal

2010-08-31 Thread Jess Holle
On 8/31/2010 1:21 PM, Caldarale, Charles R wrote: It seems to me that using static ThreadLocal's isn't going to save that much overhead vs. just creating a regular local object each time you run. The above is even more true in modern JVMs with method inlining and escape analysis - such an

RE: java.net.BindException: Address already in use

2010-08-31 Thread Paul Bourget
I compared the server.xml file to the one used on the production servers and it was the same except for the ip addresses. During bootup I get the failure but when I run the Catalina.sh start command, tomcat starts up fine. Apache is not running though, so still no web services. [r...@localhost

Re: iCal4j and ThreadLocal

2010-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ognjen, On 8/31/2010 4:51 AM, Ognjen Blagojevic wrote: Is there no way for me to kill these? Not easily. Most uses of ThreadLocal seem to be blissfully (sometimes arrogantly) unaware of thread-pooling mechanisms and app servers. Ideally, these

Re: Deploying ROOT application errors.

2010-08-31 Thread Wesley Acheson
I reinstalled tomcat to another directory and it all works fine now :( Now I'm confused. Its the same zip file I used for tomcat yesterday. Anyway issues closed for the moment. Wes - To unsubscribe, e-mail:

RE: java.net.BindException: Address already in use

2010-08-31 Thread Caldarale, Charles R
From: Paul Bourget [mailto:paul.bour...@isabellaproducts.com] Subject: RE: java.net.BindException: Address already in use I compared the server.xml file to the one used on the production servers and it was the same except for the ip addresses. So that just verifies that you've got junk on

Re: java.net.BindException: Address already in use

2010-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 8/31/2010 3:07 PM, Paul Bourget wrote: I compared the server.xml file to the one used on the production servers and it was the same except for the ip addresses. During bootup I get the failure but when I run the Catalina.sh start

Re: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maximilian, On 8/31/2010 2:15 PM, Maximilian Stocker wrote: I have a tomcat 5.5 running on a server with redhat enterprise linux 5 and everything has been working for the last 7 -8 months without problems. On Friday the IT department

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: undeploy failure - stack overflow tomcat 5 on RHEL 5 Looks like a JVM bug to me. Maybe not - see below. And the last line, ExpandWar.delete continues on and on etc. That's weird that it would have

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
Thanks for you reply. The JVM bug is an interesting possibility that I have also been wondering about. It was also upgraded I believe. The stack trace is a copy and paste from the log file. I looked at the source yesterday and it also made no sense to me (why it is recursing or at least

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
The whole webapps folder is a symlink. But it has also been so and all the permission have not changed. Also there are no links inside the extracted WAR directory. I just checked this to make sure of my sanity. -Original Message- From: Caldarale, Charles R

Re: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Pid
On 31/08/2010 20:41, Maximilian Stocker wrote: Thanks for you reply. The JVM bug is an interesting possibility that I have also been wondering about. It was also upgraded I believe. Really? JVM - 1.6.0_0-b16 (Sun) You can probably find a newer JVM than that, unless I'm reading your

Re: iCal4j and ThreadLocal

2010-08-31 Thread Bill Davidson
On 8/31/2010 12:16 PM, Christopher Schultz wrote: Or, just remove the ThreadLocal manually. Since you know it's name, it should be easy to remove. There are two obvious ways to remove these ThreadLocals in a webapp: 1. Modify all the code that uses the iCal4j library so that, after performing

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: undeploy failure - stack overflow tomcat 5 on RHEL 5 Really? JVM - 1.6.0_0-b16 (Sun) You can probably find a newer JVM than that You're saying that just because 1.6.0_0 is approaching the fourth anniversary of its release? And even then

Re: pick load

2010-08-31 Thread Alexandre Chapellon
Le mardi 31 août 2010 à 14:39 -0400, Christopher Schultz a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre, On 8/30/2010 10:49 PM, Alexandre Chapellon wrote: [Considering] the fair analysis of Charles, we decided to move applications to Poolable connection factory

RE: pick load

2010-08-31 Thread Caldarale, Charles R
From: Alexandre Chapellon [mailto:alexandre.chapel...@mana.pf] Subject: Re: pick load We're using an old version of highdeal billing system which apparently (tat's what the support says) doens't support java6. Chris suggested *Tomcat* 6, not Java 6. You can run Tomcat 6 on JRE 5. -

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Steven Woody
On 1 September 2010 01:52, Pid p...@pidster.com wrote: On 31/08/2010 17:16, Steven Woody wrote: On 31 August 2010 23:48, Jonathan Rosenberg j...@tabbysplace.org wrote: Is something else listening on the port Tomcat wants to use (8080?)? I think no.  I can open the http://localhost:8080/ and

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Pid
On 01/09/2010 00:49, Steven Woody wrote: On 1 September 2010 01:52, Pid p...@pidster.com wrote: On 31/08/2010 17:16, Steven Woody wrote: On 31 August 2010 23:48, Jonathan Rosenberg j...@tabbysplace.org wrote: Is something else listening on the port Tomcat wants to use (8080?)? I think no.

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Len Popp
On Tue, Aug 31, 2010 at 19:49, Steven Woody narkewo...@gmail.com wrote: If launch Configure Tomcat:   An instance of Tomcat7 is already running; If launch Monitor Tomcat: An instance of Tomcat7w is already running. Despite the different wording, the meaning is the same: The Monitor/Configure

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Mark Eggers
Sometimes when I boot into Windows/XP I don't get some icons in the system tray. I've not seen this happen with the Tomcat monitor, but I have seen this happen with the Apache httpd monitor. What I do is bring up the process list, search for the offending process (would be tomcat7w.exe for

Re: 7.02 on Windows XP: An instance of Tomcat7 is already running

2010-08-31 Thread Steven Woody
On 1 September 2010 12:10, Mark Eggers its_toas...@yahoo.com wrote: Sometimes when I boot into Windows/XP I don't get some icons in the system tray. I've not seen this happen with the Tomcat monitor, but I have seen this happen with the Apache httpd monitor. What I do is bring up the process