Author: alessio.soldano(a)jboss.com
Date: 2011-04-07 09:37:29 -0400 (Thu, 07 Apr 2011)
New Revision: 14032
Modified:
stack/cxf/branches/asoldano/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/BusDeploymentAspect.java
Log:
Set proper TCCL in BusDeploymentAspect now that it does not come with the ws impl modules
as dependencies
Modified:
stack/cxf/branches/asoldano/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/BusDeploymentAspect.java
===================================================================
---
stack/cxf/branches/asoldano/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/BusDeploymentAspect.java 2011-04-07
13:29:17 UTC (rev 14031)
+++
stack/cxf/branches/asoldano/modules/server/src/main/java/org/jboss/wsf/stack/cxf/deployment/aspect/BusDeploymentAspect.java 2011-04-07
13:37:29 UTC (rev 14032)
@@ -72,7 +72,7 @@
BusHolder holder = null;
//set the runtime classloader (pointing to the deployment unit) to allow CXF
accessing to the classes
- SecurityActions.setContextClassLoader(dep.getRuntimeClassLoader());
+ SecurityActions.setContextClassLoader(new
DelegateClassLoader(dep.getRuntimeClassLoader(), origClassLoader));
if (jbosswsCxfXml != null) // Spring available
{
URL cxfServletURL = null;
Show replies by date