Have a look at the class loader HOW-TO located here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html,
it should answer most of your questions.  If you're still having trouble
please post a more detailed description.

Jeremy

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Emma Johansson
> Sent: Wednesday, November 27, 2002 9:35 AM
> To: Tomcat Users List
> Subject: Re: How do I integrate my CLASSPATH on Tomcat?
> 
> Sorry, I left some answers to your question out..
> I'm using Tomcat 4.1.12 (unix system)
> 
> I have deployed a wsdl file on tomcat and created a jar file by using
the
> java2wsdl2java tool.
> This is a part of my code:
> ------
> import netscape.ldap.*;
> 
> public class ConnectToMurImpl
> {
>  ...
>  ...
>  ...
>  public void add(  )
>  {
>   LDAPAttributeSet attrib_set = null;
>   LDAPAttribute attribute = null;
>   LDAPEntry entry = null;
>   LDAPConnection ld = null;
> 
>   try
>   {
>    ld = new LDAPConnection();
> 
>    // Must bind as a user with rights to write to the server
>    ld.connect(host,port,dn,pwd);
>    ...
>    ...
>    ...
> ------
> The jar file containing several class files are located in
> tomcat_home/webapps/axis/WEB-INF/lib. This is the same directory as
where
> the jar
> files for ldap are located.
> 
> / Emma
> 
> 
> David Brown wrote:
> 
> > Emma Johansson writes:
> >
> > > Hi!
> > >
> > > I'm wondering how I should do to make tomcat use the paths that
are in
> > > my CLASSPATH?
> > >
> > > Regards,
> > > / Emma
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:tomcat-user-
> [EMAIL PROTECTED]>
> > >
> >
> >
> > Hello Emma, it should not be necessary to make tomcat use anything
in
> the
> > CLASSPATH. is there some question about whether tomcat is using ur
> CLASSPATH
> > or not? if tomcat is not using ur CLASSPATH how do u know? more info
is
> > required: tomcat version, what r u trying to do? what application
have u
> > defined using what implementation?: servlets, jsp, what? david.
> >
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-user-
> [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:tomcat-user-
> [EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to