Re: Migrating from JRun 3.1 to Tomcat 4131
Posted By:
Christopher_Koenigsberg
Posted On:
Tuesday, October 2, 2007 08:24 PM
You might need to move your servlets into a web application context, perhaps. I remember using an old JRun, some years ago, that didn't know yet about web.xml and web applications, and we had to rewrite a lot, when we moved to a newer server.
Basically your 'claimaps' web application will have a web.xml with some servlet mappings in it, and the servlets should be classes that are on the classpath in the claimaps web application context, either under WEB-INF/classes/some/package/name/, or in a Jar file in WEB-INF/lib (in some/package/name inside the Jar file).
Then again, doesn't Tomcat also have a "servlet invoker" servlet, or something, which is not enabled by default, but which you can enable in the config? look that up in the documentation, if it helps you in your transition, for invoking those servlets that are outside the web app context?