Re: tomcat datasource, find active connections

2010-07-14 Thread Konstantin Kolinko
2010/7/14 Caldarale, Charles R chuck.caldar...@unisys.com: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat datasource, find active connections As much fun as that sounds, the OP could just use the default DataSourceFactory which is based upon DBCP. Does

Re: Tomcat not working after moving installation folder

2010-07-14 Thread Kannan J
Yes, after reboot the service no longer appeared, and I did a service.bat install to install the D: tomcat and it said it was successfully installed. However when I hit a web page I get a weird exceptionjava.lang.NullPointerException

How can i verify clusterization?

2010-07-14 Thread Luca Gervasi
Hallo, i'm using (mostly): Tomcat: 2.0.26 JDK: jdk1.6.0_18 I have clusters of 2-4 tomcats. Is there a way to verify that the cluster is working? I can see no message exchange. is there a way (even some jsp code) to ensure that the cluster is working and the number of nodes joining it?

Re: Session error while loading an object

2010-07-14 Thread abhishek jain
On Wed, Jul 14, 2010 at 1:39 AM, Peter Crowther peter.crowt...@melandra.com wrote: On 13 July 2010 16:15, abhishek jain abhishek.netj...@gmail.com wrote: On Tue, Jul 13, 2010 at 2:11 PM, Peter Crowther peter.crowt...@melandra.com wrote: On 13 July 2010 09:34, abhishek jain

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 04:57, Michael Powe wrote: Hello, Thank you for the reply. See below for comments. On Wed, Jul 14, 2010 at 12:37:05AM +0200, Rainer Jung wrote: On 13.07.2010 23:17, Michael Powe wrote: Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM

Re: Session error while loading an object

2010-07-14 Thread Peter Crowther
On 14 July 2010 08:02, abhishek jain abhishek.netj...@gmail.com wrote: I just realized that i am having in the Cart object which i save in session, references of datasource and message resources. This is creating the problem as they i believe are not serializable, Is there any way of

Deployment issues

2010-07-14 Thread Sandip d...@iit
Dear All, I have deployed a web application (war file) in webapps directory of tomcat 6.0.18 its working fine. Please note that its a struts application and has been developed sometimes three years back. I am not sure which version of struts has been used in it. When I deployed the

Re: 404 with mod_jk

