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
&g
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 t
#x27;m not sure 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
>>
>&
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 s
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
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
i
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
:
>
>> 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?
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:
foocom
I have /work/tomcat as my home folder for Tomcat.
Inside of /work/tomcat I have foocom (/work/tomcat/foocom)
Inside of /work/tomcat/foocom