[jboss-jira] [JBoss JIRA] (AS7-5077) "JBAS014101: Failed to find SFSB instance with session ID" calling @javax.ejb.Remove method

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon Nov 26 15:40:22 EST 2012


    [ https://issues.jboss.org/browse/AS7-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737130#comment-12737130 ] 

Stuart Douglas commented on AS7-5077:
-------------------------------------

I can see what is happening here, after the bean is removed the association interceptor attempts to release it, and does not find it in the cache as it has been removed. 

I think this log message should be debug or trace rather than info.
                
> "JBAS014101: Failed to find SFSB instance with session ID" calling @javax.ejb.Remove method
> -------------------------------------------------------------------------------------------
>
>                 Key: AS7-5077
>                 URL: https://issues.jboss.org/browse/AS7-5077
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Marek Schmidt
>            Assignee: jaikiran pai
>             Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
>
>         Attachments: jboss-as-helloworld-jsf.war
>
>
> Calling a SFSB @javax.ejb.Remove method results an ugly INFO message in the logs:
> e.g. (modified helloworld-jsf quickstart):
> {code}
> @Named
> @Stateless
> public class RichBean  {
>     @Resource
>     SessionContext sessionContext;
>     public void greet() {
>        TestEjb testEjb = (TestEjb)sessionContext.lookup("java:app/jboss-as-helloworld-jsf/TestEjb");
>        System.out.println(testEjb.greet());
>        testEjb.remove();
>     }
> }
> {code}
> {code}
> @Stateful
> public class TestEjb
> {
>    @Remove
>    public void remove() {
>       
>    }
>    
>    public String greet() {
>       return "Hello";
>    }
> }
> {code}
> {code}
>                 <h:form id="helloWorld">
>                     <h:commandButton action="#{richBean.greet()}" value="Greet" />
>                 </h:form>
> {code}
> {noformat}
> 14:35:46,105 INFO  [stdout] (http-/127.0.0.1:8080-1) Hello
> 14:35:46,106 INFO  [org.jboss.as.ejb3] (http-/127.0.0.1:8080-1) JBAS014101: Failed to find SFSB instance with session ID {[95, 12, 97, -35, -110, -123, 79, -16, -116, -95, -99, -57, 52, 38, 81, 85]} in cache
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list