软件开发WAS

was停不下来

was停止的时候停不下来,停止的很慢。停止命令:./stopServer.sh server1 -username admin -password adminadmin停止时每次日志都是到:[6/21/17 8:15:38:510 CST] 0000004e AppProfileCom I   ACIN0009I: The application profiling service is stopping.[6/21/17 ...显示全部

was停止的时候停不下来,停止的很慢。停止命令:./stopServer.sh server1 -username admin -password adminadmin

停止时每次日志都是到:

[6/21/17 8:15:38:510 CST] 0000004e AppProfileCom I   ACIN0009I: The application profiling service is stopping.

[6/21/17 8:15:38:510 CST] 0000004e ActivitySessi I   WACS0049I: The ActivitySession service is stopping.

这后面就没日志了,等上十几分钟之后报错日志如下:

[6/21/17 8:24:40:762 CST] 0000004e MCWrapper     E   J2CA0081E: Method destroy failed while trying to execute method destroy on ManagedConnection WSRdbManagedConnectionImpl@b0726ff2 from resource No longer available. Caught exception: com.ibm.ws.exception.WsException: DSRA0080E: An exception was received by the Data Store Adapter. See original exception message: Io exception: A remote host did not respond within the timeout period.. with SQL State : null SQL Code : 17002

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)

at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)

at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:480)

at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:1175)

at oracle.jdbc.pool.OraclePooledConnection.close(OraclePooledConnection.java:246)

at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java:3866)

at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:2063)

at com.ibm.ejs.j2c.FreePool.cleanupAndDestroyMCWrapper(FreePool.java:764)

at com.ibm.ejs.j2c.FreePool.cleanupAndDestroyAllFreeConnections(FreePool.java:2536)

at com.ibm.ejs.j2c.PoolManager.serverShutDown(PoolManager.java:1929)

at com.ibm.ejs.j2c.ConnectionFactoryDetailsImpl.stop(ConnectionFactoryDetailsImpl.java:445)

at com.ibm.ejs.j2c.RALifeCycleManagerImpl.shutdown(RALifeCycleManagerImpl.java:1468)

at com.ibm.ejs.j2c.RALifeCycleManagerImpl.stop(RALifeCycleManagerImpl.java:529)

at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(ContainerHelper.java:476)

at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(ContainerHelper.java:460)

at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:650)

at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:638)

at com.ibm.ws.runtime.component.ApplicationServerImpl.stop(ApplicationServerImpl.java:286)

at com.ibm.ws.runtime.component.ContainerHelper.stopComponent(ContainerHelper.java:476)

at com.ibm.ws.runtime.component.ContainerHelper.stopComponents(ContainerHelper.java:460)

at com.ibm.ws.runtime.component.ContainerImpl.stopComponents(ContainerImpl.java:650)

at com.ibm.ws.runtime.component.ContainerImpl.stop(ContainerImpl.java:638)

at com.ibm.ws.runtime.component.ServerImpl.stop(ServerImpl.java:618)

at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.run(ServerCollaborator.java:860)

at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5339)

at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5555)

at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run(ServerCollaborator.java:850)

at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm(ServerCollaborator.java:809)

at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:133)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)

Caused by: java.sql.SQLException: Io exception: A remote host did not respond within the timeout period. DSRA0010E: SQL State = null, Error Code = 17,002

... 31 more

收起
参与7
  • 好像是oracle数据库11版本会有问题,换10g的数据库就没问题,不知道11g的数据库该怎么调整
    2017-06-22

查看其它 1 个回答wodese7en的回答

wodese7enwodese7en其它其他

当你的stop命令发出时,你WAS上的应用程序正在与数据库通信,所以正常情况下,应用一般是等到通信结束后,才会停止应用。请考量这方面的影响,如果不重要,你直接后台找出进程然后kill掉吧。

文化教育其它 · 2017-06-23
浏览1536

回答者

wodese7en
其它其他
擅长领域: 服务器中间件应用服务器

wodese7en 最近回答过的问题

回答状态

  • 发布时间:2017-06-23
  • 关注会员:3 人
  • 回答浏览:1536
  • X社区推广