0 Replies Latest reply on Oct 29, 2002 1:35 PM by Nils Kaiser

    Verifier error

    Nils Kaiser Newbie

      Hi,

      I'm using Jboss 2.4.4 and Windows.

      I have a stateful session bean with the following create method:

      public void ejbCreate(String name) throws RemoteException
      {
      this.user=name;
      }

      when I deploy my app I always get this error:

      [18:42:27,925 ERROR ContainerFactory]
      Bean : ConfigurationSession
      Method : public abstract ConfigurationSession create(String) throws RemoteExcept
      ion, CreateException
      Section: 6.10.6
      Warning: The method return values in the home interface must be of valid types f
      or RMI/IIOP.


      But as you can see I don't have any return values...


      Here the ejb-jar.xml part:


      <display-name>ConfigurationSession</display-name>
      <ejb-name>ConfigurationSession</ejb-name>
      com.titze.terminalmanager.ejb.ConfigurationSessionHome
      com.titze.terminalmanager.ejb.ConfigurationSession
      <ejb-class>com.titze.terminalmanager.ejb.ConfigurationSessionBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>
      <resource-ref>

      <res-ref-name>jdbc/DataSource</res-ref-name>
      <res-type>javax.sql.DataSource</res-type>
      <res-auth>Container</res-auth>
      </resource-ref>

      and jboss.xml part:


      <ejb-name>ConfigurationSession</ejb-name>
      <jndi-name>ConfigurationSession</jndi-name>
      <resource-ref>
      <res-ref-name>jdbc/DataSource</res-ref-name>
      <resource-name>java:/DataSource</resource-name>
      </resource-ref>
      <configuration-name></configuration-name>
      <security-proxy></security-proxy>




      any idea?

      Thx,

      Nils