[JBoss jBPM] - Re: Successfuly configuring JobExecutorServlet
by ffernandez
Here the process:
| ...
| <fork name="fork1">
| <transition to="ibk-df-classifier" name="1"></transition>
| <transition to="bayes-wf-classfier" name="2"></transition>
| <transition to="svm-df-classifier" name="3"></transition>
| </fork>
|
| <node name="node1" async="true">
| <action class="DoHeavyJob1"/>
| <transition to="join1"></transition>
| </node>
|
| <node name="node2" async="true">
| <action class="DoHeavyJob2"/>
| <transition to="join1"></transition>
| </node>
|
| <node name="node3" async="true">
| <action class="DoHeavyJob3"/>
| <transition to="join1"></transition>
| </node>
|
| <join name="join1">
| <transition to="finish"></transition>
| </join>
|
| <node name="finish">
| <action class="Result"/>
| </node>
| ...
|
In have this scene: Intermediate nodes takes long time executing, so I need the async="true" for their concurrent execution, and I cannot execute the "finish" node until ALL intermediate nodes had finished.
In the DoHeavyJob1, DoHeavyJob2 and DoHeavyJob3 ActionHandlers, I have coded the executionContext.leaveNode(); at the end of the execute method.
| class DoHeavyJob1{
| public void execute( ExecutionContext executionContext ) {
| //Time task Simulation
| Thread.sleep ( 100000 );
|
| executionContext.leaveNode();
| }//execute
| }
|
These actions are executed fine with JobExecutor, and I see that are executed in a concurrent way.
But, the known org.hibernate.StaleObjectStateException occurs when the last actionHandler makes the leaveNode.
Please, is there any way to implement this issue?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134620#4134620
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134620
18 years, 1 month
[JBossWS] - Re: SSL and native libraries
by squ1rr3l
"fastbob" wrote : I tried an experiment. I commented out the SSL connector and things worked (except for SSL, of course).
|
| But I found the cause of the problem. I took a closer look at the installed packages on fedora. Tomcat was installed as part of the system packages (probably by me), and as soon as I removed the tomcat-native package, the native library was not loaded. SSL started working.
|
| Bob
Same thing here. Apparently, there is a problem with the native libraries. I have had a lot of problems getting SSL enabled for any Win32 apr-based libraries.
In this case, I had everything working on a Windows 2003 server. Then I applied the native libraries (from http://labs.jboss.org/jbossweb/downloads/jboss-native/?action=a&windowsta...), and SSL died. Same errors that you specified:
10:23:42,564 WARN [Connector] Property strategy not found on the protocol handler.
| 10:23:42,580 WARN [Connector] Property clientAuth not found on the protocol handler.
| 10:23:42,580 WARN [Connector] Property keystoreFile not found on the protocol handler.
| 10:23:42,580 WARN [Connector] Property keystorePass not found on the protocol handler.
| 10:23:42,752 INFO [AprLifecycleListener] Loaded Apache Tomcat Native library 1.1.12.
| 10:23:42,845 INFO [AprLifecycleListener] APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
| 10:23:44,408 INFO [Http11AprProtocol] Initializing Coyote HTTP/1.1 on http-172.25.141.151-8080
| 10:23:44,424 ERROR [Http11AprProtocol] Error initializing endpoint
| java.lang.Exception: No Certificate file specified
| at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)
| at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:683)
| at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:107)
| at org.apache.catalina.connector.Connector.initialize(Connector.java:1073)
| ....
|
I have had similar issues trying to get LDAP over SSL working in Windows using the Apache ldap modules, which also rely on APR and APRUtils Win32 binaries. I've posted messages to the APR-dev mailing list, but they sent me to the Apache-dev list, and the issue was pretty much just ignored there.
I imagine there is somebody that knows what's going on with this, but I can't figure it out.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134608#4134608
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134608
18 years, 1 month