User development,

A new message was posted in the thread "WS-RM Exception: cannot be cast to 
org.jboss.ws.core.StubExt":

http://community.jboss.org/message/529518#529518

Author  : Neil McFarlane
Profile : http://community.jboss.org/people/Oberiko

Message:
--------------------------------------------------------------
It's almost certainly because of endorsement issues; JBossWS clients w/ WS-RM 
have a bit of a "gotcha" in this regard. 
 
It is an easy fix though, you need to endorse the JBoss AS "endorsed" JARs.  
Assuming you're using Eclipse...
 
1. *Properties > Run/Debug Settings > (select your project) > Edit > Arguments 
> VM arguments* 
2. Add the following: -Djava.endorsed.dirs=${JBOSS_HOME}\lib\endorsed 
 
Note that ${JBOSS_HOME} is just a placeholder, you'll have to use your actual 
path to the endorsed JARs.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/529518#529518


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to