Using JAX-WS webservices with Spring 3.0.X on JBoss AS 7.1.X

前端 未结 2 700
花落未央
花落未央 2021-01-21 00:44

I have some problems deploying a JAX-WS webservice with Spring 3.0.6 on JBoss AS Final 7.1.1.

I have tried two first method from this tutorial: http://www.javacodegeeks.

2条回答
  •  耶瑟儿~
    2021-01-21 01:15

    It's definitely a port issue. The exception is pretty clear on that.

    Caused by: javax.xml.ws.WebServiceException: java.lang.RuntimeException: java.net.BindException: Address already in use: bind
    

    From your comment you indicate there is something listening on port 9999, . The management-native default port is port 9999. If you look in your standalone.xml under the You'll likely see something like the following.

    
        
        
        
        
        
        
        
        
        
        
        
            
        
    
    

    For a test start standalone with the following command.

    $JBOSS_HOME/bin/standalone.sh -Djboss.management.native.port=19999
    

提交回复
热议问题