Fixed. There was a parse error at context.xml, line 20, column 2. The
offending line:
crossContext="true">
>
I read somewhere that you were supposed to do this. Evidently bad info or
old info.
Thanks for all the replies.
cuco2772 wrote:
>
> Check this out, I did 'touch web.xml' then hit r
Check this out, I did 'touch web.xml' then hit reload in the browser window
and it worked.
If I restart tomcat though, it probably wont work as before.
Here's what my catalina.out looked like after that:
[EMAIL PROTECTED]:/usr/local/tomcat/apache-tomcat-6.0.14/logs# tail -f
catalina.outJan 9, 2
gured correctly, but still getting
>> '404...resource not found'
>
> What's in the logs?
>
>> Then I shutdown tomcat and restarted it.
>
> Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broken)
> version?
>
>> Would add
The tomcat startup script set's it's own classpath, ignoring the
environment set classpath. This has been the case since tomcat 4.
Tomcat 3 used to be a real headache because of the need to set a
classpath. If I remember correctly, tomcat 3.3 was the first version to
start offering a classl
The guide I've been using for trying to set this up is the coreservlets book
by Marty Hall. He says set the
classpath but the info there is for tomcat 4. Are you saying I could just
get rid of the classpath
environment variable entirely and it wouldn't make any difference ? (I did
set it to whe
> From: cuco2772 [mailto:[EMAIL PROTECTED]
> Subject: web.xml configured correctly, but still getting
> '404...resource not found'
What's in the logs?
> Then I shutdown tomcat and restarted it.
Are you using a real Tomcat, or some 3rd-party repackaged (i.e., broke
Messing with the classpath will bring you nothing but pain and misery.
I would strongly recommend you leave it alone.
Also the servlet mappings are relative to the context so your good on
that front as well.
Are there any messages in your tomcat logs regarding the request? Are
you sure the
error from tomcat. Here is my web.xml:
HelloServlet
HelloServlet
HelloServlet2
coreservlets.HelloServlet2
HelloServlet
/classes/HelloServlet
HelloServlet2
/classes/coreservlets.HelloServlet2
when I went to the following urls after I had edited web.xml to the above,
http://localhos
> From: Mark Space [mailto:[EMAIL PROTECTED]
> Subject: Re: 404 resource not found
>
> So, is ROOT the default app? This said to use ROOT:
> http://www.coreservlets.com/Apache-Tomcat-Tutorial/
I'd suggest using the real Tomcat and Servlet documentation first, and
then re
Caldarale, Charles R wrote:
From: Mark Space [mailto:[EMAIL PROTECTED]
Subject: 404 resource not found
2. The app is installed in (Tomcat_home)/webapps/ROOT/Beer-v1
That's at least one problem - your app should be under webapps, not
webapps/ROOT. Your app was never deployed. F
> From: Mark Space [mailto:[EMAIL PROTECTED]
> Subject: 404 resource not found
>
> 2. The app is installed in (Tomcat_home)/webapps/ROOT/Beer-v1
That's at least one problem - your app should be under webapps, not
webapps/ROOT. Your app was never deployed. Follow the examples.
Mark Space wrote:
I've already tried increasing the logging to "debug," but I see
nothing untoward in the logs, just a lot of [info]. I've tried
eyeballing the web.xml file and the directory paths several times and
I can see my typo. I
That's should have been "can't see my typo..."
Hi all, I'm quite new to Tomcat but I'm trying to make some headway with
basics. I just tried to get a simple servlet working--no luck. I get a
404 not found from the server when the servlet is invoked. Most likely
it's just pilot error, but I can see there's a lot of strings and
directory n
13 matches
Mail list logo