Re: tomcat manager not working

2011-09-09 Thread André Warnier
I don't want to confuse things even more, but the OP in his configuration has : Engine name=Catalina defaultHost=localhost and Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host

Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
We're experiencing a problem on both production and test systems that has only started to occur in the last few weeks (no new version of any software have been put live to anyone's knowledge) that has us quite stumped. We are seeing tomcat starting up additional copies of itself, each new copy

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread André Warnier
Intriguing. For a complement of information : - what is the exact platform ? - is Tomcat started via jsvc ? - as a matter of fact, *how* is the main Tomcat being started ? What does the command netstat -pan | grep LISTEN show when you have such multiple copies running ? (the form of the

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 09 Sep 2011 11:25:13 +0200 schrieb André Warnier a...@ice-sa.com: What does the command netstat -pan | grep LISTEN show when you have such multiple copies running ? Unfortunately Solaris' netstat doesn't know a option to show listeners. IIRC there are some scripts in Solaris-world that

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 9 Sep 2011 09:54:36 +0100 schrieb Dave Stubbs d...@stubbs.uk.com: When we list the system tasks we see that the ghost process PPID is the same as the PID of the still running main tomcat instance. Here is list of what happened when it wasn't picked up for a while. Obviously the

Re: tomcat manager not working

2011-09-09 Thread Russ Michaels
thanks for the replies guys. just to clarify I do not have any issues with virtual hosts they work fine, my only problem is getting the Tomcat Admin running on localhost:, this is the only thing not working right now. As I mentioned before under webapps I have 4 folders docs host-manager

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Konstantin Kolinko
2011/9/9 Dave Stubbs d...@stubbs.uk.com: We are seeing tomcat starting up additional copies of itself, each new copy is allocating a chunk of storage, it only starts 1 thread, nothing gets written to any logs and no CPU is being listed as having been used. (...) 1. It might be an issue with ps

Re: tomcat manager not working

2011-09-09 Thread André Warnier
Russ Michaels wrote: thanks for the replies guys. just to clarify I do not have any issues with virtual hosts they work fine, my only problem is getting the Tomcat Admin running on localhost:, this is the only thing not working right now. As I mentioned before under webapps I have 4

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
This is on Solaris 10 which doesn't have that issue. Each process is allocating its own storage so it looks like it's completely separate from the parent process, threads would share the parents storage space. No, we definitely aren't starting any additional processes ourselves. This is happening

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
I'll get that checked when it next happens (it's doing it daily at the moment sometime several times). We've already tried to match the events with the activity on the parent JVM, haven't found anything yet though (haven't given up on this). One thing we did notice is higher CPU usage on the

Re: tomcat manager not working

2011-09-09 Thread Russ Michaels
ok I have completely deleted the maxyexpress vhost as it is not needed anyway. restarted Apache still the same issue i'm afraid. I think all the vhosts need webapps as the appbase for Railo, as this is how it is on all my other installs as well. here is the exact error if it helps. HTTP Status

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
Solaris environment is SunOS ** 5.10 Generic_127127-11 sun4v sparc SUNW,SPARC-Enterprise-T5120 System = SunOS Node = ** Release = 5.10 KernelID = Generic_127127-11 Machine = sun4v BusType = unknown Serial = unknown Users = unknown OEM# = 0 Origin# = 1 NumCPU = 64

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread André Warnier
Ok, fishing in the dark really, but trying to accumulate more clues. What about the other questions (how is Tomcat started) ? And, looking at your original ps list, some vague thing : all these ghost processes seem to a) not be doing much (CPU time 0), even after a long time. b) all be started

cpu problem with tomcat 7.0.14

2011-09-09 Thread Yavuz Sert
Hi all, We have a problem with tomcat server. For hours, cpu usage for tomcat7.exe is %100. I have installed processExplorer. Here is the output for tomcat threads The server is Win Server 2008 R2 Enterprise, 64 bit, 4gb tam, Intel xeon 2.67 (x2) cpu (vmware) Any idea about this? Best

