[jBPM] - jBPM 5.2 transaction issues in JBoss 5.1
by Bane Cavlin
Bane Cavlin [https://community.jboss.org/people/bcavlin] created the discussion
"jBPM 5.2 transaction issues in JBoss 5.1"
To view the discussion, visit: https://community.jboss.org/message/728311#728311
--------------------------------------------------------------
Hi,
I was wondering if anyone else had these issues using JBoss 5.1 and jBPM 5.2. I am receiving these errors when tring jBPM service (please note that service works, but these errors are reported):
1. java.sql.SQLException: You cannot set autocommit during a managed transaction!
2. [CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6
3. org.jbpm.persistence.processinstance.ProcessInstanceInfo @PreUpdate public void update is never fired in JBoss
Also, please note that JUnit tests that I have using same code and same data (with exception of who provides transaction) works just fine.
Any help or suggestion is appriciated.
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728311#728311]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years
[EJB3] - No EJB receiver available for handling [appName:, modulename:MyMavenWebpp, distinctname:] combination
by ous2k
ous2k [https://community.jboss.org/people/ous2k] created the discussion
"No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination"
To view the discussion, visit: https://community.jboss.org/message/728449#728449
--------------------------------------------------------------
Hi i' m new in EJB3
i'm trying a simple hello example but get this error
i'm using
Jboss 7.1 eclipse 3.7 maven3
i' confused if this is a library problem or properties file problem?
Depandancies used
|
|
| <!-- EJB3 libraries --> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.xnio</groupId> |
|
|
|
| <artifactId>xnio-api</artifactId> |
|
|
|
| <version>3.0.3.GA</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.xnio</groupId> |
|
|
|
| <artifactId>xnio-nio</artifactId> |
|
|
|
| <version>3.0.3.GA</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.sasl</groupId> |
|
|
|
| <artifactId>jboss-sasl</artifactId> |
|
|
|
| <version>1.0.0.Beta9</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.remoting3</groupId> |
|
|
|
| <artifactId>jboss-remoting</artifactId> |
|
|
|
| <version>3.2.0.CR8</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.marshalling</groupId> |
|
|
|
| <artifactId>jboss-marshalling</artifactId> |
|
|
|
| <version>1.3.4.GA</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.marshalling</groupId> |
|
|
|
| <artifactId>jboss-marshalling-river</artifactId> |
|
|
|
| <version>1.3.4.GA</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss</groupId> |
|
|
|
| <artifactId>jboss-ejb-client</artifactId> |
|
|
|
| <version>1.0.0.Beta11</version> |
|
|
| </dependency> |
|
|
|
| <dependency> |
|
|
|
|
| <groupId>org.jboss.as</groupId> |
|
|
|
| <artifactId>jboss-as-controller-client</artifactId> |
|
|
|
| <version>7.0.2.Final</version> |
|
|
| </dependency> |
|
the file jboss-ejb-client.properties is under since it is a web project :
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connections=default
remote.connection.default.host=localhost
remote.connection.default.port = 4447
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
/***********************************************/
ejb:/MyMavenWebpp//HelloWorldBean!com.ibytecode.business.HelloWorld
avr. 05, 2012 10:02:13 AM org.jboss.ejb.client.EJBClient <clinit>
INFO: JBoss EJB Client version 1.0.0.Beta11
Exception in thread "main" java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:MyMavenWebpp,distinctname:] combination
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:344)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:92)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:83)
at $Proxy0.sayHello(Unknown Source)
at com.ibytecode.client.EJBApplicationClient.main(EJBApplicationClient.java:14)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728449#728449]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years
[EJB3] - EJB 2.1 BMP with CMT and RequiresNew in JBoss AS 7.1.0 Final
by Daniel Zhelyazkov
Daniel Zhelyazkov [https://community.jboss.org/people/dzhelyazkov] created the discussion
"EJB 2.1 BMP with CMT and RequiresNew in JBoss AS 7.1.0 Final"
To view the discussion, visit: https://community.jboss.org/message/728441#728441
--------------------------------------------------------------
I have the folowing case where transactions lock up, and it was working OK in JBoss 3, 4 and 6.
We have the Session Facade pattern where the SLSB calls the Entity Bean, both SLSBs and EntityBeans use RequiresNew as transaction attribute. (Changing the Entity Beans attribute to Requires solves the problem, too much places to fix, and some tricky situations where more changes are required)
So what happens is:
*SLSB.newRecord(...) starts with RequiresNew*
*{*
//with RequiresNew (the insert statement is executed, then by spec on TX end ejbLoad is called and data is read from Database - so far so good.
*record = EntityHome.create(...);*
//method part of the local interface of the Entity - here a new transaction is started, and at the end of the method the transacion is commited and ejbStore is called, however this does not work because of db lock which I can not understand.
*record.getProperties(); *
*}*
The datasource isolation level is READ_COMMITED.
In previous versions of JBoss call to record.getProperties() did not start new transaction and no call to ejbStore
I hope someone could help,
Daniel
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728441#728441]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years
[JBoss Tools] - Manually installing jboss tools
by André Fróes
André Fróes [https://community.jboss.org/people/andre.froes] created the discussion
"Manually installing jboss tools"
To view the discussion, visit: https://community.jboss.org/message/728258#728258
--------------------------------------------------------------
Hello everyone, i'm trying to get jboss tools here running under eclipse helior 3.6 or indigo, but no success at all, it keeps telling me that there are some issues to solve, this is what it keeps saying:
--------------------------------
Cannot complete the install because one or more required items could not be found.
Software being installed: JBoss Portlet 1.1.0.v20111025-0629-H191-Final (org.jboss.tools.portlet.feature.feature.group 1.1.0.v20111025-0629-H191-Final)
Missing requirement: Web 3.2.1.v20111025-0510-H215-Final (org.jboss.tools.jst.web 3.2.1.v20111025-0510-H215-Final) requires 'bundle org.eclipse.wst.validation 1.2.201' but it could not be found
Cannot satisfy dependency:
From: Web KB 3.2.1.v20111025-0510-H215-Final (org.jboss.tools.jst.web.kb 3.2.1.v20111025-0510-H215-Final)
To: bundle org.jboss.tools.jst.web 0.0.0
Cannot satisfy dependency:
From: JBoss Portlet 1.1.0.v20111025-0629-H191-Final (org.jboss.tools.portlet.feature.feature.group 1.1.0.v20111025-0629-H191-Final)
To: org.jboss.tools.seam.feature.feature.group 3.2.0
Cannot satisfy dependency:
From: Seam Tools 3.2.1.v20111027-1359-H303-Final (org.jboss.tools.seam.core 3.2.1.v20111027-1359-H303-Final)
To: bundle org.jboss.tools.jst.web.kb 0.0.0
Cannot satisfy dependency:
From: Seam Tools 3.2.1.v20111027-1359-H303-Final (org.jboss.tools.seam.feature.feature.group 3.2.1.v20111027-1359-H303-Final)
To: org.jboss.tools.seam.core [3.2.1.v20111027-1359-H303-Final]
---------------------------------
I'm trying to install only Web an Java EE tools. In both Helios and Indigo i get the same issue. How can I solve this errors?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/728258#728258]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
14 years