[JBoss Seam] - ajax4jsf+seam redployment fails
by mrohad
ok , now ajax4jsf and seam and facelets working for me side by side
but when I redeploy?!?!?!yes redeploy
I get this exception while surfing to my home.jsp
:SEVERE: Error Rendering View[/home.jsp]
| com.sun.facelets.tag.TagAttributeException: /WEB-INF/incl/store_nav.jsp @8,62 view="/home.jsp" object is not an instance of declaring class
| at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
| at com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
| at com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
| at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:140)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| at com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
| at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
| at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
| at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
| at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
| at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
| at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
| at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
| at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
| at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
| at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
| at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
| at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
| at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510)
| at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553)
| at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
| at org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
| at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 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.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:232)
| 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)
| Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:49)
what what what???
btw, I am using seam s:link there:
<s:link view="/home.jsp" value="Home" propagation="none"/>
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968223#3968223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968223
19 years, 7 months
[Clustering/JBoss] - Forcing Topology change
by kpandey
I have a requirement that between the two nodes a and b in a cluster node a should always run in the Master mode when available.
Normal cluster functions between the two nodes are working fine. I'm using tcp as oppose to udp protocol.
It seems the first name in the current view returned from the channel is used to determine if the HASingletonDeployer should be in master mode.
JGroup/JChannel doesn't seem to provide a way to manipulate the arrangement of items in the view.
I tried to see if starting and stopping the ClusterPartition would do the trick. So when node a is the first item in the CurrentView from jmx-console(ie master node) I invoked stop. This closed the DefaultPartition and node b then assumed the master role. On starting the ClusterPartition on node a again didn't see node b ? Is this a bug or am I missing some subtleties?
Is there a better way to leave and join the cluster programatically?
Thanks
Kumar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968218#3968218
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968218
19 years, 7 months
[JNDI/Naming/Network] - Re: java.naming.provider.url parsing problem?
by csturtz
Ok. I got the list of bindings. This first list is printed while running the application in JBoss. You can see a binding with name "OracleDS" (the datasource i'm needing). The second list is printed while running my integration tests. There are no datasource bindings at all!
anonymous wrote : 13:18:09,465 INFO [STDOUT] binding name=XAConnectionFactory
| 13:18:09,465 INFO [STDOUT] binding name=DefaultDS
| 13:18:09,465 INFO [STDOUT] binding name=SecurityProxyFactory
| 13:18:09,475 INFO [STDOUT] binding name=PostgresDS
| 13:18:09,475 INFO [STDOUT] binding name=OracleDS
| 13:18:09,475 INFO [STDOUT] binding name=DefaultJMSProvider
| 13:18:09,475 INFO [STDOUT] binding name=comp
| 13:18:09,475 INFO [STDOUT] binding name=JmsXA
| 13:18:09,475 INFO [STDOUT] binding name=ConnectionFactory
| 13:18:09,475 INFO [STDOUT] binding name=jaas
| 13:18:09,475 INFO [STDOUT] binding name=timedCacheFactory
| 13:18:09,475 INFO [STDOUT] binding name=TransactionPropagationContextExporter
| 13:18:09,475 INFO [STDOUT] binding name=StdJMSPool
| 13:18:09,475 INFO [STDOUT] binding name=Mail
| 13:18:09,475 INFO [STDOUT] binding name=TransactionPropagationContextImporter
| 13:18:09,475 INFO [STDOUT] binding name=TransactionManager
|
anonymous wrote : binding name=TopicConnectionFactory
| binding name=jmx
| binding name=HTTPXAConnectionFactory
| binding name=ConnectionFactory
| binding name=UserTransactionSessionFactor
| binding name=HTTPConnectionFactory
| binding name=XAConnectionFactory
| binding name=UserTransaction
| binding name=UILXAConnectionFactory
| binding name=UIL2XAConnectionFactory
| binding name=queue
| binding name=topic
| binding name=console
| binding name=UIL2ConnectionFactory
| binding name=HiLoKeyGeneratorFactory
| binding name=UILConnectionFactory
| binding name=EventDispatcher
| binding name=QueueConnectionFactory
| binding name=UUIDKeyGeneratorFactory
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968214#3968214
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968214
19 years, 7 months