Re: Error HTTP 500 in war deployment

2008-07-10 Thread Mark Thomas
Marcos wrote: Hi people. I need to deploy a war file in Tomcat 5.5.26 I upload the war, but when uploads finished i have the next error. What can be wrong ? (I can deploy in my pc as localhost, but in my ISP don?t work and is the same .war file ) thanks for any help. 1. Don't hi-jack threads.

tomcat 5.5.20 with jsvc crash

2008-07-10 Thread Umesh Kudtarkar
Hi All, We are running Tomcat 5.5.20 on RHEL 4 with jsvc. After running for 2-3 days tomcat suddenly crashes with error similar to this. GC09/07/2008 11:17:52 1049 jsvc.exec error: Service did not exit cleanly There is no other information in log file. No other error file is generated.

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Suma Rakesh [EMAIL PROTECTED]: Hi, I am starting Tomcat through one of my C++ programs on windows 2003 server. I am using Bootsrap org.apache.catalina.startup.Bootstrap.main() method and pass 'Start' and 'Stop' as arguments. The documentation read mentioned that this will start

Re: IIS 6.0 / JK1.2.25 / Tomcat 5.5.20 - Service temporary unavailable

2008-07-10 Thread Jesse Klaasse
Hi Rainer, We are a week later now, with the changed settings, and while the environment first seemed to be a little more stable, in the end this unfortunately is not the case... We still reboot Tomcat every night automatically, and most of the time once a day manually because of the 503 error.

Re: CacheEventQueue.QProcessor Thread --Problem with JCS

2008-07-10 Thread Filip Hanik - Dev Lists
you might have more luck if you post to the JCS mailing list :) Filip Raghavendra Kumar Naik wrote: Hi Myself Raghu, is implementing the JCS for one of my projects.Here I use the concept of RemoteCacheServer and RemoteCacheClient. When I populate some 1 lakh objects from the client it

Re: tomcat 5.5.20 with jsvc crash

2008-07-10 Thread Filip Hanik - Dev Lists
are you seeing any errors reported in the tomcat log files? also make sure you didn't run into the linux oom-killer process, might have terminated your process to, this one would log into syslog Filip Umesh Kudtarkar wrote: Hi All, We are running Tomcat 5.5.20 on RHEL 4 with jsvc. After

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
I converted my jsp file to UTF-8 and set the file.enconding on JAVA_OPTS, but still have the problem. Also another person here tried this on a different computer not using Integer object but String objects instead and it gives the same error. What I find more weird is that it says the value is

context.xml and custom realm

2008-07-10 Thread Carol Cheung
I'm trying to set up a custom realm in context.xml and placing it in META-INF, according to http://tomcat.apache.org/tomcat-5.5-doc/config/context.html because I don't want to restart Tomcat if I need to modify the Context element or my custom realm. But according to

RE: context.xml and custom realm

