Migrating from Jboss to SAS 8.2 : local interface look up problem

Hello,

I have statefull bean with both local and remote interface, with jboss there is <jndi-name> and <local-jndi-name> and evrything work fine with jboss. To look up the remote interface the <jndi-name> is used and for the local one the <local-jndi-name> is used.

Migrating to Sun application server I have problem to look up the loacl interface of this bean because in sun-ejb-jar.xml there is only the tag <jndi-name> and I am wondering how to look up for the local interface.

Please help it is driving me crazy

Thanks a lot

Message was edited by:

__Taha__

[641 byte] By [__Taha__] at [2007-11-26 8:54:44]
# 1
This guy was having a similar issue and another nice guy gave him a hint that may solve your problem too: http://swforum.sun.com/jive/thread.jspa?threadID=49924&messageID=174612Hope it helps.
JoaoGuilhermeDelValle at 2007-7-6 22:51:13 > top of Java-index,Application & Integration Servers,Application Servers...
# 2

First thanks for u r reply

It is not clear, here is my problem, I have in jboss.xml the following :

<enterprise-beans>

<session>

<ejb-name>QueryManager</ejb-name>

<jndi-name>QueryManager</jndi-name>

<local-jndi-name>QueryManagerLocal</local-jndi-name>

</session>

</enterprise-beans>

And use QueryManagerLocal to look up the local interface for this bean.

With sun-ejb-jar.xml there is no <local-jndi-name> and while testing the application it throws naming exception :-(((((

Any suggestions ?

Please help

Thanks

__Taha__ at 2007-7-6 22:51:13 > top of Java-index,Application & Integration Servers,Application Servers...