[jBPM] - drools-guvnor.war deployment issue in SOA-P5.3.1
by Andrew Tan
Andrew Tan [https://community.jboss.org/people/atan20] created the discussion
"drools-guvnor.war deployment issue in SOA-P5.3.1"
To view the discussion, visit: https://community.jboss.org/message/819575#819575
--------------------------------------------------------------
Hi,
I am attempting to integrate JBPM5.2 with JBoss SOA-P5.3.1 which is running on PostgreSQL.
I have been able to update the jbpm-instaler and my JBoss SOA-P5.3.1 to run the demo via jbpm-console by pointing -Djbpm.console.directory to the Evaluation.bpmn directory.
However on startup, drools-guvnor will not deploy?
When the server starts up I get the following error message in server.log:
[root@LM002585vm01 deploy]# 2013-05-27 16:16:01,212 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Failed to create web module
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:461)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:97)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.FileNotFoundException: /mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-bv3jml-hh78s6le-1-hh79iixg-cc/drools-guvnor.war/WEB-INF/classes/org/drools/guvnor/client/widgets/wizards/assets/decisiontable/ActionInsertFactFieldsPageViewImpl$ActionInsertFactFieldsPageWidgetBinder.class (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:310)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.unjar(AbstractCopyMechanism.java:330)
at org.jboss.virtual.plugins.copy.UnjarCopyMechanism.doCopy(UnjarCopyMechanism.java:52)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:186)
at org.jboss.virtual.plugins.copy.AbstractCopyMechanism.copy(AbstractCopyMechanism.java:146)
at org.jboss.virtual.VFSUtils.copy(VFSUtils.java:847)
at org.jboss.virtual.VFSUtils.unjar(VFSUtils.java:828)
at org.jboss.web.deployers.AbstractWarDeployer.deploy(AbstractWarDeployer.java:360)
... 28 more
2013-05-27 16:16:01,228 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** DEPLOYMENTS IN ERROR: Name -> Error
vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/ -> org.jboss.deployers.spi.DeploymentException: Failed to create web module
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/deploy/drools-guvnor.war/" is in error due to the following reason(s): java.io.FileNotFoundException: /mnt/hgfs/vm-shared/jboss-soa-p-5/jboss-as/server/all/tmp/4st5t49-bv3jml-hh78s6le-1-hh79iixg-cc/drools-guvnor.war/WEB-INF/classes/org/drools/guvnor/client/widgets/wizards/assets/decisiontable/ActionInsertFactFieldsPageViewImpl$ActionInsertFactFieldsPageWidgetBinder.class (No such file or directory)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1008)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:954)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:870)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:416)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
The instance of drools-guvnor that I am using is the one from this URL:
https://repository.jboss.org/nexus/content/repositories/releases/org/droo... https://repository.jboss.org/nexus/content/repositories/releases/org/droo...
I have checked the MD5 checksum against the downloaded file and I can verify that the file that the deployer is complaing about is in the WAR file.
Any help would be crea
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819575#819575]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[JBoss Cache] - Replication timeout on high load
by Satish Avhad
Satish Avhad [https://community.jboss.org/people/satishpa2] created the discussion
"Replication timeout on high load"
To view the discussion, visit: https://community.jboss.org/message/819406#819406
--------------------------------------------------------------
Hi;
During high load getting the following error in log when there are more "put xml to cache" operations
ERROR;[ACTIVE] ExecuteThread: '35' for queue: 'weblogic.kernel.Default (self-tuning)';putString
org.jboss.cache.lock.TimeoutException: Replication timeout for X , Y , Z
I am using JBOSS cache in JBoss Common Classes 2.2.14.GA deployed on Oracle Service Bus which is in a 2 X 4 clustered environment
JBOSS cache config file is given below. Pl suggest appropriate changes.to config file
<?xml version="1.0" encoding="UTF-8"?>
<jbosscache xmlns="urn:jboss:jbosscache-core:config:3.2">
<locking isolationLevel="REPEATABLE_READ"
lockParentForChildInsertRemove="false"
lockAcquisitionTimeout="10000"
nodeLockingScheme="mvcc"
writeSkewCheck="false"
useLockStriping="false"
concurrencyLevel="10000"
/>
<transaction
transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup" />
<serialization useRegionBasedMarshalling="true" />
<clustering mode="replication"
clusterName="X-JBossCache-Cluster">
<sync replTimeout="15000" />
<stateRetrieval fetchInMemoryState="true" timeout="15000" />
<jgroupsConfig>
<UDP discard_incompatible_packets="true"
enable_bundling="false" enable_diagnostics="true" ip_ttl="2"
loopback="false" max_bundle_size="64000" max_bundle_timeout="30"
mcast_addr="XXX.XX.XXX" mcast_port="XXXX"
mcast_recv_buf_size="25000000" mcast_send_buf_size="640000"
oob_thread_pool.enabled="true"
oob_thread_pool.keep_alive_time="10000"
oob_thread_pool.max_threads="4" oob_thread_pool.min_threads="1"
oob_thread_pool.queue_enabled="true"
oob_thread_pool.queue_max_size="10"
oob_thread_pool.rejection_policy="Run" thread_naming_pattern="pl"
thread_pool.enabled="true" thread_pool.keep_alive_time="30000"
thread_pool.max_threads="25" thread_pool.min_threads="1"
thread_pool.queue_enabled="true" thread_pool.queue_max_size="10"
thread_pool.rejection_policy="Run" tos="8"
ucast_recv_buf_size="20000000" ucast_send_buf_size="640000"
use_concurrent_stack="true" use_incoming_packet_handler="true" />
<PING num_initial_members="3" timeout="2000" />
<MERGE2 max_interval="30000" min_interval="10000" />
<FD_SOCK />
<FD max_tries="5" shun="true" timeout="10000" />
<VERIFY_SUSPECT timeout="1500" />
<pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
max_xmit_size="60000" retransmit_timeout="300,600,1200,2400,4800"
use_mcast_xmit="false" />
<UNICAST timeout="300,600,1200,2400,3600" />
<pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
stability_delay="1000" />
<pbcast.GMS join_retry_timeout="2000" join_timeout="5000"
print_local_addr="true" shun="false"
view_ack_collection_timeout="5000" view_bundling="true" />
<FRAG2 frag_size="60000" />
<pbcast.STREAMING_STATE_TRANSFER use_reading_thread="true" />
<pbcast.FLUSH timeout="0" />
</jgroupsConfig>
</clustering>
<eviction wakeUpInterval="5000">
<default
algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm">
<property name="maxNodes" value="5000" />
</default>
<region name="/a"
algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
eventQueueSize="">
<property name="maxNodes" value="50000" />
<property name="timeToLive" value="180000" />
<property name="maxAge" value="360000" />
</region>
<region name="/b"
algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
eventQueueSize="">
<property name="maxNodes" value="150000" />
<property name="timeToLive" value="360000" />
<property name="maxAge" value="360000" />
</region>
<region name="/c"
algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
eventQueueSize="">
<property name="maxNodes" value="1" />
<property name="timeToLive" value="3000000" />
<property name="maxAge" value="3000000" />
</region>
<region name="/d"
algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
eventQueueSize="">
<property name="maxNodes" value="10000" />
<property name="maxAge" value="300000" />
<property name="timeToLive" value="300000" />
</region>
</eviction>
</jbosscache>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819406#819406]
Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[jBPM] - which JMS based human task work item handler need to use ?
by vinayak Bhadage
vinayak Bhadage [https://community.jboss.org/people/vinayakpict] created the discussion
"which JMS based human task work item handler need to use ?"
To view the discussion, visit: https://community.jboss.org/message/810199#810199
--------------------------------------------------------------
hi,
I want to user JMSTaskServer as transporter between JBPM 5.4 process engine and TaskClient.
Serever is initilized as:
Properties serverProperties = new Properties();
serverProperties.setProperty("JMSTaskServer.connectionFactory", "ConnectionFactory");
serverProperties.setProperty("JMSTaskServer.transacted", "true");
serverProperties.setProperty("JMSTaskServer.acknowledgeMode", "AUTO_ACKNOWLEDGE");
serverProperties.setProperty("JMSTaskServer.queueName", "tasksQueue");
serverProperties.setProperty("JMSTaskServer.responseQueueName", "tasksResponseQueue");
try {
this.server = new JMSTaskServer(taskService, serverProperties, new InitialContext());
} catch (NamingException e1) {
e1.printStackTrace();
}
thread = new Thread(server);
thread.start();
The Task client for JMS is as :
public static TaskService getTaskClient() {
Properties clientProperties = new Properties();
clientProperties.setProperty("JMSTaskClient.connectionFactory", "ConnectionFactory");
clientProperties.setProperty("JMSTaskClient.transactedQueue", "true");
clientProperties.setProperty("JMSTaskClient.acknowledgeMode", "AUTO_ACKNOWLEDGE");
clientProperties.setProperty("JMSTaskClient.queueName", "tasksQueue");
clientProperties.setProperty("JMSTaskClient.responseQueueName", "tasksResponseQueue");
TaskService client = null;
try {
client = new SyncTaskServiceWrapper(new TaskClient(new JMSTaskClientConnector( UUID.randomUUID().toString() + "WSThroughJMSHumanTaskHandler" , new JMSTaskClientHandler(
SystemEventListenerFactory.getSystemEventListener()), clientProperties, new InitialContext())));
} catch (NamingException e) {
e.printStackTrace();
}
return client;
}
When I do the TaskSummary look up it works fine.
But when i start the new process instance which having human task it fails.
so which human task work item handler need to use.
I have tried below but does not work
CommandBasedHornetQWSHumanTaskHandler wsHumanTaskHandler = new CommandBasedHornetQWSHumanTaskHandler(knowledgeSession);
wsHumanTaskHandler.setClient(getTaskClientInstance());
wsHumanTaskHandler.setConnection("127.0.0.1", 5445);
knowledgeSession.getWorkItemManager().registerWorkItemHandler("Human Task", wsHumanTaskHandler);
This is CommandBasedHornetQWSHumanTaskHandler deprecated class but I have no clue which one need use.
It is giving following error :
Caused by: java.lang.RuntimeException: Error creating message
at org.jbpm.task.service.jms.JMSTaskClientConnector.write(JMSTaskClientConnector.java:152) [jbpm-human-task-jms-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.TaskClient.registerForEvent(TaskClient.java:623) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.hornetq.CommandBasedHornetQWSHumanTaskHandler.connect(CommandBasedHornetQWSHumanTaskHandler.java:103) [jbpm-human-tas
k-hornetq-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.task.service.hornetq.CommandBasedHornetQWSHumanTaskHandler.executeWorkItem(CommandBasedHornetQWSHumanTaskHandler.java:111) [jbpm-h
uman-task-hornetq-5.4.0.Final.jar:5.4.0.Final]
at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:55) [drools-persistence-jpa-5
.5.0.Final.jar:5.5.0.Final]
at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:126) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
... 42 more
Caused by: java.lang.NullPointerException
at org.jbpm.task.service.jms.JMSTaskClientConnector.write(JMSTaskClientConnector.java:126) [jbpm-human-task-jms-5.4.0.Final.jar:5.4.0.Final]
... 48 more
Please help me ....
Thanks & regards,
-vinayak
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/810199#810199]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months