RE: cpu problem with tomcat 7.0.14

2011-09-09 Thread Yavuz Sert
The screenshot is attached. From: Yavuz Sert [mailto:yavuz.s...@argela.com.tr] Sent: Friday, September 09, 2011 4:40 PM To: users@tomcat.apache.org Subject: cpu problem with tomcat 7.0.14 Hi all, We have a problem with tomcat server. For hours, cpu usage for tomcat7.exe is %100. I

Re: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Tobias Crefeld
Am Fri, 09 Sep 2011 14:34:44 +0200 schrieb André Warnier a...@ice-sa.com: As an alternative to netstat under Solaris, there is the lsof utility. AFAIK there is no lsof in (standard-) Solaris-10. But maybe one can take it from independent repositories like Sunfreeware

Re: cpu problem with tomcat 7.0.14

2011-09-09 Thread Konstantin Kolinko
2011/9/9 Yavuz Sert yavuz.s...@argela.com.tr Hi all, We have a problem with tomcat server. For hours, cpu usage for tomcat7.exe is %100. I have installed processExplorer. Here is the output for tomcat threads The server is Win  Server 2008 R2 Enterprise, 64 bit, 4gb tam, Intel xeon

Re: cpu problem with tomcat 7.0.14

2011-09-09 Thread Jens Breitenstein
definitely a thread dump is required (see jstack.exe). a) in case one CPU core is running at 100% and all others are considerably more or less idle it might be a garbage collection issue, too (enable GC logging or attach from JConsole to your process) b) a long time ago we had an issue with

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
What do you mean it will slow down? We have an application which saves about 5 MB of data in session when user is working with some portion of application, so when about 200 users login we go about 1 GB of ram and Tomcat starts running out of heap memory, as all the session data goes in heap

Re: tomcat manager not working

2011-09-09 Thread Russ Michaels
For some reason some of the folks on the Railo list seem to have got quite aggressive toward me due to my wording in my original post where I said. I have already tried the Railo forums and been told to come here as it is a problem with Tomcat and not Railo. Jordan seems to think this was

RE: Save session information in Memory database

2011-09-09 Thread Caldarale, Charles R
From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
Hi The problem is we are running on 32 bit system and cannot go beyond 1.5 GB or ram, because of some clients limitations. Is it possible to save session in database, instead of heap memory which would help us, the speed is ok if it slows down a little, That is why i was looking at in memory

RE: Tomcat 5.5.27 - Solaris 10 - Tomcat process starts additional copies of itself with only 1 thread and no CPU

