RE: Why Tomcat hang for a while before starting

2008-03-06 Thread Mohamed Mohamedin
Can you please tell me how to detect such symbolic link. Thanks a lot -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:42 AM To: Tomcat Users List Subject: RE: Why Tomcat hang for a while before starting From: Mohamed

META-INF/context.xml does not take effect

2008-03-06 Thread uma_rk
Env: Jre 1.6, Tomcat 6.0.14 I have a collection of 3 webapp contexts installed in Tomcat. I have a context.xml defined in conf/ to define a a custom WebappLoader, since I want all my webapp contexts to be loaded using my custom loader: Loader className=com.xxx.MyWebappClassLoader

Re: viewing servlets on Tomcat

2008-03-06 Thread Richard Dunne
I have re-installled Tomcat (apache-tomcat-6.0.16) usung the zip. I have set CATALINA_HOME as c:\Program Files\Apache Software Foundation\Tomcat 6\apache-tomcat-6.0.16, but catalina.bat is moaning about not being set right. - Original Message From: Caldarale, Charles R [EMAIL

Re: difference between TC5.5 and TC6

2008-03-06 Thread Konstantin Kolinko
And also there is http://tomcat.apache.org/migration.html Is there any documentation available where I can read about all the changes that has happened from TC 5 to TC6. http://tomcat.apache.org/tomcat-6.0-doc/changelog.html

Re: CVS check-out

2008-03-06 Thread David kerber
I have no clue; I've never used CVS, ever! D Quodras, Naveen wrote: Hi David, Would you have any suggestions on the below query ?? -Original Message- From: Quodras, Naveen Sent: Thursday, March 06, 2008 1:57 AM To: 'Tomcat Users List' Subject: CVS check-out Hi, Don't

Re: CVS check-out

2008-03-06 Thread David Smith
I think you'll need post this question on a CVS list. I've never really had all that much success with CVS -- Subversion is MUCH better. --David Quodras, Naveen wrote: Hi David, Would you have any suggestions on the below query ?? -Original Message- From: Quodras, Naveen Sent:

RE: Why Tomcat hang for a while before starting

2008-03-06 Thread David Cassidy
normally ls -l in the directory concerned works for me. On Thu, 2008-03-06 at 14:19 +0200, Mohamed Mohamedin wrote: Can you please tell me how to detect such symbolic link. Thanks a lot -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent:

Re: viewing servlets on Tomcat

2008-03-06 Thread Richard Dunne
The CATALINA_HOME environment variable seems ok now, but catalina is now saying my JAVA_HOME is wrong. I have my jdk set at c:\Program Files\Java\jdk1.6.0_04 which catalina does not like, should I include bin in the path? Richard. - Original Message From: Caldarale, Charles R [EMAIL

RE: viewing servlets on Tomcat

2008-03-06 Thread pranab.das
Please use the full-path C:\Program Files\Java\jre1.6.0_05\bin Thanks Regards, Pranabhttp://www.birlasoft.com _ From: Richard Dunne [mailto:[EMAIL PROTECTED] Sent: Thu 3/6/2008 7:08 PM To: Tomcat Users List Subject: Re: viewing servlets on Tomcat The CATALINA_HOME environment

Nio related problem - all threads are stuck

2008-03-06 Thread esagi123 esagi123
Hello, I have a web server application running (I am using TOMCAT NIO connector). Looking at the thread dump It appears 392 request processing threads are stuck while waiting for a monitor: Waiting for monitor entry [0x58d75000..0x58d75eb0] at

Re: Tomcat Status Metrics: RRDTool Graph: Analysis

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smithson wrote: | I was wondering if | someone could have a look at [the graph] and tell me if I can | conclude that the performance directives in server.xml do not need to be | modified. That depends on your target performance. If you

Re: viewing servlets on Tomcat

2008-03-06 Thread Richard Dunne
I changed the Java directory from c:\Program Files\Java to c:\Java CATALINA_HOME is causing me grief again. CATALINA_HOME=c:\Program Files\Apache Software Foundation\Tomcat 6.0\apache-tomcat-6.0.16\bin JAVA_HOME=c:\Java\jdk1.6.0_04 If anyone has a suggestion about CATALINA_HOME? Richard.

RE: viewing servlets on Tomcat

2008-03-06 Thread Peter Crowther
From: Richard Dunne [mailto:[EMAIL PROTECTED] I have my jdk set at c:\Program Files\Java\jdk1.6.0_04 which catalina does not like, should I include bin in the path? Try replacing Program files with PROGRA~1 if you have short filenames enabled on your system, or put your JDK somewhere that

RE: viewing servlets on Tomcat

2008-03-06 Thread Caldarale, Charles R
From: Richard Dunne [mailto:[EMAIL PROTECTED] Subject: Re: viewing servlets on Tomcat CATALINA_HOME is causing me grief again. CATALINA_HOME=c:\Program Files\Apache Software Foundation\Tomcat 6.0\apache-tomcat-6.0.16\bin Saying causing me grief or catalina.bat is moaning is not really

RE: META-INF/context.xml does not take effect

2008-03-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: META-INF/context.xml does not take effect In the webapplication, the resource jdbc/MyJdbcConn is not accessible; What do you mean not accessible? What exact error are you seeing? Would the presence of conf/context.xml entirely

RE: Nio related problem - all threads are stuck

2008-03-06 Thread Caldarale, Charles R
From: esagi123 esagi123 [mailto:[EMAIL PROTECTED] Subject: Nio related problem - all threads are stuck Looking at the thread dump It appears 392 request processing threads are stuck while waiting for a monitor: Tomcat version? JRE/JDK version? Platform? - Chuck THIS COMMUNICATION

RE: viewing servlets on Tomcat

2008-03-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: viewing servlets on Tomcat Please use the full-path C:\Program Files\Java\jre1.6.0_05\bin Bad advice - the JAVA_HOME variable should *never* include the bin directory. Why are you posting obviously incorrect suggestions? -

Re: viewing servlets on Tomcat

2008-03-06 Thread Richard Dunne
I changed my Tomcat directory from c:\Program Files\Apache Software Foundation\Tomcat 6\ to c:\Tomcat\apache-tomcat-6.0.16 I noticed that when I set the CATALINA_HOME evironment variable, through the Control Panel, it was not taking affect. When I checked it in DOS with set CATALINA_HOME, it

Re: Nio related problem - all threads are stuck

2008-03-06 Thread esagi123 esagi123
I am running with JDK 1.5.0_11-b03, tomcat 6.0.14 on a linux redhat machine On Thu, Mar 6, 2008 at 4:38 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: esagi123 esagi123 [mailto:[EMAIL PROTECTED] Subject: Nio related problem - all threads are stuck Looking at the thread dump It

RE: Nio related problem - all threads are stuck

2008-03-06 Thread Caldarale, Charles R
From: esagi123 esagi123 [mailto:[EMAIL PROTECTED] Subject: Re: Nio related problem - all threads are stuck I am running with JDK 1.5.0_11-b03, tomcat 6.0.14 on a linux redhat machine What happens on a current JDK? (And a current Tomcat, for that matter.) - Chuck THIS COMMUNICATION

tomcat slower

2008-03-06 Thread ib solution
hai, i have a problem that my application slower in random day. can anyone help me to slove my problem or is there anyone that have a problem like me ? my software -tomcat 5.028 -mysql 5.0.21 -mysql connector 5.1 -SpringFramework -jasper report my hardware HP proliant with 2 GB RAM

RE: viewing servlets on Tomcat

2008-03-06 Thread Peter Crowther
From: Richard Dunne [mailto:[EMAIL PROTECTED] I noticed that when I set the CATALINA_HOME evironment variable, through the Control Panel, it was not taking affect. Yeah, that's bitten me in the past. In Windows (to my knowledge): - User environment variables are read by new processes.

RE: Nio related problem - all threads are stuck

2008-03-06 Thread Kaderabek, Kevin (TS)
On Linux, I have to create a virtual display with Xvfb and use it as the DISPLAY environment variable for the startup script. Maybe this was included in the old startup shell script, but was not carried over to the new tomcat. I think I got a DISPLAY not defined when I forgot to do this, but

RE: tomcat slower

2008-03-06 Thread Peter Crowther
From: ib solution [mailto:[EMAIL PROTECTED] hai, i have a problem that my application slower in random day. can anyone help me to slove my problem The person who developed the application? It's almost certainly application-related. or is there anyone that have a problem like me ? I

Re: Nio related problem - all threads are stuck

2008-03-06 Thread Filip Hanik - Dev Lists
can you point us to the complete dump, too little info below Filip esagi123 esagi123 wrote: Hello, I have a web server application running (I am using TOMCAT NIO connector). Looking at the thread dump It appears 392 request processing threads are stuck while waiting for a monitor: Waiting

JSP Classloader issue

2008-03-06 Thread Pat C
Hi, Similar to how different servlets run in different classloaders scope, we have written a web application (WAR File) that runs the applications for each customer by creating a classloader per customer within the same servlet context. This means that all the dependent jar files of the

RE: Tomcat Status Metrics: RRDTool Graph: Analysis

2008-03-06 Thread David Smithson
Hi, Christopher. Thanks for your reply. This is a typical hour on any given day. What other things should I be looking at in Tomcat and Java? I've got plenty of metrics from other parts of the operating system. I've got my on the JVM memory metrics that come from the Tomcat status page as

Re: viewing servlets on Tomcat

2008-03-06 Thread mgainty
Good Morning Richard dont blame the piano player on this as Windows uses the 8.3 folder names to verify cd \ dir /X /AD #note you will see PROGRA~1 assigned to C:\Program Files folder cd PROGRA~1 dir /X /AD #note you will see APACHE~1 assigned to Apache Software Foundation folder cd APACHE~1

RE: JSP Classloader issue

2008-03-06 Thread Caldarale, Charles R
From: Pat C [mailto:[EMAIL PROTECTED] Subject: JSP Classloader issue Similar to how different servlets run in different classloaders scope, Actually, it's different webapps that are handled by separate classloaders. All servlets of a given webapp are under the same classloader. we run

Re: Tomcat Status Metrics: RRDTool Graph: Analysis

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Smithson wrote: | Hi, Christopher. Thanks for your reply. This is a typical hour on | any given day. What other things should I be looking at in Tomcat | and Java? I've got plenty of metrics from other parts of the | operating

Re: Nio related problem - all threads are stuck

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, Kaderabek, Kevin (TS) wrote: | On Linux, I have to create a virtual display with Xvfb This is very unlikely to be the problem. If the application needs X, you'll get an exception when you try to do something that requires it. - -chris

RE: viewing servlets on Tomcat

2008-03-06 Thread pranab.das
For your kind information, I have suggested to set the Java env!! Thanks Regards, Pranab Das Software Engineer | Birlasoft Ltd. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 7:58 PM To: Tomcat Users List Subject: RE: viewing

Re: JSP Classloader issue

2008-03-06 Thread Martin Gainty
Pat- appears to be a security error http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#setContextClas sLoader(java.lang.ClassLoader) you'll need to set the runtime permission for the classLoader to execute via 1) make these edits to $CATALINA_HOME/conf/catalina.policy grant codeBase

RE: viewing servlets on Tomcat

2008-03-06 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: viewing servlets on Tomcat For your kind information, I have suggested to set the Java env!! What specific environment variable are you referring to? If it's JAVA_HOME (or JRE_HOME), it should not include the bin directory but

RE: Nio related problem - all threads are stuck

2008-03-06 Thread Kaderabek, Kevin (TS)
Understood. My point was more to see if startup.sh had been modified in previous tomcat version and those changes needed including in the new tomcat startup.sh. The DISPLAY variable was the one that's always bitten me in the past on Unix systems. Good day, Kevin -Original Message-

ExceptionInInitializerError

2008-03-06 Thread Pierre Goupil
Hello all, I'm getting an exception as soon as I try and launch Tomcat 6 (from Eclipse WTP or Sysdeo Launcher) : *** Exception in thread main java.lang.ExceptionInInitializerError Caused by: com.sun.org.apache.commons.logging.LogConfigurationException:

pls unubscribe

2008-03-06 Thread Sneha Manohar
pls unsubscribe my name from mailing list - 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

Re: Nio related problem - all threads are stuck

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, Kaderabek, Kevin (TS) wrote: | Understood. My point was more to see if startup.sh had been modified in | previous tomcat version and those changes needed including in the new | tomcat startup.sh. The DISPLAY variable was the one that's

Re: CVS check-out

2008-03-06 Thread Michael Beardsley
There's no facility in CVS that I'm aware of to do this. You're best bet would be to do a cvs export and then remove the files yourself. If you're on a *NIX box, you can use the find command to do this. Something like: find /path/to/cvs/export -type f -exec rm -{} \; Read the man pages for find.

Re: CVS check-out

2008-03-06 Thread Margotselma
In a message dated 3/6/2008 10:27:34 AM Pacific Standard Time, [EMAIL PROTECTED] writes: [EMAIL PROTECTED] ** It's Tax Time! Get tips, forms, and advice on AOL Money amp; Finance. (http://money.aol.com/tax?NCID=aolprf000301)

sym link to serve documents within web application.

2008-03-06 Thread Daniel Stephens
Hey everyone, Has anyone ever tried to serve documents from within a tomcat webapp vai a sym link. We have everything setup in tomcat to allowLinking within a context. But I can not get my web app to serve documents via the link.. example below. web-app location -

Configuring httpd and tomcat for individual user accounts

2008-03-06 Thread Choudhury, Sutanay
I'm trying to configure a system (Solaris/Linux) so individual developers run their own tomcat instances by setting the CATALINA_BASE to their individual directories. They would be using different ports for starting their tomcat instance, and we could preassign that. I would like to configure the

Re: Configuring httpd and tomcat for individual user accounts

2008-03-06 Thread Hassan Schroeder
On Thu, Mar 6, 2008 at 11:55 AM, Choudhury, Sutanay [EMAIL PROTECTED] wrote: I'm trying to configure a system (Solaris/Linux) so individual developers run their own tomcat instances by setting the CATALINA_BASE to their individual directories. They would be using different ports for

Re: NIO connector source code

2008-03-06 Thread neil davudo
Where? I downloaded the entire Tomcat source code. Can you point me to the directories? TIA Neil markt-2 wrote: neil davudo wrote: Where can I find the source code for the NIO connector that uses the CometProcessor? http://tomcat.apache.org Mark

RE: sym link to serve documents within web application.

2008-03-06 Thread Maffitt, David
Yes, we are doing this successfully. (Linux, java 1.5.0_11, tomcat 5.5.23). As you suggest, you have to set allowLinking=true attribute in the context element in the webapp's META-INF/context.xml file We have a different problem with this. Tomcat will follow the link and delete the contents

Re: Configuring httpd and tomcat for individual user accounts

2008-03-06 Thread Rainer Jung
Hi Sutanay, if you want to use mod_jk to connect httpd to Tomcat, there's a nice way of mapping naming conventions to workers: - mod_jk can read the name of the configured backend (Tomcat), called a worker in mod_jk, from an httpd environmnt variable. By default it is the env var

RE: mod_jk or mod_proxy_ajp - encryption benefits ?‏

2008-03-06 Thread James Ellis
I have done some goog'ling on IPSec and VPN and I have found three possibilities: 1) OpenSSH and Port Forwarding 2) OpenVPN 3) Stunnel (thanks little voice) What concerns me about all three options is error handling. If my OpenSSH or OpenVPN or Stunnel connection failed/timed out, the

Re: sym link to serve documents within web application.

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, Maffitt, David wrote: | We have a different problem with this. Tomcat will follow the link | and delete the contents of the linked-to directory when the app is | redeployed. We have to be sure that the link is deleted before | redeploying.

Re: mod_jk or mod_proxy_ajp - encryption benefits?‏

2008-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, James Ellis wrote: | I have done some goog'ling on IPSec and VPN and I have found three | possibilities: | | 1) OpenSSH and Port Forwarding | | 2) OpenVPN | | 3) Stunnel (thanks little voice) | | What concerns me about all three options is

Re: sym link to serve documents within web application.

2008-03-06 Thread Daniel Stephens
Thanks David, we found my misconfiguration about 30 minutes after I posted.. But I'm glad you brought up the redeploying issue. I didn't even think about that. So I guess I'll be adding some documentation to that piece. Thanks for your replies.. Danny On Thu, Mar 6, 2008 at 4:47 PM, Christopher

Re: Using tomcat to serve up directory

2008-03-06 Thread Frank Demion
Thank you. That did it. - Original Message From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, March 6, 2008 5:34:47 AM Subject: RE: Using tomcat to serve up directory From: Frank Demion [mailto:[EMAIL PROTECTED] Subject: Using

Re: tomcat slower

2008-03-06 Thread ib solution
hai peter, i am a develop on that of application, i would like to use jconsole to profile my application. before i try to use a jMeter but i do not how to start that application. is there any tool that i can use ? -- Salam, Andy Susanto,S.Kom

Re: NIO connector source code

2008-03-06 Thread Filip Hanik - Dev Lists
tomcat.apache.org, click download link, there is a zip file containing the source. Filip neil davudo wrote: Where? I downloaded the entire Tomcat source code. Can you point me to the directories? TIA Neil markt-2 wrote: neil davudo wrote: Where can I find the source code for the