Access Keys:
Skip to content (Access Key - 0)

In IS41 scenario, SBB fails to find ACI

Print this page


The following code is throwing an exception when it tries to lookup "acifactory".

public void setSbbContext(SbbContext context) {
   try {
      Context env = (Context) new InitialContext().lookup("java:comp/env/slee/resources/is41");
      is41Provider = (IS41Provider) env.lookup("provider");
      is41ACIFactory = (IS41ActivityContextInterfaceFactory) env.lookup("acifactory");
   catch (NamingException e) {
      if (log.isDebugEnabled()) {
         log.debug("Naming Exception in SbbContext", e);

Here is the exception:

2007-01-23 18:22:49,118  [DEBUG,, StageWorker/7] \--> Naming Exception in SbbContext
javax.naming.NameNotFoundException: beans/SBB_IS41Sbb_Company_1_0_0EJB/env/slee/resources/is41/acifactory
at com.opencloud.ob.rhino.wb.a(21140)


Register/login to use all DevPortal features - Log in | Sign up )

Adaptavist Theme Builder Powered by Atlassian Confluence