-
1. Re: seam remote error why?
shane.bryzak Oct 27, 2008 4:15 AM (in response to yuzexu)It looks like you're using an old version of Seam. First thing I recommend to do is to upgrade to 2.1.0.GA. Secondly, are you sure that it's your sayHello() method not being called, and not the callback (which you haven't registered) ?
-
2. Re: seam remote error why?
yuzexu Oct 27, 2008 4:22 AM (in response to yuzexu)I use 2.0.3 and the sayHello is not called ,I will update 2.1.0
but I do't kown it can run ok
-
3. Re: seam remote error why?
shane.bryzak Oct 27, 2008 4:54 AM (in response to yuzexu)If you're using 2.0.3 then your web.xml is wrong, you only need SeamResourceServlet. I recommend you set a breakpoint in ExecutionHandler.handle() to see why your request isn't being executed.
-
4. Re: seam remote error why?
yuzexu Oct 27, 2008 5:31 AM (in response to yuzexu)I run the demo at IE ,
it sayobject not suport property or method
-
5. Re: seam remote error why?
shane.bryzak Oct 27, 2008 7:23 AM (in response to yuzexu)Which demo? I just ran both the helloworld and chatroom demos from latest trunk in IE and they both worked fine for me.
-
6. Re: seam remote error why?
yuzexu Oct 27, 2008 7:36 AM (in response to yuzexu)oh,I say I upload the demo
@Name(
testremoteAction
)
@Scope(ScopeType.SESSION)
public class RemoteAction implements DocNodeRemote{
public void sayHello() {
System.out.println(ddd
);}
}
@Local
public interface DocNodeRemote {@WebRemote
public void sayHello();
}
.................... -
7. Re: seam remote error why?
yuzexu Oct 27, 2008 7:39 AM (in response to yuzexu)Is have a lot of config file I is't configed or lost some jar
I config by the seam /example
but it not run good
-
8. Re: seam remote error why?
shane.bryzak Oct 27, 2008 8:00 AM (in response to yuzexu)So what happens when you set a breakpoint in ExecutionHandler.handle() ?
-
9. Re: seam remote error why?
santiagochz.santiagochz.gmail.com Mar 7, 2009 2:08 AM (in response to yuzexu)i have the same problem ,my seam version is jboss-seam-2.1.1.GA, jboss is jboss-4.2.3.GA. The seam example remoting/helloworld runs well when i deployed it to jboss.i have this test:
1.copy HelloWorld.java,helloWorld.xhtml to my seam project created by seam-gen
2.request the page http://hostname:port/webapp_name/helloWorld.seam,it can be displayed,but when i click the sayhello button,input the name,then Seam.Component.getInstance("testremoteAction") is can get,but the method sayHello can not be called ,and the error is Object doesn't support this property or method
...deployed-jars-ear.list is :
antlr-runtime.jar
core.jar
drools-compiler.jar
drools-core.jar
groovy-all.jar
janino.jar
jboss-el.jar
jbpm-jpdl.jar
mvel14.jar
richfaces-api.jar
richfaces-impl.jar
richfaces-ui.jar
jboss-seam-remoting.jar
secuInter_1.4.jar
...deployed-jars-war.list is :
commons-beanutils.jar
commons-digester.jar
jsf-facelets.jar
jxl.jar
richfaces-impl.jar
richfaces-ui.jar
jboss-seam-debug.jar
jboss-seam-excel.jar
jboss-seam-ioc.jar
jboss-seam-mail.jar
jboss-seam-pdf.jar
jboss-seam-resteasy.jar
jboss-seam-rss.jar
jboss-seam-ui.jar
secuInter_1.4.jar
any help,any solution is appreciated.