[
https://issues.jboss.org/browse/JBWS-3453?page=com.atlassian.jira.plugin....
]
Karel Piwko commented on JBWS-3453:
-----------------------------------
Verified fix delivered in
http://fpaste.org/jNbH/raw/ with EAP 6.0.0.ER2.
Replacing jbossws-cxf-client distributed in
$JBOSS_HOME/modules/org/jboss/ws/jaxws-client/main with patched variant.
Command used:
{code}
/opt/eap6/bin/wsprovide.sh -e -w -k -c `classpathgen
/home/kpiwko/devel/wfk/wfk-qa/spring/demo/target/sportsclub/spring-3.1/sportsclub-invoicing-webmvc/target/sportsclub-invoicing-webmvc
/home/kpiwko/devel/wfk/maven-local-repository/org/springframework/spring-web/3.1.0.RELEASE/
/home/kpiwko/devel/wfk/maven-local-repository/org/springframework/spring-beans/3.1.0.RELEASE/
/home/kpiwko/devel/wfk/maven-local-repository/javax/servlet/servlet-api/2.5/` -o
jaxws-target -r jaxws-resources -s jaxws-sources org.jboss.snowdrop.samples.sportscl
ub.ws.PaymentNotificationService
{code}
classpathgen
{code}
#!/bin/sh
for arg in $@; do
find $arg -name 'classes' -type d -printf ':%h/%f' | sed
's/^:\(.*\)/\1/'
find $arg -name '*.jar' -printf ':%h/%f'
done
{code}
JBossWSBusFactory check on Spring availability relies on TCCL only
------------------------------------------------------------------
Key: JBWS-3453
URL:
https://issues.jboss.org/browse/JBWS-3453
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: jbossws-cxf-4.1
JBossWSBusFactory has a check on Spring availability to decide the type of CXF BusFactory
to build (Spring or not). The check is on TCCL being able to load Spring classes, but
that's not enough in a JBoss Modules environment. As a matter of fact, that check
needs to be extended to the defining classloader of the JBossWSBusFactory (which is the
classloader for the org.jboss.ws.jaxws-client module), to be sure the factory can actually
be loaded (it's going to be loaded using the defining classloader and of course the
CXFBusFactory imports Spring classes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira