[jBPM] - jBPM5 demo issues with Eclipse
by Vikram Narayan
Vikram Narayan [http://community.jboss.org/people/vikedvik] created the discussion
"jBPM5 demo issues with Eclipse"
To view the discussion, visit: http://community.jboss.org/message/577525#577525
--------------------------------------------------------------
I've been playing with the jBPM5 CR1 demo and I seem to having some issues with the Eclipse tooling. When I import the sample project, the jBPM library does not load with it resulting in several compilation errors. This leads me to my first question. Does the jBPM5 runtime get installed into eclipse when you run install.demo?
After I add the jBPM5 runtime manually to Eclipse and apply it to the project I get the following error when I run the ProcessTest program:
java.lang.NoSuchMethodError: org.drools.common.InternalRuleBase.getRootClassLoader()Lorg/drools/util/CompositeClassLoader;
at org.jbpm.process.instance.ProcessRuntimeImpl.getRootClassLoader(ProcessRuntimeImpl.java:101)
at org.jbpm.process.instance.ProcessRuntimeImpl.<init>(ProcessRuntimeImpl.java:58)
at org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl.newProcessRuntime(ProcessRuntimeFactoryServiceImpl.java:10)
at org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl.newProcessRuntime(ProcessRuntimeFactoryServiceImpl.java:6)
at org.drools.runtime.process.ProcessRuntimeFactory.newProcessRuntime(ProcessRuntimeFactory.java:12)
at org.drools.common.AbstractWorkingMemory.createProcessRuntime(AbstractWorkingMemory.java:389)
at org.drools.common.AbstractWorkingMemory.setKnowledgeRuntime(AbstractWorkingMemory.java:1774)
at org.drools.impl.StatefulKnowledgeSessionImpl.<init>(StatefulKnowledgeSessionImpl.java:115)
at org.drools.impl.StatefulKnowledgeSessionImpl.<init>(StatefulKnowledgeSessionImpl.java:108)
at org.drools.reteoo.ReteooRuleBase.newStatefulSession(ReteooRuleBase.java:391)
at org.drools.reteoo.ReteooRuleBase.newStatefulSession(ReteooRuleBase.java:371)
at org.drools.impl.KnowledgeBaseImpl.newStatefulKnowledgeSession(KnowledgeBaseImpl.java:169)
at com.sample.ProcessTest.createSession(ProcessTest.java:65)
at com.sample.ProcessTest.main(ProcessTest.java:37)
Looking at my jBPM5 library all the required jars are there so it's strange that I would be getting this error.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577525#577525]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[JBoss Web Services] - Native library already loaded in another classloader ?! (Axis2)
by Igor JStarter
Igor JStarter [http://community.jboss.org/people/izgur] created the discussion
"Native library already loaded in another classloader ?! (Axis2)"
To view the discussion, visit: http://community.jboss.org/message/576933#576933
--------------------------------------------------------------
Hello!
I'm doing a web service which sends a file over SFTP.
I downloaded the *chilkat* jar files and send the file over FTP with no problem (as an application).
All scenarious when deploying with Axis2, but I think, only the 1. could be made to work:
1. My app.java includes system.loadLibrary(chilkat) and when making the axis archiver .aar file, I add the chilkat.jar
* Native Library* D:\KKISSWORK\jboss-5.1.0.GA-jdk6\bin\chilkat.dll *already loaded in another classloader*
2. My app.java doesn't include system.loadLibraty
If I include the jar when making .aar file: ERROR: com.chilkatsoft.chilkatJNI.new_CkSFtp()J
If i don't include the jar when making .aar file: ERROR: new_CksFtp
Any idea how to solve that?
I know that the problem is that the classloader can't load a library twice, but how to solve that.
Somewhere i read that I should load the library (in my app) from the classloader....
Thanks in advance!
BR. Igor!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576933#576933]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months
[jBPM] - First jBPM5 snapshots
by Kris Verlaenen
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"First jBPM5 snapshots"
To view the discussion, visit: http://community.jboss.org/message/565381#565381
--------------------------------------------------------------
We've been talking about it for a while now, and working on it even longer, but we believe the time has come to just get the jBPM5 code out there
and start asking for community feedback and assistance.
The current jBPM5 snapshot offers open-source business process execution and management, including
* an embeddable, light-weight process engine in Java, supporting native BPMN2 execution
* BPMN2 process modeling, both in Eclipse (developers) and web-based (business users)
* process collaboration, monitoring and management through the Guvnor repository and the management consoles
* human interaction using an independent WS-HT human task service
* strong and powerful integration with business rules and event processing
So where to start looking?
For those that want to get their hands on the source code:
http://github.com/krisv/jbpm http://github.com/krisv/jbpm
Documentation (which is still under heavy construction but will be extended significantly in the next few weeks) can be found https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/ta... here.
And you can always download the latest snapshot binaries, sources, the gwt-console, documentation and an installer here:
https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/ta... https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/ta...
Enjoy !
[From http://kverlaen.blogspot.com/2010/10/here-we-go-first-jbpm5-snapshots.html http://kverlaen.blogspot.com/2010/10/here-we-go-first-jbpm5-snapshots.html]
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/565381#565381]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 3 months