Tomcat 的多个实例
我目前面临一个奇怪的问题,如下所示。
场景 -
我的机器上运行着两个 tomcat 6.0 实例,
我通过服务调用从一个实例向另一个实例进行调用。
第二台服务器上很少有 system.out.println() 调用,只是为了检查调用是否已到达。
问题 - 一旦我运行第二个实例并且有来自第一个实例的调用,我就无法在 Tomcat 控制台上看到任何输出。
尝试更改swallowOut = true / false。
没有人知道可能是什么问题。
谢谢
I am currently facing a weird problem it is as follows.
Scenario-
I have two instance of tomcat 6.0 running on my machine
I am making a call from one instance to another via Service calls.
There are few system.out.println() calls on the 2nd server just to check whether the call was reached or not.
Problem -
As soon as I have the 2nd instance running and there is a call from 1st instance I cannot see any output on the Tomcat Console.
tried changing swallowOut = true / false.
Nothing works does anyone knows what might the problem be.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
日志文件中是否有任何可疑消息?比如不正确的端口绑定(tomcat 通常使用 3 个端口用于不同的连接。每个实例必须有自己唯一的端口。)。
Any suspision messages in log files? Like incorrect port binding (tomcat typically use 3 ports for different connections. Each instance must have own unique ports.).