Oracle stored procedure call java webserivce(axis)
The procedure call axis serivce successfully,but failed this month.The following is oracle error message:
ORA-29532: Java call terminated by uncaught Java exception
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException:Message send failed:Bad Set-Cookie header: JSESSIONID=
HttpOnlyNo '=' found for token starting at position
The cause :
I upgrade tomcat6 to tomcat8!httpOnly is set false in tomcat6,but is set true in tomcat8 default.
Solution:
modify context.xml,add [
useHttpOnly="false"]
CATALINA_HOME/conf/context.xml
<Context useHttpOnly="false"/>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>
<Context useHttpOnly="false"/>
<WatchedResource>WEB-INF/web.xml</WatchedResource>
</Context>
解决Oracle调用WebService错误

本文介绍了一种在Oracle中调用WebService时遇到的问题及解决方案。主要问题是由于Tomcat升级导致的HTTP设置差异,具体表现为Java调用终止的错误。通过调整Tomcat配置文件context.xml中的useHttpOnly参数为false解决了此问题。

795

被折叠的 条评论
为什么被折叠?



