[jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi

cmuth do-not-reply at jboss.com
Fri Jul 21 18:58:09 EDT 2006


by the way, after the stacktrace, seam is continuing to initialize and the ear gets deployed:


  | ...snip...
  | 22:38:22,860 ERROR [STDERR:152]         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | 22:38:22,861 ERROR [STDERR:152]         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
  | 22:38:22,861 ERROR [STDERR:152]         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | 22:38:22,862 INFO  [StartupServletContextListener:94] ServletContext '/opt/jboss/server/default/./tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/' initialized.
  | 22:38:22,863 INFO  [ServletContextListener:94] Welcome to Seam 1.0.1.GA
  | 22:38:22,870 INFO  [Initialization:94] reading components.xml
  | 22:38:22,876 INFO  [Initialization:94] reading properties from: /seam.properties
  | 22:38:22,878 INFO  [Initialization:94] reading properties from: /jndi.properties
  | 22:38:22,882 INFO  [Initialization:94] initializing Seam
  | 22:38:22,911 INFO  [Component:94] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
  | 22:38:22,928 INFO  [Component:94] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
  | 22:38:22,938 INFO  [Component:94] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
  | 22:38:22,945 INFO  [Component:94] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
  | 22:38:22,960 INFO  [Component:94] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
  | 22:38:22,966 INFO  [Component:94] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
  | 22:38:22,971 INFO  [Component:94] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
  | 22:38:22,978 INFO  [Component:94] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
  | 22:38:22,984 INFO  [Component:94] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
  | 22:38:22,989 INFO  [Component:94] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 22:38:22,998 INFO  [Component:94] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
  | 22:38:23,007 INFO  [Component:94] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
  | 22:38:23,012 INFO  [Component:94] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
  | 22:38:23,016 INFO  [Component:94] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
  | 22:38:23,020 INFO  [Component:94] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
  | 22:38:23,041 INFO  [Component:94] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
  | 22:38:23,049 INFO  [Component:94] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
  | 22:38:23,054 INFO  [Component:94] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
  | 22:38:23,058 INFO  [Component:94] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
  | 22:38:23,063 INFO  [Component:94] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
  | 22:38:23,067 INFO  [Component:94] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
  | 22:38:23,071 INFO  [Component:94] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
  | 22:38:23,076 INFO  [Component:94] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
  | 22:38:23,080 INFO  [Component:94] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
  | 22:38:23,088 INFO  [Component:94] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
  | 22:38:23,094 INFO  [Component:94] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
  | 22:38:23,101 INFO  [Component:94] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
  | 22:38:23,106 INFO  [Component:94] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.Subsc
  | 22:38:23,113 INFO  [Component:94] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
  | 22:38:23,116 INFO  [Component:94] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
  | 22:38:23,156 INFO  [Component:94] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
  | 22:38:23,167 INFO  [Scanner:94] scanning: /opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-ejb.jar
  | 22:38:23,194 INFO  [Component:94] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User
  | 22:38:23,197 INFO  [Component:94] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: HotelBookin
  | 22:38:23,203 INFO  [Component:94] Component: hotelSearch, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: HotelSearchingA
  | 22:38:23,215 INFO  [Component:94] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking
  | 22:38:23,247 INFO  [Component:94] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel
  | 22:38:23,250 INFO  [Component:94] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: LoginAction/local
  | 22:38:23,276 INFO  [Component:94] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: ChangePassword
  | 22:38:23,278 INFO  [Component:94] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: BookingListAction/
  | 22:38:23,449 INFO  [Component:94] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: LogoutAction/local
  | 22:38:23,451 INFO  [Component:94] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: RegisterAction/local
  | 22:38:23,456 INFO  [Initialization:94] done initializing Seam
  | 22:38:23,494 INFO  [EARDeployer:318] Started J2EE application: file:/opt/jboss/server/default/deploy/loanmarket.ear
  | 

but if i then invoke the app via http://localhost:8080/loanmarket, i get:


  | 22:56:33,532 WARN  [RenderKitFactoryImpl:104] Unknown RenderKit 'HTML_BASIC'.
  | 22:56:33,533 ERROR [[Faces Servlet]:119] Servlet.service() for servlet Faces Servlet threw exception
  | java.lang.NullPointerException
  |         at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:240)
  |         at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283)
  |         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
  |         at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
  |         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  |         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:30)
  |         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.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  |         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:869)
  |         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         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)
  | 
  | 

this will most likely be a follow-up issue, just for completeness...


Thanks for your help!




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

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



More information about the jboss-user mailing list