[JBoss Web Services] - calling Web Service Method Through wsdl
by Sunil Kunwar
Sunil Kunwar [https://community.jboss.org/people/suniel] created the discussion
"calling Web Service Method Through wsdl"
To view the discussion, visit: https://community.jboss.org/message/823569#823569
--------------------------------------------------------------
I have a web application which calls the web service methods through wsdl. The wsdl url is successfully browsed through web browser but get following exception while calling webservice through web application deployed in jboss server.
Stacktrace:
Org. apache. jasper. servlet. JspServletWrapper. handleJspException (JspServletWrapper.java: 504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 403: Forbidden
com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)
com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
com.sun.xml.ws.client.Stub.process(Stub.java:319)
com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
Thanks In Advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/823569#823569]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[Beginner's Corner] - Hibernate search with JPA query intersection
by iliax iliax
iliax iliax [https://community.jboss.org/people/iliax] created the discussion
"Hibernate search with JPA query intersection"
To view the discussion, visit: https://community.jboss.org/message/823533#823533
--------------------------------------------------------------
Hi everyone!
I am using hibernate 4 as JPA provider in Jboss AS 7.2. Today i enabled hiberante search module and it just works fine. I planned to use fulltext search in some kind of filter(I used Criteria API for that before). Now I want to combine Criteria query with hib-search query, but the problem is that i have maxResult and pagination(and other) restrictions in criteria query and a dont know how to combine this with hib-search(or lucene) query, that returns all entities which rows matches tha search patterns?
I know, that there is a FullTextQuery.setCriteriaQuery(), but I'm not sure that it does want and it looks for Hibernatequery, not JPA.
So, my question is how to combine hib-search(lucene) query with criteria api query?
thank's a lot!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/823533#823533]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[Javassist] - User Disconnected Several Times per day problem
by John Foster
John Foster [https://community.jboss.org/people/jmfoster68] created the discussion
"User Disconnected Several Times per day problem"
To view the discussion, visit: https://community.jboss.org/message/823495#823495
--------------------------------------------------------------
I have a user that gets disconnected from the server several times per day.
It does not appear that her internet connection is dropping, only the connection to jboss.
Could someone please review this error log and suggest a solution. The program is simply a client on her desktop which accesses the server at 192.168.1.36 to run our dispatch software.
log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation).
log4j:WARN Please initialize the log4j system properly.
select * from company where id ='TMS'
Execution time: 00:00:02
select * from users where users.company_id = 'TMS'
Execution time: 00:00:02
select * from user_menu_toolbar where user_menu_toolbar.company_id = 'TMS' and menu_item_id ='LoadMaster Enterprise Main Menu'
and user_id ='cmorgan' order by sequence
Execution time: 00:00:04
select * from dispatch_control where dispatch_control.company_id = 'TMS' and id =1
Execution time: 00:00:02
select * from planning_profile where planning_profile.company_id = 'TMS' and id ='TANKS'
Execution time: 00:00:01
select * from user_list_default where user_list_default.company_id = 'TMS' and user_id ='cmorgan' and
grid_name ='Available Orders'
Execution time: 00:00:01
select * from list_config where list_config.company_id = 'TMS' and grid_name ='Available Orders' and config_name
='Cassie' order by sequence
Execution time: 00:00:01
select * from user_list_default where user_list_default.company_id = 'TMS' and user_id ='cmorgan' and
grid_name ='TractorPlanning'
Execution time: 00:00:01
select * from list_config where list_config.company_id = 'TMS' and grid_name ='TractorPlanning' and config_name
='Chads Book 2' order by sequence
Execution time: 00:00:01
select * from user_list_default where user_list_default.company_id = 'TMS' and user_id ='cmorgan' and
grid_name ='TractorPlanning'
Execution time: 00:00:01
select * from list_config where list_config.company_id = 'TMS' and grid_name ='TractorPlanning' and config_name
='Chads Book 2' order by sequence
Execution time: 00:00:01
select * from movement where movement.company_id = 'TMS' and id ='121066'
Execution time: 00:00:03
select name, field_name from fieldinfo ,tableinfo where data_type = 'date' and status = 'C' and (fieldinfo.table_name
= tableinfo.name or fieldinfo.table_name = (select name from tableinfo t where tableinfo.duplicate_of_table
= t.name))
Execution time: 00:00:175
select * from users where users.company_id = 'TMS' and id ='cmorgan'
Execution time: 00:00:01
select * from distance_control where distance_control.company_id = 'TMS' and id =1
Execution time: 00:00:01
select * from user_list_default where user_list_default.company_id = 'TMS' and user_id ='cmorgan' and
grid_name ='dispatch_status'
Execution time: 00:00:01
select * from list_config where list_config.company_id = 'TMS' and grid_name ='dispatch_status' and config_name
='Default' order by sequence
Execution time: 00:00:01
select * from fuel_price where fuel_price.company_id = 'TMS' order by price_date desc
Execution time: 00:00:04
select * from pnn_control where pnn_control.company_id = 'TMS' and id =1
Execution time: 00:00:01
True costing permission=false
select * from mc_control where mc_control.company_id = 'TMS'
Execution time: 00:00:01
select * from seg_alloc_control where seg_alloc_control.company_id = 'TMS' and id =1
Execution time: 00:00:01
select * from dspopt_control where dspopt_control.company_id = 'TMS' and id =1
Execution time: 00:00:01
select * from movement_order where movement_order.company_id = 'TMS' and movement_id ='121066' order by
movement_id,movement_order.sequence
Execution time: 00:00:01
select * from orders where orders.company_id = 'TMS' and id ='1040897'
Execution time: 00:00:02
select * from currency_type
Execution time: 00:00:01
select * from customer where customer.company_id = 'TMS' and id ='0065'
Execution time: 00:00:02
select * from equipment_type where equipment_type.company_id = 'TMS'
Execution time: 00:00:01
select stop.* from stop where stop.company_id = 'TMS' and order_id = '1040897' order by order_id, order_sequence
Execution time: 00:00:01
select * from zones where zones.company_id = 'TMS'
Execution time: 00:00:01
select * from stop_note where stop_note.company_id = 'TMS' and stop_id = 'Heathe13681035784191368133963216'
order by sequence
Execution time: 00:00:01
select * from reference_number where reference_number.company_id = 'TMS' and stop_id = 'Heathe13681035784191368133963216'
order by stop_id
Execution time: 00:00:01
select * from stop_note where stop_note.company_id = 'TMS' and stop_id = 'Heathe13681035784191368133963247'
order by sequence
Execution time: 00:00:01
select * from reference_number where reference_number.company_id = 'TMS' and stop_id = 'Heathe13681035784191368133963247'
order by stop_id
Execution time: 00:00:01
select * from other_charge where other_charge.company_id = 'TMS' and order_id = '1040897' order by sequence
Execution time: 00:00:01
select * from movement where movement.company_id = 'TMS' and id ='121066'
Execution time: 00:00:01
select * from stop where stop.company_id = 'TMS' and movement_id = '121066' order by movement_id,movement_sequence
Execution time: 00:00:01
select * from movement_order where movement_order.company_id = 'TMS' and movement_id ='121066' order by
movement_id,movement_order.sequence
Execution time: 00:00:00
select mc_position.* from mc_position ,mc_unit where mc_position.company_id = 'TMS' and mc_unit.id =''
and mc_unit.mc_position_id = mc_position.id and mc_unit.company_id = 'TMS'
Execution time: 00:00:01
select * from callin where callin.company_id = 'TMS' and tractor_id = '' and call_date_time = (select
max(call_date_time) from callin where company_id = 'TMS' and tractor_id = '')
Execution time: 00:00:01
select count(*) temp from order_post_hist where order_post_hist.company_id = 'TMS' and order_id ='1040897'
Execution time: 00:00:00
select * from order_post_hist where order_post_hist.company_id = 'TMS' and order_id ='1040897'
Execution time: 00:00:01
Asynchronous JMSException received at 05/13/2013 10:01:17
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketException: Connection
reset)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72)
at org.jboss.mq.Connection.asynchFailure(Connection.java:421)
at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:174)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:439)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:371)
Asynchronous JMSException received at 05/13/2013 10:01:17
at java.lang.Thread.run(Unknown Source)
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketException: Connection
reset)
org.jboss.mq.SpyJMSException: Exiting on IOE; - nested throwable: (java.net.SocketException: Connection
reset)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72)
at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:72)
at org.jboss.mq.Connection.asynchFailure(Connection.java:421)
at org.jboss.mq.Connection.asynchFailure(Connection.java:421)
at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:174)
at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILService.java:174)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:439)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:371)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:439)
at java.lang.Thread.run(Unknown Source)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:371)
at java.lang.Thread.run(Unknown Source)
java.lang.Exception: This is a diagnostic message that is used to help us find screens that are opened
without parent screens.
at com.tms.client.lib.FramedPanel.checkParent(FramedPanel.java:1212)
at com.tms.client.lib.FramedPanel.showInModalFrame(FramedPanel.java:1221)
at com.tms.client.lib.MessageDialog.showMessage(MessageDialog.java:108)
at com.tms.client.lib.Dialogs.error(Dialogs.java:67)
at com.tms.client.lib.FramedPanel$2.onException(FramedPanel.java:384)
at com.tms.common.lib.JMSFactory$LocalExceptionListener.onException(JMSFactory.java:678)
at org.jboss.mq.Connection$ExceptionListenerRunnable.run(Connection.java:1348)
at java.lang.Thread.run(Unknown Source)
05/13/2013 10:04:44 Non-fatal error sending metrics to server.
javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating
connection to: 192.168.1.36; nested exception is:
java.net.NoRouteToHostException: No route to host:
connect]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:262)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:268)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:207)
at com.tms.common.remote.lib.LibFactory.createLibUtil(LibFactory.java:31)
at com.tms.common.lib.management.SystemMonitor.publish(SystemMonitor.java:147)
at com.tms.common.lib.management.SystemMonitor$MonitorThread.run(SystemMonitor.java:249)
05/13/2013 10:09:50 Non-fatal error sending metrics to server.
javax.naming.CommunicationException: Could not obtain connection to any of these urls: jnjndbapp:5660
and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception
is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException:
Failed to connect to server jnjndbapp:5660 [Root exception is javax.naming.ServiceUnavailableException:
Failed to connect to server jnjndbapp:5660 [Root exception is java.net.NoRouteToHostException: No route
to host: connect]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:262)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:268)
at com.tms.common.lib.RemoteFactory.lookup(RemoteFactory.java:207)
at com.tms.common.remote.lib.LibFactory.createLibUtil(LibFactory.java:31)
at com.tms.common.lib.management.SystemMonitor.publish(SystemMonitor.java:147)
at com.tms.common.lib.management.SystemMonitor$MonitorThread.run(SystemMonitor.java:249)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/823495#823495]
Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months
[jBPM] - Re: JBPM5.4, Spring 3, Hibernate 4, jtds, and JBoss JTA Transaction Manager Error on Multi thread call
by Thomas Setiabudi
Thomas Setiabudi [https://community.jboss.org/people/thomas.setiabudi] created the discussion
"Re: JBPM5.4, Spring 3, Hibernate 4, jtds, and JBoss JTA Transaction Manager Error on Multi thread call"
To view the discussion, visit: https://community.jboss.org/message/823399#823399
--------------------------------------------------------------
I tried to create my datasource in the JBOSS AS itself then modify my persistence.xml accordingly
again, 1 call in 1 thread is all fine, but when I got two call from two threads concurrently, I got this error
14:18:48,407 WARN [com.arjuna.ats.arjuna] (pool-19-thread-1) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffffac107acb:-ed1e439:51beb786:9e, org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization@2c6c1215 >: javax.persistence.PersistenceException: org.hibernate.HibernateException: Flush during cascade is dangerous
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1377) [hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1300) [hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1306) [hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1500) [hibernate-entitymanager-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109) [hibernate-core-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53) [hibernate-core-4.1.9.Final.jar:4.1.9.Final]
at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
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.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:167)
at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1010) [spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) [spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) [spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:387) [spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) [spring-tx-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.1.4.RELEASE.jar:3.1.4.RELEASE]
at $Proxy257.runTest3(Unknown Source) at app.chameleon.core.taskmanagement.backend.controller.TestSpringAndJbpmController$2.run(TestSpringAndJbpmController.java:179) [classes:]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_11]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]
Caused by: org.hibernate.HibernateException: Flush during cascade is dangerous
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1209) [hibernate-core-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:402) [hibernate-core-4.1.9.Final.jar:4.1.9.Final]
at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104) [hibernate-core-4.1.9.Final.jar:4.1.9.Final]
... 23 more
14:18:48,407 INFO [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] (pool-19-thread-1) HHH000106: Forcing container resource cleanup on transaction completion
14:18:48,829 WARN [org.hibernate.engine.jdbc.internal.JdbcResourceRegistryImpl] (pool-19-thread-2) HHH000387: ResultSet's statement was not registered
14:18:48,829 ERROR [stderr] (pool-19-thread-1) org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
14:18:48,829 INFO [stdout] (pool-19-thread-2) Finish 1, 2013-06-17 14:1848.829
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1013)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:387)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at $Proxy257.runTest3(Unknown Source)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at app.chameleon.core.taskmanagement.backend.controller.TestSpringAndJbpmController$2.run(TestSpringAndJbpmController.java:179)
14:18:48,829 ERROR [stderr] (pool-19-thread-1) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at java.lang.Thread.run(Thread.java:722)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) Caused by: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1177)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:117)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:167)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1010)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) ... 13 more
14:18:48,845 ERROR [stderr] (pool-19-thread-1) Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: Flush during cascade is dangerous
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1377)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1300)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1306)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.ejb.AbstractEntityManagerImpl$CallbackExceptionMapperImpl.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1500)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:109)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.engine.transaction.synchronization.internal.RegisteredSynchronization.beforeCompletion(RegisteredSynchronization.java:53)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:76)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:273)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:93)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:164)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1165)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) ... 17 more
14:18:48,845 ERROR [stderr] (pool-19-thread-1) Caused by: org.hibernate.HibernateException: Flush during cascade is dangerous
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1209)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:402)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) at org.hibernate.engine.transaction.synchronization.internal.SynchronizationCallbackCoordinatorImpl.beforeCompletion(SynchronizationCallbackCoordinatorImpl.java:104)
14:18:48,845 ERROR [stderr] (pool-19-thread-1) ... 23 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/823399#823399]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 10 months