java axis2调用webservice问题
错误提示:org.apache.axis2.AxisFault:CannotcreatePoolableConnectionFactory(Listenerrefused...
错误提示:
org.apache.axis2.AxisFault: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
10.168.0.99:1521:DJEAS
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
但是我直接用PLSQL连接的下面这个地址就没问题
10.168.0.99:1521:DJEAS 展开
org.apache.axis2.AxisFault: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
10.168.0.99:1521:DJEAS
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
但是我直接用PLSQL连接的下面这个地址就没问题
10.168.0.99:1521:DJEAS 展开
3个回答
展开全部
你在程序中写个测试方法,看看是不是数据库连接会有中断的情况。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
:listener does not currently know of SID given in connect descriptor
数据库配置错误。
数据库配置错误。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你用的oracle?
追问
嗯 oracle的数据库
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询