补充:
=== ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>FileListSession</display-name>
<ejb-name>FileListSession</ejb-name>
<home>com.onelink.oa.list.ejb.FileListSessionHome</home>
<remote>com.onelink.oa.list.ejb.FileListSession</remote>
<ejb-class>com.onelink.oa.list.ejb.FileListSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>FileListSession</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>=== weblogic-ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>FileListSession</ejb-name>
<jndi-name>FileListSession</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>SessionBean文件应该没有写错。发布到Weblogic上成功了,因为Context.lookup()方法返回Object对象成功。但构造接口时就提示上述错误。
=== ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>FileListSession</display-name>
<ejb-name>FileListSession</ejb-name>
<home>com.onelink.oa.list.ejb.FileListSessionHome</home>
<remote>com.onelink.oa.list.ejb.FileListSession</remote>
<ejb-class>com.onelink.oa.list.ejb.FileListSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>FileListSession</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>=== weblogic-ejb-jar.xml ===
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>FileListSession</ejb-name>
<jndi-name>FileListSession</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>SessionBean文件应该没有写错。发布到Weblogic上成功了,因为Context.lookup()方法返回Object对象成功。但构造接口时就提示上述错误。
解决方案 »
- Java使用.cer文件中的公钥对密码加密
- 关于paint方法的问题
- 关于用Xfire 自动生成调用web services 的代码的问题
- 有关hibernate的一个简单问题
- 用xfire 开发web service 方法中的参数是集合类型怎么办?在线等
- android开发 蓝牙自动配对 不出现配对请求提示框
- 有没有人用过<jsp-property-group>呢(web.xml里)?帮忙看看,先谢谢(tomcat5.0.25,我是根据“规范”做的)
- 小妹的毕业设计题目:实现一网上专家系统.大家进来看看呀.
- 一个ServerSocket只能响应50个Socket连接,那如果服务器端有成千上万个客户端连接怎么办?
- Jbuider 8.0 +Weblogic 7.0 Can not find ejb.jar,and cann't compile
- 老鸟:struts中文显示问题,请教
- 如何把jbuilder的调试客户端程序在控制台下调通???100分
我以前碰到过类似的问题。^_^