Lincoln,
Okay great. That now builds and I can create my app as before. However I get a further
problem:
Running on a clean JBoss 6.0.0.Final, JDK 1.6.0_24:
URL:
http://localhost:8080/Foo/faces/scaffold/customer/create.xhtml
Says:
java.lang.IllegalArgumentException: null source
java.util.EventObject.<init>(EventObject.java:38)
javax.faces.event.SystemEvent.<init>(SystemEvent.java:67)
javax.faces.event.ComponentSystemEvent.<init>(ComponentSystemEvent.java:69)
javax.faces.event.PostRestoreStateEvent.<init>(PostRestoreStateEvent.java:69)
com.sun.faces.lifecycle.RestoreViewPhase.deliverPostRestoreStateEvent(RestoreViewPhase.java:256)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:245)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
com.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:134)
com.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:185)
com.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:130)
com.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:185)
com.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:130)
In the log it says:
16:39:48,999 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]]
Exception Processing ErrorPage[errorCode=500, location=/faces/500.
xhtml]: javax.servlet.ServletException: Must call associate() before calling activate()
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) [: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 com.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:134) [:]
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:543)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)
[:6.0.0.Final]
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:431)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:357)
[:6.0.0.Final]
at
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:301)
[:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
[: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(Thread.java:662) [:1.6.0_24]
Caused by: java.lang.IllegalStateException: Must call associate() before calling
activate()
at
org.jboss.weld.context.AbstractConversationContext.activate(AbstractConversationContext.java:273)
[:6.0.0.Final]
at
org.jboss.weld.jsf.WeldPhaseListener.activateConversations(WeldPhaseListener.java:110)
[:6.0.0.Final]
at org.jboss.weld.jsf.WeldPhaseListener.beforePhase(WeldPhaseListener.java:84)
[:6.0.0.Final]
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224) [:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95) [: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-]
... 22 more
If I remove all the rewrite-*.jar libs from WEB-INF/lib it seems to work okay?
Richard.
On 31/08/2011 10:56 PM, Lincoln Baxter, III wrote:
Sorry guys, it was ignored by the .gitignore file. I had to -f add
it.
Should be all good now.
~Lincoln
On Tue, Aug 30, 2011 at 7:56 PM, Richard Kennard <richard(a)kennardconsulting.com
<mailto:richard@kennardconsulting.com>> wrote:
Lincoln,
I'm having a hard time building the dist. I do 'mvn clean install' and
'mvn assembly' on /forge/dist and it builds forge-1.0.0-SNAPSHOT.zip, but the ZIP
doesn't contain a /bin - only /img and /modules?
Is there a change to the way you're meant to run Forge?
Regards,
Richard.
On 31/08/2011 5:25 AM, Lincoln Baxter, III wrote:
> FYI.
>
> 1. I've modified XMLParser to return org.jboss.forge.parser.xml.Node
instead of Shrinkwrap Nodes - Plugins will need to be updated.
>
> 2. I've moved forge/modules-build/ back to dist/ (forge-distribution)
>
>
> --
> Lincoln Baxter, III
>
http://ocpsoft.com
>
http://scrumshark.com
> "Keep it Simple"
>
>
> _______________________________________________
> forge-dev mailing list
> forge-dev(a)lists.jboss.org <mailto:forge-dev@lists.jboss.org>
>
https://lists.jboss.org/mailman/listinfo/forge-dev
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org <mailto:forge-dev@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/forge-dev
--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
_______________________________________________
forge-dev mailing list
forge-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev