sumesh sadanandan

Error while integerating blaze 6.7 into j2ee app and enabling Optimized Inference

Discussion created by sumesh sadanandan on Jun 24, 2009
Latest reply on Jul 6, 2009 by sumesh sadanandan

Hi,

 

An error happens when i integerate and run migrated environment in blaze 6.7

 

The application works correctly when i run the rulesets in default mode

but when i enable the new execution mode "Optimized Inference" the following error occurs

 

6/24/09 1:40:12:799 EDT] 0000002a SystemErr     R Caused by: org.omg.CORBA.TRANSACTION_ROLLEDBACK: javax.transaction.TransactionRolledbackException:  ; nested exception is:
 java.lang.NoClassDefFoundError: Error while defining class: com.blazesoft.codegen.NdKopiJavaCompiler
This error indicates that the class: at.dms.compiler.Compiler
could not be located while defining the class: com.blazesoft.codegen.NdKopiJavaCompiler
This is often caused by having the class at a higher point in the classloader hierarchy
Dumping the current context classloader hierarchy:
    ==> indicates defining classloader
    *** indicates classloader where the missing class could have been found
   [0]
com.ibm.ws.classloader.CompoundClassLoader@5651d856

---Original exception---
java.lang.NoClassDefFoundError: at/dms/compiler/Compiler
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
 at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java(Compiled Code))
 at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
 at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
 at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
 at java.lang.Class.forName1(Native Method)
 at java.lang.Class.forName(Class.java(Compiled Code))
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSWI(:211)
 at com.blazesoft.objects.java6.WjHDSZL.WjHDSXJ(:250)
 at com.blazesoft.engines.rules.imperative.WjHMqxX.WjHUOrK(:290)
 at com.blazesoft.engines.rules.imperative.WjHGBtV.<init>(:717)
 at com.blazesoft.engines.rules.imperative.WjHGOnE.<init>(:39)
 at com.blazesoft.engines.rules.NdRuleAgent.WjHGPTB(:7186)
 at com.blazesoft.engines.rules.NdRuleAgent.WjHIrcP(:7242)
 at com.blazesoft.engines.rules.NdRuleSet.buildEvaluator(:1061)
 at com.blazesoft.engines.rules.parser.WjHBfNX.WjHGyBL(:92)
 at com.blazesoft.engines.rules.parser.WjHBYRD.WjHGyXN(:218)
 at com.blazesoft.engines.rules.parser.WjHAJVB.WjHGyXN(:53)
 at com.blazesoft.engines.rules.parser.WjHBSoB.WjHBSoA(:133)
 at com.blazesoft.engines.rules.NdRuleAgent.WjHBcGD(:3655)
 at com.blazesoft.engines.rules.NdRuleAgent.compile(:3880)
 at com.blazesoft.server.rules.NdNonThreadedScriptRulesServiceAgentFactory.SiPsUjB(:258)
 at com.blazesoft.server.rules.NdNonThreadedScriptRulesServiceAgentFactory.createAgent(:334)

 

I guess i have missed to include some essential jars.

 

Currently i have included the following jars in my application.

1) AdvisorSvr

2) InnovatorRT

3) Advisor

4) AdvCommon

 

Please point me to the right jar file essential for enabling the new execution mode.

 

Best Regards,

Sumesh

 

 

Outcomes