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

2008-04-07 Thread Remo Liechti
Chris, When using reloadable=false I'm not able to hot deploy java code, so this doesnt solve the problem. As far as I see there is no way to prevent tomcat from reinit the context. The myeclipse guys wrote an own tomcat server handleing plugin with managers and all that stuff, so they made some

3 instance of Tomcat Server

2008-04-07 Thread Kaushal Shriyan
Hi, How can i install 3 instance of Tomcat Server on a single host Thanks and Regards Kaushal

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: Throw

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 bey

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

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 especi

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 ha

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: > > > > > > > > > > but I always get a "401 Unauthorized" error. Any ideas? > Did you even bother to read the repl

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: but I always get a "401 Unauthorized" error. Any ideas?

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? Re

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 > > > > Instead of > > > > I figured this out by using the tomcat.exe to start the service and saw the > dump message when it was trying to parse

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 CLASSPATH

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 engin

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 >

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 Tomc

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 an

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 t

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 session

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 able

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: use

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

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: > > >connectionURL="ldap://x.x.x.x:y

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 org.apache.

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 to access the servlet via HTTP; the is pretty much only to link the element to the

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

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 . | || I just want my code to be hot

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 s

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 PGP

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: 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: 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:[EMA

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: 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 it.

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: 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

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 e

Re: web.xml pbm

2008-04-07 Thread supareno
Chuck, my 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] Subject: R

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] > > [m

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 > Betreff: Usage of Hibernate > Hi, > > I am new to Hibernate. > >From googl'ing around, I found that Hibernate is designed for mapping > object clas