Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Varuna Seneviratna
When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from the Tomcat Setup as Failed to install tomcat6 service check your settings and permissions.I have the permissions.The only thing I think that is different from the setup needs is the JRE version.But the tomcat-

Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Mark Thomas
Varuna Seneviratna wrote: When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from the Tomcat Setup as Failed to install tomcat6 service check your settings and permissions.I have the permissions.The only thing I think that is different from the setup needs is the

Re: [OT] Apache httpd prefork versus worker MPM

2009-07-18 Thread André Warnier
Christopher Schultz wrote: ... Hi Chris. My 0.02 €. I have been using both the prefork and worker versions of Apache 2.2, along with mod_jk. As far as I can tell, there is no problem in that respect with mod_jk. However, the threaded (worker) version may give you problems if, somewhere maybe

Tomcat And JMX

2009-07-18 Thread ajitlodhi
Please someone tell me about how tomcat uses JMX.I know about jmxproxy,if someone please tell me how can one get information about a particular war file like how much time its taking to open a particular class so that i can know which class file is taking larger time on LOAD condition. -- View

Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Varuna Seneviratna
Manually you can get it running But it is not possible to install using the setup apache-tomcat-6.0.20.exe. Varuna 2009/7/18 Mark Thomas ma...@apache.org Varuna Seneviratna wrote: When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from the Tomcat Setup as Failed

Re: net stop tomcat6 service hangs on Windows 2008 (64-bit)

2009-07-18 Thread Konstantin Kolinko
2009/7/17 Caldarale, Charles R chuck.caldar...@unisys.com: From: Matt Sullivan [mailto:mjdsulli...@hotmail.com] Subject: RE: net stop tomcat6 service hangs on Windows 2008 (64-bit) Never heard back from anyone, and I'm left assuming this is a bug, albeit a difficult one to isolate. Refresh

Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Hello, I am trying to configure DB pooling in Tomcat 6. The combination of the elements below causes the exception: java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet I have followed the directions on http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
I really doubt the database pooling is causing the issue. More likely your deployment is doing something to remove the servlet-api.jar or duplicating it somewhere. What do you have in tomcat's lib directory and in your webapp's WEB-INF/lib directory? --David Lucas Vickers wrote: Hello, I am

Re: Tomcat admin webapp audit

2009-07-18 Thread Konstantin Kolinko
there is a way to trace into a log file all the connections (and also every connection attempt) made into the admin tomcat webapp ? What I need to know is: login timestamp user src ip It is called AccessLogValve, http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread David Smith
Oh... and I see it looks like you have the JVM's security manager turned on. Have you made any adjustments to conf/catalina.policy? What's in your logs when your webapp is started? --David David Smith wrote: I really doubt the database pooling is causing the issue. More likely your

Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Konstantin Kolinko
Is you Windows 32-bit, or 64-bit one? 2009/7/18 Varuna Seneviratna varunasenevira...@gmail.com: Manually you can get it running But it is not possible to install using the setup apache-tomcat-6.0.20.exe. Varuna 2009/7/18 Mark Thomas ma...@apache.org Varuna Seneviratna wrote: When I

RE: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Caldarale, Charles R
From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from the Tomcat Setup as Failed to install tomcat6 service check

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Konstantin Kolinko
See http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html#A%20word%20on%20Contexts Tomcat makes a copy of your META-INF/context.xml when the application is deployed, and will not see changes to that file unless you fully undeploy and redeploy your application. 2009/7/19 Lucas Vickers

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
From: David Smith [mailto:d...@cornell.edu] Subject: Re: Tomcat 6 database pooling causes HttpServlet class not found exception and I see it looks like you have the JVM's security manager turned on. What makes you think so? The doPrivileged() calls and SecureClassLoader usage occur with

Re: tomcat install/testing help.

2009-07-18 Thread Mark Eggers
Tom, I tried responding to you off-line, but alaska.gov does not seem to like your mail address. Basically, it sounds like you have a permissions problem with the account under which Tomcat runs. By default, the Tomcat service runs as the Local System account, so that account needs

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Odd, I did not explicitly enable the security manager, but this makes sense. I try logging directly from my servlet (by doing a stack trace into a log file), which seems to be causing this issue. thanks! On Sat, Jul 18, 2009 at 6:13 PM, David Smith d...@cornell.edu wrote: Oh... and I see it

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
I am doing a static install and restarting my tomcat each time I make a file change, so I do not think this is the issue. thanks tho On Sat, Jul 18, 2009 at 8:41 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: See

RE: [OT] Apache httpd prefork versus worker MPM

2009-07-18 Thread Martin Gainty
the inherent problem with multi-threaded model vs prefork n processes http://blog.zakame.net/tips/apache2-worker-lowmem http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_24192924.html rule seems to be more than 1 CPU go with worker 1 CPU go with MPM once you set

RE: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Caldarale, Charles R
From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Re: Tomcat 6 database pooling causes HttpServlet class not found exception Well I can confirm that adding the classes to catalina.policy even when i am not explicitly running with -security , does fix the issue What exactly did

RE: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Caldarale, Charles R
From: Lucas Vickers [mailto:lucasvick...@gmail.com] Subject: Re: tomcat 6 database pooling, DataSource returning NULL connection I am doing a static install and restarting my tomcat each time I make a file change, so I do not think this is the issue. Actually, that's exactly the procedure

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
Well I can confirm that adding the classes to catalina.policy even when i am not explicitly running with -security , does fix the issue On Sat, Jul 18, 2009 at 8:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: David Smith [mailto:d...@cornell.edu] Subject: Re: Tomcat 6

Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Varuna Seneviratna
32-bit 2009/7/19 Konstantin Kolinko knst.koli...@gmail.com Is you Windows 32-bit, or 64-bit one? 2009/7/18 Varuna Seneviratna varunasenevira...@gmail.com: Manually you can get it running But it is not possible to install using the setup apache-tomcat-6.0.20.exe. Varuna

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
// == WEB APPLICATION PERMISSIONS = // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and JndiPermission for all files and directories in its document root.

tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
I am trying to configure database pooling in tomcat 6. I have: /META-INF/context.xml : Resource name=jdbc/tabscorp_tabsdb auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=tabscorp_tabs password=Ramsalot52

Re: tomcat 6 database pooling, DataSource returning NULL connection

2009-07-18 Thread Lucas Vickers
woops, email was sent prematurely anyway, the full email: META-INF/context.xml : Resource name=jdbc/tabscorp_tabsdb auth=Container type=javax.sql.DataSource maxActive=100 maxIdle=30 maxWait=1 username=mylogin password=mypass

Converting to container based security.

2009-07-18 Thread Bill Davidson
Tomcat 6.0.18 Java 1.6.0_14 RedHat 5.2 Server Oracle 10g I've got an old web app that was originally spec'd in 1999. Last year, I got it migrated from Tomcat 3.2.4 for 6.0.16 and more recently from Java 1.4.2 to 1.6. I'm gradually trying to modernize it. I just converted from using an old

Re: Tomcat 6 database pooling causes HttpServlet class not found exception

2009-07-18 Thread Lucas Vickers
For what it's worth. Every now and then tomcat throws that exception again. I then shut down tomcat, touch the .policy file, start tomcat, and it works. On Sat, Jul 18, 2009 at 9:29 PM, Lucas Vickers lucasvick...@gmail.comwrote: // == WEB APPLICATION PERMISSIONS

Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE

2009-07-18 Thread Varuna Seneviratna
2009/7/19 Caldarale, Charles R chuck.caldar...@unisys.com From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE When I run the set up apache-tomcat-6.0.20.exe for WindowsXP I get the message from