Tom Gruschus [http://community.jboss.org/people/afisboy] created the discussion
"Re: jbpm hibernate persistence" To view the discussion, visit: http://community.jboss.org/message/594880#594880 -------------------------------------------------------------- Best I can tell, doesn't point to a solution?!? I see the same problem when attempting to use JPAKnowledgeService.newStatefulKnowledgeSession() 11:35:06,175 ERROR [STDERR] java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException 11:35:06,175 ERROR [STDERR] at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:130) 11:35:06,175 ERROR [STDERR] at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:54) 11:35:06,175 ERROR [STDERR] at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:109) Source code in drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/KnowledgeStoreServiceImpl.java private CommandExecutor buildCommanService(KnowledgeBase kbase, KnowledgeSessionConfiguration conf, Environment env) { Class< ? extends CommandExecutor> serviceClass = getCommandServiceClass(); try { *Constructor< ? extends CommandExecutor> constructor = serviceClass.getConstructor( KnowledgeBase.class,* * KnowledgeSessionConfiguration.class,* * Environment.class );* * return constructor.newInstance( kbase,* * conf,* * env );* } catch ( SecurityException e ) { throw new IllegalStateException( e ); } catch ( NoSuchMethodException e ) { throw new IllegalStateException( e ); } catch ( IllegalArgumentException e ) { throw new IllegalStateException( e ); } catch ( InstantiationException e ) { throw new IllegalStateException( e ); } catch ( IllegalAccessException e ) { throw new IllegalStateException( e ); } catch ( InvocationTargetException e ) { throw new IllegalStateException( e ); } } I assume JPAKnowledgeService.newStatefulKnowledgeSession() works for some people? Anyone have some hints on I'm doing wrong? -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/594880#594880] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
