CXF Web Service 报错,很急,请找高人解决

學楽 发布于 2017/10/24 14:14
阅读 281
收藏 0

使用cxf webservice做服务端和客户端时出现了报错,以前重来未遇到过。

服务端收到近1万次webservice请求时,服务端无法再接收到webservice请求,过个几个小时也无法恢复,只能重启应用服务器才能恢复。

Cxf Web Service 版本:3.1.8

JDK版本:1.7_80

1.服务端的日志

CxfWebService:WsRolePowerServiceImpl.getPowers
[2017-10-23 12:00:54,740] mybatis.spring.SqlSessionUtils.getSqlSession(SqlSessionUtils.java:104) - Creating a new SqlSession
[2017-10-23 12:00:54,740] mybatis.spring.SqlSessionUtils.getSqlSession(SqlSessionUtils.java:120) - Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce]
[2017-10-23 12:00:54,741] spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:86) - JDBC Connection [jdbc:mysql://mysql1.bapt.com:3306/z2sci_ica?useUniCode=true&characterEncoding=utf8, UserName=root@localhost, MySQL-AB JDBC Driver] will be managed by Spring
[2017-10-23 12:00:54,741] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==>  Preparing: SELECT /* RoleMapper.getDetail */ id ,name ,type ,remark ,state ,create_id ,DATEFORMAT(create_time, 1) AS create_time ,update_id ,DATEFORMAT(update_time, 1) AS update_time ,GET_USER_NM(create_id) AS create_nm ,GET_USER_NM(update_id) AS update_nm ,GET_COMMON_NM(type) AS type_nm ,GET_ROLEAUTH_STATE(id) AS auth_type FROM z2_role WHERE id = ? LIMIT 1 
[2017-10-23 12:00:54,741] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==> Parameters: 41(Integer)
[2017-10-23 12:00:54,742] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - <==      Total: 1
[2017-10-23 12:00:54,742] mybatis.spring.SqlSessionUtils.closeSqlSession(SqlSessionUtils.java:163) - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce]
[2017-10-23 12:00:54,743] mybatis.spring.SqlSessionUtils.getSqlSession(SqlSessionUtils.java:97) - Fetched SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce] from current transaction
[2017-10-23 12:00:54,743] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==>  Preparing: SELECT /* PowerMapper.getRolePowerList */ p.id, p.name ,p.system_type ,p.url_path ,p.state FROM z2_power AS p INNER JOIN z2_role_power_mapping AS r ON p.id = r.power_id AND r.role_id = ? AND r.formal = 1 AND p.state = 9 AND r.state = 9 WHERE r.role_id = ? AND p.state = 9 AND r.state = 9 AND r.formal = 1 
[2017-10-23 12:00:54,743] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==> Parameters: 41(Integer), 41(Integer)
[2017-10-23 12:00:54,744] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - <==      Total: 22
[2017-10-23 12:00:54,744] mybatis.spring.SqlSessionUtils.closeSqlSession(SqlSessionUtils.java:163) - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce]
[2017-10-23 12:00:54,745] mybatis.spring.SqlSessionUtils$SqlSessionSynchronization.beforeCompletion(SqlSessionUtils.java:287) - Transaction synchronization deregistering SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce]
[2017-10-23 12:00:54,745] mybatis.spring.SqlSessionUtils$SqlSessionSynchronization.beforeCompletion(SqlSessionUtils.java:292) - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@5f0185ce]
[2017-10-23 12:00:54,752] client.util.CommonUtils.safeGetParameter(CommonUtils.java:343) - safeGetParameter called on a POST HttpServletRequest for Restricted Parameters.  Cannot complete check safely.  Reverting to standard behavior for this Parameter
CxfWebService:WsRolePowerServiceImpl.getPowers
[2017-10-23 12:00:54,753] mybatis.spring.SqlSessionUtils.getSqlSession(SqlSessionUtils.java:104) - Creating a new SqlSession
[2017-10-23 12:00:54,754] mybatis.spring.SqlSessionUtils.getSqlSession(SqlSessionUtils.java:120) - Registering transaction synchronization for SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@627d1d0e]
[2017-10-23 12:00:54,754] spring.transaction.SpringManagedTransaction.openConnection(SpringManagedTransaction.java:86) - JDBC Connection [jdbc:mysql://mysql1.bapt.com:3306/z2sci_ica?useUniCode=true&characterEncoding=utf8, UserName=root@localhost, MySQL-AB JDBC Driver] will be managed by Spring
[2017-10-23 12:00:54,754] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==>  Preparing: SELECT /* RoleMapper.getDetail */ id ,name ,type ,remark ,state ,create_id ,DATEFORMAT(create_time, 1) AS create_time ,update_id ,DATEFORMAT(update_time, 1) AS update_time ,GET_USER_NM(create_id) AS create_nm ,GET_USER_NM(update_id) AS update_nm ,GET_COMMON_NM(type) AS type_nm ,GET_ROLEAUTH_STATE(id) AS auth_type FROM z2_role WHERE id = ? LIMIT 1 
[2017-10-23 12:00:54,755] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - ==> Parameters: 41(Integer)
[2017-10-23 12:00:54,755] logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:139) - <==      Total: 1
[2017-10-23 12:00:54,756] mybatis.spring.SqlSessionUtils.closeSqlSession(SqlSessionUtils.java:163) - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@627d1d0e]

