2 comments on “Tomcat: Configuring application specific custom class paths

    • Hi,

      You may want to clear the Tomcat cache. i.e Stop the server, remove all files under the *work* directory and re-start the server. This is as stated in the Tomcat documentation i.e. Tomcat holds on to it’s cached context.xml even after a it is updated in the web-app configuration.

      The searchVirtualFirst may not work in some earlier versions of Tomcat 6 but should work across all Tomcat 7 and later versions.

      You may want to turn on Tomcat logging (look-up the documentation for the particular Tomcat version to see how to do this) to debug class loader issues if this still does not resolve the problem.

      Regards,
      Vinayak.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s