hanoirules
asked on
Classloader problem using Axis 1.4 - WSS - Jboss 4.x
Hi, I'm facing a strange problem using Axis 1.4 with security features deployed on jboss 4.0.5.
I implemented WSDoAllReceiver with UsernameToken action.
Everything works fine, but I have an exception showing up on server.log, that I do not understand, expecially considering that I tested the application and it's working.
Here is the exception:
java.lang.ClassNotFoundExc eption: No ClassLoaders found for: org.apache.ws.security.tra nsform.STR Transform
Any clues?
Thanks in advance
I implemented WSDoAllReceiver with UsernameToken action.
Everything works fine, but I have an exception showing up on server.log, that I do not understand, expecially considering that I tested the application and it's working.
Here is the exception:
java.lang.ClassNotFoundExc
Any clues?
Thanks in advance
ASKER
Thanks for your response, I added all required jar in my web-apps' lib folder. in fact everything is working: I tried even with wrong user/password and I got the correct behaviour..
ASKER
I solve the exception problem with a dirty solution (for me anyway is dirty :) ): I added xmlsec.jar and wss4j-1.5.1.jar in server/lib folder.
I do not understand why it is necessary to add files there.. Shouldn't my web-app lib be enough?
Do you think is there another solution instead of this one?
Thanks in advance
I do not understand why it is necessary to add files there.. Shouldn't my web-app lib be enough?
Do you think is there another solution instead of this one?
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
not that clean anyway!!
I personally believe that each web-app lib folder should contain all required libraries without spread them in server lib
Thanks for your attention :)
I personally believe that each web-app lib folder should contain all required libraries without spread them in server lib
Thanks for your attention :)
You need to check what jar's are needed by wss4j and add them to your classpath.