did you try http://openejb.apache.org/3.0/jndi-names.html ?

- Romain

2011/6/8 Shawn Jiang <[email protected]>

>
> com.sun.ts.tests.ejb30.bb.session.stateful.remove.complement.Client#removeTwoRemoteHome<
> https://phoebe.apache.org:9443/jobs/artifacts/185/2106688/3_0_Full_Profile_tomcat_Test_Results/com.sun.ts.tests.ejb30.bb.session.stateful.remove.complement/Client_removeTwoRemoteHome.html
> >
>
> this case failed because it can't inject a remoteHome field in App
> Client.    after debug,  I found that openejb does not bind the RemoteHome
> format jndi name to the context.
>
> In method
>
> org.apache.openejb.assembler.classic.JndiBuilder.TemplatedStrategy.getName(Class,
> Interface) ,  openejb uses following template to generate the jndi name by
> default.
>
> {ejbName}{interfaceType.annotationName}
>
> While the case is expecting a jndi name
> "RemoveBean!com.sun.ts.tests.ejb30.common.migration.twothree.TwoRemoteHome"
> which should be generated with a template like
>
> {ejbName}{interfaceClass}
>
> Is there a way to specify the customized template for this specific EJB in
> deployment process ?
>
>
> --
> Shawn
>

Reply via email to