1 2 Previous Next 18 Replies Latest reply on Jul 1, 2006 1:56 PM by Chris Miles

    Problem deploying EJB to JBoss

    Chris Miles Newbie

      I have a test jar which I downloaded which when placed in the deploy directory echos the following onto the console:

      20:21:14,574 INFO [EjbModule] Deploying TesterBean
      20:21:15,265 INFO [ProxyFactory] Bound EJB Home 'TesterBean' to jndi 'test/Tester'
      20:21:15,495 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.4.GA/server/default/deploy/tester.jar

      Yet when I place my own Bean within the directory there is stuff in the server log but no output on the console.

      here is my 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>
       <display-name>AccountJAR</display-name>
       <enterprise-beans>
       <entity>
       <display-name>AccountBean</display-name>
       <ejb-name>AccountBean</ejb-name>
       <home>cakeinabox.beans.AccountEJB.AccountHome</home>
       <remote>cakeinabox.beans.AccountEJB.Account</remote>
       <ejb-class>cakeinabox.beans.AccountEJB.AccountBean</ejb-class>
       <persistence-type>Bean</persistence-type>
       <prim-key-class>java.lang.Integer</prim-key-class>
       <reentrant>false</reentrant>
       <security-identity>
       <use-caller-identity/>
       </security-identity>
       </entity>
       </enterprise-beans>
      </ejb-jar>


      and my jboss.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss>
       <enterprise-beans>
       <entity>
       <ejb-name>AccountBean</ejb-name>
       <jndi-name>ejb/AccountBean</jndi-name>
       </entity>
       </enterprise-beans>
      </jboss>
      


      and then of course my Bean itself.

      Account.java


      package cakeinabox.beans.AccountEJB;
      
      import javax.ejb.EJBObject;
      import java.rmi.RemoteException;
      
      public interface Account extends EJBObject
       {
       public void setId(int id);
       public void setCredit(double credit);
       public void setDiscount(double discount);
       public void setOpenedDate(java.util.Date openedDate);
       public void setClosedDate(java.util.Date closedDate);
      
       public int getId();
       public double getCredit();
       public double getDiscount();
       public java.util.Date getOpenedDate();
       public java.util.Date getClosedDate();
       }
      



      AccountHome.java

      package cakeinabox.beans.AccountEJB;
      
      import java.util.Collection;
      import java.rmi.RemoteException;
      import javax.ejb.*;
      
      public interface AccountHome extends EJBHome
       {
       public Account create(int id, double credit , double discount, java.util.Date openedDate, java.util.Date closedDate) throws CreateException, RemoteException;
       public Collection findAll() throws FinderException, RemoteException;
       public Account findByPrimaryKey(int primaryKey) throws FinderException, RemoteException;
       }
      



      AccountBean.java

      package cakeinabox.beans.AccountEJB;
      
      import javax.ejb.*;
      import java.rmi.RemoteException;
      
      import java.sql.*;
      import javax.sql.*;
      import java.util.*;
      import javax.naming.*;
      
      public class AccountBean implements EntityBean
       {
       private int m_id;
       private double m_credit;
       private double m_discount;
       private java.util.Date m_openedDate;
       private java.util.Date m_closedDate;
      
       private Connection con;
       private EntityContext m_context;
      
       public AccountBean()
       {
       }
      
       ///////////////////////
       // container methods //
       ///////////////////////
      
       public int ejbCreate(int id, double credit , double discount, java.util.Date openedDate, java.util.Date closedDate) throws CreateException
       {
       try
       {
       insertRow(id, credit, discount, openedDate, closedDate);
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbRemove: " + ex.getMessage());
       }
      
       this.m_id = id;
       this.m_credit = credit;
       this.m_discount = discount;
       this.m_openedDate = openedDate;
       this.m_openedDate = closedDate;
      
       return id;
       }
      
       public void ejbPostCreate (int id, float credit , float discount, java.util.Date openedDate, java.util.Date closedDate) throws CreateException
       {
       }
      
       public void ejbRemove()
       {
       try
       {
       deleteRow(m_id);
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbRemove: " + ex.getMessage());
       }
       }
      
       public void setEntityContext(EntityContext context)
       {
       this.m_context = context;
       try
       {
       makeConnection();
       }
       catch (Exception ex)
       {
       throw new EJBException("Unable to connect to database. " + ex.getMessage());
       }
       }
      
       public void unsetEntityContext()
       {
       m_context = null;
       }
      
       public void ejbActivate()
       {
       this.m_id = ((Integer)m_context.getPrimaryKey()).intValue();
       }
      
       public void ejbPassivate()
       {
       this.m_id = 0;
       this.m_credit = 0;
       this.m_discount = 0;
       this.m_openedDate = null;
       this.m_openedDate = null;
       try
       {
       con.close();
       }
       catch (SQLException ex)
       {
       throw new EJBException("unsetEntityContext: " + ex.getMessage());
       }
       }
      
       public void ejbLoad()
       {
       // load instance variables from database
       try
       {
       loadRow();
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbLoad: " + ex.getMessage());
       }
       }
      
       public void ejbStore()
       {
       // save instance variables to database
       try
       {
       storeRow();
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbStore: " + ex.getMessage());
       }
       }
      
       public Collection ejbFindAll() throws FinderException
       {
       Collection result;
      
       try
       {
       result = selectAll();
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbFindByPrimaryKey: " + ex.getMessage());
       }
      
       if(result.isEmpty()==false)
       {
       return result;
       }
       else
       {
       throw new ObjectNotFoundException("No rows found.");
       }
       }
      
       public Integer ejbFindByPrimaryKey(int primaryKey) throws FinderException
       {
       boolean result;
      
       try
       {
       result = selectByPrimaryKey(primaryKey);
       }
       catch (Exception ex)
       {
       throw new EJBException("ejbFindByPrimaryKey: " + ex.getMessage());
       }
      
       if(result==true)
       {
       return new Integer(primaryKey);
       }
       else
       {
       throw new ObjectNotFoundException("Row for id " + primaryKey + " not found.");
       }
       }
      
       //////////////////////
       // business methods //
       //////////////////////
      
      
       // set methods
       public void setId(int id)
       {
       m_id = id;
       }
      
       public void setCredit(double credit)
       {
       m_credit = credit;
       }
      
       public void setDiscount(double discount)
       {
       m_discount = discount;
       }
      
       public void setOpenedDate(java.util.Date openedDate)
       {
       m_openedDate = openedDate;
       }
      
       public void setClosedDate(java.util.Date closedDate)
       {
       m_closedDate = closedDate;
       }
      
      
       //get methods
      
       public int getId()
       {
       return m_id;
       }
      
       public double getCredit()
       {
       return m_credit;
       }
      
       public double getDiscount()
       {
       return m_discount;
       }
      
       public java.util.Date getOpenedDate()
       {
       return m_openedDate;
       }
      
       public java.util.Date getClosedDate()
       {
       return m_closedDate;
       }
      
       ///////////////////////
       // Database Routines //
       ///////////////////////
      
       private void makeConnection() throws NamingException, SQLException
       {
       try
       {
       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
       }
       catch(ClassNotFoundException e)
       {
       System.err.println("JdbcOdbc Bridge Driver not found!");
       }
       con = DriverManager.getConnection("jdbc:odbc:cakeinabox");
       }
      
       private boolean selectByPrimaryKey(int primaryKey) throws SQLException
       {
       String selectStatement = "select id from Account where id = ? ";
       PreparedStatement prepStmt = con.prepareStatement(selectStatement);
       prepStmt.setInt(1, primaryKey);
      
       ResultSet rs = prepStmt.executeQuery();
       boolean result = rs.next();
       prepStmt.close();
       return result;
       }
      
       private Collection selectAll() throws SQLException
       {
       String selectStatement = "select id from account";
       PreparedStatement prepStmt = con.prepareStatement(selectStatement);
      
       ResultSet rs = prepStmt.executeQuery();
       ArrayList a = new ArrayList();
      
       while (rs.next())
       {
       a.add(new Integer(rs.getInt(1)));
       }
      
       prepStmt.close();
       return a;
       }
      
       private void insertRow (int id, double credit, double discount, java.util.Date openedDate, java.util.Date closedDate) throws SQLException
       {
       String insertStatement = "insert into Account values ( ? , ? , ? , ? , ?)";
       PreparedStatement prepStmt =
       con.prepareStatement(insertStatement);
      
       prepStmt.setInt(1, id);
       prepStmt.setDouble(2, credit);
       prepStmt.setDouble(3, discount);
       prepStmt.setDate(4, new java.sql.Date(openedDate.getTime()));
       prepStmt.setDate(5, new java.sql.Date(closedDate.getTime()));
      
       prepStmt.executeUpdate();
       prepStmt.close();
       }
      
       private void deleteRow(int id) throws SQLException
       {
       String deleteStatement = "delete from Account where id = ? ";
       PreparedStatement prepStmt = con.prepareStatement(deleteStatement);
       prepStmt.setInt(1, id);
       prepStmt.executeUpdate();
       prepStmt.close();
       }
      
       private void loadRow() throws SQLException
       {
       String selectStatement = "select * from Account where id = ? ";
       PreparedStatement prepStmt = con.prepareStatement(selectStatement);
      
       prepStmt.setInt(1, this.m_id);
      
       ResultSet rs = prepStmt.executeQuery();
      
       if (rs.next())
       {
       this.m_id = rs.getInt(1);
       this.m_credit = rs.getDouble(2);
       this.m_discount = rs.getDouble(3);
       this.m_openedDate = new java.util.Date(rs.getDate(4).getTime());
       this.m_closedDate = new java.util.Date(rs.getDate(5).getTime());
       prepStmt.close();
       }
       else
       {
       prepStmt.close();
       throw new NoSuchEntityException("Row for id " + m_id + " not found in database.");
       }
       }
      
       private void storeRow() throws SQLException
       {
       String updateStatement =
       "update Account set " +
       "credit = ? ," +
       "discount = ? ," +
       "openedDate = ? " +
       "closedDate = ? " +
       "where id = ?";
       PreparedStatement prepStmt = con.prepareStatement(updateStatement);
      
       prepStmt.setInt(1, m_id);
       prepStmt.setDouble(2, m_credit);
       prepStmt.setDouble(3, m_discount);
       prepStmt.setDate(4, new java.sql.Date(m_openedDate.getTime()));
       prepStmt.setDate(5, new java.sql.Date(m_closedDate.getTime()));
      
       int rowCount = prepStmt.executeUpdate();
       prepStmt.close();
      
       if (rowCount == 0)
       {
       throw new EJBException("Storing row for id " + m_id + " failed.");
       }
       }
       }
      


      Here is what the server log says

      2006-06-27 19:52:29,413 DEBUG [org.jboss.deployment.MainDeployer] Undeploying file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:29,463 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Unregistering cl=org.jboss.mx.loading.UnifiedClassLoader3@158aeed{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41839AccountJAR.jar ,addedOrder=45}
      2006-06-27 19:52:29,463 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] UnifiedLoaderRepository removed(true) org.jboss.mx.loading.UnifiedClassLoader3@158aeed{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41839AccountJAR.jar ,addedOrder=45}
      2006-06-27 19:52:29,513 DEBUG [org.jboss.util.file.Files] Failed to delete dir: C:\jboss-4.0.4.GA\server\default\tmp\deploy\tmp41839AccountJAR.jar
      2006-06-27 19:52:29,513 DEBUG [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41839AccountJAR.jar restart will delete it
      2006-06-27 19:52:29,513 DEBUG [org.jboss.deployment.MainDeployer] Undeployed file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,538 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,558 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,568 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar -> C:\jboss-4.0.4.GA\server\default\tmp\deploy\tmp41840AccountJAR.jar
      2006-06-27 19:52:39,678 DEBUG [org.jboss.deployment.JARDeployer] No xml files found
      2006-06-27 19:52:39,678 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.JARDeployer@13f7281
      2006-06-27 19:52:39,678 DEBUG [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,688 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      2006-06-27 19:52:39,688 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10a2d64, cl=org.jboss.mx.loading.UnifiedClassLoader3@144569b{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41840AccountJAR.jar ,addedOrder=0}
      2006-06-27 19:52:39,688 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10a2d64, cl=org.jboss.mx.loading.UnifiedClassLoader3@144569b{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41840AccountJAR.jar ,addedOrder=0}
      2006-06-27 19:52:39,688 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@144569b{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp41840AccountJAR.jar ,addedOrder=0}
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      2006-06-27 19:52:39,718 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar -> file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
      


        • 1. Re: Problem deploying EJB to JBoss
          jaikiran pai Master

          The log file contains the following statement:

          2006-06-27 19:52:39,678 DEBUG [org.jboss.deployment.JARDeployer] No xml files found


          Does your AccountJar.jar contain the ejb-jar.xml and jboss.xml in the META-INF directory? Execute the following command from the command prompt and post the output:

          jar -tf AccountJar.jar


          This command will show the contents of the jar




          • 2. Re: Problem deploying EJB to JBoss
            Chris Miles Newbie

            Hi thanks for responding... yes the jar contains the xml files.

            META-INF/
            META-INF/MANIFEST.MF
            AccountJAR/
            AccountJAR/META-INF/
            AccountJAR/META-INF/MANIFEST.MF
            AccountJAR/META-INF/jboss.xml
            AccountJAR/META-INF/ejb-jar.xml
            AccountJAR/cakeinabox/
            AccountJAR/cakeinabox/beans/
            AccountJAR/cakeinabox/beans/AccountEJB/
            AccountJAR/cakeinabox/beans/AccountEJB/AccountBean.class
            AccountJAR/cakeinabox/beans/AccountEJB/AccountHome.class
            AccountJAR/cakeinabox/beans/AccountEJB/Account.class

            Chris

            • 3. Re: Problem deploying EJB to JBoss
              jaikiran pai Master

               

              META-INF/
              META-INF/MANIFEST.MF
              AccountJAR/
              AccountJAR/META-INF/
              AccountJAR/META-INF/MANIFEST.MF
              AccountJAR/META-INF/jboss.xml
              AccountJAR/META-INF/ejb-jar.xml
              AccountJAR/cakeinabox/
              AccountJAR/cakeinabox/beans/
              AccountJAR/cakeinabox/beans/AccountEJB/
              AccountJAR/cakeinabox/beans/AccountEJB/AccountBean.class
              AccountJAR/cakeinabox/beans/AccountEJB/AccountHome.class
              AccountJAR/cakeinabox/beans/AccountEJB/Account.class


              The package structure looks wrong. Notice the 'AccountJAR' at the beginning of each file, above. This means that the files in the jar are under some folder named 'AccountJAR'. The output should ideally look something like:

              META-INF/
              META-INF/MANIFEST.MF
              META-INF/jboss.xml
              META-INF/ejb-jar.xml
              cakeinabox/
              cakeinabox/beans/
              cakeinabox/beans/AccountEJB/
              cakeinabox/beans/AccountEJB/AccountBean.class
              cakeinabox/beans/AccountEJB/AccountHome.class
              cakeinabox/beans/AccountEJB/Account.class


              I am not aware how you create this jar file, using which utility. Create the proper jar file and try it out. Let us know if you have any issues



              • 4. Re: Problem deploying EJB to JBoss
                Chris Miles Newbie

                Ah good call. Never seen that. I was creating the jar with

                jar -cvf AccountJAR.jar AccountJAR

                So I have moved up a level and done.

                jar - cvf AccountJAR.jar *

                and JBoss now starts churning out stuff... errors though mind you but it's a start. haha.

                thanks for that.

                Here are the further errors being printed

                loadRow signature: ()V) Incompatible object argument for function call
                 at java.lang.Class.getDeclaredConstructors0(Native Method)
                 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
                 at java.lang.Class.getConstructor0(Class.java:2640)
                 at java.lang.Class.getConstructor(Class.java:1629)
                 at org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(Ab
                stractVerifier.java:555)
                 at org.jboss.verifier.strategy.EJBVerifier20.verifyBMPEntityBean(EJBVeri
                fier20.java:2031)
                 at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVer
                ifier20.java:157)
                 at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.j
                ava:123)
                 at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:176)
                 at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
                .java:97)
                 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
                rServiceMBeanSupport.java:238)
                 at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
                :99)
                 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
                create(SubDeployerInterceptorSupport.java:180)
                 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
                ptor.java:91)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy26.create(Unknown Source)
                 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy8.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                tScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                canner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                loop(AbstractDeploymentScanner.java:274)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                run(AbstractDeploymentScanner.java:225)
                12:17:04,046 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
                0.4.GA/server/default/deploy/AccountJAR.jar
                org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
                d, see above for error messages.
                 at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                java:39)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
                .java:97)
                 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
                rServiceMBeanSupport.java:238)
                 at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java
                :99)
                 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
                create(SubDeployerInterceptorSupport.java:180)
                 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
                ptor.java:91)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy26.create(Unknown Source)
                 at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                 at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                sorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                er.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                or.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                BeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy8.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                tScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                canner.java:634)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                loop(AbstractDeploymentScanner.java:274)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                run(AbstractDeploymentScanner.java:225)
                


                • 5. Re: Problem deploying EJB to JBoss
                  Chris Miles Newbie

                  any ideas guy? my bean seems developed fine. so I dont see any coding mistakes.

                  • 6. Re: Problem deploying EJB to JBoss
                    Peter Johnson Master

                    Looks like it is in server\default\lib\jboss-backport-concurrent.jar.

                    • 7. Re: Problem deploying EJB to JBoss
                      Chris Miles Newbie

                      you have confused me now.

                      • 8. Re: Problem deploying EJB to JBoss
                        Peter Johnson Master

                        Oops, sorry, seem to have replied to the wrong post. I guess those things happen when you have way to many browser windows and tabs open. Sigh.

                        • 9. Re: Problem deploying EJB to JBoss
                          Scott Stark Master

                          Show the full verify error. It seems as though you have incompatible versions of the AccountBean visible to the jdk and its verifier is refusing to load the bytecode.

                          • 10. Re: Problem deploying EJB to JBoss
                            Chris Miles Newbie

                            sorry for being so stupid (thats why I am a n00b i suppose) but how do I show the full error? What I pasted was everything that was printed to the console.

                            • 11. Re: Problem deploying EJB to JBoss
                              Scott Stark Master

                              Then the console is truncating the message. Figure out how to correct that.

                              • 12. Re: Problem deploying EJB to JBoss
                                Chris Miles Newbie

                                and here is the console text not being wrapped.

                                01:14:32,253 DEBUG [MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,253 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,253 DEBUG [MainDeployer] Copying file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar -> C:\jboss-4.0.4.GA\server\default\tmp\deploy\tmp54451AccountJAR.jar
                                01:14:32,253 DEBUG [MainDeployer] using deployer MBeanProxyExt[jboss.ejb:service=EJBDeployer]
                                01:14:32,253 DEBUG [EJBDeployer] init, AccountJAR.jar
                                01:14:32,263 DEBUG [EJBDeployer] looking for nested deployments in : file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,263 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, config
                                ParserClassName: null, repositoryConfig: null)
                                01:14:32,263 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10a2d64, cl=org.jboss.mx.loading.UnifiedClassLoader3@10c0ef2{ url=file:/C:/jboss-4.0.
                                4.GA/server/default/tmp/deploy/tmp54451AccountJAR.jar ,addedOrder=0}
                                01:14:32,263 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3@10a2d64, cl=org.jboss.mx.loading.UnifiedClassLoader3@10c0ef2{ url=file:/C:/jboss-4.0.
                                4.GA/server/default/tmp/deploy/tmp54451AccountJAR.jar ,addedOrder=0}
                                01:14:32,273 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@10c0ef2{ url=file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp54451AccountJAR.jar ,addedOrder=0}
                                01:14:32,273 DEBUG [MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,273 DEBUG [MainDeployer] Watching new file: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,273 DEBUG [MainDeployer] create step for deployment file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,273 DEBUG [WebServiceDeployerEJB21] create: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,273 DEBUG [EJBDeployer] create, AccountJAR.jar
                                01:14:32,333 DEBUG [EJBDeployer] Verifying file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                01:14:32,343 WARN [EJBDeployer] Verify failed; continuing
                                java.lang.VerifyError: (class: cakeinabox/beans/AccountEJB/AccountBean, method: storeRow signature: ()V) Incompatible object argument for function call
                                at java.lang.Class.getDeclaredConstructors0(Native Method)
                                at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
                                at java.lang.Class.getConstructor0(Class.java:2640)
                                at java.lang.Class.getConstructor(Class.java:1629)
                                at org.jboss.verifier.strategy.AbstractVerifier.hasDefaultConstructor(AbstractVerifier.java:555)
                                at org.jboss.verifier.strategy.EJBVerifier20.verifyBMPEntityBean(EJBVerifier20.java:2031)
                                at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:157)
                                at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:123)
                                at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:176)
                                at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                                at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                                at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99)
                                at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
                                at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy26.create(Unknown Source)
                                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                                at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy8.deploy(Unknown Source)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                                01:14:32,353 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar
                                org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
                                at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                                at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                                at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99)
                                at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
                                at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy26.create(Unknown Source)
                                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                                at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy8.deploy(Unknown Source)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                                01:14:32,443 DEBUG [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@fe136fa8{ url=file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar, de
                                ployedLastModified=0 }
                                org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
                                at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:610)
                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                                at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                                at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99)
                                at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
                                at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy26.create(Unknown Source)
                                at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
                                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
                                at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                at java.lang.reflect.Method.invoke(Method.java:585)
                                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                                at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                                at $Proxy8.deploy(Unknown Source)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                                at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                                at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                                01:14:32,533 DEBUG [URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar -> file:/C:/jboss-4.0.4.GA/server/default/deploy/AccountJAR.jar

                                • 13. Re: Problem deploying EJB to JBoss
                                  Chris Miles Newbie

                                  .. sorry seems it doesnt seem like that made any different with this forums width.

                                  • 14. Re: Problem deploying EJB to JBoss
                                    Scott Stark Master

                                    The VerifyError means the bytecode for the cakeinabox/beans/AccountEJB/AccountBean is invalid. Either your compiler is broken, jvm is broken, or there are different version of AccountBean in the classpath that are confusing the jvm. How was this compiled and what is the java version (output of $JAVA_HOME/bin/java -version)?

                                    1 2 Previous Next