2 Replies Latest reply on Jul 31, 2007 9:20 AM by ashley chen

    problem with booking example in jboss-seam-1.2.1.GA.zip

    ashley chen Newbie

      I am new in Seam. I downloaded jboss-seam-1.2.1.GA.zip in 07/26/07 and unzipped it. I followed the instructions and deployed booking example. JBoss came up fine.

      I could go to app by http://localhost:8080/seam-booking/. I then clicked "Register New User" link and tried to register. I typed Username. As soon as I moved the cursor to Real Name, the debug page appeared with the following message.

      Do I need to do anything before I can run this example??

      Any help is highly appreciated.


      javax.naming.NameNotFoundException: RegisterAction not bound

      [org.jnp.server.NamingServer.getBinding(NamingServer.java:529), org.jnp.server.NamingServer.getBinding(NamingServer.java:537), org.jnp.server.NamingServer.getObject(NamingServer.java:543), org.jnp.server.NamingServer.lookup(NamingServer.java:267), org.jnp.server.NamingServer.lookup(NamingServer.java:270), org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625), org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587), javax.naming.InitialContext.lookup(InitialContext.java:351), org.jboss.seam.Component.instantiateSessionBean(Component.java:1107), org.jboss.seam.Component.instantiate(Component.java:1093), org.jboss.seam.Component.newInstance(Component.java:1736), org.jboss.seam.Component.getInstance(Component.java:1643), org.jboss.seam.Component.getInstance(Component.java:1610), org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53), org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42), com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134), com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73), com.sun.el.parser.AstValue.getTarget(AstValue.java:67), com.sun.el.parser.AstValue.getType(AstValue.java:56), com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:183), com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:60), com.sun.facelets.el.LegacyValueBinding.getType(LegacyValueBinding.java:94), org.apache.myfaces.shared_impl.renderkit._SharedRendererUtils.findUIOutputConverter(_SharedRendererUtils.java:55), org.apache.myfaces.shared_impl.renderkit.RendererUtils.findUIOutputConverter(RendererUtils.java:316), org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedUIOutputValue(RendererUtils.java:636), org.apache.myfaces.shared_impl.renderkit.html.HtmlSecretRendererBase.getConvertedValue(HtmlSecretRendererBase.java:106), javax.faces.component.UIInput.getConvertedValue(UIInput.java:395), javax.faces.component.UIInput.validate(UIInput.java:349), javax.faces.component.UIInput.processValidators(UIInput.java:183), javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624), javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624), javax.faces.component.UIForm.processValidators(UIForm.java:70), javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624), javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146), org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java:53), org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:302), org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54), org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176), org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRoot.java:315), org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262), org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76), javax.faces.webapp.FacesServlet.service(FacesServlet.java:137), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173), org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63), org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60), org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49), org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45), org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49), org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57), org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49), org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79), org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49), org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173), org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96), org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173), org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173), org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213), org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178), org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175), org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74), org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126), org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105), org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156), org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107), org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148), org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869), org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664), org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527), org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112), java.lang.Thread.run(Thread.java:595)]