[OT] Apache httpd prefork versus worker MPM

2009-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been working with Apache httpd and Tomcat together with mod_jk for about 10 years, and I've always been using the prefork MPM. I'm setting up a new development server with Debian Lenny and apt-get prefers to install the worker MPM. I can def

tomcat install/testing help.

2009-07-17 Thread Burton, Tom (DOR sponsored)
I've been trying to get tomcat and netbeans to work properly on my new computer. I'm running a windows XP computer. I have been able to get tomcat and netbeans to install successfully. However I've been unable to get them to work together correctly. I've tried installing from the executable and

Re: Deploying ROOT application errors.

2009-07-17 Thread Mark Thomas
Wesley Acheson wrote: > I've never profilled an application. Is there any decient free ones? > Preferably one that plugs into eclipse. Google for Eclipse TPTP. Alternatively, YourKit is free for 30 days and well worth the price of a full version. (full disclosure - they give ASF committers free

Re: Deploying ROOT application errors.

2009-07-17 Thread Wesley Acheson
I've never profilled an application. Is there any decient free ones? Preferably one that plugs into eclipse. Or any other way to specify a driver that won't prevent my undeploying ROOT? A Different host? On Sat, Jul 18, 2009 at 12:02 AM, Mark Thomas wrote: > Wesley Acheson wrote: > > I'm stil

Re: Deploying ROOT application errors.

