1

Websphere アプリケーション サーバーを実行しようとすると、エラーが発生します。

TCP チャネル TCPInboundChannel_ipcc.Default_IPC_Connector_Name の初期化に失敗しました。ホスト localhost とポート 9633 のソケット バインドに失敗しました。ポートは既に使用されている可能性があります。

以下は、エラーのスタック トレースです。

[9/13/10 15:35:12:942 SGT] 00000000 JMXSoapAdapte A ADMC0013I: The SOAP connector is available at port 8880 
[9/13/10 15:35:12:967 SGT] 00000000 TCPPort E TCPC0003E: TCP Channel TCPInboundChannel_ipcc.Default_IPC_Connector_Name initialization failed. The socket bind failed for host localhost and port 9633. The port may already be in use. 
[9/13/10 15:35:12:992 SGT] 00000000 IPCConnectorS E ADMC0072E: Failed to initialize or start channel chain IPCCInboundChain.Default_IPC_Connector_Name/LC_IPCCInboundChain.Default_IPC_Connector_Name due to exception com.ibm.wsspi.channel.framework.exception.ChainGroupException: 
Error initializing chain IPCCInboundChain.Default_IPC_Connector_Name in group IPCCInboundGroup.Default_IPC_Connector_Name, exception=com.ibm.wsspi.channel.framework.exception.RetryableChannelException: Cannot assign requested address: bind 
at com.ibm.ws.channel.framework.impl.ChannelFrameworkImpl.initChainGroup(ChannelFrameworkImpl.java:3667) 
at com.ibm.ws.runtime.component.ChannelFrameworkServiceImpl.initChainGroup(ChannelFrameworkServiceImpl.java:772) 
at com.ibm.ws.management.connector.ipc.IPCConnectorServer.start(IPCConnectorServer.java:330) 
at com.ibm.ws.management.component.JMXConnectors.startIPCConnector(JMXConnectors.java:970) 
at com.ibm.ws.management.component.JMXConnectors.stateChanged(JMXConnectors.java:2211) 
at com.ibm.ws.security.core.distSecurityComponentImpl.fireEvent(distSecurityComponentImpl.java:2181) 
at com.ibm.ws.security.core.distSecurityComponentImpl.fireStartedEvent(distSecurityComponentImpl.java:2143) 
at com.ibm.ws.security.core.distSecurityComponentImpl.startSecurity(distSecurityComponentImpl.java:642) 
at com.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:109) 
at com.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:338) 
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538) 
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627) 
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618) 
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:227) 
at com.ibm.ws.runtime.component.ContainerHelper.startComponents(ContainerHelper.java:538) 
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:627) 
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:618) 
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:503) 
at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:298) 
at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:214) 
at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:666) 
at com.ibm.ws.runtime.WsServer.main(WsServer.java:59) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) 
at java.lang.reflect.Method.invoke(Method.java:600) 
at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213) 
at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93) 
at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74) 
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) 
at java.lang.reflect.Method.invoke(Method.java:600) 
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340) 
at org.eclipse.core.launcher.Main.basicRun(Main.java:282) 
at org.eclipse.core.launcher.Main.run(Main.java:981) 
at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:340) 
at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:110) 

最後に「Server server1 open for e-business」というログが記録されますが、アプリケーションや管理コンソールにさえアクセスできません。netstat でポート 9633 が使用されているかどうかを確認しましたが、使用されていません。ポートを 21633 に変更しようとしましたが、それでも同じエラーが発生します。これの奇妙な点は、先週サーバーを実行する (およびそのサーバーでアプリケーションを実行する) 際に問題がなかったのに、昨日実行しようとすると、突然このエラーが表示されることです。すでに WAS を再起動し、PC を数回シャットダウンしましたが、役に立ちませんでした。Websphere は Windows サービスとして実行されておらず、Eclipse から実行しようとしています。ただし、サービスとして実行しようとしても、同じエラーが発生します。設定をまったく変更していないので、何が原因なのだろうかと思っています。
私の環境: Windows 7、Websphere Application Server 7.0.0.9

この問題に詳しい人はいますか?どんな助けでも大歓迎です!ありがとう!

4

5 に答える 5

1

サーバーのIPC_CONNECTOR_ADDRESSポート定義のホスト名が、サーバー名ではなくlocalhostを示していることを確認してください。

