This content has been marked as final.
Show 4 replies
-
1. Re: jboss.xml seems to be ignored in EJB 3?
platinumdragon Jul 15, 2005 11:59 AM (in response to platinumdragon)It's definitely being ignored. The logs are producing:
09:02:49,646 INFO [ProxyDeployer] no declared remote bindings
09:02:49,646 INFO [ProxyDeployer] there is remote interfaces
09:02:49,646 INFO [ProxyDeployer] default remote binding has jndiName of com.mycompany.util.Proxy
So I'm left with the question: is this a bug or user error? -
2. Re: jboss.xml seems to be ignored in EJB 3?
platinumdragon Jul 20, 2005 2:06 PM (in response to platinumdragon)Hmm.. Disappointing
-
3. Re: jboss.xml seems to be ignored in EJB 3?
darranl Jul 20, 2005 3:34 PM (in response to platinumdragon)Can you execute the command 'jar -tf proxy.ejb3' an post the output here.
http://docs.jboss.org/ejb3/tutorial/index.html
The tutorials above should confirm for you how JNDI bindings can be set. -
4. Re: jboss.xml seems to be ignored in EJB 3?
platinumdragon Jul 20, 2005 5:00 PM (in response to platinumdragon)Thank you Darran,
proxy.ejb3:META-INF/ META-INF/MANIFEST.MF com/ com/mycompany/ com/mycompany/proxy/ META-INF/jboss.xml com/mycompany/proxy/DefaultProxy.class
The actual proxy interface is in a jar next to proxy.ejb3, called util.jar:META-INF/ META-INF/MANIFEST.MF com/ com/mycompany/ com/mycompany/util/ com/mycompany/util/Proxy.class
where Proxy is a simple interface with the @Remote annotation.
I've been through the tutorial, which is where I got the jboss.xml from. The only other thing I see that would possibly apply is the "JNDI Bindings" section which would unfortunately tie the code itself to JBoss (not that I have anything against JBoss). If possible, I would like to keep anything container-specific in the configuration files.
Thanks again for your response,
Mike