Re: CMP2.1 select of the DataSource

2014-12-04 Thread vidaniello
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

Re: .create method of BMP Entity 2.1EJB

2014-11-23 Thread vidaniello
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:

.create method of BMP Entity 2.1EJB

2014-11-22 Thread vidaniello
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

Question about tomEE http remote ejb port

2014-11-06 Thread vidaniello
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

Re: Question about tomEE http remote ejb port

2014-11-06 Thread vidaniello
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: