[jira] Created: (OFBIZ-3290) transaction error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)
transaction error
-----------------

                 Key: OFBIZ-3290
                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
             Project: OFBiz
          Issue Type: Bug
            Reporter: fangsoft


com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785206#action_12785206 ]

Jacques Le Roux commented on OFBIZ-3290:
----------------------------------------

Ha I think I see you, you use an ear file, OFBiz do not use them...

> transaction error
> -----------------
>
>                 Key: OFBIZ-3290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: fangsoft
>
> com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
> com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
> com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
> com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
> com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
> com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
> com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
> java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785205#action_12785205 ]

Jacques Le Roux commented on OFBIZ-3290:
----------------------------------------

Hi,

There are no com.sap.engine nor com.bosent.service OOTB in OFBiz. So I doubt what you are expecting from us ?

> transaction error
> -----------------
>
>                 Key: OFBIZ-3290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: fangsoft
>
> com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
> com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
> com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
> com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
> com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
> com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
> com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
> java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785210#action_12785210 ]

fangsoft commented on OFBIZ-3290:
---------------------------------

I have migrated ofbiz to SAP Netweaver as an ear.Do you have any suggestions for this question?

> transaction error
> -----------------
>
>                 Key: OFBIZ-3290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: fangsoft
>
> com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
> com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
> com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
> com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
> com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
> com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
> com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
> java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785212#action_12785212 ]

fangsoft commented on OFBIZ-3290:
---------------------------------

I also have " thread is already associated with another transaction?" problem such like:


http://n4.nabble.com/OFBiz-Users-thread-is-already-associated-with-another-transaction-td135414.html#a135414

> transaction error
> -----------------
>
>                 Key: OFBIZ-3290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: fangsoft
>
> com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
> com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
> com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
> com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
> com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
> com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
> com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
> java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-3290) transaction error

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-3290.
----------------------------------

    Resolution: Invalid
      Assignee: Jacques Le Roux

This is not how it should be done (and I'm not even sure of what you try to achieve).
You may have a look at http://cwiki.apache.org/confluence/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers

> transaction error
> -----------------
>
>                 Key: OFBIZ-3290
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3290
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: fangsoft
>            Assignee: Jacques Le Roux
>
> com.sap.engine.services.connector.exceptions.BaseSystemException: Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/com.sap/cashmanager_bosent_baseline_framework_ear/cashmanager_bosent_baseline_framework_web" in application "com.sap/cashmanager_bosent_baseline_framework_ear".
> com.sap.engine.services.connector.resource.impl.ResourceSetImpl.enlistAll(ResourceSetImpl.java:562)
> com.sap.engine.services.ts.jta.impl.UserTransaction.begin(UserTransaction.java:54)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:122)
> com.bosent.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1599)
> com.bosent.entity.GenericDelegator.findOne(GenericDelegator.java:1576)
> com.bosent.service.job.PersistedServiceJob.getJob(PersistedServiceJob.java:319)
> com.bosent.service.job.PersistedServiceJob.init(PersistedServiceJob.java:126)
> com.bosent.service.job.GenericServiceJob.exec(GenericServiceJob.java:63)
> com.bosent.service.job.JobInvoker.run(JobInvoker.java:245)
> java.lang.Thread.run(Thread.java:725)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.