Re: Multiple Time Zones on one Tomcat instance?

2008-10-01 Thread André Warnier
John Gardner wrote: Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about time zones,

Re: Dynamically change log4j.xml

2008-10-01 Thread Dominic Mitchell
On 30 Sep 2008, at 17:20, Mohit Anchlia wrote: Is there a way to dynamically change the logging level of log4j.xml in tomcat? Not builtin. But you can write some code in a servlet to change the logging level. e.g. Logger l = Logger.getLogger(com.mycompany); l.setLevel(Level.DEBUG);

Re: Dynamically adding a resource to a context

2008-10-01 Thread Pid
Johnny Kewl wrote: - Original Message - From: Scott Dunbar [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Tuesday, September 30, 2008 10:22 PM Subject: Dynamically adding a resource to a context Hi all, I'm honestly not positive that what I want to do is a good idea but

Re: Tomcat getting insufficient POST data

2008-10-01 Thread Rainer Jung
Stephen Nelson-Smith wrote: On Tue, Sep 30, 2008 at 8:12 PM, Stephen Nelson-Smith [EMAIL PROTECTED] wrote: Testing: * Submitting straight to one of the new tomcat 6.0.16 machines, over http, works without fail - the XML is parsed. Ok so now it transpires that actually direct http to

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
br1 wrote: Dear all, I am experiencing a weird problem happening between IIS and Tomcat: it seems that the JK connector is hanging IIS. A badly behaving Tomcat app is filling up AJP connections due to some DB connection problems. Nothing strange so far, we had these kinds of problems

Tomcat servlet instantiation error

2008-10-01 Thread sthirumalai
We build an exe which will have tomcat, jdk and our code in it. When we install that in some system it installs perfectly but while accessing the service it throws servlet instantiation error. This also happens for the first time. If we restart that system everything works well. What may be the

Error 503 on shutting down instance of failover cluster

2008-10-01 Thread Mårten Svantesson
Hi, This is actually a question regarding the combination of JBoss 4.0.2RC1 with Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope this is the correct forum. To get failover we have two machines, both running Apache and JBoss. mod_proxy_ajp is configured on both

Re: Tomcat servlet instantiation error

2008-10-01 Thread Mark Thomas
sthirumalai wrote: We build an exe which will have tomcat, jdk and our code in it. When we install that in some system it installs perfectly but while accessing the service it throws servlet instantiation error. This also happens for the first time. If we restart that system everything works

Re: Tomcat getting insufficient POST data

2008-10-01 Thread Stephen Nelson-Smith
Hi Rainer, This reminds me of some problem we found when fixing BZ 44494. Could you please try with 6.0.18? Your symptoms don't really fit 44494 exactly, but there's a chance 6.0.18 fixed it. Yes - I'll package 6.0.18 this afternoon and test it this evening. S.

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
I'm using 6.0.18, which unless they just put out a new version is the latest. I've already turned the echo on. If you look at my first post, I commented what happened in the batch files. I can't see anything that would throw an error. I've enclosed the results of my running catalina start

Re: Multiple Time Zones on one Tomcat instance?

2008-10-01 Thread David kerber
John Gardner wrote: Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about

Re: Tomcat servlet instantiation error

2008-10-01 Thread sthirumalai
That null pointer error goes off after some time. I am not sure but I think that is because of file(s) updation with windows. After some time I get this error only in the browser. HTTP Status 404 - Servlet CMLogin is not available Status report message Servlet CMLogin is not available

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
Okay, apparently Tomcat doesn't like my setenv.bat I just copied over a virgin install of Tomcat, and after setting JRE_HOME, it started right up. Then I moved my setenv.bat over and it gave me the same problem. I'm not sure why it doesn't like my setting the JRE_HOME in the setenv.bat The

RE: Tomcat servlet instantiation error

2008-10-01 Thread Sai Pullabhotla
of virus signature database 3485 (20081001) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 3485 (20081001) __ The message was checked by ESET NOD32 Antivirus. http

RE: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Caldarale, Charles R
From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat set JRE_HOME=..\..\jre Make the above an absolute path, including drive letter. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

tomcat 6.0.18 and JDK 6

2008-10-01 Thread ib solution
hai, i would like to use tomcat 6.0.18 and JDK 6 update 7 the installation not give me an error. but when i try to start tomcat service, tomcat does not running. i try with http://localhost:8080 the result the page cannot display. after that i check log file in tomcat and i get an error

Re: tomcat 6.0.18 and JDK 6

2008-10-01 Thread Len Popp
That usually happens because it can't find msvcr71.dll (Microsoft C runtime). Copy that file from Java's bin directory to Tomcat\bin. -- Len On Wed, Oct 1, 2008 at 10:29, ib solution [EMAIL PROTECTED] wrote: hai, i would like to use tomcat 6.0.18 and JDK 6 update 7 the installation not give

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
No effect. On Wed, Oct 1, 2008 at 10:19 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat set JRE_HOME=..\..\jre Make the above an absolute path, including drive letter. -

application deployment issue, Tomcat 5.5

2008-10-01 Thread André Warnier
Hi. We have created a webapp, and a corresponding war file. This war file deploys succesfully on platform A (Windows) which runs Tomcat 5.5. It also deploys succesfully on platform B (Linux Debian) in a Tomcat 6.0 instance. But on the same platform B, under a Tomcat 5.5 instance, it triggers

Re: tomcat 6.0.18 and JDK 6

2008-10-01 Thread ib solution
hai, thx for your help. btw how do you know that tomcat need a file msvcr71.dll -- Regards, Andy Susanto,S.Kom == for better search http://www.slashmysearch.com/earn/id/24828 HP : 081513039998 On Wed, Oct 1, 2008 at 9:39 PM, Len Popp

Re: Error 503 on shutting down instance of failover cluster

2008-10-01 Thread Rainer Jung
Mårten Svantesson wrote: Hi, This is actually a question regarding the combination of JBoss 4.0.2RC1 with Tomcat 5.0.28 as a component, and Apache 2.2.3 with mod_proxy_ajp. I hope this is the correct forum. mod_proxy_ajp got several patches during the last couple of httpd releases. Although

RE: Authentication behaviour

2008-10-01 Thread Maurizio Lotauro
On 30 Sep 2008 at 18:27, Caldarale, Charles R wrote: From: Maurizio Lotauro [mailto:[EMAIL PROTECTED] Subject: Authentication behaviour The server answers with 401 before it has received the whole content send from client. In fact it seems that the answer become right after the

RE: tomcat 6.0.18 and JDK 6

2008-10-01 Thread Caldarale, Charles R
From: ib solution [mailto:[EMAIL PROTECTED] Subject: Re: tomcat 6.0.18 and JDK 6 btw how do you know that tomcat need a file msvcr71.dll Experience. Browsing the mailing list archives can help get you some of that experience without having to suffer through all the problems yourself. -

RE: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Caldarale, Charles R
From: Bai Shen [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat stops with error after calling setclasspath.bat No effect. Are you editing your .bat files in UNIX format, by any chance? The Windows shell might not like missing carriage returns. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: application deployment issue, Tomcat 5.5

2008-10-01 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: application deployment issue, Tomcat 5.5 By the way, which is the easiest way to see the full version of Tomcat? There's a version.sh script in the Tomcat bin directory that will display the actual Tomcat level. One particularity of

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
Nope, doing it all in Windows using notepad. And I've narrowed down the problem. 2k/2k3 doesn't like the following line. set JAVA_HOME= If I don't have a JAVA_HOME variable set, everything works fine. However, I can't guarantee that the JAVA_HOME variable won't be set on every machine. So I

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Konstantin Kolinko
2008/10/1 Bai Shen [EMAIL PROTECTED]: I'm using 6.0.18, which unless they just put out a new version is the latest. I've already turned the echo on. If you look at my first post, I commented what happened in the batch files. I can't see anything that would throw an error. I've enclosed

Re: Tomcat stops with error after calling setclasspath.bat

2008-10-01 Thread Bai Shen
Ah-hah! I found the problem! Apparently, if you try to unset an environment variable that's not set, 2k and 2k3 return an error. I added a line setting JAVA_HOME in the setenv file and then when I set JAVA_HOME to nothing, I don't get the error. So now I just need to have it check if JAVA_HOME

Re: Dynamically adding a resource to a context

2008-10-01 Thread Johnny Kewl
- Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 01, 2008 11:50 AM Subject: Re: Dynamically adding a resource to a context

can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum
hey all, i'm looking for a definitive answer: can .tag files be compiled on the fly, or do they always require a recompile and restart for changes to take effect? we currently have jsp's set to compile on the fly, and it makes dev so much easier/faster. is there any alternative, if not the

javax.naming.NamingException: Cannot create resource instance

2008-10-01 Thread Ziggy O
/crmsauth.log.20081001 561 lines, 48080 characters at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Hassan Schroeder
On Wed, Oct 1, 2008 at 9:35 AM, LoopInfinitum [EMAIL PROTECTED] wrote: i'm looking for a definitive answer: can .tag files be compiled on the fly, or do they always require a recompile and restart for changes to take effect? Did you bother to try? In any case, I don't know if this is

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-01 Thread Ziggy O
.20081001 561 lines, 48080 characters at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum
thanks much for the reply. haven't tried yet... i've never used jasper and would have to research it (someone else on my team set up our build process), so i was asking this first. I've never compiled a tag file manually, nor restarted TC to see a change. so this means you edit a .tag file,

Re: tomcat 6.0.18 and JDK 6

2008-10-01 Thread Len Popp
(Tomcat doesn't use msvcr71.dll directly, it's used by the Java VM.) How I know about it is: - from researching the problem on the internet - by using the depends.exe tool from MS to look at the DLL dependencies - by recognizing a familiar Microsoft DLL - from having dealt with similar DLL

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Hassan Schroeder
On Wed, Oct 1, 2008 at 10:17 AM, LoopInfinitum [EMAIL PROTECTED] wrote: haven't tried yet... i've never used jasper Nor have I, directly :-) I meant, why don't you just change a test .tag file and see what happens? Would have taken less time... so this means you edit a .tag file, hit

Re: javax.naming.NamingException: Cannot create resource instance

2008-10-01 Thread David Smith
) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Unknown Source) /tmp/crmsauth.log.20081001 561 lines, 48080 characters at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread David Smith
I would guess from a brief look at the jsp 2.0 spec, the answer is yes, but didn't read far enough to be absolutely sure. You could read the spec yourself for a definitive answer or just try it... Personally I find reality more fun. - write a test tag - write a jsp to test it - run the jsp

Re: Unified EL question

2008-10-01 Thread Antonio Petrelli
2008/10/1 John5342 [EMAIL PROTECTED]: The string is: ${sessionScope.thebean.string} It happens to me when the web.xml is pointing to a version prior to Servlet 2.4. Antonio - To start a new topic, e-mail:

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread LoopInfinitum
thanks again for the replies. i guess i wasn't clear... i, of course, have tried this; the status quo is (and has been) that our team has to restart the server for any .tag changes made. it has been this way since i was hired a year ago, and, of course, we'd benefit greatly from being able to

RE: Unified EL question

2008-10-01 Thread Sai Pullabhotla
=*/ /jsp:useBean html head meta http-equiv=Content-Type content=text/html; charset=UTF-8 titleA title./title /head body pThe string is: ${sessionScope.thebean.string}/p BRBR__ Information from ESET NOD32 Antivirus, version of virus signature database 3486 (20081001

RE: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Caldarale, Charles R
From: LoopInfinitum [mailto:[EMAIL PROTECTED] Subject: Re: can i compile .tag files on the fly? please help :( so my question is, can tomcat 5.02a be configured to compile .tag files on the fly? Your Tomcat version is a bit odd, since there never has been such any such level (Tomcat does

Re: Unified EL question

2008-10-01 Thread John5342
It happens to me when the web.xml is pointing to a version prior to Servlet 2.4. Thanks. Thats exactly what it was. Netbeans appears to provide a web.xml using version 2.3. Changed it to v2.5 and everything works as expected. Looks like your bean ID is thbean not thebean. It is missing e in the

Re: can i compile .tag files on the fly? please help :(

2008-10-01 Thread Mark Thomas
LoopInfinitum wrote: thanks again for the replies. i guess i wasn't clear... i, of course, have tried this; the status quo is (and has been) that our team has to restart the server for any .tag changes made. it has been this way since i was hired a year ago, and, of course, we'd benefit

Re: Dynamically adding a resource to a context

2008-10-01 Thread Pid
Johnny Kewl wrote: - Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 01, 2008 11:50 AM Subject: Re: Dynamically adding a resource to a context

Re: JK and IIS - troubles?

2008-10-01 Thread br1
Rainer, Thank you for your reply. My main question here is: is it normal that that a faulty application takes down the whole site? I have seen applications with this problem several times, and all the 40ish Tomcats we have are configured with connectionTimeout set to zero - and

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
br1 schrieb: Rainer, Thank you for your reply. My main question here is: is it normal that that a faulty application takes down the whole site? Yes, unfortunately that's a common source for trouble. If an app doesn't finish processinf a request, e.g. because it wais without timeout for

tomcat6 + proxy issues

2008-10-01 Thread Jeff D
Hi All, I'm having some issues with some apps I am running on my server. I'm running multiple apps in tomcat and serving up each of them through apache with mod_proxy. Most of these are working great, but there are a few that don't seem to want to co-operate. I currently have my proxies set up

Re: JK and IIS - troubles?

2008-10-01 Thread br1
Rainer, Good evening. Rainer Jung-3 wrote: My main question here is: is it normal that that a faulty application takes down the whole site? Yes, unfortunately that's a common source for trouble. If an app doesn't finish processinf a request, e.g. because it wais without timeout for

Re: Dynamically adding a resource to a context

2008-10-01 Thread Johnny Kewl
- Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, October 01, 2008 10:41 PM Subject: Re: Dynamically adding a resource to a context Johnny Kewl wrote: - Original Message - From: Pid [EMAIL PROTECTED] To: Tomcat

Re: JK and IIS - troubles?

2008-10-01 Thread Rainer Jung
Rainer Jung-3 wrote: My main question here is: is it normal that that a faulty application takes down the whole site? Yes, unfortunately that's a common source for trouble. If an app doesn't finish processinf a request, e.g. because it wais without timeout for some other service, or runs in

Seek help for javax.servlet.ServletException: Java heap space

2008-10-01 Thread BruceLee
Dear Team, I tried hard for this heap space issue for several days. Also searched this forum but couldn't find the proper answer. On my hosting server, I got this error after I viewed 2 or 3 pages. My main page is always OK though. I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k

RE: Seek help for javax.servlet.ServletException: Java heap space

2008-10-01 Thread Caldarale, Charles R
From: BruceLee [mailto:[EMAIL PROTECTED] Subject: Seek help for javax.servlet.ServletException: Java heap space I tried JAVA_OPTS -Xms128m -Xmx512m -Xss1024k -XX:MaxPermSize=128m. On my local machine, everything is fine without any JAVA_OPTS customization. What JVM are you using on your

Re: tomcat6 + proxy issues

2008-10-01 Thread Gabe Wong
Jeff try: ProxyPass /app1 http://localhost:8080/app1 ProxyPassReverse /app1 http://localhost:8080/app1 and better yet if your have mod_proxy_ajp: ProxyPass /app1 ajp://localhost:8009/app1 ProxyPassReverse /app1

RE: Seek help for javax.servlet.ServletException: Java heap space

2008-10-01 Thread Choudhury
Hi Chuck, Why is it usually better to set -Xms and -Xmx to the same value ? Can you please explain a little bit of this . Also there are some weird problems in running tomcat 6.0.18 with Jconsole remotely . It keeps giving me Connection refused error . Mark did mention about