Re: [jboss-user] Switching message store databases: problem with AS 5.1
by samk@twinix.com
See Thread at: http://www.techienuggets.com/Detail?tx=95591 Posted on behalf of a User
<mbean code="org.jboss.jms.server.destination.TopicService"
name="jboss.messaging.destination:service=Topic,name=jachymProgress"
xmbean-dd="xmdesc/Topic-xmbean.xml">
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
You probably don't have PostOffice dependence configured properly? at least this helped me :-)
In Response To:
Daniel Bevenius of the JBoss ESB Group suggest me to post my question in this forum:
I'm trying to switch the message store database from the default hypersonic to oracle.
No problem with AS 4.2.2 (JMQ) and esb 4.6, but with AS 5.1 (JBM) I get this exception:
| 19:06:39,478 ERROR [ExceptionUtil] Queue[null, name=DeadMessageQueue] startService
| java.lang.NullPointerException
| at org.jboss.jms.server.ServerPeer.getPostOfficeInstance(ServerPeer.java:1382)
| at org.jboss.jms.server.destination.DestinationServiceSupport.setMaxSizeForQueues(DestinationServic
| eSupport.java:273)
| at org.jboss.jms.server.destination.DestinationServiceSupport.startService(DestinationServiceSuppor
| t.java:110)
| at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:65)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
| at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja
| va:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
| at $Proxy38.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.
| java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.
| java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleCont
| rollerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContex
| tAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextA
| ctions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:2
| 86)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
| at org.jboss.system.ServiceController.start(ServiceController.java:460)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpl
| eRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:5
| 0)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapte
| r.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployActio
| n.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileA
| ction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfile
| Service.java:361)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(Abstrac
| tProfileService.java:306)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.jav
| a:271)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
| at org.jboss.Main.boot(Main.java:221)
| at org.jboss.Main$1.run(Main.java:556)
| at java.lang.Thread.run(Thread.java:619)
| 19:06:39,480 ERROR [AbstractKernelController] Error installing to Start: name=jboss.esb.destination:
| name=DeadMessageQueue,service=Queue state=Create mode=Manual requiredState=Installed
| java.lang.NullPointerException
| at org.jboss.jms.server.ServerPeer.getPostOfficeInstance(ServerPeer.java:1382)
| at org.jboss.jms.server.destination.DestinationServiceSupport.setMaxSizeForQueues(DestinationServic
| eSupport.java:273)
| at org.jboss.jms.server.destination.DestinationServiceSupport.startService(DestinationServiceSuppor
| t.java:110)
| at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:65)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
| at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja
| va:140)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
| at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
| at $Proxy38.start(Unknown Source)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.
| java:42)
| at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.
| java:37)
| at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleCont
| rollerContextAction.java:62)
| at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContex
| tAction.java:71)
| at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextA
| ctions.java:51)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:2
| 86)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
| at org.jboss.system.ServiceController.start(ServiceController.java:460)
| at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
| at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
| at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpl
| eRealDeployer.java:62)
| at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:5
| 0)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210
| )
| at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapte
| r.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployActio
| n.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileA
| ction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfile
| Service.java:361)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34
| 8)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
| at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(Abstrac
| tProfileService.java:306)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.jav
| a:271)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
| at org.jboss.Main.boot(Main.java:221)
| at org.jboss.Main$1.run(Main.java:556)
| at java.lang.Thread.run(Thread.java:619)
|
Can you help me?
Thank you very much
Stefano
16 years, 7 months
[jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft
by mesa
@kukeltje i am not using alfresco because in view of my problem--- business process if completely different from Document workflow. in my case documents can or can not be part of workflow , i think alfresco supports documents workflow , process flow sits on top of jcr.
@noicangi , i think we both are working on the same problem set. i am using struts2,spring,mysql and jbpm3.3GA and tryint to integrate Jackrabbit with it.
my motivation comes down from the fact that document management solution is tested wih jackrabbit.
@noicangi i am planning to configure service within jbpm context , for example jcr service
and if i am able to get an handle and do all this then perform repository operation then there could be a way forward.
Other option is to use spring module , that is what i have done , but in this case keping a link between process flow and jcr node will come down to a manual db table mapping.
if anyone can suggest something else ..please do the needful
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259287#4259287
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259287
16 years, 7 months
[jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0
by jjp
Hi drivexcite,
Seam 2.2 does not support pageflow with jBPM 4.1, but they are working together.
You can use jBPM 3 and 4 in parallel.
Your exception is because you replaced the jbpm-jpdl.jar, so Seam can not find jBPM3.
So leave this jar file, or disable jBPM for Seam in components.xml by removing
<bpm:jbpm />
I disabled jBPM3 in my application and the server is starting up,
I can use jBPM.
My problem is, that jBPM and Seam are using two different Hibernate sessions,
so I can not store my entities as jBPM variables (jBPM does not recognize my class as entity, so it serialises it as a blob).
I the first post I described my attempt to solve this. It's working,
but some transaction does not commit ... I think I have to take
the warning "Can not join ..." seriously.
In my further investigation I figured out, that jBPM is using
JTA Transactions and my Application uses CMT Transactions.
My knowledge about this is not that good.
I will have to do more analyses.
Best regards,
Joerg
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259281#4259281
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259281
16 years, 7 months
[jBPM Users] - JavaBinding
by theSourpuss
=== Environment ==============================
- jBPM Version : 4.1
- JDK : 1.6
- Spring 2.5 (use the SpringContext and SpringConfiguration file)
=== Problem description =========================
API doesn't work as expected. In JavaBinding for attribute 'class' the 'field' tag is processed as expected. If you use expression attributes (which is a spring bean) in java activities the 'field' tag is not set.
In custom activities it is set correctly. I don't know exactly, but I guess that in CustomBinding and JavaBinding ('class' attribute) the FieldOperation object is invoked correctly, but not invoked with JavaBinding 'expr' attribute.
Thanks for help.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259280#4259280
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259280
16 years, 7 months