[jboss-user] [JNDI/Naming/Network] - Re: Exception javax.naming.NameNotFoundException
jaikiran
do-not-reply at jboss.com
Wed May 23 22:46:33 EDT 2007
anonymous wrote : contents of my ejb-jar.xml is same as which i posted earlier
|
anonymous wrote : 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>
|
| mfsc
| <display-name>mfsc</display-name>
|
| <enterprise-beans>
|
| <!-- Session Beans -->
|
| <display-name>UserSession</display-name>
| <ejb-name>UserSession</ejb-name>
| com.pspl.common.admin.user.components.IUserSessionEJBHome
| com.pspl.common.admin.user.components.IUserSessionEJBObject
| <ejb-class>com.pspl.common.admin.user.components.UserSessionBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
|
|
| </enterprise-beans>
|
| <assembly-descriptor>
|
| </assembly-descriptor>
|
| </ejb-jar>
Try this one:
<?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>
|
|
| <display-name>mfsc</display-name>
|
| <enterprise-beans>
|
| <!-- Session Beans -->
| <session >
|
| <ejb-name>UserSession</ejb-name>
| <home>com.pspl.common.admin.user.components.IUserSessionEJBHome</home>
| <remote>com.pspl.common.admin.user.components.IUserSessionEJBObject</remote>
| <ejb-class>com.pspl.common.admin.user.components.UserSessionBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
|
| </enterprise-beans>
|
| <assembly-descriptor>
|
| </assembly-descriptor>
|
| </ejb-jar>
|
See if the bean gets deployed using this ejb-jar.xml.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048101#4048101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048101
More information about the jboss-user
mailing list