2015-03-31 24 views
0

我在GlassFish 4使用的localhost:8080上的BPEL模塊中添加了外部WSDL。我在localhost上爲HTTP運行GlassFish v2.x: 52059。 GF2和GF4位於不同的域。他們都很好。但是,當我部署使用在localhost:8080上引用外部WSDL的BPEL模塊的複合應用程序時,出現以下錯誤。BPEL模塊中的外部WSDL:已在使用的地址8080

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

stacktrace指示BPEL模塊想要啓動一個監聽端口8080(可能是web服務的東西)的服務,正如您所描述的,Glassfish正在使用該服務。

要解決此問題,您可以更改Glassfish的端口或sun-http-binding組件之一。

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

參見:

+0

我設置HTTP端口爲-HTTP結合太陽9080它被設置爲-1前面。不幸的是,同樣的錯誤信息依然存在。 – stevetronix 2015-03-31 22:28:27

+1

您是否嘗試更換Glassfish端口? – unwichtich 2015-03-31 22:44:16

+0

我將GlassFish 4端口更改爲管理7071,http 7070,https https 7072。現在我得到「地址已被使用:7070」。在終端上執行「lsof -i:7070」表示7070被*:arcp(LISTEN)使用 – stevetronix 2015-04-01 02:16:50

相關問題