Hi!
I am having a problem deploying a simple session bean. I cannot see it in JNDI
view and I see nothing in the output when I start up JBoss. Is there anything
that I should see in an output of JBoss? I am using JUnit to test this EJB but
I keep getting javax.naming.NameNotFoundException: ejb not found. I have used
XDoclet to generate ejb stuff below. Unfortunately I don't have lot of
experience with it.
My Jboss.xml is as follows :
<enterprise-beans>
<!--
To add beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called jboss-beans.xml that
contains
the , and <message-driven></message-driven>
markup for those beans.
-->
<ejb-name>Rate</ejb-name>
<jndi-name>ejb/Rate</jndi-name>
<local-jndi-name>RateLocal</local-jndi-name>
</enterprise-beans>
<resource-managers>
</resource-managers>
My ejb is as follows :
<enterprise-beans>
<!-- Session Beans -->
<![CDATA[Description for Rate]]>
<display-name>RateBean</display-name>
<ejb-name>Rate</ejb-name>
interfaces.RateHome
interfaces.Rate
<local-home>interfaces.RateLocalHome</local-home>
interfaces.RateLocal
<ejb-class>ejb.RateBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883199#3883199
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883199
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user