From: SourceForge.net <no...@so...> - 2003-09-10 15:01:42
|
Bugs item #794699, was opened at 2003-08-25 15:42 Message generated for change (Comment added) made by chrigri You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=794699&group_id=22866 Category: JBossServer Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Christer Grimsaeth (chrigri) Assigned to: Scott M Stark (starksm) Summary: Deployment of ear throws null pointer execption in org.jboss Initial Comment: Hi, jboss-3.2.2RC3 When deploying an ear to file to jboss-3.2.2RC3 I recive a null poiter exception in the class org.jboss.management.j2ee.J2EEApplication. If I open the http://localhost/jmx-console, navigate to "jboss.management.local" and click on the deployed ear I can see all the attribute listed, but the "DeploymentDescriptor" is null. PS! - You need to enable DEBUG in the log4j.xml file to be able to 'see' the exception in the log. - The application seams to get deployed correctly, but the management interface is missing the 'DeploymentDescriptor' attribute. Blow is part of my log: 2003-08-25 15:18:28,351 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Creating servlet: jboss.web:context=/com.ec.pf.screenlet.common,name= default,vhost=localhost 2003-08-25 15:18:28,351 DEBUG [org.jboss.management.j2ee.Servlet] postRegister(), parent: jboss.management.local:J2EEApplication=EnergyCompone nts- svo.ear,J2EEServer=Local,j2eeType=WebModule,name=c om.ec.pf.screenlet.common.war 2003-08-25 15:18:28,351 DEBUG [org.jboss.management.j2ee.Servlet] Created JSR-77 Servlet: jboss.management.local:J2EEApplication=EnergyCompone nts- svo.ear,J2EEServer=Local,WebModule=com.ec.pf.screenl et.common.war,j2eeType=Servlet,name=default 2003-08-25 15:18:28,351 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Created servlet: jboss.web:context=/com.ec.pf.screenlet.common,name= default,vhost=localhost, module: jboss.management.local:J2EEApplication=EnergyCompone nts- svo.ear,J2EEServer=Local,WebModule=com.ec.pf.screenl et.common.war,j2eeType=Servlet,name=default 2003-08-25 15:18:28,361 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: com.ec.pf.screenlet.common.war 2003-08-25 15:18:28,361 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification [source=jboss.j2ee:service=EARDeployer,type=org.jboss. deployment.SubDeployer.start,sequenceNumber=15,time Stamp=1061817508361,message=null,userData=org.jboss .deployment.DeploymentInfo@3f025452 { url=file:/C:/EnergyComponents/ECJboss-BETA2- 2_0_0/jboss- 3.2.2RC3/server/ec/deploy/EnergyComponents- svo.ear/ } deployer: org.jboss.deployment.EARDeployer@49b290 status: Starting state: START_DEPLOYER watch: file:/C:/EnergyComponents/ECJboss-BETA2- 2_0_0/jboss- 3.2.2RC3/server/ec/deploy/EnergyComponents- svo.ear/META-INF/application.xml lastDeployed: 1061817485538 lastModified: 1061814646464 mbeans: ] 2003-08-25 15:18:28,361 DEBUG [org.jboss.management.j2ee.J2EEDeployedObject] File: file:/C:/EnergyComponents/ECJboss-BETA2-2_0_0/jboss- 3.2.2RC3/server/ec/deploy/EnergyComponents-svo.ear/, descriptor: META-INF/application.xml 2003-08-25 15:18:28,361 DEBUG [org.jboss.management.j2ee.J2EEApplication] Could not create JSR-77 J2EEApplication: jboss.management.local:J2EEServer=Local,j2eeType=J2E EApplication,name=EnergyComponents-svo.ear java.lang.NullPointerException at org.jboss.management.j2ee.J2EEApplication.addChild (J2EEApplication.java:170) at org.jboss.management.j2ee.J2EEApplication.create (J2EEApplication.java:79) at org.jboss.management.j2ee.factory.EARModuleFactory.cr eate(EARModuleFactory.java:40) at org.jboss.management.j2ee.LocalJBossServerDomain.han dleNotification(LocalJBossServerDomain.java:383) at org.jboss.mx.server.NotificationListenerProxy.handleNotifi cation(NotificationListenerProxy.java:71) at javax.management.NotificationBroadcasterSupport.sendN otification(NotificationBroadcasterSupport.java:95) at org.jboss.deployment.SubDeployerSupport.start (SubDeployerSupport.java:178) at org.jboss.deployment.EARDeployer.start (EARDeployer.java:196) at org.jboss.deployment.MainDeployer.start (MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:632) at org.jboss.deployment.MainDeployer.deploy (MainDeployer.java:605) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke (ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke (MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.de ploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.sc an(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.doScan (AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.loop (AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScann er$ScannerThread.run (AbstractDeploymentScanner.java:191) 2003-08-25 15:18:28,421 DEBUG [org.jboss.management.j2ee.factory.EARModuleFactory] Created J2EEApplication: jboss.management.local:J2EEServer=Local,j2eeType=J2E EApplication,name=EnergyComponents-svo.ear 2003-08-25 15:18:28,421 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/EnergyComponents/ECJboss-BETA2- 2_0_0/jboss- 3.2.2RC3/server/ec/deploy/EnergyComponents-svo.ear/ 2003-08-25 15:18:28,421 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: EnergyComponents-svo.ear 2003-08-25 15:18:28,421 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/EnergyComponents/ECJboss-BETA2-2_0_0/jboss- 3.2.2RC3/server/ec/deploy/EnergyComponents-svo.ear/ ---------------------------------------------------------------------- >Comment By: Christer Grimsaeth (chrigri) Date: 2003-09-10 17:01 Message: Logged In: YES user_id=114591 I've submitted a patch for this bug. Please see patch #795164. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=794699&group_id=22866 |