[Datasource Configuration] - Connection pool problem jboss 5.1 + hibernate oracle 11.2.3.0 DB, Hibernate 3.3.2.GA
by shirish maurya
shirish maurya [https://community.jboss.org/people/shirishmaurya] created the discussion
"Connection pool problem jboss 5.1 + hibernate oracle 11.2.3.0 DB,Hibernate 3.3.2.GA"
To view the discussion, visit: https://community.jboss.org/message/742128#742128
--------------------------------------------------------------
issue with connection management for jboss 5.1 + hibernate, my hibrenate uses jndi name define for connection pooling,
below is the hibernate configuration
03:29:45,068 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
03:29:45,068 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
03:29:45,070 INFO [SettingsFactory] Scrollable result sets: enabled
03:29:45,070 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
03:29:45,071 INFO [SettingsFactory] Connection release mode: auto
03:29:45,072 INFO [SettingsFactory] Default batch fetch size: 4
03:29:45,072 INFO [SettingsFactory] Generate SQL with comments: disabled
03:29:45,072 INFO [SettingsFactory] Order SQL updates by primary key: disabled
03:29:45,073 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
03:29:45,078 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
03:29:45,079 INFO [SettingsFactory] Query language substitutions: {}
03:29:45,079 INFO [SettingsFactory] JPA-QL strict compliance: disabled
03:29:45,079 INFO [SettingsFactory] Second-level cache: disabled
03:29:45,079 INFO [SettingsFactory] Query cache: disabled
03:29:45,079 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
03:29:45,079 INFO [SettingsFactory] Structured second-level cache entries: disabled
03:29:45,092 INFO [SettingsFactory] Statistics: disabled
i have also made a connection release mode to on close and track transation track statement but no where it helps
ds file config
min-pool-size>8</min-pool-size>
<max-pool-size>100</max-pool-size>
<blocking-timeout-millis>50000</blocking-timeout-millis>
<use-strict-min>true</use-strict-min>
<track-statements>true</track-statements>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle11g</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
after certain duration of time say 30 mins the connection problem arises, this happens as i increase the concuurent users. the connection are getting closed out from the code.
also i see a lot of inactive session at DB end increase duration the test period.
org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:126)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:114)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1577)
at org.hibernate.loader.Loader.doQuery(Loader.java:696)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
at org.hibernate.loader.Loader.loadCollectionBatch(Loader.java:2057)
at org.hibernate.loader.collection.BatchingCollectionInitializer.initialize(BatchingCollectionInitializer.java:70)
at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:587)
at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventL
istener.java:83)
at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1744)
at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:366)
at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:108)
at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:272)
Caused by: org.jboss.util.NestedSQLException: Unable to get managed connection for jdbc/mya/bonusPool; - nested throwable: (javax.re
source.ResourceException: Unable to get managed connection for jdbc/mya/bonusPool)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java
:82)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
... 84 more
Caused by: javax.resource.ResourceException: Unable to get managed connection for jdbc/mya/bonusPool
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:441)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:424)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManag
er2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
... 86 more
Caused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 50000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:311)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:69
0)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404)
... 90 more
is there any particular setting i m missing for hibernate or jboss.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/742128#742128]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[JBoss Messaging] - Integaration of Websphere Mq with jboss
by Deepa Ram
Deepa Ram [https://community.jboss.org/people/deepaa] created the document:
"Integaration of Websphere Mq with jboss"
To view the document, visit: https://community.jboss.org/docs/DOC-18561
--------------------------------------------------------------
Can anyone help me in integrating websphere MQ version 7 with Jboss 5.1 GA.
there are various specifications provided in differnet links which doesnot lead to the correct solution.
Please help.
\
The application uses two local queues and two remove queues
I have two ear's in my application. I have placed the ear's in the deploy directory.
I have modified the destinationservice.xml adding all the queues configurations in it.
I have added the connection factories in the connetion-factories-service.xml.
When i deploy the ear i face the below error.
2012-02-20 06:29:07,386 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.j2ee:binding=message-driven-bean,jndiName=local/MsgProcessorMDB@11763675,plugin=invoker,service=EJB state=Create mode=Manual requiredState=Installed
org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='jms-ra.rar' messaging-type=javax.jms.MessageListener properties={}
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:454)
at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.startService(JBossMessageEndpointFactory.java:198)
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.server.Invocation.invoke(Invocation.java:88)
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(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:267)
at org.jboss.ejb.MessageDrivenContainer.startService(MessageDrivenContainer.java:277)
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.server.Invocation.invoke(Invocation.java:88)
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(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy263.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:511)
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.server.Invocation.invoke(Invocation.java:88)
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(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
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(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
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:348)
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(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
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(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java: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)
Caused by: org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@f00513[name=destination descriptions=[DescriptionMetaData@b2311b[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(providerAdapterJNDI=DefaultJMSProvider), ActivationConfigProperty(destinationType=javax.jms.Queue), ActivationConfigProperty(DLQJNDIName=queue/DLQ), ActivationConfigProperty(minSession=1), ActivationConfigProperty(subscriptionDurability=NonDurable), ActivationConfigProperty(acknowledgeMode=AUTO_ACKNOWLEDGE), ActivationConfigProperty(maxSession=15), ActivationConfigProperty(keepAlive=30000), ActivationConfigProperty(maxMessages=1), ActivationConfigProperty(useDLQ=true), ActivationConfigProperty(DLQMaxResent=10)] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95)
at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:313)
at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)
at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:449)
... 142 more
2012-02-20 06:29:07,479 INFO [org.jboss.ejb.EjbModule] (main) Deploying JacadaStartUp
2012-02-20 06:29:07,479 WARN [org.jboss.ejb.EjbModule] (main) EJB configured to bypass security. Please verify if this is intended. Bean=JacadaStartUp Deployment=vfszip:/D:/WSpace/jboss-5.1.0.GA/server/default/deploy/broker-mdb-ws-rad.ear/jacada-startupbean.jar/
2012-02-20 06:29:07,511 INFO [org.jboss.proxy.ejb.ProxyFactory] (main) Bound EJB Home 'JacadaStartUp' to jndi 'JacadaStartUp'
2012-02-20 06:29:07,526 INFO [org.jboss.ejb.EjbModule] (main) Deploying CICSSessionPoolEJB
2012-02-20 06:29:07,526 WARN [org.jboss.ejb.EjbModule] (main) EJB configured to bypass security. Please verify if this is intended. Bean=CICSSessionPoolEJB Deployment=vfszip:/D:/WSpace/jboss-5.1.0.GA/server/default/deploy/broker-mdb-ws-rad.ear/was-cicscessionpool-ejb.jar/
2012-02-20 06:29:07,573 INFO [org.jboss.proxy.ejb.ProxyFactory] (main) Bound EJB Home 'CICSSessionPoolEJB' to jndi 'CICSSessionPoolEJB'
2012-02-20 06:29:07,761 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/WebServiceProject
2012-02-20 06:29:09,761 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/hdweb
2012-02-20 06:29:10,651 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS IN ERROR:
Deployment "jboss.j2ee:binding=message-driven-bean,jndiName=local/MsgProcessorMDB@11763675,plugin=invoker,service=EJB" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@f00513[name=destination descriptions=[DescriptionMetaData@b2311b[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(providerAdapterJNDI=DefaultJMSProvider), ActivationConfigProperty(destinationType=javax.jms.Queue), ActivationConfigProperty(DLQJNDIName=queue/DLQ), ActivationConfigProperty(minSession=1), ActivationConfigProperty(subscriptionDurability=NonDurable), ActivationConfigProperty(acknowledgeMode=AUTO_ACKNOWLEDGE), ActivationConfigProperty(maxSession=15), ActivationConfigProperty(keepAlive=30000), ActivationConfigProperty(maxMessages=1), ActivationConfigProperty(useDLQ=true), ActivationConfigProperty(DLQMaxResent=10)] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
can anyone help with this issue.
Is it possible to integrate websphere mq with jboss?
Can any one help me out with this issue?
This article was generated from the following discussion: Not authorized to view the specified discussion 194923
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18561]
Create a new document in JBoss Messaging at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years
[jBPM] - My issue with Task Service
by Bhaskaran Venkataraman
Bhaskaran Venkataraman [https://community.jboss.org/people/bhaskarven] created the discussion
"My issue with Task Service"
To view the discussion, visit: https://community.jboss.org/message/740082#740082
--------------------------------------------------------------
I have a simple workflow having a script task, 2 human tasks in succession and then finally another script task.
Each of the human tasks have a form to be displayed and an approve button. I initially tried the basic process
without my own task client. It worked but when the actor for the second human task approved the form it came up
with the following error message. The actor for the first human task is krisv and when he approved the form it went OK.
But when the actor of the second human task which is john tried to approve his form it gave this exception about krisv
which did not make any sense he is not at all involved with the second human task.
org.jboss.resteasy.spi.UnhandledException: org.jbpm.task.service.PermissionDeniedException: Server-side Exception: User '[User:'krisv']' does not have permissions to execution operation 'Start' on task id 5
| | <potentialOwner> |
| | <resourceAssignmentExpression> |
| | <formalExpression>krisv</formalExpression> |
| | </resourceAssignmentExpression> |
| | </potentialOwner> |
| | <potentialOwner> |
| | <resourceAssignmentExpression> |
| | <formalExpression>john</formalExpression> |
| | </resourceAssignmentExpression> |
| | </potentialOwner> |
Then I tried creating a Mina task client and processing the task in code. I can get the task, claim, start and complete it.
But then how do I view the forms and approve it. I have to go back to the JBPM console. Even the human task panel
in eclipse only allows to start and complete the task. It does not allow to view the forms.
Then I thought let me get the task and claim it in code and do the rest in the JBPM console. I thought the Blocking calls
will help me do this. But this did not work either. Since the code was consecutive it successively claimed the respective
tasks for krisv and john. The blocking call did not wait for me complete the operation for krisv through the JBPM console.
I am using JBPM5.2. Eclipse Helios SR2, JBoss App Server 7 and I am using the Mina Task Server created by the ant script.
I have my main process when loads the knowledge base, creates the session, registers the human task handler and starts
the process. I have my mina client process which creates the Mina task client and does the processing of the tasks.
Your suggestions will be greatly appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/740082#740082]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years
[JNDI and Naming] - JNDI "failed to create url injector" in Web Application Deployment
by Chris DeMaio
Chris DeMaio [https://community.jboss.org/people/cdemaio] created the discussion
"JNDI "failed to create url injector" in Web Application Deployment"
To view the discussion, visit: https://community.jboss.org/message/742096#742096
--------------------------------------------------------------
Greetings,
We're attempting to migrate from JBoss 4.0.2 to 5.0.1 and are in the process of testing out our deployments, which are in this case separate web applications (portlets). Prior to deploying the webapp, I've placed the dependant datasource configuration and DBCP configurations in our /deploy directory. On startup in the logs, I can see that the JNDI datasource should be available:
{code}12:36:35,264 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=dataSourceRT' to JNDI name 'java:dataSourceRT'{code}
and confirmed that by looking in the JMX-console under the Global JNDI Namespace section:
{code}
+- relayhealth (class: org.jnp.interfaces.NamingContext)
| +- dataSourceRTE (class: java.net.URL){code}
{code}
The web application's web.xml and jboss-web.xml are attached as well, but the JNDI lookup portions for each are:
*web.xml:*
{code:xml}
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
" http://java.sun.com/dtd/web-app_2_3.dtd http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>cpid</display-name>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>com.relayhealth.ch.cc.cpid</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.properties</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/context/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.WebAppRootListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>ViewRendererServlet</servlet-name>
<servlet-class>org.springframework.web.servlet.ViewRendererServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>ViewRendererServlet</servlet-name>
<url-pattern>/WEB-INF/servlet/view</url-pattern>
</servlet-mapping>
<taglib>
<taglib-uri> http://java.sun.com/jsp/jstl/core http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tags/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri> http://java.sun.com/jsp/jstl/fmt http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tags/fmt.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri> http://java.sun.com/jsp/jstl/functions http://java.sun.com/jsp/jstl/functions</taglib-uri>
<taglib-location>/WEB-INF/tags/fn.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri> http://www.springframework.org/tags http://www.springframework.org/tags</taglib-uri>
<taglib-location>/WEB-INF/tags/spring.tld</taglib-location>
</taglib>
<!-- JNDI Config Lookups -->
<resource-ref>
<description>dataSourceRT URL</description>
<res-ref-name>relayhealth/dataSourceRT</res-ref-name>
<res-type>java.net.URL</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>dataSourceFE URL</description>
<res-ref-name>relayhealth/dataSourceFE</res-ref-name>
<res-type>java.net.URL</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<!-- JNDI Data Sources -->
<resource-ref>
<description>dataSourceRT URL</description>
<res-ref-name>jdbc/dataSourceRT</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>dataSourceFE URL</description>
<res-ref-name>jdbc/dataSourceFE</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
{code:xml}
*jboss-web.xml:*
{code:xml}
<jboss-web>
<context-root>cpidPortlet</context-root>
<!-- JNDI Config Lookups -->
<resource-ref>
<res-ref-name>relayhealth/dataSourceRT</res-ref-name>
<res-type>java.net.URL</res-type>
<jndi-name>relayhealth/dataSourceRT</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>relayhealth/dataSourceFE</res-ref-name>
<res-type>java.net.URL</res-type>
<jndi-name>relayhealth/dataSourceFE</jndi-name>
</resource-ref>
<!-- JNDI Data Sources -->
<resource-ref>
<res-ref-name>jdbc/dataSourceRT</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/dataSourceRT</jndi-name>
</resource-ref>
<resource-ref>
<res-ref-name>jdbc/dataSourceFE</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<jndi-name>java:/dataSourceFE</jndi-name>
</resource-ref>
</jboss-web>
{code:xml}
When the application is deployed, in the logs we get:
{code}
2012-06-15 14:10:17,967 [HDScanner] ERROR org.apache.catalina.core.StandardContext - Context [/cpidPortlet] startup failed due to previous errors
java.lang.RuntimeException: failed to create url injector for: env/relayhealth/dataSourceRT
at org.jboss.web.tomcat.service.injection.WebResourceHandler.createURLInjector(WebResourceHandler.java:101)
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlResourceRefs(WebResourceHandler.java:184)
at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(WebResourceHandler.java:327)
at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:564)
at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158)
..
Caused by: java.net.MalformedURLException: no protocol: relayhealth/dataSourceRT
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.jboss.web.tomcat.service.injection.WebResourceHandler.createURLInjector(WebResourceHandler.java:96)
{code}
I'm assuming it has to do with something with the web.xml and/or the jboss-web files in the deployment, but no combinations of changes I've made so far seem to resolve this.
Any ideas on what would be causing this would be very helpful.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/742096#742096]
Start a new discussion in JNDI and Naming at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years