[JBoss JIRA] (WFLY-1444) CNFE: javax.persistence.Converter
by Radai Rosenblatt (JIRA)
[ https://issues.jboss.org/browse/WFLY-1444?page=com.atlassian.jira.plugin.... ]
Radai Rosenblatt commented on WFLY-1444:
----------------------------------------
was closed and opened as https://hibernate.atlassian.net/browse/HHH-8316
> CNFE: javax.persistence.Converter
> ---------------------------------
>
> Key: WFLY-1444
> URL: https://issues.jboss.org/browse/WFLY-1444
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 8.0.0.Alpha2
> Reporter: Juergen Zimmermann
> Assignee: Scott Marlow
>
> I'm using the latest WildFly snapshot containing Hibernate 4.3.0.Beta3. However, I'm getting a CNFE for javax.persistence.Converter (see stacktrace below). This class is definitely contained in modules/system/layers/base/javax/persistence/api/main/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar
> Stacktrace:
> ...
> 16:45:00,362 INFO [org.hibernate.Version] HHH000412: Hibernate Core {4.3.0.Beta3}
> 16:45:00,362 INFO [org.hibernate.cfg.Environment] HHH000206: hibernate.properties not found
> 16:45:00,362 INFO [org.hibernate.cfg.Environment] HHH000021: Bytecode provider name : javassist
> 16:45:00,658 ERROR [org.hibernate.AssertionFailure] HHH000099: an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session): java.lang.ClassNotFoundException: javax.persistence.Converter from [Module "org.jboss.jandex:main" from local module loader @c84051 (finder: local module finder @f6a711 (roots: C:\Software\wildfly-8.0.0.Alpha2-20130602\modules,C:\Software\wildfly-8.0.0.Alpha2-20130602\modules\system\layers\base))]
> 16:45:00,658 ERROR [org.jboss.msc.service.fail] MSC000001: Failed to start service jboss.persistenceunit."shop2.war#de.shop.PU": org.jboss.msc.service.StartException in service jboss.persistenceunit."shop2.war#de.shop.PU": org.hibernate.AssertionFailure: The annotation javax.persistence.Converter does not define a parameter 'autoApply'
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:112) [wildfly-jpa-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
> Caused by: org.hibernate.AssertionFailure: The annotation javax.persistence.Converter does not define a parameter 'autoApply'
> at org.hibernate.metamodel.source.annotations.JandexHelper.getDefaultValue(JandexHelper.java:328)
> at org.hibernate.metamodel.source.annotations.JandexHelper.getValue(JandexHelper.java:111)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.prepareMetadataSources(EntityManagerFactoryBuilderImpl.java:391)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:224)
> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:186)
> at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:43)
> at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:55)
> at org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:142)
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:214) [wildfly-jpa-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$800(PersistenceUnitServiceImpl.java:59) [wildfly-jpa-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:108) [wildfly-jpa-8.0.0.Alpha2-SNAPSHOT.jar:8.0.0.Alpha2-SNAPSHOT]
> ... 4 more
> Caused by: java.lang.ClassNotFoundException: javax.persistence.Converter from [Module "org.jboss.jandex:main" from local module loader @c84051 (finder: local module finder @f6a711 (roots: C:\Software\wildfly-8.0.0.Alpha2-20130602\modules,C:\Software\wildfly-8.0.0.Alpha2-20130602\modules\system\layers\base))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.1.Final]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.1.Final]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:432) [jboss-modules.jar:1.2.1.Final]
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:374) [jboss-modules.jar:1.2.1.Final]
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:119) [jboss-modules.jar:1.2.1.Final]
> at org.hibernate.metamodel.source.annotations.JandexHelper.getDefaultValue(JandexHelper.java:320)
> ... 14 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-183?page=com.atlassian.jira.plugin... ]
Geoffrey De Smet updated DROOLS-183:
------------------------------------
Fix Version/s: 6.0.0.CR1
> KieBase doesn't load drl files if it doesn't feel like it on Windows
> --------------------------------------------------------------------
>
> Key: DROOLS-183
> URL: https://issues.jboss.org/browse/DROOLS-183
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta4
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Priority: Blocker
> Fix For: 6.0.0.CR1
>
>
> The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
> {code}
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defaultKieBase
> {code}
> Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
> This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
> Here's that optaplanner code:
> https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
> Here's the full e-mail thread:
> {code}
> Hi
> I performed the download version beta4 to view examples of optaplanner and
> none is opening.
> Below the return of console windows.
> "Usage: runExamples.bat"
> "For example: runExamples.bat"
> "Some notes:"
> "- Working dir should be the directory of this script."
> "- Java is recommended to be JDK and java 6 for optimal performance"
> "- The environment variable JAVA_HOME should be set to the JDK installation
> dire
> ctory"
> " For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
> ECHO está desativado.
> "Starting examples app..."
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defa
> ultKieBase
> 2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
> data\curriculumcourse\unsolved\comp05.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected gl
> obal [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
> gMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
> nowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
> dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
> C:\Users\l049904\Downlo
> ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
> amples\data\curriculumcourse\unsolved\comp02.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected global [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
> nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> In every instance can not open or import files. Xml
> In version Beta3 was possible.
> Thanks
> --
> View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-183?page=com.atlassian.jira.plugin... ]
Geoffrey De Smet updated DROOLS-183:
------------------------------------
Priority: Blocker (was: Critical)
> KieBase doesn't load drl files if it doesn't feel like it on Windows
> --------------------------------------------------------------------
>
> Key: DROOLS-183
> URL: https://issues.jboss.org/browse/DROOLS-183
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta4
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Priority: Blocker
>
> The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
> {code}
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defaultKieBase
> {code}
> Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
> This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
> Here's that optaplanner code:
> https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
> Here's the full e-mail thread:
> {code}
> Hi
> I performed the download version beta4 to view examples of optaplanner and
> none is opening.
> Below the return of console windows.
> "Usage: runExamples.bat"
> "For example: runExamples.bat"
> "Some notes:"
> "- Working dir should be the directory of this script."
> "- Java is recommended to be JDK and java 6 for optimal performance"
> "- The environment variable JAVA_HOME should be set to the JDK installation
> dire
> ctory"
> " For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
> ECHO está desativado.
> "Starting examples app..."
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defa
> ultKieBase
> 2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
> data\curriculumcourse\unsolved\comp05.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected gl
> obal [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
> gMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
> nowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
> dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
> C:\Users\l049904\Downlo
> ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
> amples\data\curriculumcourse\unsolved\comp02.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected global [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
> nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> In every instance can not open or import files. Xml
> In version Beta3 was possible.
> Thanks
> --
> View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-183?page=com.atlassian.jira.plugin... ]
Geoffrey De Smet commented on DROOLS-183:
-----------------------------------------
Reproduced myself on Windows Vista.
Here's how the original reporter reproduced it on Windows 7 Pro SP1 64bit.
> KieBase doesn't load drl files if it doesn't feel like it on Windows
> --------------------------------------------------------------------
>
> Key: DROOLS-183
> URL: https://issues.jboss.org/browse/DROOLS-183
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta4
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Priority: Critical
>
> The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
> {code}
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defaultKieBase
> {code}
> Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
> This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
> Here's that optaplanner code:
> https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
> Here's the full e-mail thread:
> {code}
> Hi
> I performed the download version beta4 to view examples of optaplanner and
> none is opening.
> Below the return of console windows.
> "Usage: runExamples.bat"
> "For example: runExamples.bat"
> "Some notes:"
> "- Working dir should be the directory of this script."
> "- Java is recommended to be JDK and java 6 for optimal performance"
> "- The environment variable JAVA_HOME should be set to the JDK installation
> dire
> ctory"
> " For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
> ECHO está desativado.
> "Starting examples app..."
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defa
> ultKieBase
> 2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
> data\curriculumcourse\unsolved\comp05.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected gl
> obal [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
> gMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
> nowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
> dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
> C:\Users\l049904\Downlo
> ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
> amples\data\curriculumcourse\unsolved\comp02.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected global [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
> nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> In every instance can not open or import files. Xml
> In version Beta3 was possible.
> Thanks
> --
> View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-183?page=com.atlassian.jira.plugin... ]
Geoffrey De Smet updated DROOLS-183:
------------------------------------
Description:
The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
{code}
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defaultKieBase
{code}
Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
Here's that optaplanner code:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
Here's the full e-mail thread:
{code}
Hi
I performed the download version beta4 to view examples of optaplanner and
none is opening.
Below the return of console windows.
"Usage: runExamples.bat"
"For example: runExamples.bat"
"Some notes:"
"- Working dir should be the directory of this script."
"- Java is recommended to be JDK and java 6 for optimal performance"
"- The environment variable JAVA_HOME should be set to the JDK installation
dire
ctory"
" For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
ECHO está desativado.
"Starting examples app..."
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defa
ultKieBase
2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
data\curriculumcourse\unsolved\comp05.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected gl
obal [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
gMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
nowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
C:\Users\l049904\Downlo
ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
amples\data\curriculumcourse\unsolved\comp02.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected global [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In every instance can not open or import files. Xml
In version Beta3 was possible.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
{code}
was:
The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
{code}
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defaultKieBase
{code}
Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
Here's that optaplanner code:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
{code}
Hi
I performed the download version beta4 to view examples of optaplanner and
none is opening.
Below the return of console windows.
"Usage: runExamples.bat"
"For example: runExamples.bat"
"Some notes:"
"- Working dir should be the directory of this script."
"- Java is recommended to be JDK and java 6 for optimal performance"
"- The environment variable JAVA_HOME should be set to the JDK installation
dire
ctory"
" For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
ECHO está desativado.
"Starting examples app..."
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defa
ultKieBase
2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
data\curriculumcourse\unsolved\comp05.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected gl
obal [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
gMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
nowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
C:\Users\l049904\Downlo
ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
amples\data\curriculumcourse\unsolved\comp02.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected global [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In every instance can not open or import files. Xml
In version Beta3 was possible.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
{code}
> KieBase doesn't load drl files if it doesn't feel like it on Windows
> --------------------------------------------------------------------
>
> Key: DROOLS-183
> URL: https://issues.jboss.org/browse/DROOLS-183
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta4
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Priority: Critical
>
> The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
> {code}
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defaultKieBase
> {code}
> Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
> This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
> Here's that optaplanner code:
> https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
> Here's the full e-mail thread:
> {code}
> Hi
> I performed the download version beta4 to view examples of optaplanner and
> none is opening.
> Below the return of console windows.
> "Usage: runExamples.bat"
> "For example: runExamples.bat"
> "Some notes:"
> "- Working dir should be the directory of this script."
> "- Java is recommended to be JDK and java 6 for optimal performance"
> "- The environment variable JAVA_HOME should be set to the JDK installation
> dire
> ctory"
> " For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
> ECHO está desativado.
> "Starting examples app..."
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defa
> ultKieBase
> 2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
> data\curriculumcourse\unsolved\comp05.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected gl
> obal [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
> gMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
> nowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
> dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
> C:\Users\l049904\Downlo
> ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
> amples\data\curriculumcourse\unsolved\comp02.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected global [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
> nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> In every instance can not open or import files. Xml
> In version Beta3 was possible.
> Thanks
> --
> View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-183?page=com.atlassian.jira.plugin... ]
Geoffrey De Smet updated DROOLS-183:
------------------------------------
Description:
The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
{code}
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defaultKieBase
{code}
Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
Here's that optaplanner code:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
{code}
Hi
I performed the download version beta4 to view examples of optaplanner and
none is opening.
Below the return of console windows.
"Usage: runExamples.bat"
"For example: runExamples.bat"
"Some notes:"
"- Working dir should be the directory of this script."
"- Java is recommended to be JDK and java 6 for optimal performance"
"- The environment variable JAVA_HOME should be set to the JDK installation
dire
ctory"
" For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
ECHO está desativado.
"Starting examples app..."
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defa
ultKieBase
2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
data\curriculumcourse\unsolved\comp05.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected gl
obal [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
gMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
nowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
C:\Users\l049904\Downlo
ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
amples\data\curriculumcourse\unsolved\comp02.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected global [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In every instance can not open or import files. Xml
In version Beta3 was possible.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
{code}
was:
The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
{code}
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defaultKieBase
{code}
Note: it worked well for Beta3.
This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
Here's that optaplanner code:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
{code}
Hi
I performed the download version beta4 to view examples of optaplanner and
none is opening.
Below the return of console windows.
"Usage: runExamples.bat"
"For example: runExamples.bat"
"Some notes:"
"- Working dir should be the directory of this script."
"- Java is recommended to be JDK and java 6 for optimal performance"
"- The environment variable JAVA_HOME should be set to the JDK installation
dire
ctory"
" For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
ECHO está desativado.
"Starting examples app..."
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defa
ultKieBase
2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
data\curriculumcourse\unsolved\comp05.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected gl
obal [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
gMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
nowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
C:\Users\l049904\Downlo
ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
amples\data\curriculumcourse\unsolved\comp02.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected global [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In every instance can not open or import files. Xml
In version Beta3 was possible.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
{code}
> KieBase doesn't load drl files if it doesn't feel like it on Windows
> --------------------------------------------------------------------
>
> Key: DROOLS-183
> URL: https://issues.jboss.org/browse/DROOLS-183
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta4
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Priority: Critical
>
> The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
> {code}
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defaultKieBase
> {code}
> Note: it worked well for Beta3 on his system (and it works well for me on linux with Beta4).
> This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
> Here's that optaplanner code:
> https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
> {code}
> Hi
> I performed the download version beta4 to view examples of optaplanner and
> none is opening.
> Below the return of console windows.
> "Usage: runExamples.bat"
> "For example: runExamples.bat"
> "Some notes:"
> "- Working dir should be the directory of this script."
> "- Java is recommended to be JDK and java 6 for optimal performance"
> "- The environment variable JAVA_HOME should be set to the JDK installation
> dire
> ctory"
> " For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
> ECHO está desativado.
> "Starting examples app..."
> 2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
> defa
> ultKieBase
> 2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
> data\curriculumcourse\unsolved\comp05.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected gl
> obal [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
> gMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
> nowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
> dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> 2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
> C:\Users\l049904\Downlo
> ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
> amples\data\curriculumcourse\unsolved\comp02.xml
> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
> Unexpected global [scoreHolder]
> at
> org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
> at
> org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
> esetKieSession(DroolsScoreDirector.java:85)
> at
> org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
> etWorkingSolution(DroolsScoreDirector.java:76)
> at
> org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
> n(SolutionBusiness.java:222)
> at
> org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
> nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
> at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
> at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
> Source)
> at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
> at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> In every instance can not open or import files. Xml
> In version Beta3 was possible.
> Thanks
> --
> View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (DROOLS-183) KieBase doesn't load drl files if it doesn't feel like it on Windows
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created DROOLS-183:
---------------------------------------
Summary: KieBase doesn't load drl files if it doesn't feel like it on Windows
Key: DROOLS-183
URL: https://issues.jboss.org/browse/DROOLS-183
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.Beta4
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
Priority: Critical
The OptaPlanner zip's example works perfectly for me, but a user trying the same zip on windows doesn't see any working examples. The problem is that KieBase behaves differently and outputs this warning on his system:
{code}
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defaultKieBase
{code}
Note: it worked well for Beta3.
This is probably due to the fact that the way optaplanner's code needs to jump through the KieBase hoops works for Beta3, but the hoops has been changed for Beta4 somehow.
Here's that optaplanner code:
https://github.com/droolsjbpm/optaplanner/blob/master/optaplanner-core/sr...
{code}
Hi
I performed the download version beta4 to view examples of optaplanner and
none is opening.
Below the return of console windows.
"Usage: runExamples.bat"
"For example: runExamples.bat"
"Some notes:"
"- Working dir should be the directory of this script."
"- Java is recommended to be JDK and java 6 for optimal performance"
"- The environment variable JAVA_HOME should be set to the JDK installation
dire
ctory"
" For example: set JAVA_HOME="C:\Program Files\Java\jdk1.6.0"
ECHO está desativado.
"Starting examples app..."
2013-06-29 10:24:16,998 [AWT-EventQueue-0] WARN No files found for KieBase
defa
ultKieBase
2013-06-29 10:24:18,680 [AWT-EventQueue-0] INFO Loaded:
data\curriculumcourse\unsolved\comp05.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected gl
obal [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkin
gMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulK
nowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Loa
dAction.actionPerformed(SolverAndPersistenceFrame.java:178)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2013-06-29 10:24:25,920 [AWT-EventQueue-0] INFO Loaded:
C:\Users\l049904\Downlo
ads\optaplanner-distribution-6.0.0.Beta4\optaplanner-distribution-6.0.0.Beta4\ex
amples\data\curriculumcourse\unsolved\comp02.xml
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException:
Unexpected global [scoreHolder]
at
org.drools.core.common.AbstractWorkingMemory.setGlobal(AbstractWorkingMemory.java:532)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.setGlobal(StatefulKnowledgeSessionImpl.java:360)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.r
esetKieSession(DroolsScoreDirector.java:85)
at
org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.s
etWorkingSolution(DroolsScoreDirector.java:76)
at
org.optaplanner.examples.common.business.SolutionBusiness.openSolutio
n(SolutionBusiness.java:222)
at
org.optaplanner.examples.common.swingui.SolverAndPersistenceFrame$Ope
nAction.actionPerformed(SolverAndPersistenceFrame.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In every instance can not open or import files. Xml
In version Beta3 was possible.
Thanks
--
View this message in context: http://drools.46999.n3.nabble.com/Time-Scheduling-Routing-tp4024446p40246...
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months
[JBoss JIRA] (WFLY-1610) clueter full-ha
by jaikiran pai (JIRA)
[ https://issues.jboss.org/browse/WFLY-1610?page=com.atlassian.jira.plugin.... ]
jaikiran pai closed WFLY-1610.
------------------------------
Assignee: (was: Brian Stansberry)
Resolution: Rejected
> clueter full-ha
> ---------------
>
> Key: WFLY-1610
> URL: https://issues.jboss.org/browse/WFLY-1610
> Project: WildFly
> Issue Type: Feature Request
> Components: Domain Management
> Affects Versions: 8.0.0.Alpha2
> Environment: Ubuntu Server 12.04LST 64bits
> Reporter: Emilio Navarrete
>
> two or more server on the same full-ha profile cause this error:
> [Server:server-fourth] 22:42:10,205 ERROR [org.hornetq.core.server] (Old I/O server worker (parentId: 427107561, [id: 0x197524e9, /0.0.0.0:5945])) HQ224018: Failed to create session: HornetQException[errorType=SECURITY_EXCEPTION message=HQ119031: Unable to validate user: HORNETQ.CLUSTER.ADMIN.USER]
> there was an workaround but it stop working since jboss as 7.3:
> <subsystem xmlns="urn:jboss:domain:messaging:1.2">
> <hornetq-server>
> <cluster-user>admin</cluster-user>
> <cluster-password>admin1</cluster-password>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 5 months