RE: Tomcat WAR deployment with virtual host only shows blank page

2009-06-29 Thread tomcatastrophe
Ok, it works that way. So, if I did want to create the WAR file, is my structure correct to work with a virtual host? Caldarale, Charles R wrote: From: tomcatastrophe [mailto:nab...@changethings.org] Subject: RE: Tomcat WAR deployment with virtual host only shows blank page So, I should

Tomcat WAR deployment with virtual host only shows blank page

2009-06-25 Thread tomcatastrophe
So, here is my configuration and what I am trying to accomplish: I have 1 host definition (aside from the default localhost) in my server.xml: Host name=www.foo.com appBase=foocom autoDeploy=true unpackWARs=true Aliasfoocom/Alias /Host I have /work/tomcat as my home folder for Tomcat.

RE: Tomcat WAR deployment with virtual host only shows blank page

2009-06-25 Thread tomcatastrophe
: From: tomcatastrophe [mailto:nab...@changethings.org] Subject: Tomcat WAR deployment with virtual host only shows blank page If I rename the ROOT.war to ROOT it starts up fine. Does it matter if the .war file is packed or unpacked and just named .WAR? Are you saying that ROOT.war is really

RE: Tomcat WAR deployment with virtual host only shows blank page

2009-06-25 Thread tomcatastrophe
Thanks Chuck. So, I should package my WAR then? Caldarale, Charles R wrote: From: tomcatastrophe [mailto:nab...@changethings.org] Subject: RE: Tomcat WAR deployment with virtual host only shows blank page Yes, it is a directory. What is odd is that it copies the META-INF/context.xml

Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
I have found and tried some startup scripts online and added them to /etc/init.d as tomcat, so /etc/init.d/tomcat I ran chmod a+x tomcat on the script and then chkconfig --add tomcat chkconfig --list shows tomcat in the list I have modified the script to have the proper location for my tomcat

Re: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
I was using root just trying to get it to work. I'm not sure what you mean about line endings here... I don't have any \n in my file... or do you mean the character return ? I'm a little confused. Markus Schönhaber-10 wrote: tomcatastrophe: When I try to run /etc/init.d/tomcat restart

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
Sure enough, this did it! VERY helpful. Jason Pyeron wrote: -Original Message- From: tomcatastrophe Sent: Thursday, June 25, 2009 9:47 Subject: Tomcat startup as service on CentOS 5.3 I have found and tried some startup scripts online and added them to /etc/init.d

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
how to accomplish that with this script. I'm a little stuck. Jason Pyeron wrote: -Original Message- From: tomcatastrophe Sent: Thursday, June 25, 2009 9:47 Subject: Tomcat startup as service on CentOS 5.3 I have found and tried some startup scripts online and added them

RE: Tomcat startup as service on CentOS 5.3

2009-06-25 Thread tomcatastrophe
Ok, I changed the owner and it works now. :) tomcatastrophe wrote: I have gotten the script to work now, but I do want to change the user. When I change to a user that isn't root I get permission denied errors when trying to run the script. What do I need to do to get a different user