Re: mod_jk replacement?

2007-02-27 Thread Pid
ProxyPass doesn't accept wildcards like this. You can either Proxy a complete path, and 'unproxy' the ones you don't need: ProxyPass /scripts/ ! # exclamation mark == 'not' ProxyPass /images/ ! # exclamation mark == 'not' ProxyPass /

Re: Tomcat monitoring

2007-02-27 Thread Leon Rosenberg
there is probably no such thing as best way - JVM Heap usage manager and lambdaprober - Number of active threads (if by active threads you mean current requests) manager, lambdaprobe, moskito - JDBC connection pool stats lambdaprobe - Active thread list lambdaprobe, moskito (if

Cannot run JVM in server mode with JSVC

2007-02-27 Thread Peter Neu
Hello, I need to run the JVM in server mode but jsvc does not switch to the server mode despite the configuration below. There aren't even any error messages. Can somebody please tell me what's wrong? Cheers, Pete JAVA_HOME1=/usr/local/jdk1.5.0_06

Re: [OT] Parallel Tomcat 5 and 6 services on Windows

2007-02-27 Thread Robert Novotny
The message was Failed to install Tomcat6 service. Ignore and continue anyway (not recommended)? Tomcat 5 service has been stopped prior to the installation. I wonder why the setup issues this message, since the tomcat6 service should be considered independent of tomcat5 service. Maybe there is

Re: reload on demand?

2007-02-27 Thread Paul Singleton
Kent Tong wrote: In a development environment it's desirable to reload a webapp if any of its class files has been changed. Are you serious?! Our developers rely on Hot Code Replacement to enable them to continue debugging after changes to program logic, and only restart if they want/need to

java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 -

RE: allowing others ip connect

2007-02-27 Thread Caldarale, Charles R
From: eoghan [mailto:[EMAIL PROTECTED] Subject: allowing others ip connect Using tomcat, how do I (or where) configure tomcat so I can allow other computers on the network access my http server... Do you know which file I can add ip addresses so that they are allowed see my local sites

Re: java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
On 2/27/07, chuanjiang lo [EMAIL PROTECTED] wrote: Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmxremote -

Updating java

2007-02-27 Thread Jean-Sebastien Pilon
Hello, Because of DST changes I need to upgrade a lot of java installations. I am using JSVC and I am wondering if I will need to recompile it since I am doing minor updates. 5.0_u6 and 5.0_u8 to 5.0_u10. Any hint would be appreciated. NOTICE: This email contains privileged and confidential

Re: mod_jk replacement?

2007-02-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raj, Raj Mettai wrote: how to put wildcards into ProxyPass, for example if I want to send only jsp requests to tomcat and not html like below. ProxyPass /*.jsp ajp://127.0.0.1:8009/ the above config is not working, I have jsp files spread

RE: mod_jk sticky session still not working

2007-02-27 Thread rasool.asal
Scott Ensure that the following line is commented out. You may have already done this !-- Define the top level container in our container hierarchy -- !-- Engine name=Catalina defaultHost=localhost -- And uncomment Engine name=Standalone defaultHost=localhost jvmRoute=worker1 Hope

Re: .java(Permission denied) error in tomcat

2007-02-27 Thread David Smith
Try clearing out your work directory and restarting tomcat. Tomcat will rebuild the stuff it had there. Also check to be sure ownership or permissions of files in the work directory aren't being altered. The work directory and all it's contents should be owned by tomcat and read/write by owner.

Tomcat 6 Compatibility Patch?

2007-02-27 Thread Fran Varin
Hi, Tomcat 5 allowed for the installation of a compatibility patch to allow it to run with Java 1.4. I've taken a look at the documentation for Tomcat 6 and do not see any mention of a similar facility so, my assumption is that it does not exist. Can anyone confirm that for me? Does Tomcat 6

Noobie Questions

2007-02-27 Thread Henderson,Nathan
I am a relative noobie when it comes to using the Tomcat software and have a few questions. I have been reading these threads for a few weeks now and I know that a lot of the things discussed on here are out of my league, but I just wanted to know what a few of you would do in my situation. OK

Re: Tomcat 6 Compatibility Patch?

2007-02-27 Thread Tim Funk
Tomcat 6 requires Java 1.5 (since the servlet spec does) -Tim Fran Varin wrote: Hi, Tomcat 5 allowed for the installation of a compatibility patch to allow it to run with Java 1.4. I've taken a look at the documentation for Tomcat 6 and do not see any mention of a similar facility so, my

Re: [OT] Bootstrap stop()

2007-02-27 Thread Fran Varin
I took a look at the source for Tomcat 6 and the // FIXME remains in the destroy method within Bootstrap as well. The lack of documentation around this part of Tomcat's API is not helping much here either. So, it begs the question is what I've coded sufficient to start and stop Tomcat from a

Re: [OT] Tomcat 6 Compatibility Patch?

2007-02-27 Thread Fran Varin
thanks Tim, That was my assumption but, I thought I'd ask the question at any rate. Fran Tim Funk wrote: Tomcat 6 requires Java 1.5 (since the servlet spec does) -Tim Fran Varin wrote: Hi, Tomcat 5 allowed for the installation of a compatibility patch to allow it to run

Re: reload on demand?

2007-02-27 Thread Kent Tong
Paul Singleton paul at jbgb.com writes: Are you serious?! Our developers rely on Hot Code Replacement to enable them to continue debugging after changes to program logic, and only restart if they want/need to or if HCR fails (e.g. because they added/altered a public member signature etc.).

URL-pointing problem

2007-02-27 Thread wille
Hello, having a bit of a problem here. We have deployed a web application on our server by putting it in the webapps directory, this makes it appear at a URL like http://mjau.com/pub_db. Now we want to change the URL for this webapp to something else, (in this case

Re: URL-pointing problem

2007-02-27 Thread David Smith
There's a difference between webapp names and servlet names. You want to change the webapp's name. To do that, just change the name of the webapp in the webapps folder ie pub_db - publications or pub_db.war - publications.war. You may have to make a similar name change to the context.xml file

Re: Noobie Questions

2007-02-27 Thread David Delbecq
En l'instant précis du 27/02/07 15:25, Henderson,Nathan s'exprimait en ces termes: We have 7 different clients, 14 databases(1 prod and 1 test for each client), and 14 web sites for accessing information 1 for each live and test. 1 Web Server running RHEL and tomcat 5.5.2 we also use 7 SSL

Re: URL-pointing problem

2007-02-27 Thread Richard Gemmell
Hi Wille, wille wrote: We have deployed a web application on our server by putting it in the webapps directory, this makes it appear at a URL like http://mjau.com/pub_db. Now we want to change the URL for this webapp to something else, (in this case http://mjau.com/publications). The

Re: mod_jk sticky session still not working

2007-02-27 Thread Scott Danforth
Hi, Rasool. Yes, I missed the actual Engine element that follows the comment. Thanks, -- Scott. [EMAIL PROTECTED] wrote: Scott Ensure that the following line is commented out. You may have already done this !-- Define the top level container in our container hierarchy -- !--

Tomcat Embedded documentation

2007-02-27 Thread Afkham Azeez
Can somebody send me some pointers to some documentation on Tomcat embedded edition? I need to find out how JDBC datasources can be registered(or whether this can be done). -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760

RE: Tomcat Embedded documentation

2007-02-27 Thread Caldarale, Charles R
From: Afkham Azeez [mailto:[EMAIL PROTECTED] Subject: Tomcat Embedded documentation Can somebody send me some pointers to some documentation on Tomcat embedded edition? http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/index.html Start with the Embedded class of the

log4j exception only when stopping and starting a web application

2007-02-27 Thread Rachel Wilson
I am deploying an unpacked webapp directory to TOMCAT_HOME/webapps/myapp, If i (stop and) start tomcat then my application runs fine and the logging works fine. However if i stop the application (successfully, it seems) and restart it using Tomcats manager app then I get the following error:

Re: [OT] Parallel Tomcat 5 and 6 services on Windows

2007-02-27 Thread Morris Jones
There might be a better explanation in the windows Event Viewer. Good luck, Mojo Robert Novotny wrote: The message was Failed to install Tomcat6 service. Ignore and continue anyway (not recommended)? Tomcat 5 service has been stopped prior to the installation. I wonder why the setup issues

RE: connection pool - DBCP error

2007-02-27 Thread Propes, Barry L [GCG-NAOT]
Daniel, I scoured the APIs for that method and couldn't find anywhere, but I added to my server.xml file any way. Without something like lamda probe, would I see any connections dropping, or would I need a third party tool like that to see it logged? ORwould I just not get any errors like

IIS Plugin Experience Anyone?

2007-02-27 Thread Scott Danforth
So far, there have been no responses to my recent requests for help with the IIS plugin (ISAPI_redirect.dll v 1.2.20). Because I'm getting Windows Active/X error messages in response to servlet requests, it appears that my problem has to do with environmental assumptions that are not

Re: log4j exception only when stopping and starting a web application

2007-02-27 Thread Gary Evesson
On 2/27/07, Rachel Wilson [EMAIL PROTECTED] wrote: I am deploying an unpacked webapp directory to TOMCAT_HOME/webapps/myapp, If i (stop and) start tomcat then my application runs fine and the logging works fine. However if i stop the application (successfully, it seems) and restart it using

RE: connection pool - DBCP error

2007-02-27 Thread Propes, Barry L [GCG-NAOT]
ok, thanks, David! -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 1:06 PM To: Tomcat Users List Subject: Re: connection pool - DBCP error The pooling in tomcat is a refactored copy of Commons-DBCP (http://jakarta.apache.org/commons/dbcp).

Re: connection pool - DBCP error

2007-02-27 Thread David Smith
The pooling in tomcat is a refactored copy of Commons-DBCP (http://jakarta.apache.org/commons/dbcp). See the javadocs for org.apache.commons.dbcp.BasicDataSource for all the options settable. minEvictableIdleTimeMillis= translates to setMinEvictableIdleTimeMillis(). --David Propes, Barry L

j_security_check

2007-02-27 Thread Wade Little
I have tried all I can to setup Netbeans/Tomcat to use postgre for my user auth via J_security_check by talking with my Postgre DBcan anyone review the following files and let me know if I have done anything wrong. I verified I can connect via a JSP and return a result. But I cant get the

RE: j_security_check

2007-02-27 Thread Propes, Barry L [GCG-NAOT]
I connect to Oracle, but mine's configured slightly different. in the server.xml file, connectionName=user_name connectionPassword=password userTable=users userNameCol=user_name userCredCol=user_pass userRoleTable=user_roles roleNameCol=role_name/ I have an

RE: Noobie Questions

2007-02-27 Thread Henderson,Nathan
-Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 10:29 AM To: Tomcat Users List Subject: Re: Noobie Questions En l'instant précis du 27/02/07 15:25, Henderson,Nathan s'exprimait en ces termes: We have 7 different clients, 14 databases(1

The requested resource (/manager/) is not available.

2007-02-27 Thread Daniel Gresh
Hi list, I'm trying to use the manager webapp for the custom Ant tasks on Tomcat 6.0.9 with Sun Solaris 10. I've gone into the tomcat-users.xml file and created a username/password admin/admin that has the manager role. However, when I try to connect to the manager webapp by pointing my

RE: The requested resource (/manager/) is not available.

2007-02-27 Thread Caldarale, Charles R
From: Daniel Gresh [mailto:[EMAIL PROTECTED] Subject: The requested resource (/manager/) is not available. However, when I try to connect to the manager webapp by pointing my browser to http://localhost:port/manager, I get the error: _The requested resource (/manager/) is not available.

Re: The requested resource (/manager/) is not available.

2007-02-27 Thread Daniel Gresh
Caldarale, Charles R wrote: From: Daniel Gresh [mailto:[EMAIL PROTECTED] Subject: The requested resource (/manager/) is not available. However, when I try to connect to the manager webapp by pointing my browser to http://localhost:port/manager, I get the error: _The requested resource

Re: [OT] mod_jk sticky session now working !! My bad.

2007-02-27 Thread Babu Satasiya
Hi Scott, Good its now working for you, I hope you can share your server.xml and workers.properties for community, so others can benefits of it. I would like to know do you use cluster or not? If yes, you tried stopping one of tomcat and your session is still continued or not? With cluster

RE: connection pool - DBCP error

2007-02-27 Thread Tim Lucia
-Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 4:48 PM To: Tomcat Users List Subject: connection pool - DBCP error AbandonedObjectPool is used ( [EMAIL PROTECTED]) LogAbandoned: true RemoveAbandoned: true

RE: Tomcat monitoring

2007-02-27 Thread Tim Lucia
-Original Message- From: H H [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 1:12 AM To: users@tomcat.apache.org Subject: Tomcat monitoring Does anyone know whats the best way to monitor a tomcat application remotely - I have seen the mailing lists and there are some

Re: connection pool - DBCP error

2007-02-27 Thread Daniel Stephens
Thats purely informational. On 2/27/07, Tim Lucia [EMAIL PROTECTED] wrote: -Original Message- From: Propes, Barry L [GCG-NAOT] [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 4:48 PM To: Tomcat Users List Subject: connection pool - DBCP error AbandonedObjectPool is

RE: connection pool - DBCP error

2007-02-27 Thread Propes, Barry L [GCG-NAOT]
yes, I believe soI added some other param attributes that I think will properly kill off abandoned connections if they didn't before get killed off. -Original Message- From: Tim Lucia [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 4:22 PM To: 'Tomcat Users List'

Ant custom tasks: how to compile .java files and restart Tomcat (Tomcat 6.0.9)?

2007-02-27 Thread Daniel Gresh
Hi all, I've been reading through the documentation on using custom Ant tasks with Tomcat, but I am sorry to say that I am confused. This will most likely turn out to be a very basic question, but I'm not sure where to go with it. I have a src directory for my .java files that I wish to

RE: Ant custom tasks: how to compile .java files and restart Tomcat (Tomcat6.0.9)?

2007-02-27 Thread Caldarale, Charles R
From: Daniel Gresh [mailto:[EMAIL PROTECTED] Subject: Ant custom tasks: how to compile .java files and restart Tomcat (Tomcat6.0.9)? I have a src directory for my .java files that I wish to compile to .class files and simply store them on $CATALINA_HOME/webapps/ROOT for now.

RE: Ant custom tasks: how to compile .java files and restart Tomcat (Tomcat 6.0.9)?

2007-02-27 Thread Marcelo Colomer Cornejo
Try with /, is the context ROOT. But I'm not sure that it will work. -Mensaje original- De: Daniel Gresh [mailto:[EMAIL PROTECTED] Enviado el: martes, 27 de febrero de 2007 23:58 Para: Tomcat Users List Asunto: Ant custom tasks: how to compile .java files and restart Tomcat (Tomcat

Certificate Installation Issues

2007-02-27 Thread Jeanna Geier
Hello List- After having our application running smoothly with self-signed certificates, we made the change today and purchased a Comodo InstantSSL certificate - and after following the instructions on installing it, I'm having some problems that I am hoping someone with more experience who has

deploying classpath problem

2007-02-27 Thread dausten
I an running windows XP, Tomcat 5.5, axis 1.4. I am trying to deploy a =20 web service using a wsdd. I am using the command java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd I went to system

Re: HTTP plus

2007-02-27 Thread Peter Kennard
I guess I'll answer my own question here after some testing and research That is: If you override the service() method on servelet all you need is a service name and a path to the servlet followed by two newlines as the minimal header. ie: X /Z\n\n for the most minimal header. X being

RE: [OT] deploying classpath problem

2007-02-27 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: deploying classpath problem This has nothing to do with Tomcat. AXIS_HOME: C:\Program~1\axis-1_4\lib AXIS_LIB: %AXIS_HOME%\lib Try expanding the AXIS_LIB expression on paper and see how many lib directories you come up with... -

Re: [OT] Bootstrap stop()

2007-02-27 Thread Fran Varin
OK, after spending a considerable amount of time crawling through Tomcat's Bootstrap and Catalina classes. I have narrowed the problem down I believe. It seems that the Bootstrap.stop() method is capable of stopping all of the threads except for one named http-8080 When the Bootstrap.start()

RE: [OT] Bootstrap stop()

2007-02-27 Thread Caldarale, Charles R
From: Fran Varin [mailto:[EMAIL PROTECTED] Subject: Re: [OT] Bootstrap stop() In looking at the class for the thread org.apache.tomcat.util.threads.ThreadWithAttributes there does not appear to be a way to bring the thread down gracefully. In tracking down the actual source, it extends

Having trouble building mod_jk on Solaris 10 x86

2007-02-27 Thread Chris Taylor
I'm trying to compile with gcc 3.4.3, and I'm using 'gmake', but I keep getting the errors below. Apache compiled and installed fine. I ran this short script to do the configure step: LDFLAGS=-L/usr/sfw/lib CPPFLAGS=-I/user/sfw/include ./configure --with-apxs=/usr/local/apache2/bin/apxs Here

AW: Cannot run JVM in server mode with JSVC

2007-02-27 Thread Peter Neu
Hello, can somebody please help don't know how to solve this. Cheers, Pete -Ursprüngliche Nachricht- Von: Peter Neu [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 27. Februar 2007 12:43 An: users@tomcat.apache.org Betreff: Cannot run JVM in server mode with JSVC Hello,