2009-07-17 Thread Mark Thomas
Wesley Acheson wrote: > I'm still having a problem. I'm trying de register the JDBC driver in a > crude way when the context is destroyed. > > /** > * @see ServletContextListener#contextDestroyed(ServletContextEvent) > */ > public void contextDestroyed(ServletContextEvent sce) {

Re: Deploying ROOT application errors.

2009-07-17 Thread Wesley Acheson
I'm still having a problem. I'm trying de register the JDBC driver in a crude way when the context is destroyed. /** * @see ServletContextListener#contextDestroyed(ServletContextEvent) */ public void contextDestroyed(ServletContextEvent sce) { Enumeration drivers = Drive

Re: null and zero issue

2009-07-17 Thread André Warnier
Russo, Joe wrote: I wrote a web service component using JAX-WS API and deployed on JBoss 5.0.1 application server. And also, wrote a Soap client which sends a valid soap request to server and server executes corresponding method and returns soap response back to client but what ever parameters I

null and zero issue

2009-07-17 Thread Russo, Joe
I wrote a web service component using JAX-WS API and deployed on JBoss 5.0.1 application server. And also, wrote a Soap client which sends a valid soap request to server and server executes corresponding method and returns soap response back to client but what ever parameters I included in soap, it

Re: Clustering help

2009-07-17 Thread Mitch Claborn
Yes to both questions. What a bummer. I'll try running the second instance on a VM an see what happens. Mitch Filip Hanik - Dev Lists wrote: > Wait a second, are both your instances on the same machine? Are you > running Apache Tomcat 6.0.20 > there was a serious regression, with the loopback

RE: Plese tell me How to determine the stable version of Tomcat!!!!!!!!!!!!!

2009-07-17 Thread Caldarale, Charles R
> From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] > Subject: Re: Plese tell me How to determine the stable version of > Tomcat! > > Hello Charles Don't reply to me (or anyone else) personally, just reply to the list. > So as I get it If  a version is not marked Alph

Re: Plese tell me How to determine the stable version of Tomcat!!!!!!!!!!!!!

2009-07-17 Thread Varuna Seneviratna
Hello Charles So as I get it If a version is not marked Alpha, or Beta it is an stable version.Then If it is so All the three versions listed in their own downloaded pages are stable versions.Am I right? Varuna 2009/7/17 Caldarale, Charles R > > From: Varuna Seneviratna [mailto:varunasenev

RE: Plese tell me How to determine the stable version of Tomcat!!!!!!!!!!!!!

2009-07-17 Thread Caldarale, Charles R
> From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] > Subject: Plese tell me How to determine the stable version of > Tomcat! > > I went through the download pages But I could not find where it > is stated whether the version is Alpha,Beta or Stable. The doc seems pretty c

Plese tell me How to determine the stable version of Tomcat!!!!!!!!!!!!!

2009-07-17 Thread Varuna Seneviratna
Hello There I went through the download pages But I could not find where it is stated whether the version is Alpha,Beta or Stable.Please tell me how to determine Alpha, Beta or Stable versions. I want to download the current stable version!! -- Kind Regards Varuna Varuna Seneviratna No

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

2009-07-17 Thread Caldarale, Charles R
> 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 our memories - does the hang still occur if you use the

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

2009-07-17 Thread Matt Sullivan
Never heard back from anyone, and I'm left assuming this is a bug, albeit a difficult one to isolate. We did try a less intrusive workaround by using a timeout on the Shutdown tab in Tomcat properties, to no avail. I guess we'll stick with the less elegant workaround, simply killing tomcat6.exe p

Using Tomcat 6 and the APR to monitor Server resources

2009-07-17 Thread dori
Hello, on this page about the apr http://tomcat.apache.org/tomcat-6.0-doc/apr.html http://tomcat.apache.org/tomcat-6.0-doc/apr.html it states that it can be used for OS level functionality, also stating OS level statistics on memory usage and CPU usage by the Tomcat process are displayed by the

Re: Clustering help

2009-07-17 Thread Filip Hanik - Dev Lists
Wait a second, are both your instances on the same machine? Are you running Apache Tomcat 6.0.20 there was a serious regression, with the loopback turned off. https://issues.apache.org/bugzilla/show_bug.cgi?id=47308 Filip On 07/17/2009 08:54 AM, Mitch Claborn wrote: ping 224.0.0.1 PING 224.0.

Tomcat admin webapp audit

2009-07-17 Thread Mauro Garlaschelli
Hi all, 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 Thanks in advance, Mauro. -- View this message in context: http://www.nabble.com/Tomcat-admin-webap

Using DBCP DataSource w/ Tomcat 6

2009-07-17 Thread dori
Hello again. Ive managed to get this working, which took a bit of time, but im a little confused on how to do it more efficently. I currenty access my mysql db through a servlet with the follwing code InitialContext initCtx = new InitialContext(); Context envCtx = (Context

Re: Clustering help

2009-07-17 Thread Mitch Claborn
ping 224.0.0.1 PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data. 64 bytes from 192.168.3.254: icmp_seq=1 ttl=255 time=0.895 ms 64 bytes from 192.168.3.254: icmp_seq=2 ttl=255 time=0.693 ms 64 bytes from 192.168.3.254: icmp_seq=3 ttl=255 time=0.686 ms Mitch Filip Hanik - Dev Lists wrote: > > corr

Re: Connector an SOAPSession

2009-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander, On 7/16/2009 8:15 AM, alexander.sch...@steria-mummert.de wrote: > I would like to use multiple tomcats running Axis2. Each tomcat/axis has > the same webservices deployed. The webservices are running in SOAPSession > mode. The connector s

RE: running servlets as fileowner

2009-07-17 Thread Caldarale, Charles R
> From: Jan-Florian Hilgenberg [mailto:florianhilgenb...@googlemail.com] > Subject: Re: running servlets as fileowner > > @chris - i need to offer jsp for some customers in a shared hosting > environment. > and i have to reach a high security level in this case (comparison with > php-cgi + suexec/

Re: Clustering help

2009-07-17 Thread Filip Hanik - Dev Lists
correct, you're members are not discovering each other. and its purely multicast related. what do you get when you do ping 224.0.0.1 Filip On 07/16/2009 05:16 PM, Mitch Claborn wrote: Not having much luck getting a simple cluster to work. Using nginx as a front end/load balancer against tw

Re: oracle JDBC sessions not closing while tomcat shutdown

2009-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Santosh, On 7/16/2009 7:27 AM, santosh.si...@birlasoft.com wrote: > When I have tried to run the any java program independent of tomcat then > the opened session is releasing from oracle database. Probably because you are calling System.exit() in you

Re: running servlets as fileowner

2009-07-17 Thread Jan-Florian Hilgenberg
thank you for your explanation, andré @chris - i need to offer jsp for some customers in a shared hosting environment. and i have to reach a high security level in this case (comparison with php-cgi + suexec/suphp) have a nice weekend 2009/7/17 Christopher Schultz > -BEGIN PGP SIGNED MESSA

Re: running servlets as fileowner

2009-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jan, On 7/16/2009 12:10 PM, Jan-Florian Hilgenberg wrote: > is there a way to run servlets as the fileowner of the servlet - like suphp > on lamp environments. As Jason and André have said, this is essentially not possible. On the other hand, I susp

RE: 401 error

2009-07-17 Thread Caldarale, Charles R
> From: Marcos [mailto:mmfo...@adinet.com.uy] > Subject: 401 error > > Hi, i just installed tomcat6 on suse linux. > When i go to http://localhost:8080 appears tomcat screen, but when i > click "Tomcat Manager" menu option i get http 401 error Read the doc: http://tomcat.apache.org/tomcat-6.0-doc

401 error

2009-07-17 Thread Marcos
Hi, i just installed tomcat6 on suse linux. When i go to http://localhost:8080 appears tomcat screen, but when i click "Tomcat Manager" menu option i get http 401 error Status HTTP 401 - This request requires HTTP authentication (). Apache Tomcat/6.0.18 Any help ? thanks. --

Re: Any Help on this would be really appreciated...

2009-07-17 Thread Sumit D
Yep, there was an object returning NULL and some misplaced files. But finally its solved. Thanks for your suport :) On Fri, Jul 17, 2009 at 10:12 AM, André Warnier wrote: > Sumit D wrote: > >> >> Caused by: java.util.MissingResourceException: Can't find bundle for base name c onnect

Re: Server.xml config

2009-07-17 Thread dori
If this Connector is supporting non-SSL requests, and a request is received for which a matching requires SSL transport, Catalina will automatically redirect the request to the port number specified here http://tomcat.apache.org/tomcat-6.0-doc/config/http.html http://tomcat.apache.org/tomcat-6.0

Re: Server.xml config

2009-07-17 Thread Mark Thomas
dori wrote: > Hello all! Just a quick question. The deult connector in the server.xml file > which comes with tomcat 6 > > connectionTimeout="2" >redirectPort="8443" /> > > What is the point of the redirect port=8443 attribute. I have another > connector for

Server.xml config

2009-07-17 Thread dori
Hello all! Just a quick question. The deult connector in the server.xml file which comes with tomcat 6 What is the point of the redirect port=8443 attribute. I have another connector for SSL which is listening on port 8442, i thought as the standerd port for this was 8443 (which is taken by my

Re: running servlets as fileowner

2009-07-17 Thread André Warnier
Jan-Florian Hilgenberg wrote: thank you very much :-) just one question is left: when you said "have to modify the jvm to support uid/gid per thread" do you mean, that we have to change something in the source code or what? because, i have no idea how i have to setup such RMI things. Just a Jav

Re: running servlets as fileowner

2009-07-17 Thread Jan-Florian Hilgenberg
thank you very much :-) just one question is left: when you said "have to modify the jvm to support uid/gid per thread" do you mean, that we have to change something in the source code or what? because, i have no idea how i have to setup such RMI things. 2009/7/16 Jason Pyeron > > > > -Origi

R: How to limit requests per second

2009-07-17 Thread Leandro Dardini
We had a similar problem with a software not made by us. We solved it placing apache in front of tomcat and using the mod_cband extension of apache. Feel free to query me directly if you need more info. Leandro -- Dott. Leandro Dardini Sistema Informativo Comune di Prato Via

Re: Any Help on this would be really appreciated...

2009-07-17 Thread André Warnier
Sumit D wrote: Caused by: java.util.MissingResourceException: Can't find bundle for base name c onnection, locale fr_FR java.lang.NoClassDefFoundError: Could not initialize class fr.inria.monitoring.b ep.BEP4Sumit I understand, that it cannot find BEP4Sumit class file that your valve is using.

Re: Any Help on this would be really appreciated...

2009-07-17 Thread Sumit D
As you can see, private static final BEP4Sumit theInstance = new BEP4Sumit(); public static IEventProcessor getInstance() { return theInstance; } It should return the IEventProcessor instanceBut it doesnt not find that class. Where should I put the jars that it needs ?? I create a jar of thi

RE: Retrieving all active sessions

2009-07-17 Thread sanchit.sriv
Thanks a ton Chuck! Cheers Caldarale, Charles R wrote: > >> From: sanchit.sriv [mailto:sanchit.srivast...@morganstanley.com] >> Subject: Retrieving all active sessions >> >> >> I need to write a Servlet or some kind of java program (which >> may be deployed as part of a webapp on the same co