Tomcat System.outs to weblogic console??
Posted By: Ann Mouradian on February 20, 2004 @ 10:38 AM
Hi there, Hope someone can help me with this.
I have installed Tomcat 4 and Weblogic on WinXp, both are running on 2 separate ports, 80 and 7000. I have deployed Tomcat's exploded directory on weblogic.
Now all I want is to be able to see the Tomcat's and Weblogic's System.outs in the same console, is there a way to redirect Tomcat's stdout to weblogic's running console?
Any help is very much appreciated!!
There may be two solutions.
The first one, try to run two server apps in one JVM. Then, you have many ways to do it.
The second way may be more practical.Using file system.firstly,when tomcat prints,actually,it outputs to a file.Secondly,in weblogic,using a thread to read that spcified file and print it out when it contains information.