Hello, Kris,
I am not sure how to use latest Drools 5.2.M1 release to make a working configuration, so I download an reinstall the latest snapshot version. But the same problem exist.
Besides, as you remind, I copy h2.jar from \jbpm-installer\db\driver to \jbpm-installer\runtime\lib, ( changing classpath, are you meaning this?)
The error message is:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Server started ...
Exception in thread "Thread-4" java.lang.RuntimeException: Server Exception with class class org.jbpm.task.service.mina.MinaTaskServer using port 9123
at org.jbpm.task.service.mina.BaseMinaTaskServer.run(BaseMinaTaskServer.java:53)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)
at org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor.access$200(AbstractPollingIoAcceptor.java:65)
at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:407)
at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more
Registered human task listener
[2011:02:54 22:02:875:debug] Message receieved on client : AddTaskResponse
[2011:02:54 22:02:875:debug] Arguments : [javax.persistence.RollbackException: Error while commiting the transaction]
The following is my project:
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-589392-11476/450-281/1.bmp
I tried a lot of ways, but still not work. Hope that you can offer me some help!
I appreciate your help so much!
Best Regards,
Candy