RE: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux

2010-10-11 Thread Karthik Nanjangude
Hi >> Are you connecting through a firewall? No Firewall ( ALL of these server's are behind the Firewall and the servers are available thru a local hub ) I am able to use Putty (SSH Port 22) to connect to that server for other Activities as Start /Srop of TOMCAT 6.0.29 . With regards Karthik

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Catalina logs contain some entries that may shine some light on the matter... SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base /home/roller/application/optomus does not exist or is not a readable directory INFO: Container org.apache.catalina.core.ContainerB

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
What I probably omitted to say is that localhost is likely to be associated with many more domains than the Roller application alone. So marrying the default host to Roller isn't likely to save me work. Instead, I have added elements to the Roller host for each blog domain. And so far so good!

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: RE: Configuring which Servlet is invoked > Roller hosts multiple domains, and so I can't see how this > can be the default host. That is exactly the situation where you want it to be the defaultHost, so you d

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi Chuck, The unpacking matter is now sorted - Tomcat didn't have write access. Regarding which is default host, I already have several applications hosted on Tomcat, and these are called by Apache HTTP (proxy) server like so: ProxyPass /tomcat ajp://127.0.0.1:8009/christopher/ ProxyPassReverse

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: RE: Configuring which Servlet is invoked > I have now set up two elements inside server.xml with > appBases in two entirely different places... > >unpackWARs="true" autoDeploy="true" >

RE: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi, Okay, I have now set up two elements inside server.xml with appBases in two entirely different places... http://blog.christopher.net.nz"; appBase="/home/roller/application" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"

RE: Configuring which Servlet is invoked

2010-10-11 Thread Caldarale, Charles R
> From: Christopher Dodunski [mailto:chrisfromsquir...@christopher.net.nz] > Subject: Re: Configuring which Servlet is invoked > So, based on your explanation below, Tomcat can actually have > more than one default application? Yes - there is always one per . You need to make the blog the def

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi André, So, based on your explanation below, Tomcat can actually have more than one default application? It can have one for each and every ? This is most interesting. I had assumed that the default application had to be installed at webapps/ROOT (or anywhere else the default host's appBase h

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi, Thank you André for your clear explanation below. I am aware already of how the directory structure relates to URL formation and, thanks to you and others, now understand the significance of elements within an . And I see how the default host is configured. It doesn't, though, quite answer

Re: Error 503 ocurring when server under load

2010-10-11 Thread Rob G
Christopher Schultz wrote> This directive has been deprecated since 1.2.16. > Cachesize defines the number of connections made to the AJP backend that > are maintained as a connection pool. It will limit the number of those > connection that each web server child process can make. > > Cachesize pro

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-11 Thread Pid
On 11/10/2010 17:30, Anurag Kapur wrote: > The objects holding references to the character arrays that ultimately > consume all the memory are of type > org.apache.jasper.runtime.BodyContentImpl as indicated in the object > reference tree below: > > There was a bug reported in Tomcat 5.5.9 which s

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-11 Thread Anurag Kapur
The objects holding references to the character arrays that ultimately consume all the memory are of type org.apache.jasper.runtime.BodyContentImpl as indicated in the object reference tree below: There was a bug reported in Tomcat 5.5.9 which says The problem is that this huge array never gets r

RE: JSESSIONID weakness Severity in Tomcat 6.0.29?

2010-10-11 Thread Brian
Hi Mark, Well, it seems that www.securitymetrics.com got crazy! They already told me that they made some changes in their system, and now they are having problems (bugs). I was just asking myself: How can their automatized procedure know if I am vulnerable to the session fixation problem, if it do

Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux

2010-10-11 Thread Pid
On 11/10/2010 09:41, Karthik Nanjangude wrote: > Hi > > Spec : > > Java 1.5 > WebApp : Tomcat 6.0.29 > O/s Win 2000 / Linux / Unix > > Linux : 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 > GNU/Linux > > Question : Is there a Bug with JConsole for monitering TOMCAT 6.0.

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Michael Knümann
Hi, perhaps this has the solution out of the box: http://cargo.codehaus.org/ Michael Hi. I do not really understand the issue here. If you are under Windows, with Tomcat running as a Service, then you can just run the commands "net start tomcat6" / "net stop tomcat6" to start/stop tomcat

RE: [OT] Disable class monitoring for reloading container classes

2010-10-11 Thread Jeffrey Janner
I really think all times should be stored Zulu Standard Time, and then converted only for display purposes. This does make the conversion process more complicated, as the system has to have all timezone/dst tables for "Forever" to properly display the time to the user for that particular point

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread André Warnier
Hi. I do not really understand the issue here. If you are under Windows, with Tomcat running as a Service, then you can just run the commands "net start tomcat6" / "net stop tomcat6" to start/stop tomcat. If you are under Linux, then you can just issue the command "/etc/init.d/tomcat6 (start|st

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread kshitij chandrasen
Rob, Is the snippet working for you? For me it opens a command prompt from which it does call catalina.bat, but strangely the cmd window in which catalina.bat is running is just like a normal cmd window without tomcat output. The Tomcat did not start either. Thanks Kshitij On Mon, Oct 11, 2010 at

Re: Connecting Tomcat 6.0.26 to MySQL 5.1

2010-10-11 Thread m.oshea
Code seems to be wrong only in IE so must be something to do with security settings. Thanks anyway. From: m.os...@dsl.pipex.com Sent: Monday, October 11, 2010 12:32 PM To: users@tomcat.apache.org Subject: Connecting Tomcat 6.0.26 to MySQL 5.1 Hello Having rebuilt my Windows PC, I am trying

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-11 Thread Anurag Kapur
Thanks Chris and Chuck for your help so far. I have added my problem statement with Images to by blog here: http://anuragkapur-techbytes.blogspot.com/2010/10/tomcat-5527-memory-leak-in-escenic-cms.html

Re: disabling session management

2010-10-11 Thread emerson
Hi Christopher > Which classes, specifically? Thousands of Session instances inside the sessioins attribute of the org.apache.catalina.session.StandardManager. In theory we are not calling getSessions on the middle tier and as you mentioned, we have no JSPs either. However, we might be passing a

RE: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Rob Gregory
I call the scripts via code to both stop and start Tomcat. There is a problem with even calling these scripts via Unix unless you change (cd) into the bin directory before running startup.sh as the log paths are generated relative to the startup.sh location. String strCatalinaBin = System

RE: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Karthik Nanjangude
Hi Probably u may need to use Embedded version of TOMCAT to do this activity... With regards karthik -Original Message- From: kshitij chandrasen [mailto:kshtjchnd...@gmail.com] Sent: Monday, October 11, 2010 2:49 PM To: users@tomcat.apache.org Subject: Starting/Stopping Tomcat from Jav

Connecting Tomcat 6.0.26 to MySQL 5.1

2010-10-11 Thread m.oshea
Hello Having rebuilt my Windows PC, I am trying to get Tomcat running under NetBeans to connect to MySQL. I believe MySQL is alright because the various tools retrieve data correctly. But when my Java web app is run from NetBeans, Tomcat shows the homepage but then gives a Java null pointer e

Re: Configuring which Servlet is invoked

2010-10-11 Thread André Warnier
Christopher Dodunski wrote: Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. Previously, the URL http://blog.christopher.net.nz/christophe

Re: Configuring which Servlet is invoked

2010-10-11 Thread André Warnier
Christopher Dodunski wrote: Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. See here : http://wiki.apache.org/tomcat/HowTo #39 --

Re: Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hi, Thanks, but I'm not quite clear on how to direct Tomcat to call the ROOT application for a given domain. I added the bottom element to server.xml, but it doesn't appear to work correctly. Previously, the URL http://blog.christopher.net.nz/christopher called up webapps/christophe

Starting/Stopping Tomcat from Java program

2010-10-11 Thread kshitij chandrasen
> > Hi, > I've to write methods on calling which i'd be able to start and stop the > tomcat app server. I tried this - > I'm using Tomcat 6.0.26. > String[] command = new String[4]; > > command[0] = "cmd"; > command[1] = "/C"; > command[2] = "startup.bat"; > command[3] = "C:\\"; > String x[] = {"P

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-11 Thread ramkumar
Hi , i am exporting war file using ecclipse ide(Ecclipse has option to export .war file). I am starting tomcat service runner(tomcat6.exe) and my server.xml file is Documentation at /docs/jndi-resources-howto.html

Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux

2010-10-11 Thread Karthik Nanjangude
Hi Spec : Java 1.5 WebApp : Tomcat 6.0.29 O/s Win 2000 / Linux / Unix Linux : 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux Question : Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux ? I am not able to connect TOMCAT 6.0.29 (

Re: connection pool

2010-10-11 Thread Pid
On 11/10/2010 09:08, TomazM wrote: > Why if I reload application which use connection pool doesn't release > connection's to MySQL DB? Which connection pool and how is it defined? Where is the JDBC driver placed, and which one (exact version) are you using? Can you upgrade to the latest version

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-11 Thread Pid
On 11/10/2010 08:47, ramkumar wrote: > hi, > Thank you for the response. I am sure that no other programs using the > port.I am suspecting that Tomcat not loading the jar file. I got same error > while using the api coomons.fileupload for uploading the files to server.I > put the all the requir

Re: Configuring which Servlet is invoked

2010-10-11 Thread Pid
On 11/10/2010 08:53, Christopher Dodunski wrote: > Hello, > > I have a slight problem, and am having difficulty determining which part > of the Tomcat documentation applies in my case. > > Apache HTTP Server version (as proxy): 2.2.9 (Debian) > Tomcat version: 6.0.29 > > **My Problem** > Apache

connection pool

2010-10-11 Thread TomazM
Why if I reload application which use connection pool doesn't release connection's to MySQL DB? Only if I restart Tomcat connection's are released, is this a bug. I use: Apache Tomcat/6.0.181.6.0_16-b01Sun Microsystems Inc. Linux 2.6.18-194.3.1.el5PAE i386 Regards, Tomaz

Configuring which Servlet is invoked

2010-10-11 Thread Christopher Dodunski
Hello, I have a slight problem, and am having difficulty determining which part of the Tomcat documentation applies in my case. Apache HTTP Server version (as proxy): 2.2.9 (Debian) Tomcat version: 6.0.29 **My Problem** Apache Roller weblogger is running on Tomcat with ROOT context, and is hosti

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-11 Thread ramkumar
hi, Thank you for the response. I am sure that no other programs using the port.I am suspecting that Tomcat not loading the jar file. I got same error while using the api coomons.fileupload for uploading the files to server.I put the all the required jar files in my project.But it is telling th

Re: Kerberos authentication

2010-10-11 Thread Pid
On 11/10/2010 07:45, Igor Galić wrote: > > Hello Happy people, > > I'm cross-posting this to tomcat and archiva. > > In our company we have a well established Active Directory infrastructure, > > I'm running an Apache Archiva 1.3.1 installation in Tomcat 6, on Solaris 10. > The OS has been Kerb

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-11 Thread Pid
On 11/10/2010 04:31, ramkumar wrote: > Hi Pid, > Thank you for your response. Not only for this comunication api, > if i put thr jar files in WEBAPPS//WENINF/LIB it is showing > the "No Class found". plese help me. Whw]at are rthe chnages i have to do? > Thank you. That's probably true a