I have this inside tomee.xml <JndiProvider id="itsector" type="javax.naming.InitialContext"> java.naming.factory.initial = org.apache.openejb.client.RemoteInitialContextFactory java.naming.provider.url = http://127.0.0.1:8080/tomee/ejb </JndiProvider>
2015-09-16 17:38 GMT+01:00 mauro2java2011 <[email protected]>: > ok!!!! > but the openejb.xml file where i put it ? > or the fragment: > -------------------------------- > <JndiProvider id="shoe" type="javax.naming.InitialContext"> > java.naming.provider.url = ejbd://localhost:4201 > java.naming.factory.initial = > org.apache.openejb.client.RemoteInitialContextFactory > </JndiProvider> > > ---------------------------------------- > i can put it into tomee.xml ? > it is the same thing if i put the same resource (<JndiProvider> > into tomee.xml or resources.xml??? > > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <openejb> > > <JndiProvider id="shoe" type="javax.naming.InitialContext"> > java.naming.provider.url = ejbd://localhost:4201 > java.naming.factory.initial = > org.apache.openejb.client.RemoteInitialContextFactory > </JndiProvider> > > </openejb> > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/ejb-ref-for-a-ejb-remote-tp4676255p4676258.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
