Failed deployment on GF 3.0.1- same url pattern error
I am getting an error deploying a WAR file to Glassfish 3.0.1b22 that I don't remember seeing when I was deploying the same WAR file to Glassfish 2.1 in the past. Specifically, I am seeing this error:
Exception while deploying the app : java.lang.IllegalStateException: Servlet [pointcloudservice] and Servlet [PointCloudDeliveryService] have the same url pattern: [/PointCloudDeliveryService]at org.glassfish.apf.AnnotationInfo@a0d20b9
I've done quite a bit of searching on Google and in this forum and all of the suggestions I've seen do not seem to be either relevant to my development environment (I don't have an autodeploy to Glassfish Eclipse plugin) or they don't seem to suggest anything that actually helped (checking sun-jaxws.xml for duplication and/or removing it altogether from the WAR).
The WAR file is being built by Maven inside Eclipse (which is the same way it was being built when deploying on GF 2.1) and is being manually deployed to Glassfish using the web based admin console.
Here are the relevant lines from the web.xml file:
<servlet><br /> <servlet-name>pointcloudservice</servlet-name><br /> <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class><br /> <load-on-startup>1</load-on-startup><br /> </servlet><br /> <servlet-mapping><br /> <servlet-name>pointcloudservice</servlet-name><br /> <url-pattern>/PointCloudDeliveryService</url-pattern><br /> </servlet-mapping>
Am I missing something, or is this an issue with Glassfish 3.0.1?