WebSphere6 shutdown service error solution

After modifying a parameter of WebSphere6, restart the service, and want to check the effect of the modification, but the result does not change before and after the modification, so I doubt whether the restart is successful, check the log, and there is a problem:

************* End Display Current Environment *************
[13-6-28 11:12:45:242 CST] 0000000a BundleResolve 3   found resource bundle com.ibm.ejs.resources.RasMessages in OSGi bundle com.ibm.ws.portletcontainer.internal
[13-6-28 11:12:45:239 CST] 0000000a ManagerAdmin I TRAS0017I: Starting trace status is *=info:com.ibm.*=all.
[13-6-28 11:12:45:248 CST] 0000000a WsServerContr 1   Executing executeUtilityOnWindows with args: F:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config whaleNode01Cell whaleNode01 server1 -fromWinService \\.\pipe\w6SvcPipe_29F77_122A0 -username xxx -password  ********
[13-6-28 11:12:45:249 CST] 0000000a WsServerContr 1   invokedByWindowsService has been set to true earlier
[13-6-28 11:12:45:249 CST] 0000000a ManagerAdmin I TRAS0018I: Tracking state changed. The new trace state is *=info.
[13-6-28 11:12:45:671 CST] 0000000a AdminTool A ADMU0128I: Starting tool with AppSrv01 profile
[13-6-28 11:12:45:672 CST] 0000000a AdminTool A ADMU3100I: Reading configuration from server: server1
[13-6-28 11:12:49:273 CST] 0000000a SSLConfig W CWPKI0041W: One or more keystores are using default ciphers.
[13-6-28 11:12:49:295 CST] 0000000a SSLConfigMana I CWPKI0027I: Disable default hostname verification for HTTPS URL connections.
[13-6-28 11:12:50:240 CST] 0000000a WsServerStop E ADMU3002E: An exception occurred while trying to process server server1
[13-6-28 11:12:50:241 CST] 0000000a WsServerStop E ADMU3007E: Exception com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a connection to port 8880 when SOAP connector security is enabled SOAP connector on the host whale.
[13-6-28 11:12:50:242 CST] 0000000a WsServerStop A ADMU3007E: Exception com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a connection to port 8880 when SOAP connector security is enabled SOAP connector on the host whale.
	at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:527)
	at com.ibm.websphere.management.AdminClientFactory.access$000(AdminClientFactory.java:107)
	at com.ibm.websphere.management.AdminClientFactory$1.run(AdminClientFactory.java:185)
	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
	at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:181)
	at com.ibm.ws.management.tools.LaunchUtils.getAdminClient(LaunchUtils.java:372)
	at com.ibm.ws.management.tools.LaunchUtils.getAdminClient(LaunchUtils.java:312)
	at com.ibm.ws.management.tools.WsServerStop.runTool(WsServerStop.java:332)
	at com.ibm.ws.management.tools.AdminTool.executeUtility(AdminTool.java:263)
	at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:136)
	at com.ibm.ws.management.tools.WsServerStop.main(WsServerStop.java:108)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)
	at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)
	at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)
	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:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	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:339)
	at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:94)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
	at com.ibm.websphere.management.AdminClientFactory.createAdminClientPrivileged(AdminClientFactory.java:382)
	... 31 more
Caused by: com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found]
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:354)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:184)
	... 36 more
Caused by: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found; targetException=java.lang.IllegalArgumentException: Error opening socket: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate found]
	at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:449)
	at org.apache.soap.rpc.Call.WASinvoke(Call.java:433)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:319)
	at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
	at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:312)
	... 37 more

[13-6-28 11:12:50:256 CST] 0000000a AdminTool A ADMU0509I: Unable to reach server 'server1'. The server appears to be stopped.
[13-6-28 11:12:50:257 CST] 0000000a AdminTool A ADMU0211I: Error visible in file F:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\stopServer.log Details
[13-6-28 11:12:50:290 CST] 00000010 WindowsServic 3   inputRec == Service failed to stop.  stopServer return code -10
[13-6-28 11:12:50:292 CST] 0000000a WindowsServic 1   retCode from childProcess.waitFor() is -10
[13-6-28 11:12:50:293 CST] 0000000a WindowsServic 3   -- interrupt the thread that is collecting stdout
[13-6-28 11:12:51:293 CST] 0000000f WindowsServic 3   readAndDisplayServiceLogFile(), caught InterruptedException
[13-6-28 11:12:51:293 CST] 0000000a WindowsServic 3   exitCode = -10
[13-6-28 11:12:51:293 CST] 0000000a WindowsServic 3   Service failed to stop.  stopServer return code -10
[13-6-28 11:12:51:299 CST] 0000000a AdminTool A ADMU7705E: Failed while trying to stop Windows service associated with server: server1;
An error may have occurred while executing WASService.exe:
Service failed to stop.  stopServer return code -10

 The key to the exception is this sentence:

Exception com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: The system cannot create a SOAP connector to host whale on port 8880 when SOAP connector security is enabled.

 

After enabling SOAP connector security verification, WAS will verify the security through the port set by SOAP_CONNECTOR_ADDRESS. This port setting is operated in the "Server---Application Server---server---Port" section, see the second column is the same as your host name,



 

Finally, let's talk about the solution:

Window: Just add your IP and the previous host name to the Hosts in the C:\WINDOWS\system32\drivers\etc directory (or change it to your IP and localhost)

eg:

127.0.0.1    whale

127.0.0.1    localhost

 

Similarly for Linux, the file location is under the /etc/hosts file.

 

After the modification, if you close and restart the websphere service under the window, you will be prompted to add the security verification to the security list under the cmd command, select Y, and then a form will pop up, the first line is ignored, the default is OK, the first line Enter the username and password of the websphere login on the second and third lines respectively, over.

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326891040&siteId=291194637