You can also set up logging for your beans in the jboss.jcml file and use:

     import org.jboss.logging.*;
     ...
     log.debug("Hello World!");
     log.exception(ex);
     ...

Tim





[EMAIL PROTECTED] on 04/10/2001 01:43:39 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: [JBoss-user] debug ejb bean



Hi Ed:

Actually, issuing an

     System.out.println ( "Hello World!" );

should print out on the console while JBoss is running. It works from an entity
or session bean.

What rev of JBoss / JDK are you running?


Kev





"Ed Aihua Wu" <[EMAIL PROTECTED]> on 04/10/2001 12:55:26 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Kevin Monaghan/US/GM/GMC)
Subject:  [JBoss-user] debug ejb bean




I don't have any IDE to debug an ejb bean.
I usually just put print statement in a java program to
debug it.
It doesn't work for ejb
since it is inside a containner and System.out.println
doesn't work.

Can anybody tell me an easy way to debug ejb components?
I don't have any IDE installed.  I want some String printed to
a console.

Thanks in advance.

Ed Wu


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user







_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user







_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to