Duncan Doyle created DROOLS-1194:
------------------------------------
Summary: Creating KieSession from KieContainer fails on Google App Engine
Key: DROOLS-1194
URL:
https://issues.jboss.org/browse/DROOLS-1194
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.4.0.Final
Environment: Drools 6.4.0.Final, Google App Engine
Reporter: Duncan Doyle
Assignee: Mario Fusco
Creating a KieSession from a KieContainer fails on Google App Engine. See stacktrace:
{code}
[INFO] java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class.
Please see the Google App Engine developer's guide for more details.
[INFO] at
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:52)
[INFO] at
org.drools.compiler.kie.util.CDIHelper$BeanCreatorHolder.lookupBeanManager(CDIHelper.java:147)
[INFO] at
org.drools.compiler.kie.util.CDIHelper$BeanCreatorHolder.loadBeanCreator(CDIHelper.java:140)
[INFO] at
org.drools.compiler.kie.util.CDIHelper$BeanCreatorHolder.<clinit>(CDIHelper.java:137)
[INFO] at java.lang.Class.forName0(Native Method)
[INFO] at java.lang.Class.forName(Class.java:195)
[INFO] at
com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
[INFO] at
com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:65)
[INFO] at org.drools.compiler.kie.util.CDIHelper.wireListnersAndWIHs(CDIHelper.java:45)
[INFO] at
org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:621)
[INFO] at
org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:585)
[INFO] at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirectorFactory.newKieSession(DroolsScoreDirectorFactory.java:113)
[INFO] at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.resetKieSession(DroolsScoreDirector.java:68)
[INFO] at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.setWorkingSolution(DroolsScoreDirector.java:61)
[INFO] at
org.optaplanner.core.impl.solver.scope.DefaultSolverScope.setWorkingSolutionFromBestSolution(DefaultSolverScope.java:198)
[INFO] at
org.optaplanner.core.impl.solver.DefaultSolver.solvingStarted(DefaultSolver.java:196)
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)