-
1. Re: Trouble with WebRemote seam 2.1
shane.bryzak Nov 7, 2008 5:38 AM (in response to mhiggins.matt.smartdestinations.com)Can you try putting the @WebRemote annotation on the bean itself (not in the local interface) ?
-
2. Re: Trouble with WebRemote seam 2.1
jpeddle Nov 10, 2008 8:40 PM (in response to mhiggins.matt.smartdestinations.com)Yes we already tried this. It seems to be doing the same thing for session beans and pojos.
-
3. Re: Trouble with WebRemote seam 2.1
shane.bryzak Nov 11, 2008 2:27 AM (in response to mhiggins.matt.smartdestinations.com)Your code looks fine to me - I converted the action bean in the remoting/helloworld example to a stateless session bean just like you have, and it worked perfectly. I suggest that you set a breakpoint in InterfaceGenerator.appendComponentSource() to try to determine why your method isn't being included.
-
4. Re: Trouble with WebRemote seam 2.1
jpeddle Nov 11, 2008 5:30 PM (in response to mhiggins.matt.smartdestinations.com)I've actually already tried this too. It looks like reflections isn't picking up the @WebRemote annotation on our classes.
However, the ProgressBar demo is working fine on our JBoss. Could this possibly a dependency problem - maybe some jars in conflict? -
5. Re: Trouble with WebRemote seam 2.1
jpeddle Nov 11, 2008 10:55 PM (in response to mhiggins.matt.smartdestinations.com)Turns out I was loading the jboss-seam-remoting.jar in the WAR, rather than the EAR. Once I put the remoting.jar in the right spot it worked fine.
Thx anyways for your help.
-
6. Re: Trouble with WebRemote seam 2.1
bsgcic Dec 9, 2009 8:39 AM (in response to mhiggins.matt.smartdestinations.com)I was stumped for many hours on this as well until I finally found this thread. Thank you!!
Moving jboss-seam-remoting.jar from the WAR to the EAR solved my issue with getting WebRemote to work as well.
I just submitted an entry to JIRA for the JBoss Tools Dev team to take a look at this. Detailed steps for moving the file are in the JIRA.
-
7. Re: Trouble with WebRemote seam 2.1
desingraj Dec 23, 2011 6:03 AM (in response to mhiggins.matt.smartdestinations.com)
Shane Bryzak wrote on Nov 07, 2008 05:38:
Can you try putting the @WebRemote annotation on the bean itself (not in the local interface) ?Click HELP for text formatting instructions. Then edit this text and check the preview.