was7发布webservice问题
webservice用的是cxf框架。应用启动时,启动webservice服务。刚启动一段时间webservice还很正常,但是如果有应用的模块重启,webservice就会报错:org.springframework.web.context.ContextLoader initWebApplicationContext Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'WASTest': Initialization of bean failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
Caused by: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
手动运行stopServer.sh server1, startServer.sh server1后又正常了。这是怎么回事啊? was webservice cxf
补充:企业软件 , WebSphere