You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Greg Michalopoulos <gm...@d2hawkeye.com> on 2004/09/15 19:55:46 UTC
WS-Security
Could be a real dumb question but...
Using apache wss4j, and trying to use a custom password callback class.
Thing is, if I don't add the custom password callback class to the wss4j jar
file, I get a java.lang.NoClassDefFound exception - even if the custom class
is in the class path of the servlet container (J2EE app server). Any clues?
Its annoying because I have extended an existing class in my app that calls
on many other classes that I don't want to have to add to the jar. Plus
deploying to clients would mean they would need the custom wss4j jar instead
of the publically available one.
Thanks,
Greg
RE: WS-Security
Posted by Greg Michalopoulos <gm...@d2hawkeye.com>.
Jim - I think you had the right idea...Thanks.
-----Original Message-----
From: Jim Murphy [mailto:jmurphy@mindreef.com]
Sent: Wednesday, September 15, 2004 2:56 PM
To: axis-user@ws.apache.org
Subject: Re: WS-Security
Is it in the servlet container's class path or the webapp classpath? I
believe it must be reachable by the webapp classloader - which does not
delegate to a "higher level" class loader.
Jim Murphy
Mindreef, Inc.
Greg Michalopoulos wrote:
> Could be a real dumb question but...
> Using apache wss4j, and trying to use a custom password callback class.
> Thing is, if I don't add the custom password callback class to the
> wss4j jar file, I get a java.lang.NoClassDefFound exception - even if
> the custom class is in the class path of the servlet container (J2EE app
server). Any clues?
>
> Its annoying because I have extended an existing class in my app that
> calls on many other classes that I don't want to have to add to the
> jar. Plus deploying to clients would mean they would need the custom
> wss4j jar instead of the publically available one.
>
> Thanks,
> Greg
>
>
>
Re: WS-Security
Posted by Jim Murphy <jm...@mindreef.com>.
Is it in the servlet container's class path or the webapp classpath? I
believe it must be reachable by the webapp classloader - which does not
delegate to a "higher level" class loader.
Jim Murphy
Mindreef, Inc.
Greg Michalopoulos wrote:
> Could be a real dumb question but...
> Using apache wss4j, and trying to use a custom password callback class.
> Thing is, if I don't add the custom password callback class to the wss4j jar
> file, I get a java.lang.NoClassDefFound exception - even if the custom class
> is in the class path of the servlet container (J2EE app server). Any clues?
>
> Its annoying because I have extended an existing class in my app that calls
> on many other classes that I don't want to have to add to the jar. Plus
> deploying to clients would mean they would need the custom wss4j jar instead
> of the publically available one.
>
> Thanks,
> Greg
>
>
>