I thought about it , I had also tried but in the beginning it had not worked
.
Now that you have made me return to the file ' persistence.xml ' , i
published without tags 'class', then only so:
...
persistence-unit name=cmp transaction-type=JTA
jta-data-sourcesqliteCmp/jta-data-source
I explained the situation better here , complete with source classes and
stack error:
http://stackoverflow.com/questions/27087706/bmp-entity-2-1-tomee-7-0-openejb-4-7-1
http://stackoverflow.com/questions/27087706/bmp-entity-2-1-tomee-7-0-openejb-4-7-1
--
View this message in context:
The error throws in the class:
org.apache.openejb.core.entity.EntityContainer.createEJBObject
when invoke the method:
// invoke the ejbCreate which returns the primary key
primaryKey = ejbCreateMethod.invoke(bean, args);
called when i try to create a ne entity bean from the remote home object
how can i change port from 8080 to, for example, 2345??
from
p.put(java.naming.provider.url, http://localhost:8080/tomee/ejb;);
to, for example
p.put(java.naming.provider.url, http://localhost:2345/tomee/ejb;);
what file in conf/ directory must compile?!? tank...
--
View this message in
Ok...
Therefore for lookup a remote EJB using HTTP, is necessary using the same
port of http web?!?
Can't dissociate the two port?!
For this purpose is best to use openejb remote (ejbd://localhost:4201)??
--
View this message in context: