Hi, I seem to be stuck on the booking example that I morphed
into my own project. I simply changed the package names
and packaging and the corrensponding configuration values.

The application deploys fine without any problems.
The main page comes up, then I can register and then the errors
start once a request is passed to the SLSB - RegisterAction.

Seam Version : Seam 1.0 beta 2
JBoss Version: jboss-4.0.4RC1

Error:

  | 09:42:37,935 INFO  [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: 
CVSTag=JBoss_4_0_4_RC1 date=200602071519)] Started in 40s:630ms
  | 09:48:14,940 INFO  [EARDeployer] Init J2EE application: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/deploy/cms.ear
  | 09:48:22,561 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=ChangePasswordAction, class=com.iplay.cms.manager.ChangePasswordAction, 
typ
  | e=STATEFUL
  | 09:48:22,731 INFO  [Ejb3AnnotationHandler] found EJB3: ejbName=LoginAction, 
class=com.iplay.cms.manager.LoginAction, type=STATELESS
  | 09:48:22,741 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=LogoutAction, class=com.iplay.cms.manager.LogoutAction, type=STATELESS
  | 09:48:22,751 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=RegisterAction, class=com.iplay.cms.manager.RegisterAction, 
type=STATEFUL
  | 09:48:22,871 FATAL [PersistenceXmlLoader] iplaycmsEntityManager JTA
  | 09:48:22,891 INFO  [Ejb3Deployment] EJB3 deployment time took: 881
  | 09:48:22,921 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityM
  | anager with dependencies:
  | 09:48:22,921 INFO  [JmxKernelAbstraction]       
jboss.jca:name=iplaycmsDatasource,service=ManagedConnectionFactory
  | 09:48:23,112 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=ChangePasswordAction wi
  | th dependencies:
  | 09:48:23,112 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 09:48:23,112 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=LoginAction with depend
  | encies:
  | 09:48:23,122 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 09:48:23,122 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=LogoutAction with depen
  | dencies:
  | 09:48:23,853 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:service=EJB3,ear=cms.ear,jar=cms-ejb.jar,name=RegisterAction with dep
  | endencies:
  | 09:48:23,853 INFO  [JmxKernelAbstraction]       
persistence.units:ear=cms.ear.ear,jar=cms-ejb.jar.jar,unitName=iplaycmsEntityManager
  | 09:48:23,863 INFO  [EJB3Deployer] Deployed: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-ej
  | b.jar
  | 09:48:23,873 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/
  | 09:48:26,116 INFO  [ServletContextListener] Welcome to Seam 1.0 beta 2
  | 09:48:26,176 INFO  [Initialization] reading properties from: 
/seam.properties
  | 09:48:26,186 INFO  [Initialization] initializing Seam
  | 09:48:26,286 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 09:48:26,567 INFO  [Component] Component: org.jboss.seam.core.pages, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
  | 09:48:26,587 INFO  [Component] Component: org.jboss.seam.core.manager, 
scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | 09:48:26,617 INFO  [Component] Component: switcher, scope: PAGE, type: 
JAVA_BEAN, class: org.jboss.seam.core.Switcher
  | 09:48:26,627 INFO  [Component] Component: conversation, scope: 
CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 09:48:26,637 INFO  [Component] Component: conversationList, scope: PAGE, 
type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
  | 09:48:26,637 INFO  [Component] Component: conversationStack, scope: PAGE, 
type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
  | 09:48:26,647 INFO  [Component] Component: facesContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | 09:48:26,657 INFO  [Component] Component: eventContext, scope: APPLICATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | 09:48:26,657 INFO  [Component] Component: sessionContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
  | 09:48:26,667 INFO  [Component] Component: statelessContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
  | 
  | 09:48:26,667 INFO  [Component] Component: applicationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationCon
  | text
  | 09:48:26,677 INFO  [Component] Component: conversationContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationC
  | ontext
  | 09:48:26,677 INFO  [Component] Component: businessProcessContext, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessPr
  | ocessContext
  | 09:48:26,687 INFO  [Component] Component: resourceBundle, scope: 
APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
  | 09:48:26,717 INFO  [Component] Component: 
org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: 
org.jboss.seam.debug.Intr
  | ospector
  | 09:48:26,807 INFO  [ResourceBundle] resource bundle missing: messages
  | 09:48:26,887 INFO  [Component] Component: org.jboss.seam.debug.contexts, 
scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Co
  | ntexts
  | 09:48:26,907 INFO  [Scanner] scanning: 
/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-ejb.jar
  | 09:48:26,937 INFO  [Component] Component: login, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: com.iplay.cms.manager.LoginAction,
  |  JNDI: cms/LoginAction/local
  | 09:48:26,947 INFO  [Component] Component: logout, scope: STATELESS, type: 
STATELESS_SESSION_BEAN, class: com.iplay.cms.manager.LogoutActio
  | n, JNDI: cms/LogoutAction/local
  | 09:48:26,957 INFO  [Component] Component: changePassword, scope: EVENT, 
type: STATEFUL_SESSION_BEAN, class: com.iplay.cms.manager.ChangePa
  | sswordAction, JNDI: cms/ChangePasswordAction/local
  | 09:48:27,037 INFO  [Component] Component: user, scope: SESSION, type: 
ENTITY_BEAN, class: com.iplay.cms.model.user.User
  | 09:48:27,037 INFO  [Component] Component: register, scope: EVENT, type: 
