BPEL模块中的外部WSDL:地址已在使用8080

时间:2015-03-31 21:24:21

标签: java web-services wsdl glassfish bpel

我将外部WSDL添加到我的BPEL模块,这些模块位于localhost:8080上,由GlassFish 4使用。我在localhost:52059上运行了针对HTTP的GlassFish v2.x。 GF2和GF4位于不同的域上。他们都很好。但是,当我部署使用BPEL模块的Composite Application时,它引用了localhost:8080上的外部WSDL,我收到以下错误。

ERROR: Successful execution of Start: RetailerBPELModuleCA
WARNING: (JBIMA0405) Start of service assembly RetailerBPELModuleCA succeeded partially; some service units failed to start.
    * Component: sun-http-binding
      ERROR: (SOAPBC_START_1) HTTPBC-E00205: Start failed. java.lang.Exception: LifecycleException:  PWC3985: Protocol handler initialization failed: java.net.BindException: Address already in use: 8080
    * Component: sun-bpel-engine
      INFO: (JBIMA0409) Lifecycle operation start succeeded for Service Unit RetailerBPELModuleCA-RetailerBPELModule.
Cleaning up...
[stop-service-assembly]
    Stopping a service assembly...
        host=localhost
        port=5000
        name=RetailerBPELModuleCA
[shutdown-service-assembly]
    Shutting down a service assembly...
        host=localhost
        port=5000
        name=RetailerBPELModuleCA
[undeploy-service-assembly]
    Undeploying a service assembly...
        host=localhost
        port=5000
        name=RetailerBPELModuleCA

知道它可能是什么吗?

这仅适用于使用带有外部WSDL的BPEL模块的复合应用程序。怎么样?

1 个答案:

答案 0 :(得分:1)

stacktrace表示BPEL模块想要启动一个服务侦听端口8080(可能是webservice的东西),正如你所描述的那样,Glassfish正在使用它。

要解决此问题,您可以更改Glassfish的端口或sun-http-binding组件之一。

我不知道如何配置BPEL模块,但Oracle docs about HTTP Binding Component Runtime Properties表明您可以通过NetBeans配置端口。

另见: