How can i verify clusterization?

2010-07-13 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? Furthermor

Re: Tomcat not working after moving installation folder

2010-07-13 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 org.springframework.web.servlet.FrameworkServlet.proce

Re: tomcat datasource, find active connections

2010-07-13 Thread Konstantin Kolinko
2010/7/14 Caldarale, Charles R : >> 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 that require set

RE: tomcat datasource, find active connections

2010-07-13 Thread Caldarale, Charles R
> 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 that require setting the privileged attribute to true i

Re: tomcat datasource, find active connections

2010-07-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/12/2010 10:38 AM, Caldarale, Charles R wrote: >> From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] >> Sent: 2010 July 12, Monday 09:16 >> To: Tomcat Users List; p...@pidster.com >> Subject: Re: tomcat datasource, find active conne

RE: Tomcat and Hex characters

2010-07-13 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat and Hex characters > > When you mention "running under JBOSS", does that mean that there is > some webserver in front of Tomcat ? Probably not. JBoss uses an embedded version of Tomcat as its web server and servlet container.

Re: 404 with mod_jk

2010-07-13 Thread Michael Powe
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 httpd server to proxy reques

Re: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Bill Barker
Tomcat 4.x is well know to have problems with this when using a non-default SSL port with MSIE. However, it usually works ok with the default SSL port. I would check that you have the correct redirectPort defined in the for the non-SSL connector. "Robedan" wrote in message news:29151597.p.

Re: Seem to have it fixed ...

2010-07-13 Thread michel
- Original Message - From: "michel" To: "Tomcat Users List" Sent: Tuesday, July 13, 2010 9:29 PM Subject: Re: Seem to have it fixed ... - Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" Sent: Tuesday, July 13, 2010 7:42 PM Subject: RE: Seem to h

Re: Seem to have it fixed ...

2010-07-13 Thread michel
- Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" Sent: Tuesday, July 13, 2010 7:42 PM Subject: RE: Seem to have it fixed ... From: michel [mailto:compu...@videotron.ca] Subject: Seem to have it fixed ... and I added Almost ok. With Tomcat 5.0 and abo

Re: unable to deploy correctly in tomcat 6.0.10

2010-07-13 Thread Konstantin Kolinko
2010/7/13 Tarun Gupta : > Lookup of RMI > stub failed; nested exception is java.rmi.ConnectIOException: error during > JRMP connection establishment; nested exception is: > >   java.net.SocketException: Connection reset > It tries to connect to some remote server, but fails.

Re: Tomcat not working after moving installation folder

2010-07-13 Thread Konstantin Kolinko
2010/7/13 Kannan J : > D:\Tomcat5.5\bin>service.bat remove > The service 'Tomcat5' has been removed > > I still find the windows service, but its seems to have changed to 'Disabled' > (not sure what it was before) Maybe you have to do a reboot. > After that, the install command fails: > (...) >

Re: Tomcat and Hex characters

2010-07-13 Thread André Warnier
Hi. Independently of the questions of character set encodings and settings (for that, really read the FAQ to which Chuck pointed you), the fact that you wrote this : ... The only thing that seems to work is if i replace the % in the hex value of the UTF encoded string by %25 makes me susp

Re: weird bug?

2010-07-13 Thread Konstantin Kolinko
2010/7/14 Len Popp : > Suggestion: In future, when deriding someone for "hijacking" threads, > do it in a private email instead of annoying everyone else on the > list. Thanks. 1. The "don't hijack threads" messages are important. 2. Private emails are discouraged, per policy. Best regards, Konst

RE: Seem to have it fixed ...

2010-07-13 Thread Caldarale, Charles R
> From: michel [mailto:compu...@videotron.ca] > Subject: Seem to have it fixed ... > > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false" reloadable="true"> > > and I added > Almost ok. With Tomcat 5.0 and above, putting elements in server.xml is strongly

Seem to have it fixed ...

2010-07-13 Thread michel
I changed appBase="webapps/supergrow" to and I added and the jsp that was in supergrow/canscale with "<%@ page import="compukat.io.FileUtil" %>" worked. Thanks for the great help! Michel - To unsubscribe, e