STATEFUL_SESSION_BEAN, class: com.iplay.cms.manager.RegisterAction
  | , JNDI: cms/RegisterAction/local
  | 09:48:27,047 INFO  [Initialization] done initializing Seam
  | 09:48:27,298 INFO  [FacesConfigurator] Reading standard config 
org/apache/myfaces/resource/standard-faces-config.xml
  | 09:48:27,488 INFO  [FacesConfigurator] Reading config 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-c
  | ontents/cms-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
  | 09:48:27,528 INFO  [FacesConfigurator] Reading config 
/WEB-INF/faces-config.xml
  | 09:48:27,678 ERROR [LocaleUtils] Locale name null or empty, ignoring
  | 09:48:28,279 INFO  [StartupServletContextListener] ServletContext 
'F:\projects\iplay\prod\jboss\server\iplayserver\.\tmp\deploy\tmp14892cms.
  | ear-contents\cms-exp.war\' initialized.
  | 09:48:28,349 INFO  [EARDeployer] Started J2EE application: 
file:/F:/projects/iplay/prod/jboss/server/iplayserver/deploy/cms.ear
  | 09:48:46,636 ERROR [STDERR] 07-Mar-2006 09:48:46 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/WEB-INF/
  | lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
  | 09:48:46,947 ERROR [STDERR] 07-Mar-2006 09:48:46 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/WEB-INF/
  | lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
  | 09:48:47,157 ERROR [STDERR] 07-Mar-2006 09:48:47 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/WEB-INF/
  | lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
  | 09:48:47,317 ERROR [STDERR] 07-Mar-2006 09:48:47 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/WEB-INF/
  | lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
  | 09:48:47,778 ERROR [STDERR] 07-Mar-2006 09:48:47 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/F:/projects/iplay/prod/jboss/server/iplayserver/tmp/deploy/tmp14892cms.ear-contents/cms-exp.war/WEB-INF/
  | lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
  | 09:48:49,621 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.PRETTY_HTML' found, using default value true
  | 09:48:49,621 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
  | 09:48:49,621 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
  | 09:48:49,621 INFO  [MyfacesConfig] No context init parameter 
'org.apache.myfaces.AUTO_SCROLL' found, using default value false
  | 09:49:07,206 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | org.jboss.seam.InstantiationException: Could not instantiate Seam component
  |         at org.jboss.seam.Component.newInstance(Component.java:611)
  |         at org.jboss.seam.Component.newInstance(Component.java:1093)
  |         at org.jboss.seam.Component.getInstance(Component.java:1044)
  |         at org.jboss.seam.Component.getInstance(Component.java:1027)
  |         at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:43)
  |         at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:130)
  |         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:41)
  |         at com.sun.el.parser.AstValue.getTarget(AstValue.java:41)
  |         at com.sun.el.parser.AstValue.getType(AstValue.java:34)
  |         at 
com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:171)
  |         at 
com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:60)
  |         at 
com.sun.facelets.el.LegacyValueBinding.getType(LegacyValueBinding.java:94)
  |         at 
org.apache.myfaces.renderkit._SharedRendererUtils.findUIOutputConverter(_SharedRendererUtils.java:55)
  |         at 
org.apache.myfaces.renderkit.RendererUtils.findUIOutputConverter(RendererUtils.java:324)
  |         at 
org.apache.myfaces.renderkit.RendererUtils.getConvertedUIOutputValue(RendererUtils.java:643)
  |         at 
org.apache.myfaces.renderkit.html.HtmlSecretRendererBase.getConvertedValue(HtmlSecretRendererBase.java:103)
  |         at javax.faces.component.UIInput.getConvertedValue(UIInput.java:289)
  |         at javax.faces.component.UIInput.validate(UIInput.java:265)
  |         at javax.faces.component.UIInput.processValidators(UIInput.java:144)
  |         at javax.faces.component.UIForm.processValidators(UIForm.java:68)
  |         at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417)
  |         at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)
  |         at 
org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)
  |         at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  |         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  |         at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  |         at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  |         at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  |         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  |         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  |         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  |         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.naming.NameNotFoundException: RegisterAction not bound
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  |         at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  |         at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  |         at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  |         at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  |         at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  |         at javax.naming.InitialContext.lookup(InitialContext.java:351)
  |         at org.jboss.seam.Component.instantiate(Component.java:651)
  |         at org.jboss.seam.Component.newInstance(Component.java:607)
  |         ... 46 more
  | 

persistence.xml:

  |     <persistence>
  |        <persistence-unit name="iplaycmsEntityManager">
  |        <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |        <jta-data-source>java:/iplaycmsDatasource</jta-data-source>
  |         <properties>
  |              <property name="hibernate.dialect" 
value="org.hibernate.dialect.HSQLDialect"/>
  |              <property name="hibernate.transaction.manager_lookup_class" 
value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
  |              <property name="hibernate.transaction.flush_before_completion" 
value="true"/>
  |              <property name="hibernate.hbm2ddl.auto" value="update"/>
  |              <property name="hibernate.show_sql" value="true"/>
  |           </properties>         
  |        </persistence-unit>
  | </persistence>
  | 

seam.properties

  |     empty/blank
  | 


web.xml
This is the same, except I changed the deployment ear name, it is set
to cms.ear

  | ..
  | <context-param>
  |         <param-name>org.jboss.seam.core.init.jndiPattern</param-name>
  |         <param-value>cms/#{ejbName}/local</param-value>
  | </context-param>
  | ..
  | 

TIA, I can't see why this is causing an issue :-(





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928423#3928423

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928423


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to