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

Marek Schmidt (JIRA) jira-events at lists.jboss.org
Wed Jun 27 08:45:12 EDT 2012


Marek Schmidt created AS7-5077:
----------------------------------

             Summary: "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


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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list