于 2013-01-09T11:31:47.363 に答える
1

WAS の起動前に誰もリッスンしていなかったにもかかわらず、WAS がバインドする (一見) すべてのポートでこのエラーを繰り返し受け取りました。

このスレッドは私を解決策に導きました.どうやらIPv6スタックに問題があったようです. 私は IPv6 を使用することに関心がないので、プロファイルのディレクトリにあるsetupCmdLine.{bat,sh}スクリプトで次のように設定することで、JVM に IPv4 を優先するように指示することができました。bin

set IBM_JAVA_OPTIONS=-Djava.net.preferIPv4Stack=true

(もちろん、環境に合わせて構文を変更してください。)

これは Windows 8/WAS 8.5 (開発者版) にありました。

于 2013-04-19T03:26:28.920 に答える
0

RAD 8.0.4を使用して、Windows 7でwebsphere v6.1を使用すると同じ問題が発生します

[18/09/13 09:15:01:036 EST] 00000022 TCPPort       E   TCPC0003E: TCP Channel TCP_1 initialization failed.  The socket bind failed for host * and port 9060.  The port may already be in use. 
[18/09/13 09:15:02:038 EST] 00000020 TCPPort       E   TCPC0003E: TCP Channel TCP_2 initialization failed.  The socket bind failed for host * and port 80.  The port may already be in use. 
[18/09/13 09:15:03:111 EST] 00000022 TCPPort       E   TCPC0003E: TCP Channel TCP_1 initialization failed.  The socket bind failed for host * and port 9060.  The port may already be in use. 
[18/09/13 09:15:04:112 EST] 00000020 TCPPort       E   TCPC0003E: TCP Channel TCP_2 initialization failed.  The socket bind failed for host * and port 80.  The port may already be in use. 

これが私がしたことです:

  1. コマンド ターミナルを開いて「netstat -a」を実行し、80 または 9060 でリッスンしているポートがないことを確認しました。その場合は、それを使用してアプリケーションを終了するか、それができない場合は再起動してみてください。それ以外の場合は、ステップ 2 に進みます。
  2. 「 http://www-01.ibm.com/support/docview.wss?uid=swg21628479 」の指示に従ってください。
    • これに関するメモは、「setupCmdLine.bat」ファイルの場所です。Websphere のインストール方法には、複数の「bin/setupCmdLine.bat」ファイルがあります。このファイルを含むフォルダーには、「IBM/SDP/runtimes/base_v61/bin」が含まれます。"IBM/SDP/runtimes/base_v61/profiles/was61profile1"; "IBM/WebSphere/AppServer/bin"; "IBM/WebSphere/AppServer/profiles/AppSrv1/bin". 間違ったファイルにソリューションを適用すると、効果が得られないためです。
    • 「setupCmdLine.bat」を更新する適切なフォルダーを見つけるために、RAD -> サーバー タブ -> Websphere サーバーを右クリック -> プロパティ -> WebSphere Application Server v6.1 メニュー項目に移動しました。右側には「プロファイル ディレクトリ」があります。
    • 私にとって、これは「.../IBM/SDP/runtimes/base_v61/profiles/was61profile1」を指していました
于 2013-09-17T23:52:06.287 に答える
0

これは、「localhost」の IP 解決が正しくないことが原因です。localhost に ping を実行し、応答が 127.0.0.1 (ループバック) または実際のホスト IP 自体からのものであることを確認してください。そうでない場合は、修正すると問題が解決します

于 2011-09-05T05:19:11.187 に答える
0

アプリケーションと管理コンソールにアクセスできないと述べています。管理コンソールは通常、WC_adminhost および WC_adminhost_secured ポートにバインドされます。これらは、WAS_HOME/profiles/profile_name/properties/portdef.props ファイルの下にあります。ポートをカスタマイズした場合は、ポート間で競合が発生していないことを確認してください。

他の標準ポートを介してアプリケーションにアクセスできない理由はありますか? IPC は、ローカル インスタンス間の高速通信にのみ重要です。ほとんどの Web アプリケーション アクセスは、WC_defaulthost および WC_defaulthost_secure ポートを介して実行できます。

于 2010-09-23T18:42:19.670 に答える