2010-07-14 Thread Michael Powe
Hello, Thanks again for looking at this. Here are the log entries corresponding to a jsp page request. [Wed Jul 14 05:42:57 2010] [15992:48036720] [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (951): enter [Wed Jul 14 05:42:57 2010] [15992:48036720] [debug]

Re: Deployment issues

2010-07-14 Thread André Warnier
Sandip d...@iit wrote: Dear All, I have deployed a web application (war file) in webapps directory of tomcat 6.0.18 its working fine. Please note that its a struts application and has been developed sometimes three years back. I am not sure which version of struts has been used in it.

Does Tomcat 7.0 support JSR-196?

2010-07-14 Thread Guofeng Zhang
If not, which version will support it in the future? Thanks!

Re: 404 with mod_jk

2010-07-14 Thread André Warnier
Mmmm. Taking into account all previous communications, this looks really strange. It looks as if mod_jk is being called, is finding a match with its URI map, but then is not even making any attempt at contacting the Tomcat worker... On the other hand, assuming that your IBM webserver is some

Re: 404 with mod_jk

2010-07-14 Thread Michael Powe
Hello, See below. On Wed, Jul 14, 2010 at 12:13:11PM +0200, André Warnier wrote: Mmmm. Taking into account all previous communications, this looks really strange. It looks as if mod_jk is being called, is finding a match with its URI map, but then is not even making any attempt at

Re: 404 with mod_jk

2010-07-14 Thread Konstantin Kolinko
2010/7/14 Michael Powe mich...@trollope.org: VirtualHost localhost (...) #    JkMount /host-manager ajp13 #    JkMount /host-manager/* ajp13    JkMount /TlTaggerTest/*.jsp worker1 /VirtualHost The VirtualHost section was created by the ApacheConfig option in Tomcat. Trivial question:

Too verbose log

2010-07-14 Thread Luca Gervasi
Hallo! I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats. I'm getting my log filled by lines like: INFO: ThroughputInterceptor Report[ Tx Msg:438951 messages Sent:507.93 MB (total) Sent:281.97 MB (application) Time:94.91 seconds Tx Speed:5.35

RE: Too verbose log

2010-07-14 Thread Caldarale, Charles R
From: Luca Gervasi [mailto:tom...@ashetic.net] Subject: Too verbose log I'm using tomcat 6.0.26 and java 1.5, to cluster some tomcats. I'm getting my log filled by lines like: INFO: ThroughputInterceptor Report[ Is there a way to turn it off? Set the interval attribute for the

RE: Too verbose log

2010-07-14 Thread Martin Gainty
tuning off all entries for a log is not a good idea better off to change any LEVEL assignments from DEBUG or whatever to FATAL http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html commons logging change any LEVEL assigments from DEBUG or whatever to LOG_LEVEL_FATAL

java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread testwreq wreq
I have a piece of code that retrieves data from oracle database XML type. It works on tomcat installation on ubuntu. But fails on CentOS. Any ideas? java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread Kris Schneider
You wouldn't happen to be using JDK 1.4 on CentOS, would you? The emptyMap method showed up in JDK 1.5... On Wed, Jul 14, 2010 at 9:35 AM, testwreq wreq testw...@gmail.com wrote: I have a piece of code that retrieves data from oracle database XML type. It works on tomcat installation on ubuntu.

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread testwreq wreq
It is jdk 1.6 from SUN java -version java version 1.6.0_20 Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) On Wed, Jul 14, 2010 at 9:56 AM, Kris Schneider kschnei...@gmail.comwrote: You wouldn't happen to be using JDK 1.4 on CentOS,

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread Kris Schneider
Well, it looks like this is the line of code being executed: return newInstance(contextPath,classLoader,Collections.String,ObjectemptyMap()); Tomcat normally dumps out at least the value of its JRE_HOME env var upon startup, can you verify that it's really using 1.6? On Wed, Jul 14, 2010 at

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread testwreq wreq
1. Error is complaining on the following lines of the code. Vector advVec=new Vector(); if (rs.getObject(ADVISOR) != null) { XMLType poxml = (XMLType) rs.getObject(advisor); String advisorstring =

Re: 404 with mod_jk

2010-07-14 Thread Rainer Jung
On 14.07.2010 14:37, Konstantin Kolinko wrote: 2010/7/14 Michael Powemich...@trollope.org: VirtualHost localhost (...) #JkMount /host-manager ajp13 #JkMount /host-manager/* ajp13 JkMount /TlTaggerTest/*.jsp worker1 /VirtualHost The VirtualHost section was created by the

RE: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread Martin Gainty
try Collection.isEmpty()==true OR Collection.size()==0 take your pick Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein,

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread testwreq wreq
How can I set the JRE_HOME? Why is it null? I am very new to this. Please point me to fix this. On Wed, Jul 14, 2010 at 10:38 AM, Martin Gainty mgai...@hotmail.com wrote: try Collection.isEmpty()==true OR Collection.size()==0 take your pick Martin Gainty

RE: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread Caldarale, Charles R
From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found. 2. JRE_HOME is not set to anything Which is a problem. production environments was not found on the

i have a quick jk trace question

2010-07-14 Thread fredk2
Hi, I am looking at a trace a friend made which raised my curiosity: [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace] ajp_read_into_msg_buff::jk_ajp_common.c (1188): enter [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace] ajp_read_fully_from_server::jk_ajp_common.c (1140): enter

Re: java.lang.NoSuchMethodError: method java.util.Collections.emptyMap with signature ()Ljava.util.Map; was not found.

2010-07-14 Thread testwreq wreq
It seems there is something wrong with the setup. How do I set the JRE_HOME? Also, /gcj-4.1.2 On Wed, Jul 14, 2010 at 10:46 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: testwreq wreq [mailto:testw...@gmail.com] Subject: Re: java.lang.NoSuchMethodError: method

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robedan, On 7/13/2010 11:05 AM, Robedan wrote: I have an application that has a Web interface using an embeded Tomcat 4 Server. I need to make it available to users over the Internet and want to secure it with SSL. It originally worked on port

jsre_home is null

2010-07-14 Thread testwreq wreq
catalina logs are showing jre_home as null. Any ideas how to set it?

Re: i have a quick jk trace question

2010-07-14 Thread Rainer Jung
On 14.07.2010 16:50, fredk2 wrote: Hi, I am looking at a trace a friend made which raised my curiosity: [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace] ajp_read_into_msg_buff::jk_ajp_common.c (1188): enter [Mon Jul 12 17:49:13.534 2010] [3370:4160136960] [trace]

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread Robedan
Can you post all active Connector elements from your conf/server.xml file? Attached. The web.xml file should be in your webapp's deployment directory under WEB-INF/web.xml. I've tried it there, but with the same results. This is the only application that will ever be on this server, so either

Re: Does Tomcat 7.0 support JSR-196?

2010-07-14 Thread Mark Thomas
On 14/07/2010 11:11, Guofeng Zhang wrote: If not, which version will support it in the future? Not yet. It is on the possible enhancement list but there hasn't been a great deal of interest to date. Mark - To unsubscribe,

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robedan, On 7/14/2010 1:29 PM, Robedan wrote: Can you post all active Connector elements from your conf/server.xml file? Attached. [inlined here:] Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=80 minProcessors=5

Re: jsre_home is null

2010-07-14 Thread Bob Hall
--- On Wed, 7/14/10 at 10:08 AM, testwreq wreq testw...@gmail.com wrote: catalina logs are showing jre_home as null. Any ideas how to set it? Earlier, in a separate thread, you indicated that java 1.6 was installed. At the command prompt type: $ which java which should display something

Re: 404 with mod_jk

2010-07-14 Thread Michael Powe
On Wed, Jul 14, 2010 at 04:37:17PM +0200, Rainer Jung wrote: On 14.07.2010 14:37, Konstantin Kolinko wrote: 2010/7/14 Michael Powemich...@trollope.org: VirtualHost localhost (...) #JkMount /host-manager ajp13 #JkMount /host-manager/* ajp13 JkMount /TlTaggerTest/*.jsp worker1

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread David Fisher
Robedan, I recall that we started doing the following in Tomcat 4.1: In the webapps WEB-INF/web.xml we inserted the following right before /web-app: security-constraint web-resource-collection web-resource-nameEntire Application/web-resource-name

test test

2010-07-14 Thread MShah
http://moshah-linux.corp.walmart.com/ip/3555301 -- View this message in context: http://old.nabble.com/test-test-tp29165474p29165474.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Problem redirecting http to https in Tomcat 4

2010-07-14 Thread Pid
On 13/07/2010 21:36, Caldarale, Charles R wrote: ... since Tomcat 4 is before my time ... - Chuck :o p signature.asc Description: OpenPGP digital signature

Re: question for sso session replication in tomcat 6.0.26

2010-07-14 Thread Pid
On 13/07/2010 21:58, Okubo, Yasushi (TSD) wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, June 25, 2010 4:29 AM To: Tomcat Users List Subject: Re: question for sso session replication in tomcat 6.0.26 On 24/06/2010 21:49, Okubo, Yasushi (TSD) wrote:

problems start cyclos in Tomcat with secutrity manager

2010-07-14 Thread stefan-b
Hello, I hope you can help. I've installed cyclos (http://project.cyclos.org) on my tomcat5.5 running on debian lenny on amd64Bit Machine. A Mail to the Cyclos Team itself gets no answer since a week and the Cyclos Forum is nearly dead :( With an disabled security manager all works fine. The

Re: 404 with mod_jk

2010-07-14 Thread André Warnier
Michael Powe wrote: ... To install mod_jk, I resorted to my good friend Google, and used a tutorial to set up the connector. In that tutorial, the method used was to create a properties file (workers.properties) which set up the worker `worker1'. ... I'm installing a clean version of

Re: problems start cyclos in Tomcat with secutrity manager

2010-07-14 Thread André Warnier
stefan-b wrote: Hello, I hope you can help. I've installed cyclos (http://project.cyclos.org) on my tomcat5.5 running on debian lenny on amd64Bit Machine. A Mail to the Cyclos Team itself gets no answer since a week and the Cyclos Forum is nearly dead :( With an disabled security manager all

Re: 404 with mod_jk

2010-07-14 Thread Michael Powe
On Thu, Jul 15, 2010 at 02:28:52AM +0200, André Warnier wrote: Michael Powe wrote: To install mod_jk, I resorted to my good friend Google, and used a tutorial to set up the connector. In that tutorial, the method used was to create a properties file (workers.properties) which set up the