views:

62

answers:

5

I have a development environment where i use TomCat 5.5 and my application works fine. As soon as a transfer everything to a deployment server, that's running TomCat 6.0.18, a servlet class called DeviceComm doesn't seem to load. The error that i'm getting in "Ressource not available".

I have brought modifications to this class recently. The transfer was only an update, everything was working fine before. Basically, the question is: what can make a servlet not work on version 6 of tomcat and work fine on 5.5 ?

Thanks!

+1  A: 

Make sure you just did not copy your server.xml file from 5.5 to 6.0. There are quite a few subtle differences in 6.0 that makes 5.5 server.xml to not load.

Make sure that you apply your configuration changes to 6.0 template that comes with tomcat distribution.

Alexander Pogrebnyak
i made sure. that's not the problem. thanks anyways
Lucian
+3  A: 

That can be caused by everything. Read the server startup logs. It's located in the /logs folder with the filename domainname.yyyy-MM-dd.log. It'll contain any exceptions/problems which are occurred during server startup and servlet initialization.

BalusC
i'll give it a look right away. thanks
Lucian
A: 

Could also be a JDK version mismatch if your Tomcat 5.5 runs on Java 5 and the Tomcat 6 runs on Java 6

JoseK
A: 

Do you have any resource when application startups?

Please parse it!

Mercy
A: 

Problem solved! The deployment .class files were not the same as the ones on the development environment. Bug in SourceSafe!

Lucian
So, reading the server logs didn't at all help in solving the problem?
BalusC