You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "James, Stuart" <st...@cazenove.com> on 2001/11/06 17:23:35 UTC

loader constraints

tomcat 4.0, nt/hpux.

Durring development I would like to be able to store my class files in
different locations. 

Adding a custom directory to the classpath does not work, I get the
following error.

	javax.servlet.ServletException: Class javax/servlet/ServletContext
violates loader constraints

Thanks,
Stuart



___________________________________________________
Email Disclaimer

This communication is for the attention of the
named recipient only and should not be passed
on to any other person. Information relating to
any company or security, is for information
purposes only and should not be interpreted as
a solicitation or offer to buy or sell any security.
The information on which this communication is based
has been obtained from sources we believe to be reliable,
but we do not guarantee its accuracy or completeness.
All expressions of opinion are subject to change
without notice.  All e-mail messages, and associated attachments,
are subject to interception and monitoring for lawful business purposes.
___________________________________________________

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: loader constraints

Posted by Martin van den Bemt <ma...@isallineed.org>.
Use another webapp or run another instance of tomcat is my way of seperating
the 2.
Add some releasemanagement and extra testing and you can upgrade the
production environment pretty quick.

Mvgr,
Martin

> -----Original Message-----
> From: James, Stuart [mailto:stuart.james@cazenove.com]
> Sent: Tuesday, November 06, 2001 5:24 PM
> To: tomcat-user@jakarta.apache.org
> Subject: loader constraints
>
>
> tomcat 4.0, nt/hpux.
>
> Durring development I would like to be able to store my class files in
> different locations.
>
> Adding a custom directory to the classpath does not work, I get the
> following error.
>
> 	javax.servlet.ServletException: Class javax/servlet/ServletContext
> violates loader constraints
>
> Thanks,
> Stuart
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>