I just ran into this using JBoss AS 4.0.5 with included JBossWS, and my servlet 
name DOES end with Servlet... turns out my web xml formatting was causing the 
endsWith("Servlet") to see more than the name string.

Changing:
<servlet>
  |    <servlet-name>MyServlet</servlet-name>
  |     <servlet-class>
  |         com.example.MyServlet
  |     </servlet-class>
  |         ...
  | </servlet>
..to:
<servlet>
  |    <servlet-name>MyServlet</servlet-name>
  |     <servlet-class>com.example.MyServlet</servlet-class>
  |         ...
  | </servlet>
...corrected the problem for me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138203#4138203

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138203
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to