6 Replies Latest reply on Aug 28, 2003 6:00 AM by fortesqque

    simple ejb.jar won't get deployed (win2k, jboss3.2.1, j2se1.

    fortesqque

      Hello,

      I realy got a prob here. As far as I can think of everything
      is fine with my code. It compiles, jboss.xml and ejb-jar.xml
      get generated, jar is established but when I deploy, only
      the jar gets deployed. Jboss is not realizing the ejbs.
      I cannot find a ejb in jndi-service. Whats wrong?

      Here is the simple code:


      package com.de.icon.akue.model.service;

      import javax.ejb.SessionBean;



      /**
      * X-Doclet Tags: http://xdoclet.sourceforge.net/
      *
      * @ejb.bean name="DataImportSession"
      * jndi-name="ejb/DataImport"
      * type="Stateful"
      *
      */
      public abstract class DataImportSessionBean implements SessionBean {


      /**
      *
      *
      * @ejb.interface-method view-type="both"
      *
      */
      public void setManagementRatio(/*ManagementRatio managementRatio*/) {

      }

      public void ejbActivate(){
      }

      public void ejbPassivate(){
      }

      public void ejbRemove(){
      }

      public void setSessionContext(javax.ejb.SessionContext sessionContext) {
      }


      }


      I get a akue.jar but when I deploy it, jboss only deploys
      it as a normal jar but not as an ejb.jar.

      Can anyone help?

      thanx, Sven alias fortesqque