Re: How to get Tomcat to pick up Oracle database connections after database shutdown?

2008-04-04 Thread Felix Schumacher
On Thu, April 3, 2008 9:45 pm, steve kerver wrote: ... (If I shutdown the Oracle database and then don't do a Tomcat restart when the database comes back up, we get HTTP 500 errors). ... Also- FYI, we are using Hibernate. You are not telling us, which tomcat version, java version or OS you

Re: How can applications be isolated in Tomcat?

2008-04-04 Thread Mark Thomas
Pablo Lopez wrote: It appears this could be done through virtual hosting and appbase settings but this is way beyond my knowledge and I’m just architecting the solution. I know we'll have to get a Tomcat expert in at some point in the future but just wondered if I'm going down the right or wrong

How to prevent tomcat from restarting after hot code replacement?

2008-04-04 Thread Remo Liechti
Hi guys I have the problem that always when I start tomcat in debug mode, and change some java files, tomcat restarts after some seconds after the code was replaced. In that very small timeframe between code replacement and restart I can execute the new code, but tomcat restarts(or re init the

RE: How to prevent tomcat from restarting after hot code replacement?

2008-04-04 Thread Remo Liechti
Sorry forgot to say: Using eclipse(3.3.2) with WTP (2.0.2 sdk version). Remo Liechti Application Developer Swisslog Warehouse and Distribution Solutions Direct: +41 (0)62 837 4345 Mobile: +41 (0)76 329 8660 CH Fax: +41 (0)62 837 4197 Internet: www.swisslog.com

Re: How can applications be isolated in Tomcat?

2008-04-04 Thread Sameer Acharya
I would suggest putting the non-production environments on a different Tomcat instance preferably on a different machine. -Sameer --- Pablo Lopez [EMAIL PROTECTED] wrote: Hi, I'm currently putting together a solution for an off-the-shelf document management application that requires

Re: rolling the console log

2008-04-04 Thread Mark Thomas
Angelina Talley wrote: Ideally, it would be. But, I neglected to mention we're running on Windows Server. That's the other reason I am looking for a configuration option. Assuming it is webapp use of System.out that is the problem you could configure swallowOutput=true for the context - this

Re: How can applications be isolated in Tomcat?

2008-04-04 Thread Peter Sparkes
If you have control over the machine you could effectively do this using XEN (xen.org) which gives you virtual machines. Peter I would suggest putting the non-production environments on a different Tomcat instance preferably on a different machine. -Sameer --- Pablo Lopez [EMAIL PROTECTED]

web.xml pbm

2008-04-04 Thread supareno
hello, my config is: tomcat 5.5.9 jdk 6 linux ubuntu eclipse 3.2 ant 1.7.0 i write a build.xml file to build and deploy my war. (compilation OK and deployment on the server OK) but, when i try to start it, it starts but when i try to access to it, i'm only seeing the list of the apps

TC 5.5: stdout_YYYYMMDD.log gets too big - howto limit/rotate?

2008-04-04 Thread Stephanie Wullbieter
Hi, tomcat 5.5 on windoze creates a file stdout_MMDD.log (=Year, MM=Month, DD=Day) in $CATALINA_HOME/logs when it's started. But over weeks this file gets several hundrets of mebibytes big. How can I limit the size or init a rotation on that file? There is no

Re: web.xml pbm

2008-04-04 Thread David Smith
and where is this web.xml file stored? It has to be in your webapp's WEB-INF (note all CAPS) folder per the servlet specification. --David supareno wrote: hello, my config is: tomcat 5.5.9 jdk 6 linux ubuntu eclipse 3.2 ant 1.7.0 i write a build.xml file to build and deploy my war.

Re: web.xml pbm

2008-04-04 Thread supareno
the web.xml is in the WEB-INF folder when i deploy the war file , the log write this stuff 4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener lifecycleEvent GRAVE: La création du context de nommage (naming context) a échoué : javax.naming.NamingException: Le Contexte est en

Re: web.xml pbm

2008-04-04 Thread David Smith
That error is different from what you originally posted and implies your webapp is trying to modify the tomcat supplied JNDI name context. That context which houses tomcat container supplied stuff like database pools is read only. ... But that's a different post. Back to the original error

Re: web.xml pbm

2008-04-04 Thread Mikolaj Rydzewski
supareno wrote: when i deploy the war file , the log write this stuff 4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener lifecycleEvent GRAVE: La création du context de nommage (naming context) a échoué : javax.naming.NamingException: Le Contexte est en lecture seule Thanks

Re: web.xml pbm

2008-04-04 Thread supareno
David Smith a écrit : That error is different from what you originally posted and implies your webapp is trying to modify the tomcat supplied JNDI name context. That context which houses tomcat container supplied stuff like database pools is read only. ... But that's a different post. Back

Memory for Multiple instances

2008-04-04 Thread Peter Sparkes
Hi, I am running multiple instances of Tomcat5.5 on a Linux (Debian) machine. I want to set different heap sizes for each instance. Please is there a way of setting the available memory in the individual Tomcat instances startup scripts Thank you Peter Sparkes

Re: Tomcat 32-bit on Windows 64-bit.

2008-04-04 Thread Panian, Ardo
I am still not able to get the isapi redirector to load in IIS. I even downloaded the source and compiled it on the server it will be running on, and I still have dismal results. On Thu, Apr 3, 2008 at 11:08 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Panian, Ardo [mailto:[EMAIL

Re: web.xml pbm

2008-04-04 Thread David Smith
Can you expand a copy of your webapp war file and confirm a there is a web.xml file in it? In my experience, the errors generated out of tomcat are usually right on the money, so we should confirm the generated war file really contains a web.xml at WEB-INF/web.xml. --David supareno wrote:

Re: TC 5.5: stdout_YYYYMMDD.log gets too big - howto limit/rotate?

2008-04-04 Thread Mark Thomas
Stephanie Wullbieter wrote: Hi, tomcat 5.5 on windoze creates a file stdout_MMDD.log (=Year, MM=Month, DD=Day) in $CATALINA_HOME/logs when it's started. But over weeks this file gets several hundrets of mebibytes big. How can I limit the size or init a rotation on that file? What

Re: Memory for Multiple instances

2008-04-04 Thread ben short
If on linux you can add the following to your init script. export JAVA_OPTS=[JVM ARGUMENTS_HERE] then the catalinia.sh will pass them to the jvm on startup. Regards Ben Short On Fri, Apr 4, 2008 at 1:59 PM, Peter Sparkes [EMAIL PROTECTED] wrote: Hi, I am running multiple instances of

Re: How can I refresh tomcat in the java code?

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guilherme, Guilherme Orioli wrote: | Yes, it's an EJB managed by the JSF config faces-config.xml . Should I use a | different servlet to get the result wanted? The problem is that you are using an EJB to manipulate the HTTP request and response.

Re: Problem serializing JDK dynamic proxies

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nilf, nlif wrote: | Are you sure you put your test class on all of the servers? | | Yes. I am sure. It's there, and this happens either when replicating from | Node A to Node B or the other way around. Hmm... so it always fails on the receiving

SEVERE: Error listenerStart

2008-04-04 Thread Ralph.Grothe
Hello Tomcatters, I am at loggerheads with a webapp that I was only provided as a closed source WAR file. I should mention that I am not a Java Servlet/JSP or Tomcat hacker. When I start Tomcat it throws an exception with regard to that webapp's listener class. As far as I understand the term

Re: Memory for Multiple instances

2008-04-04 Thread Peter Sparkes
Thanks Ben Peter If on linux you can add the following to your init script. export JAVA_OPTS=[JVM ARGUMENTS_HERE] then the catalinia.sh will pass them to the jvm on startup. Regards Ben Short On Fri, Apr 4, 2008 at 1:59 PM, Peter Sparkes [EMAIL PROTECTED] wrote: Hi, I am running

Re: web.xml pbm

2008-04-04 Thread Hassan Schroeder
On Fri, Apr 4, 2008 at 4:49 AM, supareno [EMAIL PROTECTED] wrote: i write a build.xml file to build and deploy my war. (compilation OK and deployment on the server OK) but, when i try to start it, it starts but when i try to access to it, i'm only seeing the list of the apps prrsents in the

Re: How to get Tomcat to pick up Oracle database connections after database shutdown?

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve, steve kerver wrote: | (If I shutdown the Oracle database and then don't do a | Tomcat restart when the database comes back up, we get | HTTP 500 errors). Are you getting exceptions in Tomcat's logs? If so, what are they? I'm guessing that

RE: SEVERE: Error listenerStart

2008-04-04 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: SEVERE: Error listenerStart As far as I understand the term listener seems to be a bit of a misnomer as no listening socktet (which I guess is termed a connector in J2EE speech) is concerned but rather a callback method

how to NOT log WARNING: Parameters: Invalid chunk ignored. messages

2008-04-04 Thread Adrian Woodhead
Hey there, We have a web-app which receives hundreds of requests per second, many of the requests coming from 3rd party apps which we have no control over. Now, it seems like some of these apps are sending us request strings ending in which results in a message like this in catalina.out:

RE: SEVERE: Error listenerStart

2008-04-04 Thread Ralph.Grothe
Hi Chuck, -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 4:59 PM To: Tomcat Users List Subject: RE: SEVERE: Error listenerStart From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: SEVERE: Error listenerStart

RE: SEVERE: Error listenerStart

2008-04-04 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: SEVERE: Error listenerStart Come on, I have no inclination to become a J2EE hacker. No one's asking you to be a J2EE hacker, but some familiarity with the problem domain is expected. GIYF. Yet, I still maintain that the

Re: how to NOT log WARNING: Parameters: Invalid chunk ignored. messages

2008-04-04 Thread Mark Thomas
Adrian Woodhead wrote: org.apache.tomcat.util.http.Parameters = ERROR With no luck. I even tried modifying the JDK's logging properties in JAVA_HOME/jre/lib/logging.properties to also contain that line. Again, no luck. We are running tomcat 6.0.16. How do I do this? I am only going from

Tomcat JSessionID regex

2008-04-04 Thread Andrew R Feller
While working on a trending tool, I decided to capture users' session IDs. However, I don't know A.) How long they are OR B.) What characters are valid for a session ID. I have not found any documentation stating anything about it, so I was hoping someone here knew. Thanks, Andrew R

Re: how to NOT log WARNING: Parameters: Invalid chunk ignored. messages

2008-04-04 Thread Adrian Woodhead
Good point, I overlooked the .level at the end (I'm so used to log4j). So I tried what you suggested at the end of my logging.properties in tomcat/conf like so: org.apache.tomcat.util.http.Parameters.level = ERROR I then restarted tomcat and I still get this in the logs: 04-Apr-2008 18:42:12

Re: How to prevent tomcat from restarting after hot code replacement?

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Remo, Remo Liechti wrote: | I have the problem that always when I start tomcat in debug mode, and | change some java files, tomcat restarts after some seconds after the | code was replaced. Do you mean that your /webapp/ restarts? Tomcat should not

RE: Tomcat JSessionID regex

2008-04-04 Thread Caldarale, Charles R
From: Andrew R Feller [mailto:[EMAIL PROTECTED] Subject: Tomcat JSessionID regex While working on a trending tool, I decided to capture users' session IDs. However, I don't know A.) How long they are OR B.) What characters are valid for a session ID. The servlet spec does not define any

Re: Tomcat JSessionID regex

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew R Feller wrote: | While working on a trending tool, I decided to capture users' session | IDs. However, I don't know A.) How long they are OR B.) What characters | are valid for a session ID. I have not found any documentation

Installing Apache Tomcat 5.5.26 on Windows 2003 Enterprise x64

2008-04-04 Thread Tony Fountain
We are looking to install the most recent, stable release of Apache Tomcat on the said platform (so we choose Apache 5.5.26). What JVM requirements are there? Can we install JRE 1.6 or do we need to use JRE 1.5? Thanks, Tony Fountain Manager, Database Administration Benefit Concepts, Inc. (419)

RE: Installing Apache Tomcat 5.5.26 on Windows 2003 Enterprise x64

2008-04-04 Thread Caldarale, Charles R
From: Tony Fountain [mailto:[EMAIL PROTECTED] Subject: Installing Apache Tomcat 5.5.26 on Windows 2003 Enterprise x64 We are looking to install the most recent, stable release of Apache Tomcat on the said platform (so we choose Apache 5.5.26). 6.0.16 is the most recent, stable release,

Tomcat has stopped working

2008-04-04 Thread David Crow
My Web site was running fine with the following versions of Java: JDK 1.4.2.12 JRE 1.6.0.3 Java is configured to automatically update itself, and so v1.6.0.5 was downloaded and installed. The next time I went to use the machine, I was presented with the following: HTTP Status 404

RE: Tomcat has stopped working

2008-04-04 Thread Propes, Barry L
so maybe your server.xml file still points to the older version, while the JDK got updated? -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of David Crow Sent: Friday, April 04, 2008 3:04 PM To: users@tomcat.apache.org Subject: Tomcat has stopped working My Web site was

dynamically add new virtual host?

2008-04-04 Thread ahnf
Hi, How can I add a new virtual host on the fly, and have that configuration be persisted? I see the host-manager app, however once the host is added under conf/Catalina/host upon tomcat restart that host is not picked up because the server.xml is not edited. Is the host-manager app still in

Re: Tomcat has stopped working

2008-04-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Crow wrote: | Java is configured to automatically update itself Heh. Watch out for that. | and so v1.6.0.5 was | downloaded and installed. The next time I went to use the machine, I was | presented with the following: Did you