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

2008-04-07 Thread Remo Liechti
Hi Chris, |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 restart itself for any reason. Yes,

disable jsp cache in tomcat work folder

2008-04-07 Thread loredana loredana
Long story short, as everyone know, jsp files are cached in the work folder of tomcat. If I modify something in the jsp, I can't see the difference unless I delete the files under work folder. My problem is that I don't have rights/access to delete files under that folder. Is there any other

Re: Usage of Hibernate

2008-04-07 Thread Dirk Weigenand
Hi, Original-Nachricht Datum: Sun, 6 Apr 2008 19:37:04 -0700 (PDT) Von: Sam Wun [EMAIL PROTECTED] An: Tomcat Users List users@tomcat.apache.org Betreff: Usage of Hibernate Hi, I am new to Hibernate. From googl'ing around, I found that Hibernate is designed for mapping

RE: SEVERE: Error listenerStart

2008-04-07 Thread Ralph.Grothe
Hi Chuck, I apologize for the weekend caused delay with my reply. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2008 6:27 PM To: Tomcat Users List Subject: RE: SEVERE: Error listenerStart From: [EMAIL PROTECTED]

Re: web.xml pbm

2008-04-07 Thread supareno
Chuck, my Context element is in the proper place!! the thing that i don't understand is: why it is working with easyeclipse (when i start my webapp with ee, there is no problem) and why it doesn't work when i try to create the war with a build.xml ?? From: supareno [mailto:[EMAIL PROTECTED]

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

2008-04-07 Thread Adrian Woodhead
OK, so I got this to work by modifying my JRE's logging.properties file and adding this line: org.apache.tomcat.util.http.Parameters.level = SEVERE (ERROR is a log4j concept, SEVERE is for java logging). When I put this exact same line just in tomcat's conf/logging.properties file it had no

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

2008-04-07 Thread Stephanie Wullbieter
What is filling it? Is an app logging to stdout/stderr? An application is using the Documentum Foundation Classes (DFC-API) and the DFC-API reports errors to the stdout.log Stephanie Wullbieter wrote: Hi, tomcat 5.5 on windoze creates a file stdout_MMDD.log (=Year, MM=Month,

Re: disable jsp cache in tomcat work folder

2008-04-07 Thread David Smith
Normally jsps are monitored for updates and recompile if the date on the jsp is after the date on it's compiled .class file. If you are having trouble with jsps not recompiling after an update, one thing to check is if there is any difference between your system clock and the server's clock.

RE: Tomcat JSessionID regex

2008-04-07 Thread Andrew R Feller
Chris, Thanks for the reply! As far as why I was looking a regex to match the session ID, it was more to know what was valid or not. I certainly can match based on anything that isn't a space where I expect it to be. I just wanted to know how large it was so I could allocate enough space to

RE: Newbie: Question about first Servlet

2008-04-07 Thread Russo, Joe
Try calling the servlet name instead of the class. You may need to get rid of the space in the name. -Original Message- From: Kurt L Harless [mailto:[EMAIL PROTECTED] Sent: Sunday, April 06, 2008 1:14 AM To: users@tomcat.apache.org Subject: Newbie: Question about first Servlet

RE: Newbie: Question about first Servlet

2008-04-07 Thread David Cassidy
If i recall correctly the servlet must be in a package On Mon, 2008-04-07 at 09:52 -0400, Russo, Joe wrote: Try calling the servlet name instead of the class. You may need to get rid of the space in the name. -Original Message- From: Kurt L Harless [mailto:[EMAIL

RE: Newbie: Question about first Servlet

2008-04-07 Thread Caldarale, Charles R
From: David Cassidy [mailto:[EMAIL PROTECTED] Subject: RE: Newbie: Question about first Servlet If i recall correctly the servlet must be in a package No, JSPs almost always must be in packages, but servlets do not. However, it's definitely bad practice not to put servlets in packages. -

Re: Tomcat has stopped working

2008-04-07 Thread Mark H. Wood
iSeriesNavigator sounds like some application that came with your IBM i-Series hardware. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact opposite. pgp61d45t1yD0.pgp Description: PGP signature

Re: Problem serializing JDK dynamic proxies

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nilf, nlif wrote: | Here is the code of the Wrapper: Nice workaround. I'm not entirely sure why the ClassLoader tree is fighting you in this case, but it's nice to know that you can beat it into submission when necessary ;) - -chris -BEGIN

Re: Adding transactional classloader for dynamic code in webapp?

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Wall wrote: | So I'd like my based code to be able | to do something like call a method the user has defined that follows a | naming convention, such as | | boolean validatePhone(String phone) Could you get away with allowing users to

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

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Remo, Remo Liechti wrote: | |The best you can do is to turn off auto-reload. | | Where do I turn of auto reload? Will class files still be published to | tomcat after they changed? Set reloadable=false in your Context. | || I just want my code to

Re: Tomcat JSessionID regex

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew R Feller wrote: | Thanks for the reply! As far as why I was looking a regex to match | the session ID, it was more to know what was valid or not. The best you could do it determine if it were syntactically valid or not (that is, you

Tomcat 5.5.26 upload war problem

2008-04-07 Thread Jean-Pierre Astier
Hello, I've recently upgraded my tomcat server from 5.5.20 to 5.5.26. Now, when I want to upload my war application with tomcat manager to deploy my application, I've got this error message : java.lang.NoClassDefFoundError: org/apache/commons/io/output/ DeferredFileOutputStream

RE: Newbie: Question about first Servlet

2008-04-07 Thread Caldarale, Charles R
From: Russo, Joe [mailto:[EMAIL PROTECTED] Subject: RE: Newbie: Question about first Servlet Try calling the servlet name instead of the class. Now this is starting to get silly. Of course you use the url-pattern to access the servlet via HTTP; the servlet-name is pretty much only to link

Apache Tomcat role authorisation against AD2003

2008-04-07 Thread Rupert Whitefield
All, Hoping that someone can help. Checked google/marc etc. Similar posts, but no solutions?? Looking to authenticate authorise Tomcat 5.5.7 against AD 2003. Authentication works great. Authorisation doesn't. Server.xml: Realm className=org.apache.catalina.realm.JNDIRealm

RE: Tomcat 5.5.26 upload war problem

2008-04-07 Thread Caldarale, Charles R
From: Jean-Pierre Astier [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.26 upload war problem I've recently upgraded my tomcat server from 5.5.20 to 5.5.26. java.lang.NoClassDefFoundError: org/apache/commons/io/output/ DeferredFileOutputStream Looks like you're missing the commons-io jar.

Re: FileUpload problem (HTTPS)

2008-04-07 Thread Mark Thomas
Lars Nielsen Lind wrote: Problem solved - in the 5.x version the commons.io jar need to be copied to tomcat Sorry about that. It is a known bug that will be fixed in the next release. Mark - To start a new topic, e-mail:

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

2008-04-07 Thread Mark Thomas
Stephanie Wullbieter wrote: What is filling it? Is an app logging to stdout/stderr? An application is using the Documentum Foundation Classes (DFC-API) and the DFC-API reports errors to the stdout.log Take a look at the swallowOutput configuration parameter for a context. You should be

RE: Tomcat clustering

2008-04-07 Thread Enrique Arizón
Just one point: Notice clustering ussually must be made at the highest application layer. Generic Clustering support provided by containers can be of little help in a real world scenarios. If you users sessions are simple tomcat sessions clustering will be enough but if you have complex

Re: Tomcat clustering

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique, Enrique Arizón wrote: | If you users sessions are simple tomcat sessions clustering will be | enough but if you have complex session data structures (let's say for | example a java.util.ArrayList/Hashtable) you will need custom | solutions

Tomcat isapi on 64-bit Windows server.

2008-04-07 Thread Panian, Ardo
Ok has anyone gotten Tomcat to work with IIS on a Windows server 64-bit? I have downloaded the source code (isapi_redirector 1.2.26), and compiled it on the host server with no progress. I tried downloaded the 64bit edition of tomcat5.exe and tomcat5w.exe with no success. I downloadedAMD64 and

HOWTO setup a client auth ssl connection without verification

2008-04-07 Thread Story Henry
Hi, Sorry for sending this again. I sent a post with a png picture attached, but I am not sure it got through. None of the archives seem to do a good job of dealing with images [1] So here it is again, in case my mails got munged: I was looking for how I could set up a SSL connection in

Re: Tomcat clustering

2008-04-07 Thread Enrique Arizón
--- Christopher Schultz [EMAIL PROTECTED] escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique, Enrique Arizón wrote: | If you users sessions are simple tomcat sessions clustering will be | enough but if you have complex session data structures (let's say for | example a

Re: Tomcat clustering

2008-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique, Enrique Arizón wrote: | | Mysql makes a great help since it use in memory | (RAM) storage for | | clustered tables | | What are you talking about? The closest thing to | clustered tables that | MySQL supports is the FEDERATED storage

TC6 classpath problem...

2008-04-07 Thread Nathan Wilhelmi
Upgrading from TC5.5 to TC6 and having class path problems. We are starting it via JSVC, we used to start it up with the following class path: CLASSPATH=\ $JAVA_HOME/lib/tools.jar:\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar However with TC6, it requires

Re: Newbie: Question about first Servlet

2008-04-07 Thread Karthik Abram
8851-1 - Is that even a valid encoding? On 4/6/08, Kurt L Harless [EMAIL PROTECTED] wrote: OK, figured it out. I changed the Character Set to ?xml version=1.0 encoding=ISO-8859-1? Instead of ?xml version=1.0 encoding=ISO-8851-1 ? I figured this out by using the tomcat.exe to start the

RE: TC6 classpath problem...

2008-04-07 Thread Caldarale, Charles R
From: Nathan Wilhelmi [mailto:[EMAIL PROTECTED] Subject: TC6 classpath problem... to get apps to run we have to list the entire contents of $CATALINA_HOME/lib/ as part of the classpath value Did you know that setting CLASSPATH to anything when starting Tomcat is a capital offense?

Why doesn't security work for Tomcat 6.0.14

2008-04-07 Thread sex
I'm trying to give myself access to the manager web app, but have been = unsuccessful. My tomcat-users.xml looks like this: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=manager/ role rolename=admin/ user username=chris password=chris roles=admin,manager/ /tomcat-users

Re: Why doesn't security work for Tomcat 6.0.14

2008-04-07 Thread Steve Ochani
On 7 Apr 2008 at 19:35, sex wrote: I'm trying to give myself access to the manager web app, but have been = unsuccessful. My tomcat-users.xml looks like this: ?xml version='1.0' encoding='utf-8'? tomcat-users role rolename=manager/ role rolename=admin/ user username=chris

Re: RE: TC6 classpath problem...

2008-04-07 Thread Nathan Wilhelmi
I don't know how to get JSVC to start without it though, every example I can find of JSVC has the minimal classpath variables I listed. It won't start without it, likely as it bypasses the tomcat scripts you mentioned. What I am trying to figure out is why I have to list everything in /lib by

RE: RE: TC6 classpath problem...

2008-04-07 Thread Caldarale, Charles R
From: Nathan Wilhelmi [mailto:[EMAIL PROTECTED] Subject: Re: RE: TC6 classpath problem... I don't know how to get JSVC to start without it though, every example I can find of JSVC has the minimal classpath variables I listed. That's odd, because every example I looked at and especially

RE: SEVERE: Error listenerStart

2008-04-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: SEVERE: Error listenerStart Btw, I discovered a copy of Inside Servlets, 2nd Ed. by Dustin R. Callaway which appeared in 2001 and seems to cover the 2.2 or 2.3 Servlet Specs. That's from back in the dark ages - throw it in

RE: TC6 classpath problem...

2008-04-07 Thread Nathan Wilhelmi
Thanks for the pointer, I changed it to: JSVC_CLASSPATH=\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar:\ and passed $JSVC_CLASSPATH as the -cp command. It starts although I am getting some MBean errors, should this be picked up or do I need to extend the JSVC -cp

RE: TC6 classpath problem...

2008-04-07 Thread Caldarale, Charles R
From: Nathan Wilhelmi [mailto:[EMAIL PROTECTED] Subject: RE: TC6 classpath problem... JSVC_CLASSPATH=\ $CATALINA_HOME/bin/commons-daemon.jar:\ $CATALINA_HOME/bin/bootstrap.jar:\ Why do you have commons-daemon.jar on the -cp? None of the doc shows that. SEVERE: createMBeans: Throwable