Hmm... it seems that the URL used to access the page was wrong. And there is a bug in Mojarra that was deployed on AS6, causing this issue. It just means that the page was not found. Perhaps I made a mistake when I gave the instructions to access the generated view.
Try doing:
`list-web-resources`
find the file you want to view, and make sure you access it through FacesServlet, e.g: The url path after the context root (your application deployment name) must begin with "/faces/" ... such as... "/faces/scaffold/entityname/create.xhtml" etc
I hope this helps
~lincoln
Hi,
Downloaded Alpha3 and followed the example using HIbernate and JBAS 6.
The index URL worked fine but when I went to look at the entity I had
created I got the exception below.
Any suggestions ?
Thanks,
20:05:04,766 INFO
[org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS
[6.0.0.Final "Neo"] Started in 1m:24s:747ms
20:07:30,085 WARNING
[javax.enterprise.resource.webcontainer.jsf.context] JSF1091: No mime
type could be found for file favicon.ico. To resolve this, add a
mime-type mapping to the applications web.xml.
20:07:30,087 WARNING
[javax.enterprise.resource.webcontainer.jsf.context] JSF1091: No mime
type could be found for file favicon.ico. To resolve this, add a
mime-type mapping to the applications web.xml.
20:07:30,089 WARNING
[javax.enterprise.resource.webcontainer.jsf.application] JSF1015:
Request path '/faces/index.xhtml' begins with one or more occurrences
of the FacesServlet prefix path mapping '/faces'.
20:08:27,860 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/webtext-1.0.0-SNAPSHOT].[FacesServlet]]
Servlet.service() for servlet FacesServlet threw exception:
java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(Unknown Source) [:1.6.0_24]
at javax.faces.event.SystemEvent.<init>(SystemEvent.java:67) [:2.0.3-]
at javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:69)
[:2.0.3-]
at javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:69)
[:2.0.3-]
at com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:256)
[:2.0.3-]
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:245)
[:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
[:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
[:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
[:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
[:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)
[:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)
[:6.0.0.Final]
at java.lang.Thread.run(Unknown Source) [:1.6.0_24]
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users