RE: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: jvm cowardly refuses to print a thread dump we were unable to create a thread dump (kill -QUIT pid was just ignored by the jvm). That's ugly. Sounds like either the OS failed to deliver the signal, or the JVM is locked up internally

RE: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread Caldarale, Charles R
From: Stefan Rainer [mailto:[EMAIL PROTECTED] Subject: AW: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space Is there any possibiliy in Tomcat 5.0.28 to turn off session-persistence? First, you should be aware that 5.0.28 is no longer supported. In

RE: no jsp files will compile

2008-12-01 Thread Caldarale, Charles R
From: marlowe [mailto:[EMAIL PROTECTED] Subject: no jsp files will compile I have java 1.5 installed and tomcat5.5 on a Ubuntu machine. Is this a real Tomcat (i.e., one downloaded from tomcat.apache.org), or is it a 3rd-party repackaged version? There are no end of problems with the

RE: Memory consumption of Tomcat?

2008-12-01 Thread Caldarale, Charles R
From: Stefan Rainer [mailto:[EMAIL PROTECTED] Subject: AW: Memory consumption of Tomcat? It would be important to be able to plan the memory consumption of an application in productive environment. The only way to reliably determine that is to actually run the application under load in an

RE: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: jvm cowardly refuses to print a thread dump and two in at java.util.ArrayList.size(ArrayList.java:177) Just for grins, can you post the full stack trace for those two? (Or e-mail me the whole thing.) There's nothing unusual at

RE: no jsp files will compile

2008-12-01 Thread Caldarale, Charles R
From: marlowe [mailto:[EMAIL PROTECTED] Subject: RE: no jsp files will compile I installed it from ubuntu apt-get. Try installing a real Tomcat and see if the problem persists. Running Tomcat as root is really not recommended: http://wiki.apache.org/tomcat/FAQ/Security#Q3

RE: jvm cowardly refuses to print a thread dump

2008-12-01 Thread Caldarale, Charles R
From: Peter Crowther [mailto:[EMAIL PROTECTED] Subject: RE: jvm cowardly refuses to print a thread dump Might the code have ended up with all threads stuck in OS calls? It feels a little unlikely, as I assume the JVM keeps a couple of threads for itself... Unlikely that everybody's off in

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: What exactly happens when I configure a different host I noticed a strange behavior when I tried to configure a virtual host by changing the Host Name in server.xml from the default localhost to mydomain.com. If that's all you did, then you

RE: Updating users

2008-12-01 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Updating users What the OP needs is to use a real user database instead of the tomcat-users.xml. Yes, Hassan already told her that, and that's what I tried to imply by suggesting she implement her own Realm. - Chuck THIS

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Thats exactly what I have. Good. Context path= docBase=admin-web Valve className=org.apache.catalina.valves.AccessLogValve

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host java.lang.ClassNotFoundException: com.psi.servlet.Log4jInitializerServlet So where is the class file for com.psi.servlet.Log4jInitializerServlet located? - Chuck THIS

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host The thing is this servlet is not present at all. Have you modified conf/web.xml at all? Delete everything under conf/Catalina to make sure there are no left-over Context elements

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Here is the web.xml from my webapp - servlet servlet-nameaction/servlet-name servlet-classcom.psi.servlet.Log4jInitializerServlet/servlet-class init-param

RE: What exactly happens when I configure a different host

2008-12-01 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host When tomcat starts with host name = localhost, it does NOT throw any error about missing class file. Sorry, now I understand your concern. Have you tried changing the Host name and

RE: jvm cowardly refuses to print a thread dump

2008-12-02 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Schoett Subject: Re: jvm cowardly refuses to print a thread dump Very likely you have unsynchronized accesses to the ArrayList That's irrelevant for the size() method, where the entire code consists of this: public int size() {

RE: Tomcat v5.0 - QuartzScheduler Thread error

2008-12-02 Thread Caldarale, Charles R
From: viZor [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat v5.0 - QuartzScheduler Thread error Thread [DefaultQuartzScheduler_QuartzSchedulerThread] (Suspended (exception LogConfigurationException)) LogFactoryImpl.newInstance(String) line: 543

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:[EMAIL PROTECTED] Subject: Relation between sessions and server slowlyness In the spirit of André's recent Jonathan Swift / Ray Davies / Douglas Adams style posting, I'm tempted to answer this way: Is it possible that my application is slower because of the

RE: Relation between sessions and server slowlyness

2008-12-02 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:[EMAIL PROTECTED] Subject: RE: Relation between sessions and server slowlyness Referring to your comment whether my question is in the spirit of what Andre posted before I wasn't referring to your question, but rather to my initial terse responses of maybe and

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets Even when you get there though, it is still difficult to download this thing. The proposed filename is not a valid path and must be changed.. What browser and platform are you using? (I'm asking

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Tomcat mapping of URLs - servlets Note that the servlet-2_5-mrel2-spec.pdf button cannot be right-clicked and processed with Save As I was mistaken; you can do a right-click and Save As, without any problems. Were you on the correct page when you

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets I was using Firefox 2.0.0.15, on a Windows XP station. Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was in beta.

RE: What exactly happens when I configure a different host

2008-12-03 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host I changed the Host Name and Engine defaultHost back to localhost and the error vanishes. However, it re appears when I give a different name than localhost. Finally had time to go

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets At deployment time thus (in my hypothetical case above when Tomcat starts and finds a such webapps top dir), does it recursively go through the webapp dirs and subdirs, to determine what is a webapp

RE: Tomcat mapping of URLs - servlets

2008-12-03 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs - servlets Except if there was, for /foo/bar, an appropriate Context element, inside a foo#bar.xml file, itself located under (tomcat_base)/conf/Catalina/(hostname)/ Or an [appBase]/foo#bar directory, or an

RE: Session timeout related fixes between Tomcat 5.0 and Tomcat 5.5.x?

2008-12-03 Thread Caldarale, Charles R
From: andre John Mas [mailto:[EMAIL PROTECTED] Subject: RE: Session timeout related fixes between Tomcat 5.0 and Tomcat 5.5.x? When I speak to our operations team they tell me that the server crashes because it is unable to create any more sessions They're fudging, so you really do need to

RE: What exactly happens when I configure a different host

2008-12-03 Thread Caldarale, Charles R
From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Does that mean when we change the Host, we have to have a handler added in logging.properties as well. ? Have to - no; should - probably. If you don't define one, the logging info

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-03 Thread Caldarale, Charles R
From: Justin Randall [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading Basically when I restart Tomcat, it doesn't call any of the init methods of the Servlet Unless you have load-on-startup set for the servlet in your webapp's WEB-INF/web.xml, that is correct

RE: Need help : Tomcat Stuck up

2008-12-03 Thread Caldarale, Charles R
From: Kranti(tm) K K Parisa [mailto:[EMAIL PROTECTED] Subject: Need help : Tomcat Stuck up We are facing very serious issues of tomcat getting stuck after using it for some time. What does a thread dump show? What does running with -verbose:gc show? Try connecting to the stuck JVM with

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Caldarale, Charles R
From: Justin Randall [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6.0.18 Servlet Loading/Reloading Each Servlet in the application has load-on-startupX/load-on-startup where X represents the numeric order in which I've assigned them to start. Then yes, there's a problem, since your

RE: Is this list archived?

2008-12-04 Thread Caldarale, Charles R
From: David.Meldrum [mailto:[EMAIL PROTECTED] Subject: Is this list archived? Is there a searchable archive of this mailing list? To quote from the Tomcat mailing lists description page: http://tomcat.apache.org/lists.html#tomcat-dev Archives: at Apache, at MARC (searchable), at MarkMail and

RE: Mini HOW-TO: Tomcat as a service on Windows Server 2003 64-bitedition

2008-12-04 Thread Caldarale, Charles R
From: kareda [mailto:[EMAIL PROTECTED] Subject: Re: Mini HOW-TO: Tomcat as a service on Windows Server 2003 64-bitedition used the 64-bit tomcat binaries Which ones? AMD64 or IA64? (Hint: you need the AMD64 ones.) server info: 64-bit windows 2003 running on Quad Core Intel Xeon X3320 (4

RE: Mini HOW-TO: Tomcat as a service on Windows Server 200364-bitedition

2008-12-04 Thread Caldarale, Charles R
From: kareda [mailto:[EMAIL PROTECTED] Subject: RE: Mini HOW-TO: Tomcat as a service on Windows Server 200364-bitedition I used the amd binaries as the guide said those should do the trick for Intel processors: http://svn.apache.org/viewvc/tomcat/tc6.0.x/tags/TOMCAT_6_0_16

RE: Tomcat 6.0.18 Servlet Loading/Reloading

2008-12-04 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6.0.18 Servlet Loading/Reloading -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It's also a good idea to call this.init() as well, since that's the expected behavior established by GenericServlet. Or just do it the

RE: Trying to run tc from a read-only partition . . .

2008-12-04 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Trying to run tc from a read-only partition . . . setting the [Engine Realm Host Valve]:directory with the full path to where you want the logs to be sent Insufficient, since you didn't change where the vast majority of the logs

RE: Create Virtual Host without shutting down tomcat

2008-12-05 Thread Caldarale, Charles R
From: Milan Cvejic [mailto:[EMAIL PROTECTED] Subject: Re: Create Virtual Host without shutting down tomcat I need this... Is any way to add new VirtualHost without restarting tomcat? This question was just answered a few hours ago: http://marc.info/?l=tomcat-userm=122847474332531w=2 -

RE: initial memory pool and maximum memory pool in Tomcat 6.x

2008-12-05 Thread Caldarale, Charles R
From: Tuan Quan [mailto:[EMAIL PROTECTED] Subject: Re: initial memory pool and maximum memory pool in Tomcat 6.x but the question really is the relationship between Memory Pool and Permgen, since some time my app will run out of Permgen. PermGen size is set separately from the Java heap,

RE: session de-serialization issue

2008-12-05 Thread Caldarale, Charles R
From: Tom Mader [mailto:[EMAIL PROTECTED] Subject: session de-serialization issue 5-Dec-08 7:02:14 PM org.apache.catalina.session.StandardManager doLoad SEVERE: IOException while loading persisted sessions: java.io.InvalidClassException: invalid field type for testClass in class

RE: session de-serialization issue

2008-12-06 Thread Caldarale, Charles R
From: Tom Mader [mailto:[EMAIL PROTECTED] Subject: RE: session de-serialization issue Does the sun-packaged RPM work on CentOS 5.2 ? No idea. I try to always get the product from the original vendor (Sun, in this case), since the 3rd-party repackaged versions often to do very non-standard

RE: Tomcat vs. Samba

2008-12-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] Subject: Tomcat vs. Samba So basically, the credentials I input when mapping the network drive get picked up when invoking Ant by hand (scenario #2), but they don't get picked up when it is Hudson running on Tomcat that is invoking Ant (scenario #3). Windows is

RE: Tomcat - MySQL Error: Invalid DataSource

2008-12-07 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat - MySQL Error: Invalid DataSource Move WEB-INF/context.xml to META-INF/context.xml and restart you webapp. /WEB-INF/context.xml: Context path=/DBTest docBase=DBTest While you're at it, remove the path and docBase

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Caldarale, Charles R
From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: Re: tomcat gets stuck after a load for streams writing why? was there a bug regarding this issue which was fixed there? Possibly, notably this one: https://issues.apache.org/bugzilla/show_bug.cgi?id=44620 However, if you're not burning

RE: default application versus secondary application

2008-12-07 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: default application versus secondary application My directory structure is like this: c:\webapps\ c:\webapps\ROOT\ c:\webapps\ROOT\index.html c:\webapps\secondApp\ c:\webapps\secondApp\index.html The above is appropriate for two

RE: tomcat gets stuck after a load for streams writing

2008-12-07 Thread Caldarale, Charles R
From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: RE: tomcat gets stuck after a load for streams writing i configured the maxThreads on the executor and didn't help. It should have let you get to 400 request processors, rather than the default of 200 that you were seeing. i also

RE: Tomcat vs. Samba

2008-12-08 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat vs. Samba - when you have such a user-id/password, then go into the Services applet (My computer...,Manage.., Services and Applications,.. Services, right-click on Tomcat in the right panel, choose Properties, and the Logon

RE: request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: request for enlightening - StandardSession and expiring flag Correct me if I'm wrong, but if two threads come in simultaneously into this method, wouldn't they both bypass the first check for expiring==true and the synchronized block

RE: request for enlightening - StandardSession and expiring flag

2008-12-08 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: request for enlightening - StandardSession and expiring flag I'm wondering whether this https://issues.apache.org/bugzilla/show_bug.cgi?id=46193 can be related. Certainly looks suspicious, but I'm not sure how the specific

RE: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Again: Autodeploy in Tomcat 6 Next, I put a webapp (roller.war) into ${catalina.home}/webapps - awaiting deployment Since you've redefined the appBase to example.com, nobody's looking at the old appBase directory. What happens

RE: Again: Autodeploy in Tomcat 6

2008-12-08 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Re: Again: Autodeploy in Tomcat 6 actually, I put roller.war into ${catalina.home}/example.com/webapps O.k., that's good, and your server.xml appears to be o.k. as well. I'll assume you restarted Tomcat after making the changes to

RE: Undeploy context

2008-12-08 Thread Caldarale, Charles R
From: Tokajac [mailto:[EMAIL PROTECTED] Subject: Undeploy context Tomcat is running all the time. What version of Tomcat? What platform are you running on? What JVM version? You need to provide the basics anytime you start a discussion thread. When i want to delete folder and .war file

RE: multiple copies of jar files

2008-12-09 Thread Caldarale, Charles R
From: Timothy J Schumacher [mailto:[EMAIL PROTECTED] Subject: multiple copies of jar files TC 5.0.12 java version 1.4.1_04 Both sadly outdated and unsupported. $CATALINA_HOME/server/lib/catalina.jar $CATALINA_HOME/shared/lib/catalina.jar That's probably not good; catalina.jar should only

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-09 Thread Caldarale, Charles R
From: andrew [mailto:[EMAIL PROTECTED] Subject: service.bat install failure (Windows, v 6.0.18) I see the Notice at the top of the page saying that this is now obsolete They're obsolete primarily because service.bat does it all for you; as far as I can tell, it's just procrun 1.0 that's

RE: Apache Tomcat 6.0.18 Not Starting

2008-12-09 Thread Caldarale, Charles R
From: Michael CC [mailto:[EMAIL PROTECTED] Subject: Apache Tomcat 6.0.18 Not Starting I just installed this version on Vista. When I run startup.bat, Tomcat is not finishing loading. What makes you think that? What's shown in your log is exactly what one would expect to see. Dec 9, 2008

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-09 Thread Caldarale, Charles R
From: andrew [mailto:[EMAIL PROTECTED] Subject: Re: service.bat install failure (Windows, v 6.0.18) I do have a *wild* guess that this problem has something to do with userid that the tomcat service uses to Log On As. Usually this is something like, Local System It's Local System. Perhaps

RE: Form Based Authenticattion - j_security_check does not redirectfrom http to https

2008-12-09 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Form Based Authenticattion - j_security_check does not redirectfrom http to https SKantS wrote: Also, I have redirected all my requests for port-80 to port-443. How did you do this? And if you did it via any means other

RE: Tomcat resources

2008-12-09 Thread Caldarale, Charles R
From: Kees de Kooter [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat resources Is this some would-be turing machine babbling away or is there are genuine question here? Might be time to repost Andre's list... http://marc.info/?l=tomcat-userm=122823060425367w=2 - Chuck THIS COMMUNICATION

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-09 Thread Caldarale, Charles R
From: andrew [mailto:[EMAIL PROTECTED] Subject: Re: service.bat install failure (Windows, v 6.0.18) It is the Administrator account. Just for the sake of trying something, use a different account that is a member of the Administrators group. I assume Local System is the default. It is.

RE: Apache Tomcat 6.0.18 Not Starting

2008-12-09 Thread Caldarale, Charles R
From: Michael CC [mailto:[EMAIL PROTECTED] Subject: RE: Apache Tomcat 6.0.18 Not Starting Seems odd the way the server.bat file never closed gracefully. There is no server.bat file; did you mean service.bat or startup.bat? When I check Services in the Windows Task Manager, I don't see any

RE: Tomcat thread pool question

2008-12-09 Thread Caldarale, Charles R
From: ped [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat thread pool question No DB connections will be freed because the requests from the client that are trying to perform commits (thereby freeing a DB connection) are not being processed by Tomcat. Tomcat doesn't process requests - your

RE: Tomcat resources

2008-12-09 Thread Caldarale, Charles R
From: tomkitten [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat resources How can I use a hibernate.cfg.xml (hibernate configuration) as resource in a war file? What needs to go into the Context.xml? Possibly nothing. GIYF: http://www.hibernate.org/114.html - Chuck THIS COMMUNICATION MAY

RE: How to disable tomcat url rewriting

2008-12-09 Thread Caldarale, Charles R
From: 田标 [mailto:[EMAIL PROTECTED] Subject: How to disable tomcat url rewriting Then how can I disable tomcat's url rewriting forcely? What do you mean by tomcat's url rewriting? Are you referring to appending JSESSIONID to any URLs returned? This thread discusses some alternatives:

RE: tomcat not starting up

2008-12-09 Thread Caldarale, Charles R
From: rajesh202023 [mailto:[EMAIL PROTECTED] Subject: tomcat not starting up please let me know what is the problem You mean besides not telling us the version of Tomcat you're using or how you're trying to run it? Looks like either conf/catalina.properties is corrupted, or you started

RE: Tomcat thread pool question

2008-12-10 Thread Caldarale, Charles R
From: ped [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat thread pool question I believe that all of the code below (except the top 4 call frames) are coyote and catalina code. It's the top frames that are critical, of course, since they show where the thread is stuck. When I recreate my

RE: Tomcat caching of static resources?

2008-12-10 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Tomcat caching of static resources? is it possible to cache static images and .js files in Tomcat? Think about what you just asked for: how would caching static resources in the server avoid them being downloaded by the browser? It's the

RE: Tomcat thread pool question

2008-12-10 Thread Caldarale, Charles R
From: ped [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat thread pool question Perhaps there is a subtle bug here, or misconfiguration on my part It's not subtle - it's blatant. The db connection pool is exhausted, all of the Tomcat threads are waiting for db connections to become available,

RE: Tomcat thread pool question

2008-12-10 Thread Caldarale, Charles R
From: ped [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat thread pool question So that implies that Tomcat only supports a max of 3 threads... Obviously untrue, since the default is 200. I uncommented: Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=150

RE: Context placement question

2008-12-10 Thread Caldarale, Charles R
From: János Löbb [mailto:[EMAIL PROTECTED] Subject: Context placement question The default context.xml in the conf directory - $CATALINA_BASE/conf/ context.xml -, starts up the StandardContext by default No - it merely adds attribute values for *all* Context elements, even for webapps that

RE: How do I uninstall tomcat

2008-12-10 Thread Caldarale, Charles R
From: BoyePeter [mailto:[EMAIL PROTECTED] Subject: How do I uninstall tomcat Can I just delete the tomcat directory? If you installed Tomcat from the .zip download, then yes. If you ran the service.bat script to create a Tomcat service, run service.bat remove first. If you had used the

RE: problem in pooled database

2008-12-10 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: problem in pooled database also if you are going to be opening up more than 1 connection I would suggest using connection-pool The OP is already using connection pooling. Note the subject line of this thread and the use of a

RE: Tomcat thread pool question

2008-12-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat thread pool question So we have a Tomcat, which somehow has a pool of database connections ready to be lent to webapps. In this particular case, the db connection pool is managed by Hibernate, not Tomcat. More typical usage

RE: Tomcat thread pool question

2008-12-10 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat thread pool question So it has nothing to do directly with the threads. Only in determining how many requests can be accepted by Tomcat before going on the limited TCP/IP queue and subsequent requests being rejected. I will

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-10 Thread Caldarale, Charles R
From: andrew [mailto:[EMAIL PROTECTED] Subject: Re: service.bat install failure (Windows, v 6.0.18) I did a completely clean extract of the 6.0.18 tar.gz archive I usually use the .zip for Windows, but it should be the same thing. I notice that it does not start the service, so I take care

RE: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread Caldarale, Charles R
From: BoyePeter [mailto:[EMAIL PROTECTED] Subject: Re: HTTP 400 Error when trying to check Tomcat installation SEVERE: Error deploying web application directory ROOT java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-11 Thread Caldarale, Charles R
From: andrew [mailto:ad...@ecpcorp.net] Subject: Re: service.bat install failure (Windows, v 6.0.18) I've seen the Tomcat doc page explaining tomcat6w.exe (it's just a rename of tomcat6.exe, correct?), No, it's a completely different program; it's a GUI tool to manage the Tomcat service.

RE: service.bat install failure (Windows, v 6.0.18)

2008-12-12 Thread Caldarale, Charles R
From: andrew [mailto:ad...@ecpcorp.net] Subject: Re: service.bat install failure (Windows, v 6.0.18) The fact that the .tar.gz version is so close to correct on Windows, makes me hope to eventually track down the precise cause of failure; it might be interesting. I'd also like to know the

RE: Tomcat 5.5 manager deploy context descriptor

2008-12-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 5.5 manager deploy context descriptor Is there a way to see, if my context.xml is actually loaded anywhere? You might want to try loading LambdaProbe (http://www.lambdaprobe.org/). You can also use

RE: Setting /WebContent as ROOT for an application

2008-12-13 Thread Caldarale, Charles R
From: Tom Blank [mailto:blank-...@gmx.net] Subject: Setting /WebContent as ROOT for an application For Example: http://localhost:8080/myApp/ should point to this directory: C:/Server/Tomcat/webapps/myApp/WebContent/ where my index.jsp is located. This is not a property setting - it's

RE: RE: Setting /WebContent as ROOT for an application

2008-12-13 Thread Caldarale, Charles R
From: Tom Blank [mailto:blank-...@gmx.net] Subject: Re: RE: Setting /WebContent as ROOT for an application The reason why I'm asking is, because I'm using eclipse and its 'dynamic web project' structure. I'm not an Eclipse user, so I can't really help you in how to properly set up projects

RE: HTTP Status 404 with Apache Tomcat/5.5

2008-12-14 Thread Caldarale, Charles R
From: hsuan [mailto:hs...@nchc.org.tw] Subject: HTTP Status 404 with Apache Tomcat/5.5 What's the problem ! How can I to solve the problem? http://marc.info/?l=tomcat-userm=122823060425367w=2 http://www.catb.org/~esr/faqs/smart-questions.html - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Server returned HTTP response code: 408 for URL: https...j_security_check

2008-12-14 Thread Caldarale, Charles R
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com] Subject: Server returned HTTP response code: 408 for URL: https...j_security_check Server returned HTTP response code: 408 for URL: https://localhost:6143/mywebservice/action/j_security_check You're not allowed to reference

RE: Server returned HTTP response code: 408 for URL: https...j_security_check

2008-12-14 Thread Caldarale, Charles R
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com] Subject: RE: Server returned HTTP response code: 408 for URL: https...j_security_check The request input stream is set to j_username=usernamej_password=password. Good so far. But to what URL should the above response be

RE: Server returned HTTP response code: 408 for URL: https...j_security_check

2008-12-14 Thread Caldarale, Charles R
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com] Subject: RE: Server returned HTTP response code: 408 for URL: https...j_security_check How does the client get the JSESSIONID? It's normally sent as a cookie; if the client has disabled cookies, the login page servlet or JSP

RE: HTTP Status 500 problem with tomcat5.5

2008-12-14 Thread Caldarale, Charles R
From: hsuan [mailto:hs...@nchc.org.tw] Subject: HTTP Status 500 problem with tomcat5.5 Much better post this time - you actually supplied real information, but you didn't tell us the JVM you're using, nor the platform you're running on. org.apache.jasper.JasperException: Exception in JSP:

RE: why we need CATALINA_HOME to install tomcat..

2008-12-15 Thread Caldarale, Charles R
From: BEN HMIDA aymen [mailto:aymen.benhm...@tunisiana.com] Subject: RE: why we need CATALINA_HOME to install tomcat.. The reason is mostly for Unix/Linux users to faciltate the acces to tomcat installation directory in shell. And for setting tomcat as a service in Unix/Linux and so on

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: Understanding Tomcat Memory Utilization Can someone help me understand why tomcat is configured to use 64MB, but claims to peak at 48MB Because that's all it needs to initialize. Unless you set -Xms == -Xmx, the JVM starts out

RE: Want to disable automatically generated Context element

2008-12-15 Thread Caldarale, Charles R
From: meharo [mailto:meh...@gmail.com] Subject: Want to disable automatically generated Context element I want to keep default setting deployOnStartup = true, but disable automatically generating Context element for any subdirectory within the application base directory You can't. A webapp

RE: bad content type mod_jk 1.2.27

2008-12-15 Thread Caldarale, Charles R
From: marcobalc [mailto:m.bal...@i-contact.it] Subject: Re: bad content type mod_jk 1.2.27 Someone can help me to identify which tomcat class set the content type about a request? For static content, it's org.apache.catalina.servlets.DefaultServlet. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: SEVERE: Exception fixing docBase: {0} on Windows XP

2008-12-15 Thread Caldarale, Charles R
From: joe_77 [mailto:joseph_freema...@yahoo.com] Subject: SEVERE: Exception fixing docBase: {0} on Windows XP SEVERE: Exception fixing docBase: {0} java.util.zip.ZipException: Access is denied. The error message seems pretty descriptive. Have you checked that the account Tomcat is

RE: Understanding Tomcat Memory Utilization

2008-12-15 Thread Caldarale, Charles R
From: Robinson, Eric [mailto:eric.robin...@psmnv.com] Subject: RE: Understanding Tomcat Memory Utilization Tomcat says it is configured to use a maximum of 64MB That's 64 MB for the *Java heap*, not the entire process. The process space includes lots of other things besides the Java heap,

RE: HTTP Status 500 problem with tomcat5.5

2008-12-15 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:mil...@gmx.de] Subject: Re: HTTP Status 500 problem with tomcat5.5 In your case, Chuck, this is Locale.US, so it works for you. My default locale is Locale.GERMANY, so I have to write: new SimpleDateFormat(EEE MMM dd HH:mm:ss zzz , Locale.US); Ahhh...

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: Blocking yes I would be concerned about the 9 wait threads It's not the number of waiting threads, it's the number of times this particular thread has done a wait() call. Since the main thread is the one that drives

RE: Blocking

2008-12-15 Thread Caldarale, Charles R
From: AD [mailto:straightfl...@gmail.com] Subject: Blocking For example in Main Thread Name: main State: RUNNABLE Total blocked: 54 Total waited: 9 Once initialization is complete, the main thread does nothing but listen for the shutdown command. The blocks and waits all occurred during

RE: problem on configure the java_option

2008-12-16 Thread Caldarale, Charles R
From: Piller Sébastien [mailto:pi...@hmcrecord.ch] Subject: Re: problem on configure the java_option you should add spaces between -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=256m Definitely required. and the memory size must be, as far as i remember, a power of 2 (512M, 1024M,

RE: Moving catalina.out to some other location

2008-12-16 Thread Caldarale, Charles R
From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Subject: Moving catalina.out to some other location Is there a way to move tomcat log files to some other location There is no catalina.out in the current version of Tomcat. (But then, you didn't bother to tell us the version of Tomcat

RE: Session replication/sharing across WARs?

2008-12-16 Thread Caldarale, Charles R
From: Robert Campbell [mailto:rrc...@gmail.com] Subject: Session replication/sharing across WARs? This means that I need single sign-on/share session between the two apps. Both WARs will be deployed on the same Tomcat 5.5 instance, It's in the docs:

RE: How to install the session cookie into the original request of the secure area?

2008-12-16 Thread Caldarale, Charles R
From: removeps-gro...@yahoo.com [mailto:removeps-gro...@yahoo.com] Subject: How to install the session cookie into the original request of the secure area? When making a connection to the secure area of my website through code, the original request is saved, but the JSESSIONID cookie is not

RE: How to install the session cookie into the original request ofthe secure area?

2008-12-16 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: How to install the session cookie into the original request ofthe secure area? You need to invest* in a copy of Wireshark so you can see the differences in the requests that a browser sends vs the ones your client

RE: TOMCAT Win Server 2003

2008-12-16 Thread Caldarale, Charles R
From: gen [mailto:g...@bud.co.jp] Subject: RE: TOMCAT Win Server 2003 Is TOMCAT6 running at the platform of Win server 2003? Yes, many people on this list are running Tomcat on Win2K3. I failed to start the service of TOMCAT6. You may need to place a copy of msvcr71.dll in Tomcat's bin

RE: Serious security problem with mod_jk?

2008-12-17 Thread Caldarale, Charles R
From: George Payne [mailto:gpa...@virginia.edu] On Behalf Of Payne, George (ghp5h) Subject: RE: Serious security problem with mod_jk? or you have to have tomcat serve all static files, bypassing a big reason why most people (I assume) are using apache to front tomcat. Serving static

RE: Servlet Spec2.3 error

2008-12-17 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: Servlet Spec2.3 error taking Servlet-api.jar out of WEB-INF/lib fixes the error As it should. You must not have *any* version of the servlet-api.jar in WEB-INF/lib. Newer versions of Tomcat detect its presence and ignore it, older

RE: Recurrent OutOfMemoryError during Eclipse publish operation to test environment

2008-12-18 Thread Caldarale, Charles R
From: Kees de Kooter [mailto:kdekoo...@gmail.com] Subject: Re: Recurrent OutOfMemoryError during Eclipse publish operation to test environment Did you try doubling the permsize? -XX:PermSize=256m It doesn't look like a problem with PermGen; this is a direct allocation done by Eclipse:

<    1   2   3   4   5   6   7   8   9   10   >