Hi, If you're calling Bootstrap.main(), please also have a look at the source code within Bootstrap.
You'll find that Bootstrap just sets the ground for the Catalina classes...It creates a classloader hierarchy, with classloaders for classes visible to just Catalina, and for visibility between both Catalina and Webapps. Each webapp has a classloader to itself. What you should do instead is have a look at how Embedded works, and do something like that yourself. This may not be the intended approach behind supplying Embedded, but this is how I've bundled Tomcat 4.0.1 for a Swing based app I had to once develop. -- Sriram --- sandeep arshanapally <[EMAIL PROTECTED]> wrote: > > Thanks for your reply. > > Iam calling the BootStrap.main directly from a thread in my jvm. Iam using > Tomcat 4.1.24. I have the catalina.home set to tomcat directory. It > recognizes the classes in tomcat directory but none of the classes in the > classpath I specify while starting the jvm. > > Sandeep > > > >From: Sriram N <[EMAIL PROTECTED]> > >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> > >To: Tomcat Users List <[EMAIL PROTECTED]> > >Subject: Re: Classpath problem with Tomcat running in Embedded mode > >Date: Wed, 11 Jun 2003 20:55:42 -0700 (PDT) > > > >Hi, > > > >This is a ClassLoader visibility issue. Read the ClassLoader howto in the > >Tomcat Docs. > > > >How exactly are you running Embedded ? Are you invoking the main method on > >it > >straight out ? Which Tomcat release are you using ? > > > > > >-- Sriram > > > >--- sandeep arshanapally <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > Iam running tomcat in an embedded mode i.e. launching it from with > >in > > > my jvm and using it with Axis for SOAP processing. I am having a problem > > > with the classes and classpath. The SOAP implementation class files need > >to > > > be there /webapps/axis/WEB-INF/classes otherwise it doesn't work and if > >Iam > > > referencing any other classes from there, it throws a > > > ClassNotFoundException. > > > Is there anyway that I can specify the classpath so that the classes do > >not > > > have to be in that directory? > > > > > > > > > Thanks in advance, > > > > > > Sandeep > > > > > > _________________________________________________________________ > > > MSN 8 with e-mail virus protection service: 2 months FREE* > > > http://join.msn.com/?page=features/virus > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > >http://calendar.yahoo.com > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]