Menu

#264 Failed to parse runtime descriptor: Metadata has more than one WSDL that has Service definiton for the endpoint

trunk
open
nobody
1 - Low
2016-11-04
2016-11-04
No

Dear gUSE team,

this is more a support request than a bug report. On a fresh git checkout during deployment I receive the following error:

Nov 03, 2016 6:28:28 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Nov 03, 2016 6:28:28 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: Metadata has more than one WSDL that has Service definiton for the endpoint. WSDL=jndi:/localhost/statvisualizer/WEB-INF/wsdl/SystemInformationImpl/guse.hu/storage/services/monitoring/w3.wsdl is one such WSDL.
Nov 03 18:28:28 verce-portal-test.scai.fraunhofer.de server[5399]: com.sun.xml.ws.server.ServerRtException: Metadata has more than one WSDL that has Service definiton for the endpoint. WSDL=jndi:/localhost/statvisualizer/WEB-INF/wsdl/SystemInformationImpl/guse.hu/storage/services/monitoring/w3.wsdl is one such WSDL.

When I look at the generated WAR file of the statvisualizer, indeed I see two services:

ServiceInformationImpl
SystemInformationImpl

while in the guse 3.7.4 release WAR there is only

ServiceInformationImpl

I'm not sure if this is a problem in my build environment or a trunk change of the services? Any idea?

Greetings

Discussion

  • Andre Gemuend

    Andre Gemuend - 2016-11-04

    I think it could be the output path in the pom.xml, what do you think about this patch:

    diff --git a/statistics/statvisualizer/pom.xml b/statistics/statvisualizer/pom.xml
    index 09b3424..918e970 100644
    --- a/statistics/statvisualizer/pom.xml
    +++ b/statistics/statvisualizer/pom.xml
    @@ -77,7 +77,7 @@
    <goal>copy-resources</goal>

    <configuration></configuration>

    • <outputdirectory>${basedir}/target/${project.artifactId}/WEB-INF/wsdl/ServiceinformationImpl/guse.hu/storage/services/monitoring</outputdirectory>
    • <outputdirectory>${basedir}/target/${project.artifactId}/WEB-INF/wsdl/SystemInformationImpl/guse.hu/storage/services/monitoring</outputdirectory>
      <resources>
      <resource>
      <directory>../../resources</directory></resource></resources>
     
  • Zoltán Farkas

    Zoltán Farkas - 2016-11-04

    Hi Andre,

    We're right now preparing a new version - it will include a fix for this as well :)
    Cheers,

    Zoltan

     

Log in to post a comment.

MongoDB Logo MongoDB