Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
jsp deployment

jsp deployment

2004-02-14       - By Jerry Ford

 Back
Reply:     <<     31     32     33     34     35     36     37     38  



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)




©2008 junlu.com - Jax Systems, LLC, U.S.A.