Hello I know its silly question but I am new in this technology and I have 
problem with deploying my EJB in JBoss.

I have 3 classes :
 org.ejb.wybory.Model.class - Remote Interface
 org.ejb.wybory.ModelHome.class - Home Interface
 org.ejb.wybory.ModelBean.class - EJB

and I have 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>
      
          Dane
          <display-name>Model</display-name>
          <ejb-name>ModelEJB</ejb-name>
          org.ejb.wybory.ModelHome
          org.ejb.wybory.Model
          <ejb-class>org.ejb.wybory.ModelBean</ejb-class>
          <session-type>Stateful</session-type>
          <transaction-type>Container</transaction-type>
      
  </enterprise-beans>
</ejb-jar>

I packed it :
jar -cvf wybory.jar Meta-Inf org/ejb/wybory/*.class

and copy wybory jar into  \jboss-4.0.1\server\all\deploy 

and it thoes not work :( 

what did I do wrong?

Thx 
 Waglik 
 


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

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to