[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-user
Subject: RE: No Classloader found Exception for custom authentication handler
From: "Vinod Patil" <vinod.patil () patni ! com>
Date: 2004-04-30 6:35:16
Message-ID: NHBBKILGGLIEIEDIMEBAKEPMKGAA.vinod.patil () patni ! com
[Download RAW message or body]
Sorry the exception that i get is
org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException: No
ClassLoaders found for: EchoService.authenticator.MyAuthenticationHandler
the classes.EchoService.authenticator.MyAuthenticatonHandler in the prev
mail was incorrect
> -----Original Message-----
> From: Vinod Patil [mailto:vinod.patil@patni.com]
> Sent: Friday, April 30, 2004 11:31 AM
> To: axis-user@ws.apache.org
> Subject: No Classloader found Exception for custom authentication
> handler
>
> Hi,
>
> Has anyone used JBoss app server and deployed Axis in it in the All
> configuration.
>
> Firstly there is already a context by the name Axis so i had to use
> context ttaxis for my deployment.
>
> Then all runs well until i deploy the StringEcho(sample service that
> returns a string that is passes) service along with a custom
> authentication handler.
>
> the structure of my service is
> Classes
> EchoService
> StringEcho.class(service class)
> Util
> Greeting.class(used by StringEcho)
> authenticator
> MyAuthenticationHandler.class(extende Basic
> handler and the invoke method is empty)
>
> The Wsdd for the service is
> <deployment
> xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> <service name="MyFirstService" provider="java:RPC">
> <parameter name="className" value="EchoService.StringEcho"/>
>
> <parameter name="allowedMethods" value="*"/>
> <requestFlow name="checks">
> <!-- <handler
> type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> -->
> <handler
> type="java:EchoService.authenticator.MyAuthenticationHandler"/>
> </requestFlow>
> </service>
> </deployment>
>
> I get the exception
> org.apache.axis.ConfigurationException: java.lang.ClassNotFoundException:
> No ClassLoaders found for:
> classes.EchoService.authenticator.MyAuthenticationHandler
> When i try to access the Wsdl for this service...by the URL
> http://localhost:8080/ttaxis/services/MyFirstService?wsdl
>
> If i use the SimpleAuthenticationHandler it works fine.
>
> Please if anyone has faced similar problems in any other server then
> suggest a direction where i should look
>
["winmail.dat" (application/ms-tnef)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic