users@glassfish.java.net

Re: WebServices with JSR-109 annotation based deployment with maven-embedded?

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Jul 2010 10:10:36 PDT

Can you add these jars in your classpath, taken from the modules directory of a regular glassfish installation, and try your test case :

modules/webservices-connector.jar
modules/webservices-osgi.jar
modules/webservices.security.jar
modules/endorsed/javax.annotation.jar
modules/endorsed/jaxb-api-osgi.jar
modules/endorsed/webservices-api-osgi.jar

After adding the above jars, if you see any stack trace in the logs complaining about "Provider already mapped glassfish" etc. you can ignore it.
[Message sent by forum member 'sirajg']

http://forums.java.net/jive/thread.jspa?messageID=476557