- 论坛徽章:
- 0
|
各位大虾:
小弟在开发一个项目概况和遇到的问题如下:
1. 项目本身是一个webservice项目。
2. 项目使用的web服务器为 tomcat-6.0.16。
3. 该tomcat是部署在一台unix服务器上,并可以正常启动。
4. 启动服务后,可以正常的通过相关网址访问到tomcat首页和webservice服务的wsdl显示页面。
5. 倘若调用某一个特定服务的某一个方法时候,如果使用了不正确的参数,自然在tomcat的catalina.out会打印报错信息,但随后tomcat就会自动关闭。
先将catalina.out的重要的输出信息给大家看看:
filePath:10.195.109.3:21:/opt/jeus/jeusApp/wrs/geography/geography.txt@'jeus'@'jeus123'
flag:false
information:10.195.109.3:21:/opt/jeus/jeusApp/wrs/geography/geography.txt
information:'jeus'
information:'jeus123'
the filePath is wrong type !
Jul 24, 2008 9:36:26 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jul 24, 2008 9:36:27 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jul 24, 2008 9:36:27 AM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Jul 24, 2008 9:36:28 AM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Jul 24, 2008 9:36:29 AM org.apache.catalina.core.StandardWrapper unload
INFO: Waiting for 1 instance(s) to be deallocated
Jul 24, 2008 9:36:29 AM org.springframework.context.support.AbstractApplicationContext close
INFO: Closing application context [org.codehaus.xfire.spring.GenericApplicationContext;hashCode=33402317]
Jul 24, 2008 9:36:29 AM org.springframework.beans.factory.support.AbstractBeanFactory destroySingletons
INFO: Destroying singletons in factory {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xfire.c
ustomEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.
serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,org.codehaus.xfire.spring.ServiceBea
n]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans []; root of BeanFactory hierarchy}
Jul 24, 2008 9:36:29 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
上面的报错信息中红色的字是程序中打印出的参数值,后面的 “the filePath is wrong type ”是程序对参数经过判断后打印出的错误信息。这些都与tomcat本身的宕机没多大的关系,主要是在报错以后,后面紧接着tomcat就报出一些关闭服务的信息。请大家关注一下。
但实际上我在一台测试服务器上也部署了同样版本的tomcat和相同的服务程序,我测试了很久,不管调用服务的参数正确与否,tomcat在测试机上都不会宕机,
但是在现场的unix机器上就有这种情况发生,不知道大家有遇到过这种情况没有?希望能与大家讨论解决,要是解决问题需要额外信息请尽快回帖,我会补充,谢谢。 |
|