[JBoss Seam] - Upgrade from Seam 1.1 to 1.2.1
by m.alex
I'm trying to migrate an application from Seam 1.1 to 1.2.1GA. The problem is I cannot make Seam Remoting to work. My app is packaged as an EAR with multiple WARs and JARs inside (basically some portlets built on top of some services/EJBs). I followed the Seam documentation and made the changes to the components.xml files, but at deploy time I get an exception saying that the name org.jboss.seam.remoting.messaging.subscriptionRegistry exists twice with the same precedence. If I remove the reference to the said class from the JARs, I can deploy the application, but after I log in, I get another error, saying there is no subscription registry.
I'm almost sure it's a configuration problem, but I can't pinpoint it. Anybody has any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037982#4037982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037982
19 years, 2 months
[JBoss Seam] - inconsistent behaviour
by laxu
I have an app with following:
Seam 1.2.1GA
Facelets 1.1.12
SJSAS Platform Edition 9.0_01 (build b02-p01)
Hibernate
I am able to run the app perfectly but at some runs, randomly, I get something like the following. I rerun, redeploy, restart server randomly (I cannot find a consistent pattern to resolve) and it eventually starts to run correctly again. Then after a few cycles of develop-compile-run I hit it again.
My best guess is some things in the application server are initialized asynchronously so that sometimes my app cannot find the bean thru jndi. I can not think of a way to resolve this. Any ideas.
org.jboss.seam.InstantiationException: Could not instantiate Seam component: isteklerAction
at org.jboss.seam.Component.newInstance(Component.java:1740)
at org.jboss.seam.Component.getInstance(Component.java:1643)
at org.jboss.seam.Component.getInstance(Component.java:1610)
at org.jboss.seam.Component.getInstance(Component.java:1604)
at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
at com.sun.el.parser.AstEqual.getValue(AstEqual.java:41)
at com.sun.el.parser.AstOr.getValue(AstOr.java:41)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:402)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer$RenderedChildIterator.update(HtmlBasicRenderer.java:673)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer$RenderedChildIterator.next(HtmlBasicRenderer.java:658)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:153)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:232)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.RuntimeException: by java.lang.NoClassDefFoundError: datassist/gop/action/IsteklerActionLocal
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:342)
at javassist.util.proxy.ProxyFactory.createClass2(ProxyFactory.java:312)
at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:271)
at org.jboss.seam.Component.createProxyFactory(Component.java:1979)
at org.jboss.seam.Component.getProxyFactory(Component.java:1154)
at org.jboss.seam.Component.wrap(Component.java:1145)
at org.jboss.seam.Component.instantiateSessionBean(Component.java:1108)
at org.jboss.seam.Component.instantiate(Component.java:1093)
at org.jboss.seam.Component.newInstance(Component.java:1736)
... 54 more
Caused by: javassist.CannotCompileException: by java.lang.NoClassDefFoundError: datassist/gop/action/IsteklerActionLocal
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:165)
at javassist.util.proxy.ProxyFactory.createClass3(ProxyFactory.java:337)
... 62 more
Caused by: java.lang.NoClassDefFoundError: datassist/gop/action/IsteklerActionLocal
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javassist.util.proxy.FactoryHelper.toClass2(FactoryHelper.java:177)
at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:159)
... 63 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037975#4037975
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037975
19 years, 2 months
[JBossWS] - NoClassDefFoundError: RuntimeWSDLParser.createReader
by electren
Hi all.
I want to consume a webservice with a dynamic Stub generated by Jax-WS-Api.
The WSDL-Parser is throwing following exception:
| java.lang.NoClassDefFoundError
| at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:786)
| at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236)
| at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107)
| at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226)
| at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:189)
| at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:159)
| at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:81)
| at javax.xml.ws.Service.<init>(Service.java:56)
| at javax.xml.ws.Service.create(Service.java:680)
| at de.xxx.fm.app.web.bl.services.WSLogin.pruefeLogin(WSLogin.java:52)
| at de.xxx.fm.app.web.bl.facade.BusinessFacade.verifieLogin(BusinessFacade.java:63)
| at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.bearbeiteLogin(CommandDispatcher.java:168)
| at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.dispatch(CommandDispatcher.java:63)
| at de.xxx.fm.app.web.gui.servlet.FrontController.doService(FrontController.java:86)
| at de.xxx.fm.app.web.gui.servlet.FrontController.doPost(FrontController.java:58)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 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.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| 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)
Has anybody get this exception before?
The Class is in jaxws-rt.jar, which is include in the Jboss lib-dir...
I'm using the newest version of the api's...
Has anybody a solution for the problem?
Thanks for every kind of help..
greetings
Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037967#4037967
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037967
19 years, 2 months