----- Original Message -----
From: "Alex Dovlecel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 12:53
Subject: Re: Axis classloader


> Don't understand.
> The servlet container is Tomcat 4.1.12. I have the axis deployed in
> <tomcat>/webapps/axis.
>
> I deploy the service as a jar: myserv.jar . and place it in the
> axis/WEB-INF/lib.
>
> The web service works OK. Axis can load the classes and service from my
jar
> file. But the files from the jar cannot get hold of the config.xml. So
tomcat
> is able to serve the classes to axis, but it seems not to see the
> resources???
>
> I don't know what to do anymore!!!!!!

1. restart, if you havent already

2. getResourceAsStream( ) is funny wrt the / char, I think some ways to get
resources you have to put the leading /, some ways you dont. And you have to
do it from a class that has the resources in the same classloader or higher.


Reply via email to