Hi, I am running the unstable build labeled 3.0.beta3.200510091802.
I edited log4j as discussed in the debugging thread and got debugging to work
OK. But then I added a second project so I have two OPS
projects running from inside the same eclipse. The problem is that debugging only appears for the
second of the two projects in the Logging Events window. When I remove either of the projects then the
logging is fine for the other one. On starting Tomcat I get log4j:ERROR exception setting timeout, shutting
down server socket. java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at
java.net.PlainSocketImpl.bind(Unknown Source) in the console
window I am guessing that log4j can only handle one set
of debugs at a time on one socket, is there anyway I can configure it to cope
with more than one so I can see both OPS projects debugs in the logging window
? Cheers Doug -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws Doug Young.vcf (471 bytes) Download Attachment |
Administrator
|
Hi Doug,
Try editing the log4j.xml of one of the two projects and change the port number for the appender named "OPSMonitor" (the one using the SocketHubAppender). That should solve your problem. If you modify this file outside of Eclipse, make sure you right click on that file in the Eclipse Navigator view, or on a of the parent directories that contains that file, and choose a"Refresh". Alex On 10/11/05, Doug Young <[hidden email]> wrote: > > > > Hi, > > > > > > I am running the unstable build labeled 3.0.beta3.200510091802. I edited > log4j as discussed in the debugging thread and got debugging to work OK. > > But then I added a second project so I have two OPS projects running from > inside the same eclipse. > > > > The problem is that debugging only appears for the second of the two > projects in the Logging Events window. > > > > When I remove either of the projects then the logging is fine for the other > one. > > > > On starting Tomcat I get > > log4j:ERROR exception setting timeout, shutting down server socket. > > java.net.BindException: Address already in use: JVM_Bind > > at java.net.PlainSocketImpl.socketBind(Native Method) > > at java.net.PlainSocketImpl.bind(Unknown Source) > > in the console window > > > > I am guessing that log4j can only handle one set of debugs at a time on one > socket, is there anyway I can configure it to cope with more than one so I > can see both OPS projects debugs in the logging window ? > > > > Cheers > > Doug > > > > > > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thanks that does the trick
Doug -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: 12 October 2005 21:45 To: [hidden email] Subject: Re: [ops-users] debugging multiple projects Hi Doug, Try editing the log4j.xml of one of the two projects and change the port number for the appender named "OPSMonitor" (the one using the SocketHubAppender). That should solve your problem. If you modify this file outside of Eclipse, make sure you right click on that file in the Eclipse Navigator view, or on a of the parent directories that contains that file, and choose a"Refresh". Alex On 10/11/05, Doug Young <[hidden email]> wrote: > > > > Hi, > > > > > > I am running the unstable build labeled 3.0.beta3.200510091802. I edited > log4j as discussed in the debugging thread and got debugging to work OK. > > But then I added a second project so I have two OPS projects running from > inside the same eclipse. > > > > The problem is that debugging only appears for the second of the two > projects in the Logging Events window. > > > > When I remove either of the projects then the logging is fine for the > one. > > > > On starting Tomcat I get > > log4j:ERROR exception setting timeout, shutting down server socket. > > java.net.BindException: Address already in use: JVM_Bind > > at java.net.PlainSocketImpl.socketBind(Native Method) > > at java.net.PlainSocketImpl.bind(Unknown Source) > > in the console window > > > > I am guessing that log4j can only handle one set of debugs at a time on > socket, is there anyway I can configure it to cope with more than one so I > can see both OPS projects debugs in the logging window ? > > > > Cheers > > Doug > > > > > > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws Doug Young.vcf (471 bytes) Download Attachment |
Free forum by Nabble | Edit this page |