Hi Yoav
The usual reason for this error is a mismatch between the contents of
your web.xml file and what you actually want to do ;)
hmm ... :)
The second most common reason is a server.xml configuration error. Is Login.html really a static HTML file or a servlet/JSP? If the latter, is it properly mapped in web.xml?
Login.html is a static HTML file.
I took a look on both xml files and compared them with some examples but they look all right.
What puzzles me is if I make ant remove, ant install then everything works fine, only upon restart the page is not available
have you any explanation for it ? I don't... :)
EOF
Bost
-----Original Message----- From: Rostislav Svoboda [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 9:06 AM To: Tomcat Users List Subject: Re: server started - requested resource not available
Do you get the message (requested resource is not available) when you try to access a specific page? Is it an HTTP 404 error?
Yes it is HTTP 404 error:
HTTP Status 404 - /migration/Login.html type Status report message /migration/Login.html description The requested resource (/migration/Login.html) is
not
available. Apache Tomcat/5.0.27
and there's nothing interesting in Tomcat log. Only: 2004-08-27 15:02:40 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string:
News /
Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param
name:
paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
EOF
Bost
Hola, Do you get the message (requested resource is not available) when you try to access a specific page? Is it an HTTP 404 error?
Yoav Shapira Millennium Research Informatics
-----Original Message----- From: Rostislav Svoboda [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 5:50 AM To: [EMAIL PROTECTED] Subject: server started - requested resource not available
Hi all
Each time I (re)start tomcat (5.0.27) and try to run my webapp I get The requested resource (/migration/Login.html) is not available.
But if I call "ant install" I get an error: "Application already
exists
at
path /migration/Login.html" I have to do "ant remove", "ant install" in order to make the webapp running.
Does anyone know what's wrong?
EOF & thx.
Bost
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
