`

WebSphere6 关闭服务报错解决方案

阅读更多

对WebSphere6的某一参数修改后,重启服务,想查看修改的效果,结果修改前后没变化,于是怀疑是否重新启动成功,查看日志,果真出问题了:

************* 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: 启动跟踪状态是 *=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: 跟踪状态已更改。新的跟踪状态是 *=info。
[13-6-28 11:12:45:671 CST] 0000000a AdminTool     A   ADMU0128I: 正在启动具有 AppSrv01 概要文件的工具
[13-6-28 11:12:45:672 CST] 0000000a AdminTool     A   ADMU3100I: 正在从服务器读取配置:server1
[13-6-28 11:12:49:273 CST] 0000000a SSLConfig     W   CWPKI0041W: 一个或多个密钥库正在使用缺省密码。
[13-6-28 11:12:49:295 CST] 0000000a SSLConfigMana I   CWPKI0027I: 对 HTTPS URL 连接禁用缺省主机名验证。
[13-6-28 11:12:50:240 CST] 0000000a WsServerStop  E   ADMU3002E: 尝试处理服务器 server1 时发生异常
[13-6-28 11:12:50:241 CST] 0000000a WsServerStop  E   ADMU3007E: 异常 com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: 启用 SOAP 连接器安全性时,系统无法创建连接到端口 8880 上的主机 whale 的 SOAP 连接器。
[13-6-28 11:12:50:242 CST] 0000000a WsServerStop  A   ADMU3007E: 异常 com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: 启用 SOAP 连接器安全性时,系统无法创建连接到端口 8880 上的主机 whale 的 SOAP 连接器。
	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: 无法到达 server“server1”。服务器看上去已停止。
[13-6-28 11:12:50:257 CST] 0000000a AdminTool     A   ADMU0211I: 在文件 F:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\stopServer.log 中可看到错误的详细信息
[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: 在尝试停止与服务器相关联的 Windows 服务时失败:server1;
在执行 WASService.exe 时可能发生了错误:
Service failed to stop.  stopServer return code -10

 异常的关键在于这一句:

异常 com.ibm.websphere.management.exception.ConnectorException: ADMC0053E: 启用 SOAP 连接器安全性时,系统无法创建连接到端口 8880 上的主机 whale 的 SOAP 连接器。

 

启用SOAP连接器安全性验证后,WAS会通过SOAP_CONNECTOR_ADDRESS设置的端口来验证安全性,这个端口设置是在 "服务器---应用程序服务器---server---端口"部分操作,查看第二列的名字是否与你的主机名字相同,



 

最后说下解决方案:

Window:在C:\WINDOWS\system32\drivers\etc目录下的Hosts中添加你的IP和之前的主机名就可以了(或者改成你的IP和localhost)

eg:

127.0.0.1    whale

127.0.0.1    localhost

 

Linux同理,文件位置在 /etc/hosts文件下。

 

修改后,如果是在window下关闭并重新启动websphere服务,会在cmd命令下提示把安全验证加入安全列表什么的,选择Y,然后会弹出一个窗体,第一行忽视,默认即可,第二行和第三行分别输入websphere登陆的用户名和密码,over。

 

  • 大小: 8.1 KB
分享到:
评论

相关推荐

    IBM WebSphere Portal 介绍 IBM门户解决方案

    IBM WebSphere Portal 是一个强大的企业门户解决方案,它通过整合和个性化功能,提高了信息的可用性和访问效率,降低了IT管理的复杂性,帮助企业实现更高效、灵活的业务运营。同时,其对多设备的支持和后端应用的...

    IBM WebSphere Portal 解决方案

    IBM WebSphere Portal 解决方案

    websphere常见问题及解决办法

    WebSphere 常见问题及解决办法详解 在本文中,我们将详细探讨 WebSphere 中的一些常见问题及其解决方法。WebSphere 是一个基于 Java 的应用服务器,广泛应用于企业级应用开发中。然而,在实际开发和部署过程中,...

    Websphere Application Server 6.1乱码问题解决办法

    Websphere Application Server 6.1 是 IBM 提供的一个企业级的应用服务器,它为开发和部署Web应用程序和服务提供了强大的支持。然而,在实际使用过程中,乱码问题常常困扰着开发者和管理员,尤其是在处理不同编码...

    websphere加快部署服务器启动速度

    在深入探讨解决方案之前,我们首先需要了解影响Websphere服务器启动速度的主要因素: - **配置文件设置**:包括Java虚拟机(JVM)参数配置、应用程序配置等。 - **硬件资源**:如CPU性能、内存大小、磁盘读写速度等。 ...

    Websphere6安装服务器证书

    ### Websphere6安装服务器证书知识点详解 #### 一、生成CSR 在部署WebSphere 6环境时,为了确保通信的安全性,通常需要为...完成以上步骤后,WebSphere 6服务器即成功安装了服务器证书,可以提供加密的安全连接服务。

    基于WebSphere的PaaS云计算解决方案.pptx

    【基于WebSphere的PaaS云计算解决方案】 WebSphere作为IBM的一款著名中间件产品,其在云计算领域扮演了重要的角色,特别是作为Platform-as-a-Service(PaaS)解决方案的基础。PaaS是一种云计算模型,它提供了一个...

    WebSphere6.1下建立服务

    **步骤6:启动服务** 最后,通过服务管理工具(如Windows的服务管理器或Linux的Systemd)启动NodeAgent服务,接着启动AppServer。确保它们都成功启动且没有错误。 在WebSphere 6.1的环境中,理解和掌握这些步骤至关...

    在Linux服务器上每周自动重启WebSphere服务配置

    ### 在Linux服务器上每周自动重启WebSphere服务配置 #### 知识点概述 本文档将详细介绍如何在Linux环境中设置cron任务来实现WebSphere服务的自动重启。此方法不仅适用于WebSphere服务,还可广泛应用于需要定时执行...

    IBM_WebSphere_Portal门户解决方案

    ### IBM WebSphere Portal 门户解决方案的关键知识点 #### 一、IBM WebSphere Portal 是什么? IBM WebSphere Portal 是一款全面的企业门户解决方案,旨在为用户提供一个统一的、集成化的电子工作空间。该解决方案...

    Apache WebSphere服务器部署方案

    Apache WebSphere服务器是业界广泛采用的一种解决方案,它能够提供强大的处理能力和灵活的扩展性。本文将详细介绍如何在Linux环境下部署Apache Web服务器,并与IBM WebSphere Application Server (WAS)集成,实现高...

    在myEclipse6中配置websphere6及部署调试工程实践

    本文将深入探讨如何在myEclipse6这个强大的集成开发环境(IDE)中配置Websphere6应用服务器,并进行工程的部署和调试。myEclipse6是Eclipse的扩展版本,专门为Java EE开发提供了丰富的功能支持,而Websphere6则是IBM...

    将web应用从Tomcat5移植到Websphere6.doc

    #### 五、常见问题及解决方案 1. **类文件或资源文件未正确加载**: - 检查是否正确配置了类文件和资源文件的位置。 - 确认是否按照正确的目录结构放置了文件。 2. **资源引用未生效**: - 确保在Websphere 6中...

    IBM 软件及方案演示 WebSphere4

    WebSphere Integration Developer是这个演示的重点,它是IBM提供的一个集成开发环境(IDE),专门用于设计、测试和部署企业服务总线(ESB)和复杂事件处理(CEP)解决方案。 WebSphere的核心功能包括: 1. **应用...

    IBM 面向能源和公用事业企业的 WebSphere业务集成解决方案

    IBM 面向能源和公用事业企业的WebSphere业务集成解决方案是一款专为该行业设计的高效集成平台,旨在提升运营效率,快速响应市场需求。通过将领先的开放式技术与深厚的业务流程理解相结合,该解决方案能够帮助企业...

    websphere解决方案

    【标题】:“Websphere解决方案”揭示了IBM的中间件技术在企业级应用集成中的核心作用,为企业构建高效、可扩展的IT基础设施提供了强大的支持。Websphere作为全球广泛采用的企业级应用服务器平台,它的解决方案旨在...

    在myEclipse6中配置websphere6及部署调试

    【标题】:在myEclipse6中配置Websphere6及部署调试 【内容详解】: myEclipse6是一款强大的Java集成开发环境,它提供了对多种应用服务器的支持,包括IBM的Websphere Application Server(WAS)。Websphere6是IBM...

    Websphere集群部署方案.doc

    【Websphere集群部署方案】 WebSphere是IBM提供的一个集成软件平台,主要功能是支持全天候的、工业强度的随需应变Web应用程序的编写、运行和监视。它基于开放标准,提供可靠的、灵活的和健壮的集成软件,允许企业...

    IBM WebSphere Telecom Application Server 电信业解决方案

    IBM WebSphere Telecom Application Server 是一款专门针对电信行业的解决方案,它旨在帮助电信服务供应商高效、低成本地开发和部署新的增值服务。这个平台的1.2版本强调了成本降低和速度提升,可将电信应用的开发和...

Global site tag (gtag.js) - Google Analytics