Bugs item #1068819, was opened at 2004-11-18 16:30
Message generated for change (Settings changed) made by tdiesler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1068819&group_id=22866

Category: JBossWS
Group: v4.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Little jose (littlejoz)
Assigned to: Thomas Diesler (tdiesler)
Summary: Duplication of init-param in web.xml

Initial Comment:
When a web-service is deployed more then once using
the same directory, the web.xml is modified each time,
leading to the following example :
 
  <servlet>
    <servlet-name>MyServlet</servlet-name>
    <servlet-
class>org.jboss.webservice.server.ServiceEndpointServlet
JSE</servlet-class>
    <init-param>
      <param-name>ws4ee-service-name</param-name>
      <param-value>MyService</param-value>
    </init-param>
    <init-param>
      <param-name>ws4ee-service-name</param-name>
      <param-value>MyService</param-value>
    </init-param>
    <load-on-startup>-1</load-on-startup>
  </servlet>

It seems that in the ServiceDeployer.java, in the 
method modifyServletConfig(), no check is done
to ensure the servlet init-param named "ws4ee-service-
name" already exists. 
Once the init-param is at least duplicated, the web-
service fails totally to work.

Any further information to me jose do-t chillan at jaynti 
do-t com


----------------------------------------------------------------------

>Comment By: Thomas Diesler (tdiesler)
Date: 2004-11-25 14:42

Message:
Logged In: YES 
user_id=423364

Fixed in jboss-4.0.1. It now prepeds the parent (EAR) name 
before the the generated web.xml.

When you say "... web-service is deployed more then once 
using the same directory ..." I assume it means having the 
same war included in different ears.

If this is a redeployment issue of the same sandalone war, 
please provide a sample deployment.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1068819&group_id=22866


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to