facebook

tomcat server.xml & classloader

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #206077 Reply

    stefano
    Member

    Is it possible to configure a custom classloader for the Tomcat context/project from MyEclipse into server.xml?
    ME doesn’t use server.xml

    As result I’d like to have in my server.xml:
    <Context ….. />
    <Loader loaderClass=”org.apache.catalina.loader.CustomClassLoader”/>
    </Context>

    Thanks
    Stefano

    #206084 Reply

    Riyad Kalla
    Member

    When launching an app server, MyEclipse calls the same set of commands that the batch file or system service script call, so changing your server.xml to specify a custom class loader, and then putting the class/JAR in the necessary place shouldn’t be a problem.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: tomcat server.xml & classloader

You must be logged in to post in the forum log in