2011-09-09 Thread Dave Stubbs
The tomcat service is managed by the Solaris service management system (I can see references to svcs in their start-up/shutdown logs (it's on a customer's site so I'm not 100% on how it's configured). I should say there are 2 other tomcat instances all being managed the same way and they don't

Re: Save session information in Memory database

2011-09-09 Thread Pid
On 09/09/2011 15:58, Ashish Kulkarni wrote: Hi The problem is we are running on 32 bit system and cannot go beyond 1.5 GB or ram, because of some clients limitations. Is it possible to save session in database, instead of heap memory which would help us, the speed is ok if it slows down a

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
Hi I have inherited this application, and it was developed this way, i dont have time and resources to analyze this application to start removing data from session, so i am looking for ways to get it working without having to go through this process of removing data from session, I thought if i

Re: Save session information in Memory database

2011-09-09 Thread Bob Hall
From: Ashish Kulkarni ashish.kulkarn...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way,

6.0.33 catalina.properties - loaders not expanding system properties

2011-09-09 Thread mike . waters
I am using: Tomcat 6.0.33 In the catalina.properties file I have the following: shared.loader=/path/to/a/directory,${tomcat.additional.classpath} My issue is that /path/to/a/directory is added to the classpath, but the contents of ${tomcat.additional.classpath} are not. 'ps -eaf' does show

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
Hi I will look into Ehcache, but will this manage data we save in session, because i dont have time to change code, but try to move the session data out of tomcat, and into a database, Ashish On Fri, Sep 9, 2011 at 2:52 PM, Bob Hall rfha...@yahoo.com wrote:

calling HTTPS URL from tomcat in eclipse fails with unable to find valid certification path to requested target Error

2011-09-09 Thread Ashish Kulkarni
Hello I have an web application which i am running in tomcat in eclipse, this web application calls a Web Service to get data, recently we moved these Web services to use HTTPS, but when i try to call this HTTPS URL from web service i get following error I have created a key store, added it to

Re: calling HTTPS URL from tomcat in eclipse fails with unable to find valid certification path to requested target Error

2011-09-09 Thread Ashish Kulkarni
Hi It worked, i added following lines in tomcat configuration -Djavax.net.ssl.trustStore=C://mypath_to_keystore/keys.jks Ashish On Fri, Sep 9, 2011 at 3:25 PM, Ashish Kulkarni ashish.kulkarn...@gmail.com wrote: Hello I have an web application which i am running in tomcat in eclipse, this

Re: 6.0.33 catalina.properties - loaders not expanding system properties

2011-09-09 Thread Konstantin Kolinko
2011/9/9 mike.wat...@comcast.net: I am using: Tomcat 6.0.33 In the catalina.properties file I have the following: shared.loader=/path/to/a/directory,${tomcat.additional.classpath} My issue is that /path/to/a/directory is added to the classpath, but the contents of

RE: JNDI configuration with 6.0.29

2011-09-09 Thread Propes, Barry L
I had something similar but referenced the Connection object right with it, essentially. Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); // Look up our data source DataSource ds = (DataSource) envCtx.lookup(jdbc/myoracle); // Allocate and use a

Re: JNDI configuration with 6.0.29

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anjib, On 9/8/2011 5:51 PM, Anjib Mulepati wrote: when i click on java:/comp it gave error Error: Cannot create resource instance javax.naming.NamingException: Cannot create resource Then don't click on that. Click on something else

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/9/2011 10:22 AM, Ashish Kulkarni wrote: What do you mean it will slow down? Tomcat's JDBC-based session store serializes session objects in order to save them. Serialization takes time. Ergo, using an in-memory database will be slower

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/9/2011 2:38 PM, Ashish Kulkarni wrote: I have inherited this application, and it was developed this way, i dont have time and resources to analyze this application to start removing data from session, so i am looking for ways to get

Apache+Tomcat+mod_jk

2011-09-09 Thread trm asn
Hi List, Please help me on the below scenario . I have one war eample.war which is also having a images folder ( /usr/local/tomcat/webapps/example/images). I will type http://192.168.65.100and it'll load the example apps. What will be my httpd.conf file syntax that it ll load the image from

Re: tomcat manager not working

2011-09-09 Thread André Warnier
Russ Michaels wrote: For some reason some of the folks on the Railo list seem to have got quite aggressive toward me due to my wording in my original post where I said. ... I suppose that above, you mean the Tomcat list. And I regret if I in particular may have sounded aggressive, that was not

Re: tomcat manager not working

2011-09-09 Thread Russ Michaels
no Andre, I did mean the Railo list, that was not directed at you or anyone else here, you have been perfectly helpful so far. On Fri, Sep 9, 2011 at 10:57 PM, André Warnier a...@ice-sa.com wrote: Russ Michaels wrote: For some reason some of the folks on the Railo list seem to have got

Re: tomcat manager not working

2011-09-09 Thread Russ Michaels
thanks for your advice so far, I will be giving your suggestion a try as soon as I have a spare, the issue is not urgent right now, so i;m in no hurry. On Fri, Sep 9, 2011 at 11:35 PM, Russ Michaels r...@michaels.me.uk wrote: no Andre, I did mean the Railo list, that was not directed at you or