Ah ha!

It would seem my understanding of how file inclusion / dependancies /
etc works with java and tomcat is slightly lacking!

I had multiple instances of the jars all over the place assuming that
somewhere in the local/global class path they would be included
correctly - this was what caused the problem.

Many thanks jayachandra - it's all good now!

Kee

On Tue, 28 Sep 2004 11:37:19 +0530, jayachandra <[EMAIL PROTECTED]> wrote:
> Hey Kee!
> Best bet is to have all the jars in axis/web-inf/lib directory rather
> than in common/lib
> 
> Then you shouldn't be getting any such errors.
> 
> HTH,
> jayachandra
> 
> On Tue, 28 Sep 2004 06:58:49 +0100, Keeran Hawoldar <[EMAIL PROTECTED]> wrote:
> > Update:
> 
> 
> >
> > In the tomcat logs the root cause is:
> >
> > ===
> > ----- Root Cause -----
> > java.lang.ExceptionInInitializerError
> >        at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(JDKHooks.java:75)
> > ===
> >
> > caused by:
> >
> > ===
> > Caused by: java.security.AccessControlException: access denied
> > (java.lang.RuntimePermission createClassLoader)
> >        at 
> > java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
> > ===
> >
> > I have checked and updated file permissions throughout the tomcat
> > directory structures without any luck :/
> >
> > IS there something obvious I am missing here?
> >
> > Kee
> >
> >
> >
> >
> > On Mon, 27 Sep 2004 20:52:35 +0100, Keeran Hawoldar <[EMAIL PROTECTED]> wrote:
> > > Hi Tami,
> > >
> > > Thanks for the response - I did have problems earlier in the
> > > installation that called out for activation.jar so I downloaded that
> > > from sun.com and put it in common/lib. That took the core errors down
> > > from 2 to 1, still leaving the problem with axis.jar.
> > >
> > > Keeran
> > >
> > >
> > >
> > > On Mon, 27 Sep 2004 13:48:18 -0600, Tami Wright
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi Keeran,
> > > >
> > > > Try putting activation.jar in the same directory (common/lib).
> > > >
> > > > Tami
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Keeran Hawoldar [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, September 27, 2004 1:33 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Installation troubles
> > > >
> > > > Hi all,
> > > >
> > > > I've been searching through the user archives for a solution to my
> > > > problem but haven't found anything so I hope you don't mind me mailing
> > > > this out.
> > > >
> > > > I have put the axis webapp into the webapps dir of my tomcat
> > > > installation (tomcat4 debian package). I copied all of the jars from the
> > > > axis package into /tomcatroot/common/lib as I wasn't sure what was going
> > > > on with happyaxis.jsp.
> > > >
> > > > The happyaxis jsp reports the following:
> > > >
> > > > ===
> > > > Found SAAJ API (javax.xml.soap.SOAPMessage) at an unknown location Found
> > > > JAX-RPC API (javax.xml.rpc.Service) at an unknown location
> > > >
> > > > Error: could not find a dependency of class
> > > > org.apache.axis.transport.http.AxisServlet from file axis.jar Axis will
> > > > not work See http://xml.apache.org/axis/ The root cause was: null This
> > > > can happen e.g. if org.apache.axis.transport.http.AxisServlet is in the
> > > > 'common' classpath, but a dependency like activation.jar is only in the
> > > > webapp classpath.
> > > >
> > > > Found Jakarta-Commons Discovery
> > > > (org.apache.commons.discovery.Resource) at an unknown location Found
> > > > Jakarta-Commons Logging (org.apache.commons.logging.Log) at an unknown
> > > > location Found Log4j (org.apache.log4j.Layout) at an unknown location
> > > > Found IBM's WSDL4Java (com.ibm.wsdl.factory.WSDLFactoryImpl) at an
> > > > unknown location Found JAXP implementation
> > > > (javax.xml.parsers.SAXParserFactory) at an unknown location Found
> > > > Activation API (javax.activation.DataHandler) at an unknown location ===
> > > >
> > > > axis.jar seems to be in the correct location (ie, from default
> > > > distribution as well as /common/lib)
> > > >
> > > > In the tomcat localhost logs there is a stack trace starting with :
> > > >
> > > > ===
> > > > 2004-09-27 19:15:25 StandardContext[/axis]: Servlet /axis threw load()
> > > > exception
> > > > javax.servlet.ServletException: Error instantiating servlet class
> > > > org.apache.axis.transport.http.AdminServlet
> > > > ===
> > > >
> > > > I'm not sure where to start hunting for the cause of this problem -
> > > > please could someone help?
> > > >
> > > > Many thanks,
> > > >
> > > > Keeran
> > > >
> > > >
> > >
> >
> 
> 
> --
> -- Jaya
>

Reply via email to