Re: not injecting an entityManger @PersistenceContext

2011-10-13 Thread Norman Klingspor
my persistence.xml http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; version="1.0">

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
I'm running jBoss 6.1.0.Final. On 12 Okt., 17:57, Juan Pablo Gardella wrote: > What version of Jboss are you use? > > 2011/10/12 Norman Klingspor > > > > > > > > > oh, of course. > > > This is the stacktrace: > > > 2011-10-12 15:36:07,163 ERROR [org.apache.catalina.core.ContainerBase. > > [jboss

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Juan Pablo Gardella
What version of Jboss are you use? 2011/10/12 Norman Klingspor > oh, of course. > > This is the stacktrace: > > 2011-10-12 15:36:07,163 ERROR [org.apache.catalina.core.ContainerBase. > [jboss.web].[localhost].[/kylintv.gwt]] (http-0.0.0.0-8080-1) > Exception while dispatching incoming RPC call:

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
the real function called starts like this: @TransactionAttribute(REQUIRED) public boolean createTestEntry() { try { System.out.println("TEST creating Data BEGIN"); ProductEntity currentProduct = new ProductEntity();

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
oh, of course. This is the stacktrace: 2011-10-12 15:36:07,163 ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/kylintv.gwt]] (http-0.0.0.0-8080-1) Exception while dispatching incoming RPC call: com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abs

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Juan Pablo Gardella
Can you share the stackt trace? 2011/10/12 Norman Klingspor > Hi, > > I'm trying to integrate an EJB-Project (which is connected to a > database by hibernate) into my GWT (in more detail move from CDI-Weld > implementation to GWT). > > I created a new ejb-project only containing my entities and

not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
Hi, I'm trying to integrate an EJB-Project (which is connected to a database by hibernate) into my GWT (in more detail move from CDI-Weld implementation to GWT). I created a new ejb-project only containing my entities and their clients. Within my GWT-project I reference to my ejb-project and inc