User: user57
Date: 02/02/16 03:27:02
Modified: src/main/org/jboss/test/security/ejb EntityBeanImpl.java
RunAsMDB.java StatelessSessionBean2.java
StatelessSessionBean3.java
Log:
o System.err, System.out & printStackTrace() 99.9% gone.
Revision Changes Path
1.7 +2 -2
jbosstest/src/main/org/jboss/test/security/ejb/EntityBeanImpl.java
Index: EntityBeanImpl.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/security/ejb/EntityBeanImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- EntityBeanImpl.java 15 Feb 2002 06:15:55 -0000 1.6
+++ EntityBeanImpl.java 16 Feb 2002 11:27:02 -0000 1.7
@@ -17,7 +17,7 @@
using the echo method.
@author [EMAIL PROTECTED]
-@version $Revision: 1.6 $
+@version $Revision: 1.7 $
*/
public class EntityBeanImpl implements EntityBean
{
@@ -82,7 +82,7 @@
}
catch(NamingException e)
{
- e.printStackTrace();
+ log.debug("failed", e);
throw new EJBException("Naming exception: "+e.toString(true));
}
return p.getName();
1.5 +2 -2 jbosstest/src/main/org/jboss/test/security/ejb/RunAsMDB.java
Index: RunAsMDB.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/security/ejb/RunAsMDB.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- RunAsMDB.java 15 Feb 2002 06:15:55 -0000 1.4
+++ RunAsMDB.java 16 Feb 2002 11:27:02 -0000 1.5
@@ -23,7 +23,7 @@
the InternalRole assigned in the MDB descriptor run-as element.
@author [EMAIL PROTECTED]
- @version $Revision: 1.4 $
+ @version $Revision: 1.5 $
*/
public class RunAsMDB implements MessageDrivenBean, MessageListener
{
@@ -73,7 +73,7 @@
}
catch(Throwable e)
{
- e.printStackTrace();
+ log.debug("failed", e);
}
}
}
1.5 +3 -3
jbosstest/src/main/org/jboss/test/security/ejb/StatelessSessionBean2.java
Index: StatelessSessionBean2.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/security/ejb/StatelessSessionBean2.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- StatelessSessionBean2.java 15 Feb 2002 06:15:55 -0000 1.4
+++ StatelessSessionBean2.java 16 Feb 2002 11:27:02 -0000 1.5
@@ -17,7 +17,7 @@
identity propagation.
@author [EMAIL PROTECTED]
-@version $Revision: 1.4 $
+@version $Revision: 1.5 $
*/
public class StatelessSessionBean2 implements SessionBean
{
@@ -66,7 +66,7 @@
}
catch(Exception e)
{
- e.printStackTrace();
+ log.debug("failed", e);
e.fillInStackTrace();
throw new EJBException(e);
}
@@ -86,7 +86,7 @@
}
catch(Exception e)
{
- e.printStackTrace();
+ log.debug("failed", e);
e.fillInStackTrace();
throw new EJBException(e);
}
1.3 +3 -3
jbosstest/src/main/org/jboss/test/security/ejb/StatelessSessionBean3.java
Index: StatelessSessionBean3.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/security/ejb/StatelessSessionBean3.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- StatelessSessionBean3.java 15 Feb 2002 06:15:55 -0000 1.2
+++ StatelessSessionBean3.java 16 Feb 2002 11:27:02 -0000 1.3
@@ -19,7 +19,7 @@
remote interface.
@author [EMAIL PROTECTED]
-@version $Revision: 1.2 $
+@version $Revision: 1.3 $
*/
public class StatelessSessionBean3 implements SessionBean
{
@@ -73,7 +73,7 @@
}
catch(Exception e)
{
- e.printStackTrace();
+ log.debug("failed", e);
e.fillInStackTrace();
throw new EJBException(e);
}
@@ -93,7 +93,7 @@
}
catch(Exception e)
{
- e.printStackTrace();
+ log.debug("failed", e);
e.fillInStackTrace();
throw new EJBException(e);
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development