[JBoss Seam] - conversation propagation and navigation rule
by atao
With seam 1.2.1.GA, I tried this code:
| <page view-id="*">
| <navigation>
| <rule if-outcome="fundList">
| <redirect view-id="/FundList.xhtml">
| <param name="conversationPropagation" value="none" />
| </redirect>
| </rule>
| </navigation>
| </page>
|
and I got this exception:
anonymous wrote :
| javax.servlet.ServletException: Invalid expression: 'none'. Parsed Expression of unexpected type java.lang.String
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
| 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:147)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| ...
|
| 21:18:15,218 ERROR [ExceptionFilter] exception root cause
| javax.faces.el.ReferenceSyntaxException: Invalid expression: 'none'. Parsed Expression of unexpected type java.lang.String
| at org.apache.myfaces.el.ELParserHelper.parseExpression(ELParserHelper.java:84)
| at org.apache.myfaces.el.ValueBindingImpl$2.newInstance(ValueBindingImpl.java:82)
| at org.apache.myfaces.shared_impl.util.BiLevelCacheMap.get(BiLevelCacheMap.java:123)
| at org.apache.myfaces.el.ValueBindingImpl.(ValueBindingImpl.java:115)
|
| ...
|
So how to specify no conversation propagation from navigation rule inside pages.xml?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043479#4043479
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043479
19 years
[JBossWS] - After Adding WSDL to JBossWS, the
by MichelRobert
Hello,
I seem to have some sort of configuration problem. When I "Add a WSDL" to my project using JBossWS, the IDE reads in the wsdl, but does not actually populate the "JBossWS Web Services" entry in package Explorer. After lots of tests, I finally manged to get an error message:
"Error importing wsdl: org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA"
Note the wsdl does not contains any CDATA. In fact, this is the wsdl that is generated by JBossIDE from the basic HelloWorld example. So you would think it would not object to anything in it!
I should also mention that it is my understanding that when the JbossIDE generates the wsdl, that a wsdl entry should appear under "JBossWS Web Services". This does not happen in my IDE (which is the "JBoss Bundle" that includes Eclipse). The wsdl is actualy created though.
Any help anyone might offer to help resolve this problem would be greatly appreciated.
MR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043475#4043475
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043475
19 years
[Beginners Corner] - Socket problems when invoking EJB method
by kuvera
My program gets past JNDI lookup to remote host, but fails when it actually invokes the method on the remote object. I suspect I need some more ports other than 1098,1099,4444, but I'm not sure. I get this exception:
| org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for locator - InvokerLocator [socket://127.0.0.1:3873/]
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.remoting.Client.invoke(Client.java:604)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
| at $Proxy0.queryWithoutRecord(Unknown Source)
| at kuvera.dataware.SqlClientProxy.queryWithoutRecord(SqlClientProxy.java:155)
| at kuvera.main.Main.indit(Unknown Source)
| at kuvera.main.Main.main(Unknown Source)
| Caused by: java.net.ConnectException: Connection refused: connect
| at java.net.PlainSocketImpl.socketConnect(Native Method)
| at java.net.PlainSocketImpl.doConnect(Unknown Source)
| at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
| at java.net.PlainSocketImpl.connect(Unknown Source)
| at java.net.SocksSocketImpl.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at java.net.Socket.connect(Unknown Source)
| at java.net.Socket.<init>(Unknown Source)
| at java.net.Socket.<init>(Unknown Source)
| at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:179)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:681)
| at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:315)
| at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
| at org.jboss.remoting.Client.invoke(Client.java:612)
| at org.jboss.remoting.Client.invoke(Client.java:604)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
| at $Proxy0.queryWithoutRecord(Unknown Source)
| at kuvera.dataware.SqlClientProxy.queryWithoutRecord(SqlClientProxy.java:155)
| at kuvera.main.Main.indit(Unknown Source)
| at kuvera.main.Main.main(Unknown Source)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
| ... 12 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043474#4043474
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043474
19 years
[EJB 3.0] - ClassNotFoune Exception in Tomcat Servlet in response to a r
by tonioc
Hi,
My configuration:
1. Jboss 4.0.5.GA - EJB3
2.Tomcat 5.5.23 in an independent JVM
3.All jboss-client jar's are in tomcat's share class loader, not in the war-archive
I'm experiencing a strange problem when calling a
stateless Session Bean from Tomcat.
- The first time I call it gives a ClassNotFoundException
- The second/third/etc time I call it works OK
- If I wait for nearly 30 seconds, it repeats the same problem
I'm sure all classes are in my war.
This is the top of my stack-trace
| 14:27:59 [remoting.transport.socket.SocketClientInvoker-http-9080-Processor25] ERROR - Error loading classes from remote call result.
| java.lang.ClassNotFoundException: isoa.investments.entity.PublicBond
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
| at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
| at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
|
I've also tested putting jboss-all-client.jar in my war, and the same
error occurs.
Any help will be greatly welcome.
thanks in advance
tonio
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043470#4043470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043470
19 years