2008-07-10 Thread Caldarale, Charles R
From: Carol Cheung [mailto:[EMAIL PROTECTED] Subject: context.xml and custom realm Is it possible to place the realm and the database driver somewhere under webapps/appname and still have Tomcat find it? I really want to avoid having to restart Tomcat. If so, where should these be located?

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Konstantin Kolinko
Well, looking at the sources... http://myfaces.apache.org/shared11/myfaces-shared-core/xref/org/apache/myfaces/shared/renderkit/RendererUtils.html#531 http://myfaces.apache.org/shared11/myfaces-shared-core/xref/org/apache/myfaces/shared/renderkit/RendererUtils.html#504 The

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
The basewebAcessoLogin.unidade.seqUnidade.value returns an Integer object. The weird thing is that it works on Windows (netbeans + bundle tomcat), but it doesn't work on Debian. Both are running Tomcat 5.5.17. From my point of view it should work on both servers without the need to change

Re: Error HTTP 500 in war deployment

2008-07-10 Thread Marcos
thanks mark for your help looks like a bug, and there is no much to do :( thanks. -- Mensaje original -- Reply-To: Tomcat Users List users@tomcat.apache.org Date: Thu, 10 Jul 2008 07:39:24 +0100 From: Mark Thomas [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Subject: Re: Error

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
Forgot to mention, I don't get the exception on every SelectOneMenu, it seems like a random thing. Maybe it's an ajax problem? Sérgio Vieira Rolanski wrote: The basewebAcessoLogin.unidade.seqUnidade.value returns an Integer object. The weird thing is that it works on Windows (netbeans + bundle

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Johnny Kewl
- Original Message - From: Suma Rakesh [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, July 10, 2008 2:03 AM Subject: Blocking port 8005 in TomCat in Deamon Mode Hi, I am starting Tomcat through one of my C++ programs on windows 2003 server. I am using Bootsrap

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Konstantin Kolinko
Have not you tried to ask this question on myfaces-specific lists? Also, may it be, that there are different version of the libraries in your development and production tomcats? 2008/7/10 Sérgio Vieira Rolanski [EMAIL PROTECTED]: The basewebAcessoLogin.unidade.seqUnidade.value returns an

Apache/mod_jk serves random files from tomcat

2008-07-10 Thread Tim Redding
Hi, We are experiencing intermittent problems with a particular site that is not returning the correct file that is requested. For instance if we request the index.html file we actually get a css file or even an image. From the apache access log you can see that the size of the index.html file

Re: Problem publishing application to debian with tomcat 5.5.17

2008-07-10 Thread Sérgio Vieira Rolanski
Not sure why, but at first this seemed like a tomcat issue, like some sort of different configuration on both servers since I deploy the exact same application on both servers with same libraries. Libraries like hibernate, ajax, myfaces, etc. are always deployed every time when I deploy my

RE: Error HTTP 500 in war deployment

2008-07-10 Thread Caldarale, Charles R
From: Marcos [mailto:[EMAIL PROTECTED] Subject: Re: Error HTTP 500 in war deployment looks like a bug, and there is no much to do :( Try to talk your ISP into applying the workaround: Problem can be fixed by including commons-io version 1.4 in the manager webapp. - Chuck THIS

Any experts on jk_isapi_plugin have any idea what I did wrong?

2008-07-10 Thread Michael Dubno
-Original Message- From: Michael Dubno [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2008 3:55 PM To: users@tomcat.apache.org Subject: Tomcat and IIS - I almost have it working, but... I have (as far as I can tell) an IIS 6.0 server configured to redirect requests to a Tomcat 4.1.24

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Andrew Connick
Hello Mark Thomas Thanks for your reply I forwarded it to my web hosting company. They have followed the instructions. I now find that I have to use www.windsor-chamber.co.uk/ROOT/index.jsp My hosting company says it's not possible to change this (to www.windsor-chamber.co.uk/index.jsp )

Re: Apache/mod_jk serves random files from tomcat

2008-07-10 Thread Len Popp
That log file is from the httpd server, right? What does the Tomcat log file say? (Turn on AccessLogValve if you haven't already.) Is Tomcat always getting requests for the correct file, or is mod_jk requesting the wrong file sometimes? -- Len On Thu, Jul 10, 2008 at 11:44, Tim Redding [EMAIL

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Mark Thomas
Andrew Connick wrote: Hello Mark Thomas Thanks for your reply I forwarded it to my web hosting company. They have followed the instructions. I now find that I have to use www.windsor-chamber.co.uk/ROOT/index.jsp My hosting company says it's not possible to change this (to

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Mark Thomas
Andrew Connick wrote: Hello Mark Thomas Thanks for your reply I forwarded it to my web hosting company. They have followed the instructions. I now find that I have to use www.windsor-chamber.co.uk/ROOT/index.jsp My hosting company says it's not possible to change this (to

Excess whitespace generated

2008-07-10 Thread Jonathan Mast
I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely the contents returned by a JSP? I thought there would be a

Tomcat and SOAP

2008-07-10 Thread Lloyd Shimabukuro
Hi, I have a question regarding Tomcat and SOAP. I am using Tomcat 5.5. Is SOAP already part of the Tomcat 5.5 installation, or does it need to be installed separately? Thanks, Lloyd CONFIDENTIALITY NOTICE: This communication with its contents may contain confidential and/or legally

Re: Excess whitespace generated

2008-07-10 Thread Mark Thomas
Jonathan Mast wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely the contents returned by a JSP? 1. Use a

Re: Excess whitespace generated

2008-07-10 Thread Jim Cox
On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED] wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control

RE: tomcat 5.5.20 with jsvc crash

2008-07-10 Thread Umesh Kudtarkar
Hi Filip, I am not seeing anything in any log files. I am redirecting output from tomcat to a single file like this org.apache.catalina.startup.Bootstrap $CATALINA_BASE/logs/servlet.log 21 I didn't find anything in syslog. Kernel logging is not enabled in syslog.conf, so not sure how to find

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Suma Rakesh
Hi, Thanks for your responses. Apparently startd and stopd did not work for me. My TC version is 4.1. I will probably change the shutdown command in server.xml to a random string. Thanks, Suma. --- On Thu, 7/10/08, Konstantin Kolinko [EMAIL PROTECTED] wrote: From: Konstantin Kolinko

RE: Excess whitespace generated

2008-07-10 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Excess whitespace generated I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. Setting the trimSpaces param to true in the jsp servlet declaration in

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
Thanks for alerting me. I think it's only that working_mod_jk2.conf file that's in the httpd directory, the rest is in the /usr directory. Is that still a problem? Regards, Tim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2008 5:21 PM To:

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Mark Thomas
Tim Hunt wrote: Thanks for alerting me. I think it's only that working_mod_jk2.conf file that's in the httpd directory, the rest is in the /usr directory. Is that still a problem? If httpd and Tomcat are serving content from the same directory then there is the potential for security issues.

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Andrew Connick
Thanks Mark They have set the host to: Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html Aliaswww.windsor-chamber.co.uk/Alias Context path= reloadable=true docBase=/home/andrew42/public_html debug=1/ /Host and the context in public_html/ROOT/META_INF/context.xml is : Context

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
Hmmm. Does that mean I shouldn't have an .html file (served by Apache) and a .jsp file (served by Tomcat) in the same directory? Regards, Tim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 2:37 PM To: Tomcat Users List Subject: Re: Tomcat

RE: Problems with jsp include files in sub-directories

2008-07-10 Thread Caldarale, Charles R
From: Andrew Connick [mailto:[EMAIL PROTECTED] Subject: Re: Problems with jsp include files in sub-directories They have set the host to: Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html Aliaswww.windsor-chamber.co.uk/Alias Context path= reloadable=true

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Mark Thomas
Tim Hunt wrote: Hmmm. Does that mean I shouldn't have an .html file (served by Apache) and a .jsp file (served by Tomcat) in the same directory? Yes. Unless you are careful about your configuration. It is possible to do it safely, but it can cause issues. Mark

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Mark Thomas
Andrew Connick wrote: Thanks Mark They have set the host to: Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html Aliaswww.windsor-chamber.co.uk/Alias Context path= reloadable=true docBase=/home/andrew42/public_html debug=1/ /Host and the context in

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread David Smith
Host name=windsor-chamber.co.uk appBase=/home/andrew42/public_html Aliaswww.windsor-chamber.co.uk/Alias Context path= reloadable=true docBase=/home/andrew42/public_html debug=1/ /Host As they like to say on Mythbusters after blowing something up, There's your problem. A host's appBase and a

Version 6 Clustering problem

2008-07-10 Thread János
Hi, I am trying to establish a 3 member cluster on the same machine. Here is my server.xml copied from a sample I found on this list. ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on /

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
Wow, that's a major headache/hassle I wasn't aware of. Where can I find more about the risks and how to potentially do this safely? Thanks, Tim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 2:55 PM To: Tomcat Users List Subject: Re: Tomcat

Re: Excess whitespace generated

2008-07-10 Thread Jonathan Mast
Thanks, that did the trick! On Thu, Jul 10, 2008 at 1:08 PM, Jim Cox [EMAIL PROTECTED] wrote: On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED] wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Len Popp
One way to do it safely is to have Tomcat serve all the files. Is there a reason why you need the Apache web server at all? -- Len On Thu, Jul 10, 2008 at 15:22, Tim Hunt [EMAIL PROTECTED] wrote: Wow, that's a major headache/hassle I wasn't aware of. Where can I find more about the risks and

RE: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Tim Hunt
Well, we believed apache was more flexible with mods (e.g., we use mod_bwshare) and having apache serve static content would be faster/higher performance. But you can tell me if any of that is wrong, or out of date. Regards, Tim -Original Message- From: Len Popp [mailto:[EMAIL

create new virtual host dinamicly...

2008-07-10 Thread Milan Cvejic
Hello, i have difficulties setting new virtual host without restarting tomcat process... Is that even possible? There is no reload command in catalina.sh... Thanks... -- Milan Cvejić Sistem Administrator Inbox d.o.o. Software for Internet Bulevar AVNOJa 99, 11000 Beograd, Srbija tel +381 11

Re: Tomcat seems to have stopped servicing requests behind Apache

2008-07-10 Thread Len Popp
On this mailing list, the party line is that Tomcat is as fast as any other web server. I haven't benchmarked it myself. There's no big issue here. If the HTML files are part of your webapp, they're under a Tomcat directory and will be served by Tomcat. If you want to use a different web server

Re: Version 6 Clustering problem

2008-07-10 Thread Filip Hanik - Dev Lists
try setting the |-Djava.net.preferIPv4Stack=true option for your tomcat launch Filip | János wrote: Hi, I am trying to establish a 3 member cluster on the same machine. Here is my server.xml copied from a sample I found on this list. ?xml version='1.0' encoding='utf-8'? Server port=8005

Re: Excess whitespace generated

2008-07-10 Thread Konstantin Kolinko
2008/7/10 Mark Thomas [EMAIL PROTECTED]: Jonathan Mast wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control precisely

Re: How to configure multiple web applications in a single host

2008-07-10 Thread Elliot Huntington
Chuck, Thanks so much for your help with this. Unfortunately it still isn't working though. I decided to try and start over. So I did rm -rf $CATALINA_HOME and then re-created $CATALINA_HOME. So I have a clean install of apache-tomcat-5.5.26. I did not modify anything in $CATALINA_HOME/conf. I