- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Error while integerati ng blaze 6.7 into j2ee app and enabling Optimized Inference
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-24-2009 02:25 AM
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@5651d85
---Original exception---
java.lang.NoClassDefFoundError: at/dms/compiler/Compiler
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java
at java.security.SecureClassLoader.defineClass(Secure
at com.ibm.ws.classloader.CompoundClassLoader._define
at com.ibm.ws.classloader.CompoundClassLoader.findCla
at com.ibm.ws.classloader.CompoundClassLoader.loadCla
at java.lang.ClassLoader.loadClass(ClassLoader.java(C
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.WjH
at com.blazesoft.engines.rules.imperative.WjHGBtV.<in
at com.blazesoft.engines.rules.imperative.WjHGOnE.<in
at com.blazesoft.engines.rules.NdRuleAgent.WjHGPTB(:7
at com.blazesoft.engines.rules.NdRuleAgent.WjHIrcP(:7
at com.blazesoft.engines.rules.NdRuleSet.buildEvaluat
at com.blazesoft.engines.rules.parser.WjHBfNX.WjHGyBL
at com.blazesoft.engines.rules.parser.WjHBYRD.WjHGyXN
at com.blazesoft.engines.rules.parser.WjHAJVB.WjHGyXN
at com.blazesoft.engines.rules.parser.WjHBSoB.WjHBSoA
at com.blazesoft.engines.rules.NdRuleAgent.WjHBcGD(:3
at com.blazesoft.engines.rules.NdRuleAgent.compile(:3
at com.blazesoft.server.rules.NdNonThreadedScriptRule
at com.blazesoft.server.rules.NdNonThreadedScriptRule
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
Solved! Go to Solution.
Re: Error while integerati ng blaze 6.7 into j2ee app and enabling Optimized Inference
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Not the Solution
- Email to a Friend
- Report Inappropriate Content
06-28-2009 08:08 AM
I have received an email from a potential customer (of Blaze Advisor) giving the same message:
java.lang.NoClassDefFoundError: at/dms/compiler/Compiler
java.lang.ClassNotFoundException: at.dms.compiler.Compiler
The file seems to be in Advisor67\lib\Ndkjc-2.1A-bin.jar. Hopefully this is what you need.
I have sent an email to the customer asking them to try with this jar file in the path. Im no longer on site helping them with the evaluation of Blaze Advisor, so I cannot try this myself. Im also interested in knowing when this file is needed, since I had already tested deploying the rule service on Tomcat and had no problems with this jar file not being in the classpath. I believe the customer is deploying on WebSphere.
Best regards
-aka
Re: Error while integerati ng blaze 6.7 into j2ee app and enabling Optimized Inference
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Not the Solution
- Email to a Friend
- Report Inappropriate Content
07-06-2009 04:59 AM
Thanks for the reply.
You are right i found the jar file it is Ndkjc-2.1A-bin.jar
and after that i added collection.jar also to enable optimized inference.
Enabling the new algorithm gives some errors like
invalid LHS operation without pointing to the exact cause of the error in the code.
This makes it difficult for people like us to move forward with these trials.
Forum is not so active i should say.

