0 Replies Latest reply on Jan 31, 2002 5:02 AM by Manu

    xdoclet samples appln -not able to run

    Manu Newbie

      hai,
      iam new bie to jboss .Iam trying to run sample appln with
      xdoclet .iam using jboss 2.4.4 and mysql.when iam deploying thte application iam getting null pointer
      exception.
      iam getting following error.also do some on have the correct description what this sample application do.
      Pls also find time to gave me good example of BMP
      in jboss

      ===========
      [15:18:40,310,JRMPContainerInvoker] JRMP 1.3 CI initialized
      [15:18:40,360,BaseLocalContainerInvoker] Caching methods for localClass: interface test.ejb.cmr.LanguageLocal
      [15:18:40,360,BaseLocalContainerInvoker] Caching methods for localHomeClass: interface test.ejb.cmr.LanguageLocalHome
      [15:18:40,420,EntityContainer] Begin java:comp/env for EJB: Language
      [15:18:40,420,EntityContainer] TCL: java.net.URLClassLoader@196cca
      [15:18:40,420,EntityContainer] End java:comp/env for EJB: Language
      [15:18:40,420,JRMPContainerInvoker] JRMP 1.3 CI initialized
      [15:18:40,420,JAWSPersistenceManager] Initializing JAWS plugin for Language
      [15:18:40,420,JAWSPersistenceManager] AutoGenerated finders - Home=interface test.ejb.cmr.LanguageHome -- LocalHome=interface test.ejb.cmr.LanguageLocalHome
      [15:18:40,470,JAWSPersistenceManager] java.sql.SQLException: General error: Table 'Language' already exists
      [15:18:40,470,JAWSPersistenceManager] Could not create table Language: General error: Table 'Language' already exists
      [15:18:40,530,ContainerFactory] DeploymentError
      java.lang.ClassNotFoundException: test.interfaces.CustomerBMPHome
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at org.jboss.ejb.EntityContainer.init(EntityContainer.java:268)
      at org.jboss.ejb.Application.init(Application.java:202)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:372)
      at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [15:18:40,530,BaseLocalContainerInvoker] Cleared method maps
      [15:18:40,530,JRMPContainerInvoker] Cleared method maps
      [15:18:40,530,BaseLocalContainerInvoker] Cleared method maps
      [15:18:40,530,JRMPContainerInvoker] Cleared method maps
      [15:18:40,530,BaseLocalContainerInvoker] Cleared method maps
      [15:18:40,530,JRMPContainerInvoker] Cleared method maps
      [15:18:40,530,BaseLocalContainerInvoker] Cleared method maps
      [15:18:40,530,JRMPContainerInvoker] Cleared method maps
      [15:18:40,580,J2eeDeployer] Starting samples.ear failed!
      [15:18:40,580,Default] java.lang.NullPointerException
      [15:18:40,580,Default] at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.stop(BaseLocalContainerInvoker.java:152)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.ejb.Container.stop(Container.java:382)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.ejb.EntityContainer.stop(EntityContainer.java:357)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.ejb.Application.stop(Application.java:231)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:400)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at $Proxy0.start(Unknown Source)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at java.lang.reflect.Method.invoke(Native Method)
      [15:18:40,580,Default]
      [15:18:40,580,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [15:18:40,580,Default]
      [15:18:40,640,Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [15:18:40,640,Default]
      [15:18:40,640,Default] at org.jboss.Main.(Main.java:208)
      [15:18:40,640,Default]
      [15:18:40,640,Default] at org.jboss.Main$1.run(Main.java:110)
      [15:18:40,640,Default]
      [15:18:40,640,Default] at java.security.AccessController.doPrivileged(Native Method)
      [15:18:40,640,Default]
      [15:18:40,640,Default] at org.jboss.Main.main(Main.java:106)
      [15:18:40,640,Default]
      [15:18:40,640,J2eeDeployer] Module samples-web.war is not running
      [15:18:40,640,J2eeDeployer] Module samples.ear is not running
      [15:18:40,640,J2eeDeployer] Destroying application samples.ear
      [15:18:40,860,AutoDeployer] DeploymentInfo failed:file:/D:/JBossTom/jboss/deploy/samples.ear
      org.jboss.deployment.J2eeDeploymentException: Error while starting samples.ear: null, Cause: java.lang.NullPointerException
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:530)
      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [15:18:40,910,AutoDeployer] Started
      [15:18:40,910,JMXAdaptorService] Starting
      [15:18:40,910,JMXAdaptorService] Started
      [15:18:40,910,RMIConnectorService] Starting
      [15:18:43,060,RMIConnectorService] Started
      [15:18:43,060,MailService] Starting
      [15:18:43,660,MailService] Mail Service 'Mail' bound to java:/Mail
      [15:18:43,660,MailService] Started
      [15:18:43,660,ServiceControl] Started 48 services
      [15:18:43,660,Default] JBoss-2.4.4 Started in 0m:32s.900
      [15:20:51,530,LRUEnterpriseContextCachePolicy] Resized cache for bean CDBean: old capacity = 1000, new capacity = 50