Re: Tomcat and SOAP

2008-07-10 Thread Luis Rivera
I use Apache Axis with Tomcat and works just fine. The configuration is done very easily if you use the deployment ant tasks for axis administration. --Luis R. On Thu, Jul 10, 2008 at 11:40 PM, Vinay Chilakamarri < [EMAIL PROTECTED]> wrote: > Hi, > > SOAP is just a protocol. I am assuming that y

Re: Tomcat and SOAP

2008-07-10 Thread Vinay Chilakamarri
Hi, SOAP is just a protocol. I am assuming that you needed webservices on Tomcat. Your bets would be on Apache Axis, Active MQ. You can get tons of tutorials on how to deploy them on Tomcat. Once you get Axis, all you need to do is put the axis directory in webapps. Thats all you need to do On Th

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

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 con

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. SSLEngine="on" /> className="org.apache.catali

Re: Apache/mod_jk serves random files from tomcat

2008-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Tim Redding wrote: | 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. Fro

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

2008-07-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse, Jesse Klaasse wrote: | I have already checked the Java code of the first 4 or 5 waiting threads, | but all connections/statement/resultsets are correctly closed. So the | problem seems to be in the dbcp, as you already say. But I'm not sure ye

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 fo

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 31

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 PROTECTED]

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

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, ca

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

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. className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> className="org.apache.catalina.mbeans.ServerLifecycleListener" /> cl

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread David Smith
www.windsor-chamber.co.uk As they like to say on Mythbusters after blowing something up, "There's your problem." A host's appBase and a context's docBase cannot be the same. The configuration has never been valid. Remove the whole element from inside the server.xml. Also remove the

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: www.windsor-chamber.co.uk and the context in public_html/ROOT/META_INF/context.xml is : There is also a public_html/META_INF/context.xml, which is: OK. Closer, but still wrong. If they insist on including the in the then

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 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: > appBase="/home/andrew42/public_html"> > www.windsor-chamber.co.uk > docBase="/home/andrew42/public_html" > debug="1"/> > The element above must be

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 se

Re: Problems with jsp include files in sub-directories

2008-07-10 Thread Andrew Connick
Thanks Mark They have set the host to: www.windsor-chamber.co.uk and the context in public_html/ROOT/META_INF/context.xml is : There is also a public_html/META_INF/context.xml, which is: Thanks Andrew - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Us

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: 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: Tomc

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 declaration in c

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 <[E

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 2>&1 & I didn't find anything in syslog. Kernel logging is not enabled in syslog.conf, so not sure how to

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 co

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 serv

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 privi

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 "setConten

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 www.windsor-chamber.co

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 www.windsor-chamber.co

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 P

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 ) without

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: 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 COMMUN

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 appl

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 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 Int

Re: Blocking port 8005 in TomCat in Deamon Mode

2008-07-10 Thread Johnny Kewl
- Original Message - From: "Suma Rakesh" <[EMAIL PROTECTED]> To: 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 org.apache.catalina.startu

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: 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" >Date: Thu, 10 Jul 2008 07:39:24 +0100 >From: Mark Thomas <[EMAIL PROTECTED]> >To: Tomcat Users List >Subject: Re: Error HTTP 500 in war deployment > > >Marc

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 anyth

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 RendererUtils.getConver

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 locat

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 http://tomcat.apache.org/

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

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 run

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 up

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: 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