Context from webapps

2003-02-17 Thread Christian Stenvik
Hey al!
Tomcat 5 on RH 8
"Each time you start Tomcat, after it loads Contexts (both from the
server.xml and automatically from $TOMCAT_HOME/webapps) .."
This doesnt happen for me. Had the same problem in Tomcat 4.
On windows it does though.
Had to add:


in the virtual host in server.xml, to get the welcome page to be displayed.
But should this really be necessary?
Both root and docs folder contains WEB-INF with web.xml by default.
"After startup, the default web applications included with Tomcat 5
will be available by browsing:  http://localhost:8080/ "
But I just got the "Error 500 No Context configured to process this request"
Why?
Can someone please explain!
Thanks! Calmera




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Context from webapps

2003-02-18 Thread Christian Stenvik
Hey, me again!
Downloaded the stable 4.1.18 and unpacked it to a designated location.
Startet the server with an init script:
Executing /etc/rc.d/init.d/tomcat4 start ..
Using CATALINA_BASE:   /var/tomcat/jakarta-tomcat-4.1.18
Using CATALINA_HOME:   /var/tomcat/jakarta-tomcat-4.1.18
Using CATALINA_TMPDIR: /var/tomcat/jakarta-tomcat-4.1.18/temp
Using JAVA_HOME:   /usr/java/j2sdk1.4.0_01/
But when browsing http://localhost:8080 I got the Error 500 again
In the log file I see how but not why:
2003-02-18 19:11:52 HostConfig[localhost]: Deploying configuration 
descriptor admin.xml
2003-02-18 19:11:52 HostConfig[localhost]: Deploying configuration 
descriptor manager.xml
2003-02-18 19:11:52 WebappLoader[/manager]: Deploying class repositories 
to work directory 
/var/tomcat/jakarta-tomcat-4.1.18/work/Standalone/localhost/manager
2003-02-18 19:11:52 ContextConfig[/manager]: Missing application 
web.xml, using defaults only
2003-02-18 19:11:52 StandardManager[/manager]: Seeding random number 
generator class java.security.SecureRandom
2003-02-18 19:11:52 StandardManager[/manager]: Seeding of random number 
generator has been completed
2003-02-18 19:11:52 StandardWrapper[/manager:default]: Loading container 
servlet default
2003-02-18 19:11:52 StandardWrapper[/manager:invoker]: Loading container 
servlet invoker
2003-02-18 19:11:58 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:13:43 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:13:44 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:13:45 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:13:45 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:13:45 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:14:25 StandardHost[localhost]: MAPPING configuration error 
for request URI /
2003-02-18 19:14:25 StandardHost[localhost]: MAPPING configuration error 
for request URI /favicon.ico
2003-02-18 19:14:36 StandardHost[localhost]: MAPPING configuration error 
for request URI /root
2003-02-18 19:14:42 StandardHost[localhost]: MAPPING configuration error 
for request URI /root/
2003-02-18 19:15:24 StandardHost[localhost]: MAPPING configuration error 
for request URI /docs/
I must admit that I am no Linux guru, and that there might be something 
with my RH config.
I remenber when I ran the RH 7.1 with Tomcat 3, it started without these 
errors.
Appreciate any suggestions!
-Calmera

Shapira, Yoav wrote:

Howdy,
Pretty much no one will be able to help you with tomcat 5 questions as
it's not even alpha yet.  You built it yourself, it's your
responsibility ;)

However, tomcat context autoloading in the 4.1 branch should work.
Please do a clean installation of the latest stable release (4.1.18).
The root and examples contexts are explicitly defined in the default
server.xml.  The docs context is not.  Please try to access all three of
the above webapps without modifying anything in server.xml or web.xml.
If they don't work, please post any exceptions from your logs.

Yoav Shapira
Millennium ChemInformatics


 

-Original Message-
From: Christian Stenvik [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 17, 2003 5:25 PM
To: [EMAIL PROTECTED]
Subject: Context from webapps

Hey al!
Tomcat 5 on RH 8
"Each time you start Tomcat, after it loads Contexts (both from the
server.xml and automatically from $TOMCAT_HOME/webapps) .."
This doesnt happen for me. Had the same problem in Tomcat 4.
On windows it does though.
Had to add:


reloadable="true">
in the virtual host in server.xml, to get the welcome page to be
   

displayed.
 

But should this really be necessary?
Both root and docs folder contains WEB-INF with web.xml by default.
"After startup, the default web applications included with Tomcat 5
will be available by browsing:  http://localhost:8080/ "
But I just got the "Error 500 No Context configured to process this
request"
Why?
Can someone please explain!
Thanks! Calmera




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.


 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]