Running a Socket-Client and a Socket-Server on the same JVM
0 posts in topic
Flat View  Flat View

Posted By:   Rami_Abramson
Posted On:   Sunday, January 5, 2003 04:32 AM


Due to special design issue we run a JVM that does the following:

1> Create a new thread and run in its context a SimpleSocketServer
(Listening to port 12345) with a console appender and a file appender.

2> Create on the main thread a Logger, say "TestLogger" that logs to a
SocketAppender (port 12345).

For some reason the output does not reach the console nor the file.

Any idea why?

[If we run a similar case but from separate JVMs is works fine.]

thank you,

Rami A.
About | Sitemap | Contact