We have an application that, at this point, is mostly using the Seam database reverse engineering code (taking a schema and generating the appropriate classes, jsp, etc.). If I build and deploy this code with RC1, everything appears to work as expected. If I build and deploy the same code with CR2, we get to the main page, but navigating to any of the sub-pages (find or modify), we get a host of exceptions. The exceptions look like:
15:29:18,187 WARN [SeamVariableResolver] Seam component hides managed bean with same name 15:29:18,265 WARN [SeamVariableResolver] Seam component hides managed bean with same name 15:29:18,343 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 15:29:18,343 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 15:29:18,343 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false 15:29:18,343 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false 15:29:18,358 WARN [HtmlLabelRenderer] Unable to find component 'tagId' (calling findComponent on component '_id2:_id39') 15:29:18,390 ERROR [STDERR] java.lang.reflect.InvocationTargetException 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1122) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1107) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1096) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1044) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1027) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.getInstanceToInject(Component.java:1151) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.injectFields(Component.java:839) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:669) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:29) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) 15:29:18,390 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) 15:29:18,390 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) 15:29:18,390 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) 15:29:18,390 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) 15:29:18,390 ERROR [STDERR] at $Proxy391.getExample(Unknown Source) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:29:18,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:29:18,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:29:18,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532) 15:29:18,390 ERROR [STDERR] at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378) 15:29:18,390 ERROR [STDERR] at javax.faces.component.UIOutput.getValue(UIOutput.java:75) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131) 15:29:18,390 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49) 15:29:18,390 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) 15:29:18,390 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349) 15:29:18,390 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253) 15:29:18,390 ERROR [STDERR] at org.apache.jsp.findTag_jsp._jspx_meth_h_inputText_0(findTag_jsp.java:1226) 15:29:18,390 ERROR [STDERR] at org.apache.jsp.findTag_jsp._jspx_meth_h_outputLabel_0(findTag_jsp.java:1202) 15:29:18,390 ERROR [STDERR] at org.apache.jsp.findTag_jsp._jspx_meth_h_form_0(findTag_jsp.java:279) 15:29:18,390 ERROR [STDERR] at org.apache.jsp.findTag_jsp._jspx_meth_f_view_0(findTag_jsp.java:171) 15:29:18,390 ERROR [STDERR] at org.apache.jsp.findTag_jsp._jspService(findTag_jsp.java:116) 15:29:18,390 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 15:29:18,390 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 15:29:18,390 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) 15:29:18,390 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 15:29:18,390 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 15:29:18,390 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) 15:29:18,405 ERROR [STDERR] at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) 15:29:18,405 ERROR [STDERR] at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) 15:29:18,405 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) 15:29:18,405 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:29:18,405 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:29:18,405 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 15:29:18,405 ERROR [STDERR] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) 15:29:18,405 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) 15:29:18,405 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 15:29:18,405 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 15:29:18,405 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 15:29:18,405 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 15:29:18,405 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 15:29:18,405 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 15:29:18,405 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 15:29:18,405 ERROR [STDERR] Caused by: java.lang.NoSuchMethodError: javax.persistence.EntityManagerFactory.createEntityManager(Ljavax/persistence/PersistenceContextType;)Ljavax/persistence/EntityManager; 15:29:18,405 ERROR [STDERR] at org.jboss.seam.core.ManagedPersistenceContext.create(ManagedPersistenceContext.java:51) 15:29:18,405 ERROR [STDERR] ... 135 more followed by a host of jsp exceptions: 15:29:18,437 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception javax.faces.el.EvaluationException: Cannot get value for expression '#{tagFinder.example.tagId}' at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:397) at javax.faces.component.UIOutput.getValue(UIOutput.java:75) at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131) at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49) . . . It's puzzling to me that we would get a "NoSuchMethodError" generated. Any thoughts/ideas? This has me stumped, and we can't move to CR2 without resolving this. j View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935249#3935249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935249 ------------------------------------------------------- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user