[JBoss Transactions Development] - Narayana Release Process
by Tom Jenkinson
Tom Jenkinson [https://community.jboss.org/people/tomjenkinson] modified the document:
"Narayana Release Process"
To view the document, visit: https://community.jboss.org/docs/DOC-17433
--------------------------------------------------------------
This page provides a list of instructions that must be done *in order* when doing a release of Narayana.
h2. Check JIRA
1. Check all issues resolved.
2. Create next point release version if not exists - this is so you can push issues in step 3 below.
3. Unresolved issues should be resolved or pushed.
h2. Check Hudson
Ensure no test failures in the group of hudson tests, for the branch you intend to release.
h2. Raise AS7 component upgrade request in Jira
Prepare for a PR to update AS7.
1. https://issues.jboss.org/browse/AS7 https://issues.jboss.org/browse/AS7
2. create a new 'component update' issue.1. Ensure the module is set to 'transactions'
2. select an appropriate 'fix for'.
3. Assign it to yourself.
h2. Do Release
h3. Git Branches (4.17 and 5 only)
Must be done first as the build-release-packages.xml relies on the tag being available
cd $NARAYANA_SRC/scripts
pre-release.sh <next version, e.g: 5.0.0.M3>
h3. Create the AS7 pull request branch and roll the jbosstm/jboss-as branch to next SNAPSHOT (UN-TESTED COMMANDS!!)
BRANCH=4_BRANCH
AS_BRANCH=master
JIRA=AS7-5815
CURRENT=4.17.2.Final
NEXT=4.17.3.Final
git clone git@github.com:jbosstm/jboss-as.git
cd jboss-as
git checkout $BRANCH
git remote add upstream git://github.com/jbossas/jboss-as.git
git pull --rebase --ff-only upstream $AS_BRANCH
sed -i "s/$CURRENT-SNAPSHOT/$CURRENT/g" pom.xml
git commit -am "Upgrade Narayana to $CURRENT"
# should use git merge-base $BRANCH upstream/master
# You will need to resolve som merge conflicts. Most likely around version numbers.
git rebase -i HEAD~10
git checkout -b "${JIRA}_Upgrading_Narayana_to_${CURRENT}"
git checkout $BRANCH
sed -i "s/$CURRENT/$NEXT-SNAPSHOT/g" pom.xml
git commit -am "Upgrade Narayana to $NEXT-SNAPSHOT"
git push origin "${JIRA}_Upgrading_Narayana_to_${CURRENT}"
git push origin $BRANCH
h2. Build and release
h3. blacktie windows binaries
CURRENT=<Version to release. e.g 5.0.0.M2>
On Windows:
rem You need to build the windows version separately as we don't support cross compile
git clone git(a)github.com (mailto:git@github.com):jbosstm/blacktie.git
build.bat install -DskipTests
scp blacktie/target/blacktie-$CURRENT-vc9x32-bin.zip <user>@<ipaddress>:
h3. Narayana upload
CURRENT=<Version to release. e.g 5.0.0.M2>
mkdir -p ~/narayana/filemgmt.jboss.org/
On Linux:
sshfs jbosstm(a)filemgmt.jboss.org (mailto:jbosstm@filemgmt.jboss.org): ~/narayana/filemgmt.jboss.org/
On MacOS:
sshfs -o defer_permissions jbosstm(a)filemgmt.jboss.org (mailto:jbosstm@filemgmt.jboss.org): ~/narayana/filemgmt.jboss.org/
git clone git(a)github.com (mailto:git@github.com):jbosstm/narayana.git
cd narayana
git checkout $CURRENT
On Linux:
ant -f build-release-pkgs.xml dist downloads docs magnolia -Drsync=false
On MacOS:
ant -f build-release-pkgs.xml dist downloads docs magnolia
h3. svn branches
#Make sure your checkout has no local changes
svn update
svn status
POINT_VERSION=5
NEXT_POINT_VERSION=6
#Update the version in text files
find . -name \*.java -o -name \*.xml -o -name \*.properties -o -name \*.ent -o -name \INSTALL -o -name \README | grep -v ".svn" | grep -v target | xargs grep -l "4[._]16" | xargs sed -i "s/4\([._]\)16\([._]\)${POINT_VERSION}\([._]\)Final-SNAPSHOT/4\116\2$POINT_VERSION\3Final/"
svn commit -m "Updated to version 4.16.$POINT_VERSION.Final"
#Tag the release:
svn cp https://svn.jboss.org/repos/labs/labs/jbosstm/branches/JBOSSTS_4_16 https://svn.jboss.org/repos/labs/labs/jbosstm/branches/JBOSSTS_4_16 https://svn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_16_4_Final/ https://svn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_16_${POINT_V... -m "4.16.$POINT_VERSION"
#Bump to next version using similar find to above
find . -name \*.java -o -name \*.xml -o -name \*.properties -o -name \*.ent -o -name \INSTALL -o -name \README | grep -v ".svn" | grep -v target | xargs grep -l "4[._]16" | xargs sed -i "s/4\([._]\)16\([._]\)${POINT_VERSION}\([._]\)Final/4\116\2${NEXT_POINT_VERSION}\3Final-SNAPSHOT/"
svn commit -m "Updated to version 4.16.${NEXT_POINT_VERSION}.Final-SNAPSHOT"
#Update the maven version of jbossts in our fork of JBossAS: https://github.com/jbosstm/jboss-as https://github.com/jbosstm/jboss-as
git checkout 4_16_BRANCH
git pull --rebase --ff-only
#Check no local changes
git status
sed -i "s/4.16.${POINT_VERSION}.Final-SNAPSHOT/4.16.${NEXT_POINT_VERSION}.Final-SNAPSHOT/g" pom.xml
git commit -am "Updated to 4.16.${NEXT_POINT_VERSION}.Final-SNAPSHOT"
git push
#Build and deploy the release to nexus staging:
mkdir ~/filemgmt.jboss.org/
sshfs -o defer_permissions mailto:jbosstm@filemgmt.jboss.org jbosstm(a)filemgmt.jboss.org: ~/filemgmt.jboss.org/
svn switch https://svn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_16_$ https://svn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_16_${NEXT_PO...
ant -f build-release-pkgs.xml dist mvn-repository downloads magnolia
h3.
h2. Release the artifact through Nexus
1. https://repository.jboss.org/nexus/index.html#welcome https://repository.jboss.org/nexus/index.html#welcome
2. login
3. "Staging Repositories"
4. Click tickbox for your repo
5. Click "Close"
6. Don't worry about a description, just click "Close"
7. Click tickbox after it is closed
8. Click "Release"
9. Again a description doesn't matter
h2. Push Upstream
Check that the pull request will work. *If it doesn't and it requires Narayana changes you *have* to rev the version number - DON'T attempt to re-release with the same version number:*
JIRA=AS7-5815
CURRENT=4.17.2.Final
git clone mailto:git@github.com git@github.com:jbosstm/jboss-as.git
cd jboss-as
git checkout "${JIRA}_Upgrading_Narayana_to_${CURRENT}"
rm -rf ~/.m2/repository/org/jboss/jbossts
rm -rf ~/.m2/repository/org/jboss/narayana
./build.sh clean install
1. Raise the pull request using our branch
2. Update http://172.17.131.2/view/Narayana+BlackTie-release/job/release-narayana-A... this job to run our CI over the PR. You need to re-run this every time you change the PR, top make sure it still works.
3. Once merged, resolve the AS7 Jira issue.
4. Once merged, rebase the jbosstm/jboss-as 5_BRANCH|4_BRANCH branch with the updated wildfly master branch
h2. JIRA Release
1. Close all issues for the release
2. Mark as released (Need admin permissions)
h2. Update Website
Update the Narayana community site:
* Login to Magnolia* https://www.jboss.org/author/.magnolia/pages/adminCentral.html https://www.jboss.org/author/.magnolia/pages/adminCentral.html
* Login with credentials: Tom and Paul know these, ask them.
* Documentation* Browse to 'jbosstm/documentation'
* right click on 'downloads' and select 'import'
* browse to the location of the 'website.jbosstm.documentation.4.16.5.Final.xml' file
* Long left click on the file name and replace the '.' with '_'.
* Right click on the new file and click 'move'
* Drag the file to the top of the documentation list.
* Right click on the new page and select 'open page...'
* Check that the page looks right and that the download links work
* Right click on the new page and select 'activate'
* You now need to wait for the page to be moderated before it will appear.
* Downloads* Browse to 'jbosstm/downloads'
* right click on 'downloads' and select 'import'
* browse to the location of the 'website.jbosstm.downloads.4.16.5.Final.xml' file
*
Long left click on the file name and replace the '.' with '_'.
* Right click on the new file and click 'move'
* Drag the file to the top of the downloads list.
* Right click on the new page and select 'open page...'
* Check that the page looks right and that the download links work
* Right click on the new page and select 'activate'
* You now need to wait for the page to be moderated before it will appear.
* Announcement* Right click on 'jbosstm' and select 'open page...'
* Click edit on the 'announcement' pane
* Update the announcement for this release.
* Right click on 'jbosstm' and select 'activate changes'
* You now need to wait for the page to be moderated before it will appear.
* Release notes* Right click on 'jbosstm' and select 'open page...'
* Click edit on the 'getting started' pane on the right-hand-side
* Edit the release notes url to point to the release notes for this version
* Click save
* Right click on 'jbosstm' and select 'activate changes'
* You now need to wait for the page to be moderated before it will appear.
h2. Update CI
Update jobs, to use the new Version (quickstarts, etc). Need a ful list of steps here.
h2. Checked the released Quickstarts
Make sure the released quickstarts run against the released Narayana. Do this by updating this job: http://172.17.131.2/view/Narayana+BlackTie-release/job/release-btny-naray... http://172.17.131.2/view/Narayana+BlackTie-release/job/release-btny-naray...
Need a ful list of steps here.
h2. Promote
NOTE: It is worth waiting for the merge of the pull request before advertising, or at least wait for the merge build notification first ;)
Promote the release through the following channels:
1. Email jbossts-announce(a)lists.jboss.org (mailto:jbossts-announce@lists.jboss.org)
2. Forum
3. Blog: project in (jbtm, blacktie) AND fixversion = "5.0.0.M2" AND priority >= major AND issuetype not in (Bug, task) AND resolution not in ("Duplicate Issue", Rejected, "Won't Fix", "Out of Date", "Cannot Reproduce Bug")
h2. JBoss Transaction SPI
These instructions apply to the maintainance SPI branch:
export CURRENT=7.0.1
export NEXT=7.0.2
git clone mailto:git@github.com git@github.com:jbosstm/jboss-transaction-spi.git
vi pom.xml # remove -SNAPSHOT from $CURRENT
git add pom.xml
git commit -m "Updated to $CURRENT.Final"
git tag $CURRENT
git checkout $CURRENT
mvn deploy
git checkout master
vi pom.xml # change version number to $NEXT.Final-SNAPSHOT
git commit -m "Updated to $NEXT.Final-SNAPSHOT"
git push origin
You then need to go to nexus and release the artifact.
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-17433]
Create a new document in JBoss Transactions Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
11 years, 7 months
[jBPM Development] - Error when creating task on task server for work item id 89. Error reported by task server: Task operation request timed out: java.lang.RuntimeException: Task operation request timed out
by jay zhang
jay zhang [https://community.jboss.org/people/jayzhang] created the discussion
"Error when creating task on task server for work item id 89. Error reported by task server: Task operation request timed out: java.lang.RuntimeException: Task operation request timed out"
To view the discussion, visit: https://community.jboss.org/message/819734#819734
--------------------------------------------------------------
*i use jbpm5 in web application with jboss7.1 , i start the workflow for the first time,it is working, but i start it again ,it is wrong.*
Error when creating task on task server for work item id 89. Error reported by task server: Task operation request timed out: java.lang.RuntimeException: Task operation request timed out.
at org.jbpm.task.service.SyncTaskServiceWrapper.addTask(SyncTaskServiceWrapper.java:118) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.process.workitem.wsht.GenericHTWorkItemHandler.executeWorkItem(GenericHTWorkItemHandler.java:182) [jbpm-human-task-core-5.4.0.Final.jar:5.4.0.Final]
at com.roch.bpm.impl.HumanTaskWorkItemHandler.executeWorkItem(HumanTaskWorkItemHandler.java:23) [classes:]
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]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:279) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:238) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41) [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]
at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:194) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:309) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:170) [jbpm-flow-5.4.0.Final.jar:5.4.0.Final]
at org.drools.common.AbstractWorkingMemory.startProcessInstance(AbstractWorkingMemory.java:1108) [drools-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.impl.StatefulKnowledgeSessionImpl.startProcessInstance(StatefulKnowledgeSessionImpl.java:330) [drools-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.command.runtime.process.StartProcessInstanceCommand.execute(StartProcessInstanceCommand.java:46) [drools-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.command.runtime.process.StartProcessInstanceCommand.execute(StartProcessInstanceCommand.java:25) [drools-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-5.5.0.Final.jar:5.5.0.Final]
at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:373) [drools-persistence-jpa-5.5.0.Final.jar:5.5.0.Final]
at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcessInstance(CommandBasedStatefulKnowledgeSession.java:237) [drools-core-5.5.0.Final.jar:5.5.0.Final]
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819734#819734]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 7 months
[Clustering Development] - fail to call cluster EJB
by freeliuade freeliuade
freeliuade freeliuade [https://community.jboss.org/people/freeliuade] created the discussion
"fail to call cluster EJB"
To view the discussion, visit: https://community.jboss.org/message/819572#819572
--------------------------------------------------------------
Hi, I have a EJB which depends on a sar service, ejb and sar locate on same ear package file.
ejb deployment description as below:
<session>
<ejb-name>DomainServiceBean</ejb-name>
<jndi-name>DomainServiceBean</jndi-name>
*<depends>com.vitria:service=M3OServerApplicationPreconditionStartupService</depends>*
<invoker-bindings>
<invoker>
<invoker-proxy-binding-name>vitria-cluster-invoker</invoker-proxy-binding-name>
</invoker>
</invoker-bindings>
<clustered>true</clustered>
<cluster-config>
<home-load-balance-policy>org.jboss.ha.framework.interfaces.RoundRobin</home-load-balance-policy>
<bean-load-balance-policy>org.jboss.ha.framework.interfaces.RoundRobin</bean-load-balance-policy>
</cluster-config>
<method-attributes>
</method-attributes>
</session>
start jboss, after deploy done (the ejb and sar is visiable in jmx console), using a client to the ejb, while, *the ejb call will be hang*, in jboss thread dump, we can see the ejb call is hang in here:
"WorkerThread#9[10.101.7.125:39387]" prio=5 tid=3238 WAITING
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
EDU.oswego.cs.dl.util.concurrent.Latch.acquire(Latch.java:64)
org.jboss.ha.framework.server.HATarget.invocationsAllowed(HATarget.java:185)
org.jboss.invocation.unified.server.UnifiedInvokerHA.invoke(UnifiedInvokerHA.java:138)
org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:866)
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:608)
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:420)
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:173)
with debug jboss src code, I can see HATarget latch is instantiated, while the latch didn't be released (break point never enter). and from the debug code, there is no listener to listening STARTED notification.
my jboss version is 4.2.2
any
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819572#819572]
Start a new discussion in Clustering Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 7 months
[jBPM Development] - create a ESBServiceWorkItemHandler
by pitstop
pitstop [https://community.jboss.org/people/pitstop] created the discussion
"create a ESBServiceWorkItemHandler"
To view the discussion, visit: https://community.jboss.org/message/819415#819415
--------------------------------------------------------------
Hi all,
I need to create a ESBServiceWorkItemHandler to create a wf task that invokes a service on jbossesb.
I have two different servers. The server one hosts BRMS, the second server hosts SOA-P where there the esb to invoke.
I deployed my WorkItemHandler implementation in business-central-server.war.
When ESBServiceWorkItemHandler is invoked I cannot instanziate the service invoker and this exception is thrown:
17:02:38,437 ERROR [STDERR] org.jboss.soa.esb.listeners.message.MessageDeliverException: Invocation exception. null
17:02:38,438 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:580)
17:02:38,438 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:176)
17:02:38,438 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:157)
17:02:38,438 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.<init>(ServiceInvoker.java:199)
17:02:38,438 ERROR [STDERR] at it.poste.crs.sipac.routing.client.example.ESBServiceWorkItemHandler.getServiceInvoker(ESBServiceWorkItemHandler.java:97)
17:02:38,438 ERROR [STDERR] at it.poste.crs.sipac.routing.client.example.ESBServiceWorkItemHandler.executeWorkItem(ESBServiceWorkItemHandler.java:73)
17:02:38,438 ERROR [STDERR] at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:55)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:107)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:210)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:218)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:100)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:210)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:169)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:49)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:41)
17:02:38,438 ERROR [STDERR] at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
17:02:38,438 ERROR [STDERR] at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
17:02:38,438 ERROR [STDERR] at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:188)
17:02:38,439 ERROR [STDERR] at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:305)
17:02:38,439 ERROR [STDERR] at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:169)
17:02:38,439 ERROR [STDERR] at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:139)
17:02:38,439 ERROR [STDERR] at org.drools.common.AbstractWorkingMemory.startProcess(AbstractWorkingMemory.java:1082)
17:02:38,439 ERROR [STDERR] at org.drools.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:318)
17:02:38,439 ERROR [STDERR] at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:119)
17:02:38,439 ERROR [STDERR] at org.drools.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:38)
17:02:38,439 ERROR [STDERR] at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
17:02:38,439 ERROR [STDERR] at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:360)
17:02:38,439 ERROR [STDERR] at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:223)
17:02:38,439 ERROR [STDERR] at org.jbpm.integration.console.CommandDelegate.startProcess(CommandDelegate.java:120)
17:02:38,439 ERROR [STDERR] at org.jbpm.integration.console.ProcessManagement.newInstance(ProcessManagement.java:88)
17:02:38,439 ERROR [STDERR] at org.jboss.bpm.console.server.FormProcessingFacade.startProcessWithUI(FormProcessingFacade.java:197)
17:02:38,439 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:02:38,439 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:02:38,439 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:02:38,439 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496)
17:02:38,439 ERROR [STDERR] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
17:02:38,440 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
17:02:38,440 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
17:02:38,440 ERROR [STDERR] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
17:02:38,440 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
17:02:38,440 ERROR [STDERR] at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:534)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
17:02:38,440 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
17:02:38,440 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
17:02:38,441 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
17:02:38,441 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
17:02:38,441 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
17:02:38,441 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662)
17:02:38,441 ERROR [STDERR] Caused by: org.jboss.soa.esb.services.registry.RegistryException: Invocation exception. null
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:121)
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.services.registry.RegistryFactory.getRegistry(RegistryFactory.java:86)
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.listeners.RegistryUtil.getEprs(RegistryUtil.java:222)
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.client.ServiceInvoker.loadServiceClusterInfo(ServiceInvoker.java:567)
17:02:38,441 ERROR [STDERR] ... 73 more
17:02:38,441 ERROR [STDERR] Caused by: java.lang.NullPointerException
17:02:38,441 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
17:02:38,441 ERROR [STDERR] at java.lang.Class.forName(Class.java:249)
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.util.ClassUtil.forName(ClassUtil.java:65)
17:02:38,441 ERROR [STDERR] at org.jboss.soa.esb.services.registry.RegistryFactory.createRegistry(RegistryFactory.java:110)
17:02:38,441 ERROR [STDERR] ... 76 more
It seems that is a classpath problem but I have deployed in WEB-INF/lib of business-central-server.war a jar containing the workitemhandler implementation and these files: jbossesb-properties.xml, jndi.properties and META-INF/uddi.xml
In WEB-INF/lib of business-central-server.war there are also the jbossesb-*.jar , juddi-client-*.jar and uddi-ws.*.jar. The other libraries to invoke an external client are deployed under <server-name>/lib
These client with the dependencies described is successfully invoked from my standalone jbds environment. Where is the best place to deploy lib for my esbclient?
Any help is appreciated
thanks
rocco
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/819415#819415]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 7 months