[JBoss Web Services] - Using apache cxf.xml with a jax-ws client
by Daniel Cote
Daniel Cote [https://community.jboss.org/people/daniel.cote.qc.ca] created the discussion
"Using apache cxf.xml with a jax-ws client"
To view the discussion, visit: https://community.jboss.org/message/802369#802369
--------------------------------------------------------------
Hi forum,
I'm taking the chance to put here an entry refering to my previous post made on the more general 'Jboss AS 7' community ( https://community.jboss.org/thread/222322 cxf.xml and spring and jbossws-cxf-4.1.1.Final)
Since the topic is really related to the Web service stack, I hope I'll can get back some additional clues...
To summarize:
I my quest to make my webservice client working with a specific configuration, I did upgrate my JBOSS 7.1.1 final with jbossws-cxf-4.1.1.Final.
I did the upgrate using instructions provider in https://community.jboss.org/docs/DOC-13545 https://community.jboss.org/wiki/JBossWS-Installation.
* I'm working with JBOSS 7.1.1 final. I updated the jboss-cxf stack to *jbossws-cxf-4.1.1.Final*, including the installation of spring, using *-Dspring=true option*, which I found is required in order for my cxf.xml file to be recognized by the runtime.
* the declaration of the springs schemas NOT recognized by my current installation. When I shutdowm my network services, I can see the attempt to resolve the schemas failed because the definition, included in the ..jboss-as-7.1.1.Final\modules\org\apache\cxf\impl\main jars file are NOT correctly resolved (hence the fallback on the http).
Ex.:
23:45:47,303 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
23:45:48,270 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/configuration/http-conf.xsd
23:45:48,676 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/wsdl/http-conf.xsd
23:45:48,926 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
...
Are all going through the network instead of using the provided schemas (example: ...jboss-as-7.1.1.Final\modules\org\apache\cxf\impl\main\cxf-rt-transports-http.jar\schemas\configuration\ contains the http-conf.xsd... and the spring.schemas defines the location).
* the namespace handlers, declared in the .jboss-as-7.1.1.Final\modules\org\apache\cxf\impl\main jars file are NOT correctly resolved as we can see in the following trace, where the runtime was unable to locate the *NameSpace handler,* altough this specifc handler is exposed by the jboss-as-7.1.1.Final\modules\org\apache\cxf\impl\main\cxf-rt-transports-http.jar\META-INF\spring.handlers
08:42:20,168 INFO (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusApplicationContext.prepareRefresh Refreshing org.apache.cxf.bus.spring.BusApplicationContext@31906846: startup date [Wed Mar 13 08:42:20 EDT 2013]; root of context hierarchy
08:42:20,184 INFO (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources Loaded configuration file cxf.xml.
08:42:20,184 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusApplicationContext.getConfigResources Creating application context with resources: [class path resource [META-INF/cxf/cxf.xml], class path resource [cxf.xml]]
08:42:20,184 INFO (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
08:42:20,184 INFO (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.ControlledValidationXmlBeanDefinitionReader.loadBeanDefinitions Loading XML bean definitions from class path resource [cxf.xml]
08:42:20,184 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
08:42:20,932 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/configuration/http-conf.xsd
08:42:21,307 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/wsdl/http-conf.xsd
08:42:21,556 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://schemas.xmlsoap.org/wsdl/2003-02-11.xsd
08:42:22,134 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/configuration/parameterized-types.xsd
08:42:22,258 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/configuration/security.xsd
08:42:22,383 FINE (http-localhost-127.0.0.1-8080-1) org.apache.cxf.bus.spring.BusEntityResolver.resolveEntity Attempting to resolve systemId http://cxf.apache.org/schemas/configuration/cxf-beans.xsd
08:42:22,524 WARN (http-localhost-127.0.0.1-8080-1) org.jboss.ws.cxf.createApplicationContext JBWS024027: Spring initial application context creation failed using classloader org.jboss.ws.common.utils.DelegateClassLoader@719b072f, will try again after having switched the current thread context classloader to ModuleClassLoader for Module "org.apache.cxf.impl:main" from local module loader @7b41aa25 (roots: C:\AppServer\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\modules): org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: U*nable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/transports/http/configuration]*
*Offending resource: class path resource [cxf.xml]*
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) [spring-beans.jar:3.0.7.RELEASE]
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) [spring-beans.jar:3.0.7.RELEASE]
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80) [spring-beans.jar:3.0.7.RELEASE]
at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:284) [spring-beans.jar:3.0.7.RELEASE]
...
* Those inabilities to resolve the NamespaceHandler and the provided schemas seems to indicate a problem of classloading, which is very difficult (for me) to diagnose.
* I followed some suggestions regarding the use of EAR\META-INF\jboss-deployment-structure.xml, but none resolved the classloading problems. I tried the followings
jboss-deployment-structure.xml with no dependencies, except the ones required by my application (oracle driver, configuration parameters)
jboss-deployment-structure.xml with:
<module name="org.apache.cxf" export="true">
<imports>
<include path="META-INF**"/>
<include path="org**"/>
</imports>
</module>
jboss-deployment-structure.xml with:
<module name="org.apache.cxf" export="true">
<imports>
<include path="META-INF**"/>
<include path="org**"/>
</imports>
</module>
jboss-deployment-structure.xml with:
<module name="org.springframework.spring" export="true">
<imports>
<include path="META-INF**"/>
<include path="org**"/>
</imports>
</module>
<module name="org.apache.cxf" export="true">
<imports>
<include path="META-INF**"/>
<include path="org**"/>
</imports>
</module>
jboss-deployment-structure.xml with:
<module name="org.jboss.ws.cxf.jbossws-cxf-client" export="true">
</module>
(this one did NOT retrieve my cxf.xml configuration file...)
* Until now, I worked a lot to make thinks working using only a configuration file and the JAX-WS api, but if I cannot resolve this issue, I will have to fall back on using the CXF api directly
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/802369#802369]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[jBPM] - Cannot get jBPM global variables to work
by Andy McC
Andy McC [https://community.jboss.org/people/andymcc] created the discussion
"Cannot get jBPM global variables to work"
To view the discussion, visit: https://community.jboss.org/message/816964#816964
--------------------------------------------------------------
I'm trying to set up some globals that will be visible across all of my processes.
To test it I've created the attached diagram (TestGlobal.bpmn2) which
* defines a single global string variable (globVar)
* tries to set it using a script task and the command kcontext.getKnowledgeRuntime().setGlobal("globVar", "a value") (as stated in the manual).
* tries to display it using kcontext.getKnowledgeRuntime().getGlobal("globVar").
The process compiles but when I run it from gwt-console but it throws a runtime error with the following text (full extract in error_message.txt, attached):
* +org.jbpm.workflow.instance.WorkflowRuntimeException: [defaultPackage.TestGlobal:69 - Set global:2] -- unable to execute Action: Unexpected global [globVar]+
This suggests that it is not sufficient to declare globVar as a global at the process level.
In an earlier effort, the display task simply tried to print the value of globVar to the log using System.out.println("Global variable:" + globVar) but this version did not even compile, complaining that globVar did not resolve to a type.
So far as I can tell I've worked in accordance with the manual - but realise there may be a key step I've missed.
Can anyone help?
Thanks
Andy McC
My config: jBPM-5.4.0.Final, Windows 7 and 8, working via drools-guvnor and jbpm-console (not eclipse)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/816964#816964]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Datasource Configuration] - Jboss 7.1.3.Final (eap 6.0.1) javax.resource.ResourceException: IJ000459: Transaction is not active
by ANAND KUMAR GEORGE PREM KUMAR
ANAND KUMAR GEORGE PREM KUMAR [https://community.jboss.org/people/georgesg] created the discussion
"Jboss 7.1.3.Final (eap 6.0.1) javax.resource.ResourceException: IJ000459: Transaction is not active"
To view the discussion, visit: https://community.jboss.org/message/816716#816716
--------------------------------------------------------------
I am trying to migrate applications using ejb2.1 from jboss 4.3 to Jboss 7.1.3. final. We are using Oracle 10g database and ojdbc6.jar as oracle driver. Attached is my standalone-full.xml and complete console logs for your reference. I am getting the below exception when the EJB tries to get database connection though jboss connection pool
15:35:47,337 ERROR [stderr] (Thread-123) java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction
15:35:47,337 ERROR [stderr] (Thread-123) at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:147)
15:35:47,337 ERROR [stderr] (Thread-123) at com.cassis.cx.base.JDBCPersistenceManagerBase.getConnection(JDBCPersistenceManagerBase.java:211)
15:35:47,337 ERROR [stderr] (Thread-123) at com.cassis.cx.job.JobJDBCMgr.updateWithActiveJob(JobJDBCMgr.java:318)
15:35:47,337 ERROR [stderr] (Thread-123) at com.cassis.cx.job.Job_Bean.ejbPassivate(Job_Bean.java:84)
15:35:47,337 ERROR [stderr] (Thread-123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:35:47,338 ERROR [stderr] (Thread-123) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
15:35:47,338 ERROR [stderr] (Thread-123) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
15:35:47,338 ERROR [stderr] (Thread-123) at java.lang.reflect.Method.invoke(Method.java:597)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.InvokeMethodOnTargetInterceptor.processInvocation(InvokeMethodOnTargetInterceptor.java:57)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
15:35:47,338 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.passivate(EntityBeanComponentInstance.java:200)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.entity.entitycache.ReferenceCountingEntityCache.release(ReferenceCountingEntityCache.java:109)
15:35:47,339 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanEjbCreateMethodInterceptorFactory$1$1.afterCompletion(EntityBeanEjbCreateMethodInterceptorFactory.java:115)
15:35:47,339 ERROR [stderr] (Thread-123) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)
15:35:47,339 ERROR [stderr] (Thread-123) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402)
15:35:47,339 ERROR [stderr] (Thread-123) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:103)
15:35:47,340 ERROR [stderr] (Thread-123) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
15:35:47,340 ERROR [stderr] (Thread-123) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
15:35:47,340 ERROR [stderr] (Thread-123) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
15:35:47,340 ERROR [stderr] (Thread-123) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
15:35:47,340 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:90)
15:35:47,340 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230)
15:35:47,340 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:302)
15:35:47,340 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:188)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89)
15:35:47,341 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
15:35:47,342 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181)
15:35:47,343 ERROR [stderr] (Thread-123) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
15:35:47,343 ERROR [stderr] (Thread-123) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
15:35:47,343 ERROR [stderr] (Thread-123) at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
15:35:47,343 ERROR [stderr] (Thread-123) at com.cassis.cx.base.Dispatcher_Local$$$view75.dispatch(Unknown Source)
15:35:47,343 ERROR [stderr] (Thread-123) at com.cassis.cx.dcrypto.EJBMobilematrixSystemMessageHandlerContext.dispatch(EJBMobilematrixSystemMessageHandlerContext.java:60)
15:35:47,343 ERROR [stderr] (Thread-123) at com.cassis.dcrypto.MobilematrixSystemMessageHandler.dispatch(MobilematrixSystemMessageHandler.java:318)
15:35:47,343 ERROR [stderr] (Thread-123) at com.cassis.dcrypto.MobilematrixSystemMessageHandler.receiveMessage(MobilematrixSystemMessageHandler.java:139)
15:35:47,343 ERROR [stderr] (Thread-123) at com.cassis.membership.MemberMessageChannel$Receiver.run(MemberMessageChannel.java:1436)
15:35:47,344 ERROR [stderr] (Thread-123) Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction
15:35:47,344 ERROR [stderr] (Thread-123) at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)
15:35:47,344 ERROR [stderr] (Thread-123) at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)
15:35:47,344 ERROR [stderr] (Thread-123) at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139)
15:35:47,344 ERROR [stderr] (Thread-123) ... 56 more
15:35:47,345 ERROR [stderr] (Thread-123) Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffff0a4109f0:5b1fa7c8:518a0041:70 status: ActionStatus.COMMITTED >
15:35:47,345 ERROR [stderr] (Thread-123) at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)
15:35:47,345 ERROR [stderr] (Thread-123) ... 58 more
15:35:47,345 WARN [com.arjuna.ats.jta] (Thread-123) ARJUNA016029: SynchronizationImple.afterCompletion - failed for org.jboss.as.ejb3.component.entity.interceptors.EntityBeanEjbCreateMethodInterceptorFactory$1$1@e71207 with exception: javax.ejb.EJBException: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction
at com.cassis.cx.base.JDBCPersistenceManagerBase.getConnection(JDBCPersistenceManagerBase.java:218) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
at com.cassis.cx.job.JobJDBCMgr.updateWithActiveJob(JobJDBCMgr.java:318) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
at com.cassis.cx.job.Job_Bean.ejbPassivate(Job_Bean.java:84) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_29]
at org.jboss.as.ejb3.component.InvokeMethodOnTargetInterceptor.processInvocation(InvokeMethodOnTargetInterceptor.java:57) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.passivate(EntityBeanComponentInstance.java:200) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ejb3.component.entity.entitycache.ReferenceCountingEntityCache.release(ReferenceCountingEntityCache.java:109) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanEjbCreateMethodInterceptorFactory$1$1.afterCompletion(EntityBeanEjbCreateMethodInterceptorFactory.java:115) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:402)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:103)
at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
at org.jboss.as.ejb3.tx.CMTTxInterceptor.endTransaction(CMTTxInterceptor.java:90) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:302) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:188) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:42) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:181) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final-redhat-2.jar:1.1.1.Final-redhat-2]
at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]
at com.cassis.cx.base.Dispatcher_Local$$$view75.dispatch(Unknown Source) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
at com.cassis.cx.dcrypto.EJBMobilematrixSystemMessageHandlerContext.dispatch(EJBMobilematrixSystemMessageHandlerContext.java:60) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
at com.cassis.dcrypto.MobilematrixSystemMessageHandler.dispatch(MobilematrixSystemMessageHandler.java:318) [mmtx_base-1.0.0-SNAPSHOT.jar:]
at com.cassis.dcrypto.MobilematrixSystemMessageHandler.receiveMessage(MobilematrixSystemMessageHandler.java:139) [mmtx_base-1.0.0-SNAPSHOT.jar:]
at com.cassis.membership.MemberMessageChannel$Receiver.run(MemberMessageChannel.java:1436) [mmtx_base-1.0.0-SNAPSHOT.jar:]
Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000460: Error checking for a transaction
at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:147) [ironjacamar-jdbc-1.0.13.Final-redhat-1.jar:1.0.13.Final-redhat-1]
at com.cassis.cx.base.JDBCPersistenceManagerBase.getConnection(JDBCPersistenceManagerBase.java:211) [MobileMatrixCX-1.0.0-SNAPSHOT.jar:]
... 55 more
Caused by: javax.resource.ResourceException: IJ000460: Error checking for a transaction
at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:362)
at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)
at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:139) [ironjacamar-jdbc-1.0.13.Final-redhat-1.jar:1.0.13.Final-redhat-1]
... 56 more
Caused by: javax.resource.ResourceException: IJ000459: Transaction is not active: tx=TransactionImple < ac, BasicAction: 0:ffff0a4109f0:5b1fa7c8:518a0041:70 status: ActionStatus.COMMITTED >
at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:352)
... 58 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/816716#816716]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months
[Datasource Configuration] - [JBoss-7.1.1.Final] xa-datasource-property bug?
by Rudolf S
Rudolf S [https://community.jboss.org/people/Diamantregen] created the discussion
"[JBoss-7.1.1.Final] xa-datasource-property bug?"
To view the discussion, visit: https://community.jboss.org/message/732603#732603
--------------------------------------------------------------
Hello,
I found that when the following is set in the standalone.xml of JBoss-7.1.1.Final, it will have a fatal error:
<xa-datasource....>
....
*<xa-datasource-property name="ConnectionProperties">SetBigStringTryClob=true</xa-datasource-property>*
....
</xa-datasource>
The error is:
Caused by: javax.resource.ResourceException: No property editor found for type: class java.util.Properties
at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:601)
at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:430)
When I don't define the SetBigStringTryClob setting, all is fine. However, the SetBigStringTryClob is really important for the application to work correctly.
Maybe this a bug? It worked without problems in JBoss 4.2.3. Is there any workaround? Please help, thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/732603#732603]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 11 months