Re: [SPAM] - Re: Problems Accessing a Remote SessionBean. - Email found in subject

"Anthony Roy" <[email protected]> Wed, 18 Oct 2006 15:28:03 +0100
Newsgroups gmane.comp.java.xdoclet.user
Message-ID <EFA30A31E31018468CFE19B0A6D4227102729735@email101.hpi-develop.local>
Thanks Marco and dimitris,

>   ok mine was just  a sample.. i m sure it will work also 
> with a remote, as long as, when you compile applicationB, 
> jars for applicationA EJBs are in the classpath...
> give it a go to see if it works... i m 'quite' sure it will... 

The following finally worked:

* @ejb.ejb-external-ref  type = "Session"
 *                        jndi-name = "common/NmrDetails"
 *                        home="uk.co.hpi.common.nmr.ejb.NmrDetailsHome"
 *                        business="uk.co.hpi.common.nmr.ejb.NmrDetails"
 *                        view-type="remote"
 *                        ref-name = "ejb/NmrDetails"
 
So it was a combination of the missing quote, and missing a ref-name.
The documentation implied that the latter would be automatically
generated by Xdoclet, but it seemed to give it the name of an arbitrary
ejb defined elsewhere...

Anyway, thanks - seems that the problem is now solved!

-- 
Anthony.


This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of HPI Limited. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify [email protected] message has been scanned by Anti-Virus. Recipients are advised to apply their own virus checks to this message on delivery.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642