[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314528 ]
Scott M Stark commented on JBAS-1269:
-
This is not a practical solution. If an ejb is overriding toString to
incorporate calls which are not universially accesible, then
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314529 ]
Michael Lipp commented on JBAS-1269:
I conceed that the EJB specification does not specify in what context(s) the
toString method may be called.
However, I don't
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314533 ]
Michael Lipp commented on JBAS-1269:
This is easy: as far as the application server is concerned, the list is empty.
I think the application server must never call
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314535 ]
Scott M Stark commented on JBAS-1269:
-
An empty list means that there are no uses of the ejb object toString. The
current context where the problem exists has no
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314532 ]
Scott M Stark commented on JBAS-1269:
-
Give me a list of every context in which an ejb toString method may be called
and I think that attempting this will make it clear
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314539 ]
Adrian Brock commented on JBAS-1269:
There are two errors here:
1) The provider of the EJB must know that toString() should not throw an
exception
and that using
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314540 ]
Adrian Brock commented on JBAS-1269:
- 2) The logging within JBoss should cause the operation to fail.
+ 2) The logging within JBoss should NOT cause the operation to
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314541 ]
Scott M Stark commented on JBAS-1269:
-
I assume that you mean the logging should NOT cause the operation to fail.
toString called on EJB
--
[
http://jira.jboss.com/jira/browse/JBAS-1269?page=comments#action_12314542 ]
Adrian Brock commented on JBAS-1269:
I also believe you'll find that the other places in the ejb container
that are interested in logging the ejb
dump the ejb context to