No log information to me implies:

1. The log information is being caught and written to a log file before
it get's to stdout/stderr. Find the log file and you'll see your messages.

2. You may not be hitting the resource you think you are hitting. Double
check your URL

3. Maybe your webapp has to be restarted to load the servlet. Normally
not necessary, but if automatic reloading was shutoff on the hosted
server, that might be needed.

4. If the whole webapp is new to the server, maybe it didn't deploy. In
that case, the request goes to the ROOT webapp and you get a 404 error.
You'll have to work with your hosting provider to find out why and how
to fix it.

All this is pure guessing at the moment. You really haven't provided
enough detail for us to offer any really solid advice.

--David

On 2/27/2010 11:28 AM, Søren Blidorf wrote:
> I dont have full acces to logs, but no error comes in stdout or stderr.
>
> Same tomcat version. But not sure about the jvm - I'll start there.
>
> Thanks.
>
> -----Oprindelig meddelelse-----
> Fra: David Smith [mailto:d...@cornell.edu] 
> Sendt: 27. februar 2010 15:17
> Til: Tomcat Users List
> Emne: Re: When I link to a *.do I get "Page not found"
>
> On 2/27/2010 8:31 AM, Søren Blidorf wrote:
>   
>> I have made a struts application and it works just fine on my testserver.
>>
>>  
>>
>> I have now uploaded it to my hosted webserver and struts does not work.
>>
>>  
>>
>> When I link to a *.do I get “Page not found”
>>
>>  
>>
>> Could it be a Tomcat config problem. Placing the jars and classes ect.
>>
>>  
>>
>> Struts 1.2 // Tomcat 5.5
>>
>>  
>>
>> Soren
>>
>>  
>>
>>
>>   
>>     
> You'll have to look at your logs. It could be a lot of things causing a
> 404 response including an error that prevents the servlet from being
> initialized. Are you sure your test environment matches the hosted
> server's version of tomcat and jvm?
>
> --David
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>   


-- 
David Smith
Programmer/Analyst
College of Agriculture and Life Sciences
Cornell University
B32 Morrison Hall
Ithaca, NY 14853
Phone: (607) 255-4334


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to