Re: Tomcat and Hex characters

2010-07-13 Thread Mitch Claborn
This may help. If any of the filters in the chain do any kind of read to the input stream, then the encoding is fixed from that point on. I had a similar problem with Struts in Tomcat. I solved it by putting a filter in the chain ahead of sturts and calling req.setCharacterEncoding("UTF-8"

Re: 404 with mod_jk

2010-07-13 Thread Rainer Jung
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 httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all instructions

Re: remove "content-length" http header when header "Transfer-Encoding chunked" exist

2010-07-13 Thread clam715
Thank you for your reply. Please what can I do in my end to fix the problem. markt-2 wrote: > > On 13/07/2010 22:02, clam715 wrote: >> >> I am using tomcat 5.5.27. >> >> All my http response create both http header "content-length" and >> "Transfer-Encoding chunked". >> This not valid ac

Re: weird bug?

2010-07-13 Thread Len Popp
On Tue, Jul 13, 2010 at 17:42, Caldarale, Charles R wrote: > You really don't know how to create a new e-mail message, rather than hitting > the reply button?  What seriously deficient e-mail client are you using? > >  - Chuck You really don't know that most people don't understand your problem,

Re: weird bug?

2010-07-13 Thread Bob Hall
--- On Tue, 7/13/10 at 2:50 PM, michel wrote: > You could have just answered my > question, instead of making such a snarky reply. > Perhaps this will help: http://en.wikipedia.org/wiki/User:DonDiego/Thread_hijacking - Bob --

Re: weird bug?

2010-07-13 Thread michel
You could have just answered my question, instead of making such a snarky reply. Michel - Original Message - From: "Caldarale, Charles R" To: "Tomcat Users List" Sent: Tuesday, July 13, 2010 5:42 PM Subject: RE: weird bug? From: michel [mailto:compu...@videotron.ca] Subject: R

RE: weird bug?

2010-07-13 Thread Caldarale, Charles R
> From: michel [mailto:compu...@videotron.ca] > Subject: Re: weird bug? > > Please explain how to start a new thread, versus hijacking one. You really don't know how to create a new e-mail message, rather than hitting the reply button? What seriously deficient e-mail client are you using? - C

RE: Tomcat 5.0.18 to Tomcat 5.5.23 upgrade issues

2010-07-13 Thread Caldarale, Charles R
> From: Venkat Tanga [mailto:venkateswararao.ta...@oracle.com] > Subject: Tomcat 5.0.18 to Tomcat 5.5.23 upgrade issues > > I am upgrading the web server Tomcat 5.0.18 to Tomcat 5.5.23 Why would you "upgrade" to a version of Tomcat that's more than two years old? If you're going to upgrade, be

Re: weird bug?

2010-07-13 Thread michel
Please don't hijack threads. If you'd like to try again in a new thread... Mark Please explain how to start a new thread, versus hijacking one. Michel - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Tomcat 5.0.18 to Tomcat 5.5.23 upgrade issues

2010-07-13 Thread Venkat Tanga
Hi, I am upgrading the web server Tomcat 5.0.18 to Tomcat 5.5.23 for my Struts 1.1 based web application. I am facing JNDI configuration & Logging files creation issues in Tomcat 5.5.23. Till now I am using tomcat 5.0.18. Now I need to upgrade my J2SE 1.4 based web app

404 with mod_jk

2010-07-13 Thread Michael Powe
Hello, I asked this question in the httpd list but no joy. I have set up tomcat 6 and IBM httpd server to proxy requests using mod_jk. IBM_HTTP_Server/6.0.2 Apache/2.0.47 (Unix) mod_jk/1.2.30 Server at localhost Port 80 I have followed all instructions as nearly as I can make out. The mod_j

Re: remove "content-length" http header when header "Transfer-Encoding chunked" exist

2010-07-13 Thread Mark Thomas
On 13/07/2010 22:02, clam715 wrote: > > I am using tomcat 5.5.27. > > All my http response create both http header "content-length" and > "Transfer-Encodingchunked". > This not valid according to RFC. > How can I remove the "content-length" from the header of > httpServletResponse? Fix y

RE: weird bug?

2010-07-13 Thread Caldarale, Charles R
> From: michel [mailto:compu...@videotron.ca] > Subject: weird bug? > > I probaly have some configuation all wrong So post your server.xml and the web.xml for your webapp. Remove all comments and obscure any privileged information (eg, passwords). Lots of configuration things have changed sin

Re: weird bug?

2010-07-13 Thread Mark Thomas
On 13/07/2010 22:06, michel wrote: > I probaly have some configuation all wrong, but with Apache Tomcat > Version 6.0.26 I have this weird new bug that I didn't have in Tomcat 4.1. > > > If I have this code in a jsp that is in the appBase="webapps/supergrow" > directory the import seems to work >

weird bug?

2010-07-13 Thread michel
I probaly have some configuation all wrong, but with Apache Tomcat Version 6.0.26 I have this weird new bug that I didn't have in Tomcat 4.1. If I have this code in a jsp that is in the appBase="webapps/supergrow" directory the import seems to work <%@ page import="compukat.io.FileUtil" %>

remove "content-length" http header when header "Transfer-Encoding chunked" exist

2010-07-13 Thread clam715
I am using tomcat 5.5.27. All my http response create both http header "content-length" and "Transfer-Encoding chunked". This not valid according to RFC. How can I remove the "content-length" from the header of httpServletResponse? Thank You -- View this message in context: http://

RE: question for sso session replication in tomcat 6.0.26

2010-07-13 Thread Okubo, Yasushi (TSD)
-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: > My bad. > > I added *.jsp to the filter since it contai

Re: Content length when HTTP Transfer-encoding is chunked

2010-07-13 Thread clam715
I have the same problem. Can anyone tell me how to fix the problem? I try to use filter to remove content-length, however it only work for content-length that is greater than 8k. for page with less than 8k, content-length header will always show up. Thank You Mahesh Seshan wrote: > > Hello,

Re: Tomcat/webapp bundled deployment

2010-07-13 Thread David Fisher
That is pretty much what i do, but I recommend that you adopt an overlay approach. It will make it easy for you to take new versions of Tomcat when they are available. Here is how I currently deploy to Solaris. (1) I use a blessed tomcat distribution from http://tomcat.apache.org/download-60.c

RE: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Caldarale, Charles R
> From: Robedan [mailto:drobe...@cesco.net] > Subject: RE: Problem redirecting http to https in Tomcat 4 > > Whoops, forgot to attach the web.xml. Here it is... > http://old.nabble.com/file/p29155093/web.xml web.xml I copied & pasted your section into the conf/web.xml file of a supported versio

Re: Session error while loading an object

2010-07-13 Thread Peter Crowther
On 13 July 2010 16:15, abhishek jain 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 wrote: > > > > > I am using tomcat 5.5 , struts 1.x and i encounter the following error: > > > I actually store the

RE: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Robedan
Whoops, forgot to attach the web.xml. Here it is... http://old.nabble.com/file/p29155093/web.xml web.xml -- View this message in context: http://old.nabble.com/Problem-redirecting-http-to-https-in-Tomcat-4-tp29151597p29155093.html Sent from the Tomcat - User mailing list archive at Nabble.com.

RE: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Caldarale, Charles R
> From: Robedan [mailto:drobe...@cesco.net] > Subject: RE: Problem redirecting http to https in Tomcat 4 > > I'm attachng a copy of ther web.xml taken from /tomcat/conf. The list strips most attachments, so that didn't work. Sometimes .zip files come through, but it's usually easiest just to pl

RE: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Robedan
Thanks for the reply. In answer to your questions: No longer supported. You really should upgrade. Not an option here. Tomcat 4 comes embedded with the app. Upgrading may affect the app negatively, or in a way the vendor won't support. Gonna have to live with it for now. If that's what you act

Re: Tomcat supported versions

2010-07-13 Thread Ben Souther
How do you define "supported"? Tomcat is an open source project. There is no support, other than the help you can get on this list. I've heard of companies that offer support for Tomcat for a fee. You would have to check with them to see which versions they currently support. On Tue, 20

Re: Tomcat supported versions

2010-07-13 Thread David kerber
On 7/13/2010 1:57 PM, Garen Azizian wrote: Hello. I would like to find out what is the current minimal supported version of Tomcat. Why? If you want to stick with a 5.x version, 5.5.x still works very well, but 6.x is nice and stable, and will still run on Java 5. Also is the Tomca

RE: Tomcat supported versions

2010-07-13 Thread Garen Azizian
Support in terms of security fixes. Garen -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, July 13, 2010 11:09 To: Tomcat Users List Subject: Re: Tomcat supported versions On 13/07/2010 18:57, Garen Azizian wrote: > Hello. > > > > I would like to find ou

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Caldarale, Charles R
> From: Kannan J> Subject: RE: Tomcat not working after moving installation > folder > I still find the windows service, but its seems to have > changed to 'Disabled' Not good. You may have to delete the service manually (which will require some research). It looks like your manual editing o

RE: Tomcat supported versions

2010-07-13 Thread Caldarale, Charles R
> From: Garen Azizian [mailto:garen.aziz...@oracle.com] > Subject: Tomcat supported versions > > I would like to find out what is the current minimal > supported version of Tomcat. You could always read the Tomcat home page... http://tomcat.apache.org/ > Also is the Tomcat 5.0.18 still a suppor

Re: Tomcat supported versions

2010-07-13 Thread Mark Thomas
On 13/07/2010 18:57, Garen Azizian wrote: > Hello. > > > > I would like to find out what is the current minimal supported version of > Tomcat. Define supported. It depends if you are looking for security fixes, bug fixes or enhancements. See http://wiki.apache.org/tomcat/TomcatVersions for d

Tomcat supported versions

2010-07-13 Thread Garen Azizian
Hello. I would like to find out what is the current minimal supported version of Tomcat. Also is the Tomcat 5.0.18 still a supported version? Thank You, Garen

unable to deploy correctly in tomcat 6.0.10

2010-07-13 Thread Tarun Gupta
Hi Guys, Till recently, my application was working correctly. But, since the last 3-4 days during deploying I get the following exception: 010-07-13 09:58:08,515 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCre

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Kannan J
I don't have the service.bat in the bin folder so from another Jakarta Tomcat zip file. When I did D:\Tomcat5.5\bin>service.bat remove The service 'Tomcat5' has been removed   I still find the windows service, but its seems to have changed to 'Disabled' (not sure what it was before) After that, t

RE: Tomcat and Hex characters

2010-07-13 Thread Caldarale, Charles R
> From: arun kumar [mailto:arunbha...@yahoo.com] > Subject: Tomcat and Hex characters > > What do i have to do to be able to pass hex values of > UTF-8 encoded strings that represent characters of > foreign languages (like say Chines/Japanese) to my > servlet so it is read correctly? Start by

RE: Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Caldarale, Charles R
> From: Robedan [mailto:drobe...@cesco.net] > Subject: Problem redirecting http to https in Tomcat 4 > > I have an application that has a Web interface using an > embeded Tomcat 4 Server. No longer supported. You really should upgrade. > The final piece of the puzzle I've been struggling with

Tomcat and Hex characters

2010-07-13 Thread arun kumar
Hello I'm facing a problem with which i need some help: I'm using JBOSS which internally uses Tomcat. When i send a request to a servlet running inside tomcat with a parameter that is encoded in UTF-8, the parameter's value shows up as . I tried several things like adding URIEncoding=”UTF-8

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Tomcat not working after moving installation folder > > Actually, CATALINA_HOME is used, it's just set in the registry > instead of as a environment variable. The point is the _environment variable_ is NOT used when runni

Tomcat/webapp bundled deployment

2010-07-13 Thread Noah Cantor
Hello, I would like to deploy Tomcat bundled with a few applications (both webapps and non-web applications). Preferably, this would all be stored in one file (be it a jar, ear, or any other format), and upon decompressing, I could simply run a script that would activate the server, load the webap

Re: Session error while loading an object

2010-07-13 Thread abhishek jain
On Tue, Jul 13, 2010 at 2:11 PM, Peter Crowther wrote: > On 13 July 2010 09:34, abhishek jain wrote: > > > I am using tomcat 5.5 , struts 1.x and i encounter the following error: > > I actually store the object in session and retrieve that(for a shopping > > cart > > application), pl. advice wha

Problem redirecting http to https in Tomcat 4

2010-07-13 Thread Robedan
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 8080 but I successfully modified the SERVER.XML to make it work over port 80. I also sucessfully crea

Re: Tomcat not working after moving installation folder

2010-07-13 Thread David kerber
On 7/13/2010 10:22 AM, Jeffrey Janner wrote: ... Do yourself a favor and follow Chuck's instructions. When it comes to Tomcat: "If in danger or in doubt, do what Chuck says, and it'll work out." D - To unsubscribe, e-mail:

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, July 13, 2010 8:27 AM > To: Tomcat Users List > Subject: RE: Tomcat not working after moving installation folder > > > From: André Warnier [mailto:a...@ice-sa.com] > > Subject: Re: Tomcat

RE: Does Tomcat have any special DNS requirements?

2010-07-13 Thread Caldarale, Charles R
> From: dbrownell83 [mailto:dbrownel...@hotmail.com] > Subject: Does Tomcat have any special DNS requirements? > > Eventually I would like to type http://www.mydomain.com:8080 > and see the "It works!". As long as www.mydomain.com resolves to your assigned IP address *and* port 8080 is open for

Does Tomcat have any special DNS requirements?

2010-07-13 Thread dbrownell83
Hi there, I've got my initial Tomcat page running on my VPS: http://173.245.73.238:8080/ I have a godaddy domain, and have set it up with DNS records: -- A/HOSTS www.mydomain.com points to 173.245.73.238 CNAMES www points to www.mydomain.com -- I will wait another 48 hou

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat not working after moving installation folder > > Kannan J wrote: > > I ran out of disk space on C: so I moved C:\Tomcat5.5 to D:\Tomcat5.5 > and also edited the executable path in the windows service registry. Probably not a saf

Re: Tomcat not working after moving installation folder

2010-07-13 Thread André Warnier
Kannan J wrote: I ran out of disk space on C: so I moved C:\Tomcat5.5 to D:\Tomcat5.5 and also edited the executable path in the windows service registry. But now it doesn't start. It says "The Apache Tomcat service terminated with service-specific error 0 (0x0)." No log file gets written in D:\

RE: Tomcat not working after moving installation folder

2010-07-13 Thread Saurabh Agrawal
Hi Kannan, Did you stop the tomcat service running previously before move operation? I suspect, old process has occupied the same address (port or interface) Please check. For windows there is one utility -- PortMon which will give port if in use or not. Try to kill that process and then restart.

Tomcat not working after moving installation folder

2010-07-13 Thread Kannan J
I ran out of disk space on C: so I moved C:\Tomcat5.5 to D:\Tomcat5.5 and also edited the executable path in the windows service registry. But now it doesn't start. It says "The Apache Tomcat service terminated with service-specific error 0 (0x0)." No log file gets written in D:\Tomcat5.5\logs.

Re: Session error while loading an object

2010-07-13 Thread Peter Crowther
On 13 July 2010 09:34, abhishek jain wrote: > I am using tomcat 5.5 , struts 1.x and i encounter the following error: > I actually store the object in session and retrieve that(for a shopping > cart > application), pl. advice what i can do to remove this error: > > java.io.NotSerializableExceptio

Session error while loading an object

2010-07-13 Thread abhishek jain
Hi friends, I am using tomcat 5.5 , struts 1.x and i encounter the following error: I actually store the object in session and retrieve that(for a shopping cart application), pl. advice what i can do to remove this error: Exception loading sessions from persistent storagejava.io.WriteAbortedExcept