0 Replies Latest reply on Dec 17, 2001 11:03 AM by Garth Dougherty

    Deploy problem

    Garth Dougherty Newbie

      Hello All,

      I am trying to port our J2EE application from Weblogic to JBoss 2.4.3. We have about 34 EJB's, entity and session, currently running under Weblogic 6.1. When I try to deploy the Application under JBoss, I get the following exception:

      ...
      ...
      Bean : AdminActionSecurity
      Method : public abstract AdminActionSecurity findByPrimaryKey(AdminSecurityPK) throws FinderException, RemoteException
      Section: 9.2.8
      Warning: All the exceptions defined in the throws clause of an ejbFind method of the entity bean class must be included
      in the throws clause of the matching find method of the home interface.

      [Verifier]
      Bean : AdminCertificate
      Method : public abstract AdminCertificate create(AdminCertificateInfo) throws CreateException, RemoteException, DBConstr
      aintException
      Section: 9.2.8
      Warning: The method return values in the home interface must be of valid types for RMI/IIOP.
      ...
      ...
      ...
      [Container factory] Deploying TestDelivery
      [Container factory] Deploying TestManager
      [J2EE Deployer Default] Starting TestApp.jar failed!
      [Default] java.lang.NoClassDefFoundError: java/lang/Char
      [Default] at $Proxy44.(Unknown Source)
      [Default]
      [Default] at java.lang.reflect.Constructor.newInstance(Native Method)
      [Default]
      [Default] at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:562)
      [Default]
      [Default] at org.jboss.ejb.plugins.jrmp13.server.JRMPContainerInvoker.init(JRMPContainerInvoker.java:80)
      [Default]
      [Default] at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.init(JRMPContainerInvoker.java:258)
      [Default]
      [Default] at org.jboss.ejb.StatelessSessionContainer.init(StatelessSessionContainer.java:165)
      [Default]
      [Default] at org.jboss.ejb.Application.init(Application.java:202)
      [Default]
      [Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      [Default]
      [Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:304)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:494)
      [Default]
      [Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468)
      [Default]
      [Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)
      [Default]
      [Default] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)
      [Default]
      [Default] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353)
      [Default]
      [Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:836)
      [Default]
      [Default] at $Proxy0.start(Unknown Source)
      [Default]
      [Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      [Default]
      [Default] at java.lang.reflect.Method.invoke(Native Method)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [Default]
      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [Default]
      [Default] at org.jboss.Main.(Main.java:221)
      [Default]
      [Default] at org.jboss.Main$1.run(Main.java:127)
      [Default]
      [Default] at java.security.AccessController.doPrivileged(Native Method)
      [Default]
      [Default] at org.jboss.Main.main(Main.java:123)
      [Default]
      [J2EE Deployer Default] Module TestApp.jar is not running


      I have searched all through our code and there is NO reference anywhere to a "java.lang.Char" class.

      The culprit bean is a stateless session bean. If I comment out this one bean from the deployment descriptor, the application deploys without error.

      The application has been rebuilt using the delivered JBoss jar files.

      I would greatly appreciate any assistance on how to find or solve this problem.

      Regards,
      Garth