Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-2963

Booking example on tomcat6 with JBoss Embedded throws NameNotFoundException

    Details

      Description

      Deploy booking example to tomcat6 with JBoss embedded as it seems to deploy fine. When accessed get the exception below (see attachment for full stack). Note all other embedded examples work fine.

      Caused by: javax.naming.NameNotFoundException: Name jboss-seam-booking is not bound in this Context
      at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
      at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
      at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
      at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.embedded.jndi.BridgeContext.invoke(BridgeContext.java:77)
      at $Proxy100.lookup(Unknown Source)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at org.jboss.seam.Component.instantiateSessionBean(Component.java:1287)
      at org.jboss.seam.Component.instantiate(Component.java:1273)
      at org.jboss.seam.Component.newInstance(Component.java:1967)
      ... 42 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                jbalunas Jay Balunas
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: