Log in to follow, share, and participate in this community.
Thread EJB 2.x Entity Bean Deployment on AS 7
EJB 2.x Entity Bean Deployment on AS 7Hallo, Does anybody know if it is possible to deploy EJB 2.x entity beans in a JBoss 7.0.2+ application server? Thanks Klaus
Thread ClassCastException with DB2 and JBoss 5.1.0 (Hibernate 3.4)
ClassCastException with DB2 and JBoss 5.1.0 (Hibernate 3.4)I am getting a ClassCastException when pointing my application server (JBoss 5.1.0.GA) against DB2. When using it with other databases this problem does not occur. The problem is caused by me expecting a number object...
invalid OCI operationI am currently using JBoss5.1.0, Hibernate, and Oracle 11i database. The thin driver I am using is ojdbc6.jar. Occasionally I am seeing "java.sql.SQLException: ORA-01010: invalid OCI operation”. ...
@PersistenceUnit not workingI want to use the @PersistenceUnit annotation in my app to create an application managed EntityManager @PersistenceUnit(unitName="primary")
private...
Mutiple sessions and transactions.Hello All! Can anybody point me into the right direction. I need to have 2 independant sessions while I am processing the data. So far I had no luck, I have tried to brake a routine into 2 calls and an...
JTA vs. Non-JTAI'm referring to this bug on JBoss AS7: https://hibernate.onjira.com/browse/HHH-6522 The problem is I can't use JTA as I always get a NullPointerException trying to create an EntityManager object. But without ...
Thread How to detect lost database connection using injected EntityManager?
How to detect lost database connection using injected EntityManager?Hi all, I'm trying to build some reliability and robustness into an application we're running on JBoss AS 6.0.0 and part of this involves being able to handle the loss of a connection to a database on a remote...
How to configure HIbernate in AS7Hi, I got the following error when I deployed a WAR file based on hibernate. 23:49:15,546 INFO [org.jboss.jpa] (MSC service thread 1-1) read persistence.xml for HousewareCategoryPU 23:49:...
Missing file during deployment.Hello, I added Hibernate Persistent in my WAR file and deployed to JBOSS AS7, but JBOSS having a problem finding my persistent unit. Here is the full log for the deployment: 15:14:23,298 INFO...
stripersist example on JBossWould someone who is familiar with the intricacies of JBoss and JPA be interested in trying to get this .war to work in something later than JBoss 4.2.3.GA? Stripersist is a slick DAO layer that works with the...
JBoss - Persistence JPA hibernateHi, i'm developed a application web with hibernate JPA, Jboss 6, Mysql, but I get the following error: Error installing to Start: name=persistence.unit:unitName=XXXXXXXXXXXXXX#XXXXXXXX state=Create: java.la...
Thread share persistence context in different EARs
share persistence context in different EARsWe try to deploytwo EJB applications with a shared JPA persistence. The persistence is deployed in a separate JAR file, including a persistence.xml. Each EAR include neither @Entity classes nor a persistence.x...
jboss6 does not find my persistence-unitsHi, I am trying to upgrade my application from JBoss 4.2.2 to JBoss (Final release). When I start the server I get errors that a stateless EJB I am using can't load due to unknown persistence con...
native query and mappingHello, AS: Jboss.6.0.0.Final DB: MySQL 5.1 I cannot force my simple native query with result mapping to work. I have simple test table. It looks like that: create table test_city ( ...
Article Getting started with JDO on Jboss AS7 in Seven Steps
Getting started with JDO on Jboss AS7 in Seven StepsGetting started with JDO on Jboss AS7 in Seven Steps Jboss as7 is the latest JavaEE6 server while Datanucleus is the greatest peristance(JDO) implementation. Integrating these two softwares is straight forward....
Thread persistence.xml : jar-file tag doesn't work with relative ur
persistence.xml : jar-file tag doesn't work with relative urHello, I'm using Jboss 4.2.1 GA and here is the structure of my .ear : xxx.ear dir (not a "packaged .ear" but a directory to be able to modify the persistence.xml very easily) which contains : one session.jar packag...