-
1. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 30, 2007 8:52 PM (in response to samdoyle)Oh this is based of your head branch in cvs.
-
2. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 30, 2007 10:06 PM (in response to samdoyle)Here is the client side stuff.
<script type="text/javascript" src="seam/resource/remoting/resource/remote.js"></script> <script type="text/javascript" src="seam/resource/remoting/interface.js?garageAccessor"></script>
Seam.Component.getInstance( "garageAccessor" ).getGarages( getGaragesCallBack );
-
3. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 30, 2007 10:17 PM (in response to samdoyle)Figured I better add the entire implementing class.
@Stateless @Name("garageAccessor") public class GarageAccessorBean implements GarageAccessorLocal { @EJB private GarageEntityBeanFacadeLocal garageEntityBeanFacade; /** Creates a new instance of GarageAccessorBean */ public GarageAccessorBean() { } public List<GarageEntityBean> getGarages() { List<GarageEntityBean> garages = garageEntityBeanFacade.findAll(); return garages; } public void persist(Object object) { // TODO: // em.persist(object); } }
-
4. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 31, 2007 4:25 AM (in response to samdoyle)Anyone else encounter this?
-
5. Re: Remoting does not invoke my @WebRemote ?
shane.bryzak Jul 31, 2007 7:24 AM (in response to samdoyle)Can you please put together a deployable test case in JIRA? I'm guessing that some exception is occuring server-side but I'll need a test case from you to reproduce it.
-
6. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 31, 2007 1:44 PM (in response to samdoyle)"shane.bryzak@jboss.com" wrote:
Can you please put together a deployable test case in JIRA? I'm guessing that some exception is occuring server-side but I'll need a test case from you to reproduce it.
Hi,
The code I pasted in this post is it. It's as trivial as it could possibly get. You could probably use one of your existing examples built on your latest 2.0 head branch and encounter the same.
Thanks, S.D. -
7. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 31, 2007 1:45 PM (in response to samdoyle)I'm using this under GlassFish V2 but the rest of the Seam features work fine.
-
8. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 31, 2007 7:24 PM (in response to samdoyle)bumping in the hopes someone knows something about this?
-
9. Re: Remoting does not invoke my @WebRemote ?
shane.bryzak Jul 31, 2007 10:35 PM (in response to samdoyle)Your code looks fine to me, and is about as simple as the HelloWorld example, which definitely works. I'm guessing there's some other issue which I can't determine from the code you pasted, so I really need to have a deployable test case that reproduces the issue. You can send it directly to me if you don't want to raise it in JIRA.
-
10. Re: Remoting does not invoke my @WebRemote ?
samdoyle Jul 31, 2007 10:54 PM (in response to samdoyle)Will do, I'll send you my project and ear tomorrow when I'm back in the office. It is being deployed in GlassFish V2 build 56
Thanks! -
11. Re: Remoting does not invoke my @WebRemote ?
shane.bryzak Jul 31, 2007 11:18 PM (in response to samdoyle)"samdoyle" wrote:
It is being deployed in GlassFish V2 build 56
Ah I missed this bit before. It is possible that this has something to do with remoting not working, however go ahead and send me your test case and I can at least try it with JBossAS. If it works there, then I may be able to get someone else to try it out with Glassfish (I've never used it before). -
12. Re: Remoting does not invoke my @WebRemote ?
samdoyle Aug 1, 2007 1:20 AM (in response to samdoyle)"shane.bryzak@jboss.com" wrote:
"samdoyle" wrote:
It is being deployed in GlassFish V2 build 56
Ah I missed this bit before. It is possible that this has something to do with remoting not working, however go ahead and send me your test case and I can at least try it with JBossAS. If it works there, then I may be able to get someone else to try it out with Glassfish (I've never used it before).
I doubt it would have anything to do with GlassFish. The other areas of Seam appear to work fine. -
13. Re: Remoting does not invoke my @WebRemote ?
shane.bryzak Aug 1, 2007 1:53 AM (in response to samdoyle)Possibly, however I know that remoting doesn't work in standalone Tomcat (there's a JIRA issue for it).
-
14. Re: Remoting does not invoke my @WebRemote ?
samdoyle Aug 1, 2007 3:28 PM (in response to samdoyle)"shane.bryzak@jboss.com" wrote:
Possibly, however I know that remoting doesn't work in standalone Tomcat (there's a JIRA issue for it).
Hmm, perhaps this could be it and it. GlassFish is a full JEE5 environment.