teena mathew

Invocation Error - EJB 3 and weblogic 10.3 with Dmanager

Discussion created by teena mathew on Apr 3, 2012
Latest reply on Apr 26, 2012 by Ruthraiah Thulasi

Hi,

 

 

I am trying to invoke the EJB rules service with DManager from the web service, getting the following error,

 

[com.blazesoft.server.deploy.manager.NdDeploymentManager@14eb00a] Rule Server 'Teena-PC:New_Oncology_RSD (1Caxa1Hq02SPAa3VDnTgC9gryJi)' registered
Created Discovery rule server
Exception in thread "Rules agent factory thread for com.blazesoft.server.local.NdLocalServiceAgentDispenser@1dc6270" java.lang.NoClassDefFoundError: com/sun/java/util/collections/Vector
 at com.blazesoft.codegen.NdKopiJavaCompiler.<init>(:793)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSWI(:220)
 at com.blazesoft.objects.java6.NdJava6SupportImpl.WjHDSKI(:72)
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSXJ(:239)
 at com.blazesoft.engines.rules.imperative.WjHMqxX.WjHUOrK(:290)
 at com.blazesoft.engines.rules.imperative.WjHMqxX.WjHUzRA(:326)
 at com.blazesoft.engines.rules.NdRuleAgent.writeObject(:1014)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at com.blazesoft.objects.dotnet.NdDotNETLib.writeObjectHelper(:1194)
 at com.blazesoft.server.rules.NdServerRulesAgent.saveCompiled(:941)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.compileDeploymentManagerProject(:279)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.compileDeploymentManagerProject(:306)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.getCompiledSerializedProject(:399)
 at com.blazesoft.server.deploy.manager.java.NdDeploymentManagerJavaServerManager$SiPpNrJ.getSerializedProjectLoader(:358)
 at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.SiPpLgA(:274)
 at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.newSerializedRulesProjectLoader(:308)
 at com.blazesoft.server.rules.NdScriptRulesServiceAgentFactory.SiPsTNB(:196)
 at com.blazesoft.server.rules.NdScriptRulesServiceAgentFactory.createAgent(:358)
 at com.blazesoft.server.local.NdLocalServiceAgentFactoryThread.SiPphYH(:128)
 at com.blazesoft.server.local.NdLocalServiceAgentFactoryThread.processRequest(:83)
 at com.blazesoft.system.NdAsyncRequestHandlerThread.WjHAfBE(:69)
 at com.blazesoft.system.NdAsyncRequestHandlerThread.run(:136)
Caused by: java.lang.ClassNotFoundException: com.sun.java.util.collections.Vector
 at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
 at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 ... 36 more
java.lang.NoClassDefFoundError: com/sun/java/util/collections/Vector
java.lang.ClassNotFoundException: com.sun.java.util.collections.Vector
 at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:296)
 at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 at com.blazesoft.codegen.NdKopiJavaCompiler.<init>(:793)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
 at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
 at java.lang.Class.newInstance0(Class.java:355)
 at java.lang.Class.newInstance(Class.java:308)
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSWI(:220)
 at com.blazesoft.objects.java6.NdJava6SupportImpl.WjHDSKI(:72)
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSXJ(:239)
 at com.blazesoft.engines.rules.imperative.WjHMqxX.WjHUOrK(:290)
 at com.blazesoft.engines.rules.imperative.WjHMqxX.WjHUzRA(:326)
 at com.blazesoft.engines.rules.NdRuleAgent.writeObject(:1014)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
 at com.blazesoft.objects.dotnet.NdDotNETLib.writeObjectHelper(:1194)
 at com.blazesoft.server.rules.NdServerRulesAgent.saveCompiled(:941)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.compileDeploymentManagerProject(:279)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.compileDeploymentManagerProject(:306)
 at com.blazesoft.server.deploy.manager.NdDeploymentManagerProjectCompiler.getCompiledSerializedProject(:399)
 at com.blazesoft.server.deploy.manager.java.NdDeploymentManagerJavaServerManager$SiPpNrJ.getSerializedProjectLoader(:358)
 at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.SiPpLgA(:274)
 at com.blazesoft.server.rules.NdSerializedRulesProjectLoaderFactory.newSerializedRulesProjectLoader(:308)
 at com.blazesoft.server.rules.NdScriptRulesServiceAgentFactory.SiPsTNB(:196)
 at com.blazesoft.server.rules.NdScriptRulesServiceAgentFactory.createAgent(:358)
 at com.blazesoft.server.local.NdLocalServiceAgentFactoryThread.SiPphYH(:128)
 at com.blazesoft.server.local.NdLocalServiceAgentFactoryThread.processRequest(:83)
 at com.blazesoft.system.NdAsyncRequestHandlerThread.WjHAfBE(:69)
 at com.blazesoft.system.NdAsyncRequestHandlerThread.run(:136)

 

 

When I deploy the same without DManager, it worked fine.

 

please help to resolve this issue,

 

Thanks,

Teena

Outcomes