It should not make any difference where Tomcat is. By default, it
installs at /usr/local/jakarta-tomcat-5.5.1x, but you can put it in /opt
or /home or anywhere else. The only thing that matters is if Tomcat is
connected by proxy throough Apache httpd, in which case it will be
accessed with some prefix in the url, like
http://www.visionwebhosting.net/servlet/[your_servet+name] (or
s/do/servlet/ if running struts) or if Tomcat is acting alone, in which
case the URL would be something like
http://www.visionwebhosting.net:8080/[your_servlet_name].
s/visionwebhosting/whatever_alias/
In either case, your WAR should be deployed at
[catalina_home]/webapps/[your_servlet_name] and should be accessible
immediately, unless vision is running some deprecated 4.x Tomcat piece
of shit that requires restarting after every deployment. In any case,
you should have access to your servlet within a "reasonable" period of
time. Of course, "reasonable" to me may be different for you. I got
disillusioned with web hosting years ago and started leasing a Comcast
digital pipe - problem solved. My httpd/tomcat (and php, perl, struts,
ibatis, hibernate, etc.) configurations are my responsibility.
Bottom line: don't put up with any crap from these guys. Find another
hosting company (preferably, one that uses JBoss or Resin, since people
using these usually know what they are doing) or, like me, do it yourself.
mark
lee hwaying wrote:
thanks for all your help.
my problem now is, i am subscribing to http://www.visionwebhosting.net/
and to deploy war I am to copy it to my /var/www/html/ directory. they
are
taking care of tomcat.
the support team fail to response to questions and setup of the war file.
Thus leaving me panicking away trying way out.
I am doubting their configuration is correct. does any one has any
suggestion.
From: Edward Barrow <[EMAIL PROTECTED]>
Reply-To: A mailing list about Java Server Pages specification and
reference <JSP-INTEREST@JAVA.SUN.COM>
To: JSP-INTEREST@JAVA.SUN.COM
Subject: Re: deploy war file to linux apache ..Please help
Date: Thu, 2 Feb 2006 17:13:38 +0000
Are you running Tomcat on Linux or just apache httpd? because the latter
isn't a servlet container,
you need to run Tomcat or some other servlet container. That's the first
thing. (actually, I think you are running
tomcat, that stacktrace is a bit of a clue)
Second, you say you put the war in /var/www/html, but it's looking for
them in /home/virtual/..../html, so no wonder it
can't find them. Normally you should put the file in
$CATALINA_HOME/webapps/... ; on my Linux system,
$CATALINA_HOME is /opt/tomcat5 but ymmv.
You can try expanding the war manually, then restarting tomcat.
lee hwaying wrote:
when running war file under windows Tomcat,
it runs fine.
But when copy over the war file to linux apache server under
/var/www/html/ directory, i get the following message
2006-02-02 03:30:40 HostConfig[jidien.com] Exception while expanding
web
application archive gallery.war
java.io.FileNotFoundException:
/home/virtual/site247/fst/var/www/html/gallery/META-INF/MANIFEST.MF
(No such
file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:224)
can someone shed some light
Please help
the lost me
Thanks
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com