hello,
thank you for your replay
i have tried all options what i have found in the net. like adding embedded
now i have deleted all embedded glassfish jar files but glassfish-embedded-static-shell.jar (as i have red it should use the installed one)
witch was there at the beginning. now i get the error
No EJBContainer provider available: no provider names had been found.
javax.ejb.EJBException: No EJBContainer provider available: no provider names had been found.
at javax.ejb.embeddable.EJBContainer.reportError(EJBContainer.java:186)
at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:121)
at org.rle.ecenter.ws.eCenterServiceTest.setUpClass(eCenterServiceTest.java:61)
with this code to initiate the glassfish:
Map properties = new HashMap();
properties.put(EJBContainer.MODULES, new File("C:/Dokumente und Einstellungen/menamet/Eigene Dateien/NetBeansProjects/eCenter-WebServices/build/test/classes"));
properties.put("org.glassfish.ejb.embedded.glassfish.installation.root",
"C:/ProgrammFiles/glassfish/glassfish/domains/domain1");
EJBContainer container = EJBContainer.createEJBContainer(properties); <--------- here where the error occurs
Context ctx = container.getContext();
when i use it without the properties i get the same error.
EJBContainer container = EJBContainer.createEJBContainer(properties);
Yahya
[Message sent by forum member 'yahya_h']
http://forums.java.net/jive/thread.jspa?messageID=483023