jsp deployment 2004-02-14 - By Jerry Ford
Back
BAO RuiXian wrote:
> > > Jerry Ford wrote: > >> Tomcat manager shows EBook is running. And, when I request it >> through Apache, Tomcat does serve it up. When I request it through >> port 8080, Tomcat says it's not available: > > > I suggest for now you forget running via Apache totally,
Agreed.
> since if it is not working directly from Tomcat, it cannot be running > via Apache. What you see Tomcat is serving via Apache, actually it is > not, rather the Apache itself is serving it.
But Tomcat has to be serving up something; the servlets that are part of EBook do work and Apache can't serve them without Tomcat.
> > You say Tomcat manager shows EBook is running, did you run > localhost:8080//manager/list? Can you post the result of the url?
Here is the output:
OK - Listed applications for virtual host localhost /EBook:running:0:/usr/local/webserver/tomcat/webapps/EBook /manager:running:0:/usr/local/webserver/tomcat/server/webapps/manager /examples:running:0:examples /j_tools:running:0:/usr/local/webserver/webapps/j_tools /tomcat-docs:running:0:/usr/local/webserver/jakarta-tomcat-4 (See http://cat-4.ora-code.com).1.27/webapps /tomcat-docs /webdav:running:0:/usr/local/webserver/jakarta-tomcat-4 (See http://cat-4.ora-code.com).1.27/webapps/webdav /admin:running:0:/usr/local/webserver/tomcat/server/webapps/admin /:running:0:ROOT
> > To further debug, can you do the following: > > 1. Make a 'test' directory under your webapps directory, i.e. > paralell to "examples" and "EBook"; > 2. Make a Context block in the server.xml file for 'test' by > copy/paste/modify the Context block for "examples"; > 3. Install this 'test' app by running > localhost:8080/manager/install?war=test > > Then run localhost:8080/test, what happens?
I get a Tomcat-generated directory listing for /
Listing is, of course, empty, since there are no files in test.
BTW, I really appreciate your help. Thanks.
> > > Best > > Bao > >> >> Works----http://localhost/EBook >> Doesn't work----http://localhost:8080/EBook >> >> Works---http://localhost/examples/jsp >> Works---http://localhost:8080/examples/jsp >> >> Jerry >> >> BAO RuiXian wrote: >> >>> >>> >>> Jerry Ford wrote: >>> >>>> Sorry, that's a cut-and-paste error that does not appear in the >>>> real server.xml. Only one </context> end tag; the root context is >>>> closed before the EBook context begins: <context... /> >>> >>> >>> >>> >>> The configuration seems okay then. BTW, can you run >>> http://localhost:8080/manager/list to see what apps you have >>> installed? If you can not find 'EBook', then you need to install it >>> by running http://localhost:8080/manager/install?war=EBook >>> >>> Best >>> >>> Bao >>> >>> >> > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > For additional commands, e-mail: tomcat-user-help@(protected)
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|