[Performance Tuning] - Re: JBoss4.2.2GA Cluster - SocketException: socket closed er
by JAGGEE
httpd conf
----------
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
# WinNT MPM
<IfModule mpm_winnt.c>
ThreadsPerChild 600
MaxRequestsPerChild 0
mod_jk properties
-------------------
JkMount /myappli/*.* loadbalancer
JkWatchdogInterval 60
Worker.properties:
-------------------
worker.list=loadbalancer,status
worker.template.type=ajp13
worker.template.port=8009
worker.template.ping_mode=A
worker.template.connection_pool_size=30
worker.template.socket_timeout=10
worker.template.retries=20
worker.node1.reference=worker.template
worker.node1.host=192.168.41.71
worker.node2.reference=worker.template
worker.node2.host=192.168.41.72
worker.node3.reference=worker.template
worker.node3.host=192.168.41.73
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2,node3
worker.loadbalancer.sticky_session=True
worker.status.type=status
AJP 1.3 Connector:
-----------------
Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
emptySessionPath="true" enableLookups="false" redirectPort="8443" maxThreads="300" connectionTimeout="60000"/
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250377#4250377
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250377
16 years, 10 months
[JBoss jBPM] - Re: Confusing regarding unit test
by sebastian.s
Okay I changed my unit test to this:
| public void testWaiteStateAndJavaTask() {
| ProcessInstance processInstance = executionService.startProcessInstanceByKey("task_types");
| Execution execution = processInstance.findActiveExecutionIn("state1");
| assertNotNull(execution);
| String executionId = execution.getId();
| executionService.signalExecutionById(executionId);
| processInstance = executionService.findProcessInstanceById(processInstance.getId());
| Set<String> activities = processInstance.findActiveActivityNames();
| System.out.println(activities.toString());
| }
|
Now it works as expected. Thanks for your explanation, Ronald. Need to keep this in mind.
anonymous wrote : What you get back is not a reference to something but the thing that is active at the time you requested it (disconnected). The behaviour of jBPM is as expected. Same is true for tasklists etc.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4250375#4250375
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4250375
16 years, 10 months