if your problems are at compile time then I suspect that it has very little
to do with TOMCAT, are you sure that the
TOMCAT_HOME\webapps\ourTest\WEB-INF\classes\com\ue\ueUtils directory is in
your classpath? try something like:

javac -classpath
%classpath%;TOMCAT_HOME\webapps\ourTest\WEB-INF\classes\com\ue\ueUtils
someBean.java

does that help?

Cheers

> -----Original Message-----
> From: Gare, Tref [SMTP:[EMAIL PROTECTED]]
> Sent: 15 May 2002 07:11
> To:   [EMAIL PROTECTED]
> Subject:      Re: Accessing self created packages in Tomcat3.3
>
> Thanks for the response.
>
> Unfortunately that's exactly what we've been trying and to date no
> success.
> Also Tomcat 3.3 doesn't have a TOMCAT_HOME\classes directory in it's
> native
> state.  We seem to be having some very strange caching issues with classes
> refusing to compile due to not recognising other classes within their
> package.  We're using Forte CE which may have something to do with it, but
> exactly what remains a mystery.
>
> Tref
>
> > -----Original Message-----
> > From: Bhushan_Bhangale [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday,15 May 2002 2:21
> > To:   [EMAIL PROTECTED]
> > Subject:      Re: Accessing self created packages in Tomcat3.3
> >
> > I didn't understood your question fully as it is not clear.
> >
> > What I understood is that you have some classes which are generic and
> you
> > want to use them across the Web Apps deployed in tomcat. If what I
> > understood is right then put your this generic class structure under
> > TOMCAT_HOME/classes folder or make a jar file and put under
> > TOMCAT_HOME/lib. Restart Tomcat and it will work fine.
> >
> > -----Original Message-----
> > From: Gare, Tref [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 15, 2002 4:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: Accessing self created packages in Tomcat3.3
> >
> >
> > Hi all,
> >
> > Another question that is threatening my remaining follicles.
> >
> > We've created a bunch of javabeans for one app which are all working
> fine.
> > However we've decided that 4 of them should be made more generally
> > available
> > for other apps we're building.  To that end I've created a package
> called
> > com.ue.ueUtils and altered each of the beans such that the are now
> > referencing that package.
> >
> > I've created the relevant folder structure ie
> > TOMCAT_HOME\webapps\ourTest\WEB-INF\classes\com\ue\ueUtils , and placed
> > the
> > four beans in question in there, then attempted to recompile them.
> Three
> > of
> > them work fine but the fourth, which references 2 of the others in the
> > package, fails saying the package does not exist.
> >
> > The other beans in the original packages (com.ue.fai & com.ue.servlets)
> > can't see the ueUtils package either.
> >
> > I've tried jarring the package and putting that jar in the lib folder of
> > the
> > relevant app ie: TOMCAT_HOME\webapps\ourTest\WEB-INF\lib but this hasn't
> > solved the problem either.
> >
> > The final resorts of reboots and restarts have failed to shift anything.
> >
> > Any advice will be gratefully recieved,
> >
> > Thanks
> >
> > Tref
> >
>

--
**********************************************************************
The Truworths e-mail facility may not be used for the distribution of
chain letters or offensive email.  Truworths hereby distances itself
from and accepts no liability for the unauthorised use of its e-mail
facility or the sending of e-mail communications for other than
strictly business purposes.  Truworths furthermore disclaims liability
for any unauthorised instruction for which permission was not granted.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to