调用ejb时出现not bound错误
我知道是jndi的问题。
问题在于我写的是client的code去调用服务器上的ejb.
client端只知道第三方提供的几个jar文件,其他什么都没有。
请问我需要在client端配置什么东西吗?
目前我client端的CLASSPATH下有如下几个文件:
wm-jam-common.jar;//第三方提供
reportImportExport.jar;//第三方提供
jboss-j2ee.jar;
log4j-1.2.15.jar;
jndi.properties;
log4j.properties;
编译通过,在运行时出的错误是
“
java.lang.Exception: java.lang.RuntimeException: LocalReportImportExportHome not bound
“
是否client端还需要什么配置呢,还是server端的问题呢。