Dear all,

I am quite new using JBoss (Been using it since june 2003) I have been deploying ejbs 
with no problems since then until Thursday of last week when I tried to deploy an EJB.

The jar is called wizard.jar
the Home interface is RetailWebSystem.WizardHome
the Remote interface is RetailWebSystem.Wizard
the Bean implementation is RetailWebSystem.WizardBean

I have included all of the class files in my jar along with the following ejb-jar.xml 
and jboss.xml:

ejb-jar.xml:
  | 
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
2.0//EN" "ejb-jar_2_0.dtd">
  | 
  | <ejb-jar>
  |   <enterprise-beans>
  |     <session >
  |       <description>Wizard Bean</description>
  |       <ejb-name>WizardEJB</ejb-name>
  |       <home>RetailWebSystem.WizardHome</home>
  |       <remote>RetailWebSystem.Wizard</remote>
  |       <ejb-class>RetailWebSystem.WizardBean</ejb-class>
  |       <session-type>Stateless</session-type> 
  |       <transaction-type>Container</transaction-type>
  |       <reentrant>False</reentrant>
  |       <resource-ref >
  |          <res-ref-name>java:/RegencyDataSource</res-ref-name>
  |          <res-type>javax.sql.DataSource</res-type>
  |          <res-auth>Container</res-auth>
  |       </resource-ref>
  |     </session>
  |   </enterprise-beans>
  | </ejb-jar>
  | 
  | jboss.xml:
  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";>
  | 
  | <jboss>
  | 
  |    <enterprise-beans>
  |      <session>
  |        <ejb-name>WizardEJB</ejb-name>
  |        <local-jndi-name>local.WizardEJB</local-jndi-name>
  |        <resource-ref>
  |          <res-ref-name>java:/RegencyDataSource</res-ref-name>
  |          <jndi-name>java:/RegencyDataSource</jndi-name>
  |        </resource-ref>
  |      </session>
  |    </enterprise-beans>
  | 
  |    <resource-managers>
  |    </resource-managers>
  | 
  | </jboss>

The jar is picked up and deployed fine when i drop it into the server deploy directory 
but when I try to retrieve the home interface on the client machine I get a 
CommunicationException with Root cause being ClassNotFoundException 
RetailWebSystem.WizardHome.

All the files build ok the paths are fine so I am slightly confused.

Has anyone got any ideas how to proceed.

any help would be much appreciated.

Shane Preater.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823569#3823569

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823569


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to