如何在tomcat中查看内部jaxws日志
我有一个部署在 tomcat 中的 Web 服务,它拒绝通过 https 的肥皂请求。但是,我看不到任何日志来说明为什么这样做。
我在服务端点实现文件中进行了以下设置:
System.setProperty("javax.net.debug", "all");
System.setProperty("java.security.debug", "all");
我将以下参数传递给 tomcat:
-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
我还需要执行其他操作才能查看内部 jaxws 日志吗?我还需要启用其他一些记录器吗?
I have a web service that is deployed in tomcat, and it is rejecting a soap request over https. However, I can't see any logs as to why it is doing so.
I have the following set in my service endpoint implementation file:
System.setProperty("javax.net.debug", "all");
System.setProperty("java.security.debug", "all");
And I pass the following parameters to tomcat:
-Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true -Dcom.sun.xml.ws.transport.http.client.HttpTransportPipe.dump=true
Is there anything else I need to do to see the internal jaxws logs? Are there some other loggers I need to enable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
还有其他选项可以启用 SOAP 日志记录(取决于所使用的实现),请参阅:
http://blogs .oracle.com/arungupta/entry/totd_1_soap_messaging_logging
http://blogs.oracle. com/arungupta/entry/message_logging_in_wsit_updated
但是,您确定调用到达您的服务实现吗?
There are other options to enable SOAP logging (depending on the used implementation) see:
http://blogs.oracle.com/arungupta/entry/totd_1_soap_messaging_logging
http://blogs.oracle.com/arungupta/entry/message_logging_in_wsit_updated
However, are you sure the call reaches your service implementation?