axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r530984 - /webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
Date Sat, 21 Apr 2007 06:17:39 GMT
Author: deepal
Date: Fri Apr 20 23:17:35 2007
New Revision: 530984

URL: http://svn.apache.org/viewvc?view=rev&rev=530984
Log:
POJOdeployer giving CNF exception due to class loading issues , so this will solve that

Modified:
    webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java

Modified: webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java?view=diff&rev=530984&r1=530983&r2=530984
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
(original)
+++ webservices/axis2/branches/java/1_2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
Fri Apr 20 23:17:35 2007
@@ -69,12 +69,8 @@
                 File file = deploymentFileData.getFile();
                 if (file != null) {
                     File parentFile = file.getParentFile();
-                    ClassLoader classLoader =
-                            Utils.createClassLoader(new URL[]{parentFile.toURL()},
-                                    configCtx.getAxisConfiguration().getSystemClassLoader(),
-                                    true,
-                                    (File)configCtx.getAxisConfiguration()
-                                            .getParameterValue(Constants.Configuration.ARTIFACTS_TEMP_DIR));
+                   ClassLoader classLoader =
+                           Utils.getClassLoader(configCtx.getAxisConfiguration().getSystemClassLoader(),
parentFile);
                     Thread.currentThread().setContextClassLoader(classLoader);
                     String className = file.getName();
                     className = className.replaceAll(".class", "");



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message