2.以下是客户端发送webservice请求时提出的错误。

[2017-10-23 12:01:54,758] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor@36f849c2
[2017-10-23 12:01:54,759] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.interceptor.StaxOutEndingInterceptor@4f2f2008
[2017-10-23 12:01:54,759] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor@38948e6d
[2017-10-23 12:01:54,760] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.wsdl.interceptors.BareOutInterceptor@62e903cb
[2017-10-23 12:01:54,760] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.wsdl.interceptors.WrappedOutInterceptor@133c6862
[2017-10-23 12:01:54,760] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor@50ed3bb2
[2017-10-23 12:01:54,760] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.interceptor.StaxOutInterceptor@35627359
[2017-10-23 12:01:54,761] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.interceptor.AttachmentOutInterceptor@6e5b7129
[2017-10-23 12:01:54,761] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.interceptor.MessageSenderInterceptor@78b44cf3
[2017-10-23 12:01:54,761] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapPreProtocolOutInterceptor@2ff83728
[2017-10-23 12:01:54,761] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.binding.soap.interceptor.SoapHeaderOutFilterInterceptor@5282f370
[2017-10-23 12:01:54,762] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor@e2e0d67
[2017-10-23 12:01:54,762] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.jaxws.interceptors.SwAOutInterceptor@528236e
[2017-10-23 12:01:54,762] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.jaxws.interceptors.HolderOutInterceptor@7171ec76
[2017-10-23 12:01:54,762] cxf.phase.PhaseInterceptorChain.unwind(PhaseInterceptorChain.java:488) - Invoking handleFault on interceptor org.apache.cxf.ws.policy.PolicyOutInterceptor@445e0565
[2017-10-23 12:01:54,766] common.logging.LogUtils.doLog(LogUtils.java:449) - Interceptor for {http://impl.server.webservice.main.platform.z2sci.cn/}WsRolePowerServiceImplService#{http://server.webservice.main.platform.z2sci.cn/}getPowers has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Could not send Message.
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
	at $Proxy38.getPowers(Unknown Source)
	at cn.test.z2sci.CxfTest.testCxfPower(CxfTest.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.net.SocketTimeoutException: SocketTimeoutException invoking http://www.bapt.com:8082/ws/role/power: Read timed out
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1377)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1361)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	... 32 more
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:150)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.getResponseCode(URLConnectionHTTPConduit.java:332)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1578)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1607)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
	... 35 more
javax.xml.ws.WebServiceException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:150)
	at $Proxy38.getPowers(Unknown Source)
	at cn.test.z2sci.CxfTest.testCxfPower(CxfTest.java:53)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: java.net.SocketTimeoutException: SocketTimeoutException invoking http://www.bapt.com:8082/ws/role/power: Read timed out
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.mapException(HTTPConduit.java:1377)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1361)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139)
	... 25 more
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:150)
	at java.net.SocketInputStream.read(SocketInputStream.java:121)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
	at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.getResponseCode(URLConnectionHTTPConduit.java:332)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doProcessResponseCode(HTTPConduit.java:1578)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1607)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
	... 35 more

3.Cxf Web Service配置

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns:mvc="http://www.springframework.org/schema/mvc"
	xmlns:context="http://www.springframework.org/schema/context"
	xmlns:aop="http://www.springframework.org/schema/aop" 
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:jaxws="http://cxf.apache.org/jaxws"
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
		http://www.springframework.org/schema/beans/spring-beans-3.2.xsd 
		http://www.springframework.org/schema/mvc 
		http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd 
		http://www.springframework.org/schema/context 
		http://www.springframework.org/schema/context/spring-context-3.2.xsd 
		http://www.springframework.org/schema/aop 
		http://www.springframework.org/schema/aop/spring-aop-3.2.xsd 
		http://www.springframework.org/schema/tx 
		http://www.springframework.org/schema/tx/spring-tx-3.2.xsd 
		http://cxf.apache.org/jaxws 
		http://cxf.apache.org/schemas/jaxws.xsd">
	
	<import resource="classpath:META-INF/cxf/cxf.xml" />
	
	<jaxws:endpoint id="wsUserService" implementor="#wsUserServiceImpl" address="/user" ></jaxws:endpoint>
	<jaxws:endpoint id="wsDeptService" implementor="#wsDeptServiceImpl" address="/dept" ></jaxws:endpoint>
	<jaxws:endpoint id="wsJobService" implementor="#wsJobServiceImpl" address="/job" ></jaxws:endpoint>
	<jaxws:endpoint id="wsRolePowerService" implementor="#wsRolePowerServiceImpl" address="/role/power" ></jaxws:endpoint>
	
</beans>

不知道是什么问题,请大神求助

加载中
0
nubo
nubo

贴客户端的log没啥用啊,问题出在服务端上面。有没有内存溢出?数据库连接池是否耗尽?监控下JVM

學楽
學楽
数据库连接池已耗尽导致
學楽
學楽
JVM的内存未溢出,服务端中除了WebService以外,其他功能都很正常,可以正常使用。
0
zigzagroad
zigzagroad
没连接了吧?之前的连接没释放?
學楽
學楽
我循环访问测试过,访问到10000次左右会出现,服务器越好数字越大,有些服务器中访问到20万次就会失效
返回顶部
顶部