You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ga...@apache.org on 2007/01/21 13:33:22 UTC
svn commit: r498299 -
/webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java
Author: gatfora
Date: Sun Jan 21 04:33:21 2007
New Revision: 498299
URL: http://svn.apache.org/viewvc?view=rev&rev=498299
Log:
Ensure that the SandeshaThread's Context ClassLoader is the same ClassLoader used by the rest of Axis
Modified:
webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java
Modified: webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java?view=diff&rev=498299&r1=498298&r2=498299
==============================================================================
--- webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java (original)
+++ webservices/sandesha/trunk/java/src/org/apache/sandesha2/workers/SandeshaThread.java Sun Jan 21 04:33:21 2007
@@ -146,6 +146,9 @@
runThread = true; // so that isStarted()=true.
super.start();
+
+ // Set the SandeshaThread to have the same context classloader as the application
+ this.setContextClassLoader(Thread.currentThread().getContextClassLoader());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org