1 Reply Latest reply on Dec 27, 2005 7:07 AM by Nageswar Rao Mandadapu

    OutofMemorry error

    Harish Koya Newbie



      Hi,

      i am new to the Jboss Application Server. i deploy the ear into my jboss server. if start the server using run.bat. i am getting the OutOfMemorryError.

      how Can i slow this problem.

      help me

      i copy the my error below.

      ThanX and Rgds
      Harish


      java.lang.OutOfMemoryError: Java heap space
      2005-11-25 17:39:09,548 DEBUG [org.jboss.management.j2ee.EJB] Created JSR-77 EJB: jboss.management.local:name=ContentItemsBusinessLogicLocal,J2EEServer=Local,EJBModule=fqportalEjb.jar,J2EEApplication=fqportal.ear,j2eeType=StatelessSessionBean
      2005-11-25 17:39:09,548 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=ContentItemsBusinessLogicLocal,service=EJB, module: jboss.management.local:name=ContentItemsBusinessLogicLocal,J2EEServer=Local,EJBModule=fqportalEjb.jar,J2EEApplication=fqportal.ear,j2eeType=StatelessSessionBean
      2005-11-25 17:39:09,548 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used
      2005-11-25 17:39:10,706 ERROR [org.jboss.mx.server.registry.BasicMBeanRegistry] Unexpected Exception:
      java.lang.OutOfMemoryError: Java heap space
      2005-11-25 17:39:10,706 ERROR [org.jboss.mx.server.registry.BasicMBeanRegistry] java.lang.OutOfMemoryError: Java heap space
      java.lang.OutOfMemoryError: Java heap space
      2005-11-25 17:39:10,706 DEBUG [org.jboss.management.j2ee.StatelessSessionBean] postRegister(), parent: jboss.management.local:j2eeType=EJBModule,J2EEServer=Local,J2EEApplication=fqportal.ear,name=fqportalEjb.jar
      2005-11-25 17:39:10,706 INFO [org.jboss.management.j2ee.StatelessSessionBean] Registration is not done -> stop
      2005-11-25 17:39:10,706 DEBUG [org.jboss.management.j2ee.EJB] Created JSR-77 EJB: jboss.management.local:name=ReconSetManagerLocal,J2EEServer=Local,EJBModule=fqportalEjb.jar,J2EEApplication=fqportal.ear,j2eeType=StatelessSessionBean
      2005-11-25 17:39:10,706 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=ReconSetManagerLocal,service=EJB, module: jboss.management.local:name=ReconSetManagerLocal,J2EEServer=Local,EJBModule=fqportalEjb.jar,J2EEApplication=fqportal.ear,j2eeType=StatelessSessionBean
      2005-11-25 17:39:11,880 WARN [org.jboss.mx.server.registry.BasicMBeanRegistry] preRegister() failed for jboss.management.local:name=OrderedObjectManagerLocal,J2EEServer=Local,EJBModule=fqportalEjb.jar,J2EEApplication=fqportal.ear,j2eeType=StatelessSessionBean:
      java.lang.OutOfMemoryError: Java heap space
      2005-11-25 17:39:11,880 ERROR [org.jboss.mx.server.registry.BasicMBeanRegistry] javax.management.RuntimeErrorException
      javax.management.RuntimeErrorException
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:659)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:191)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1018)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:326)
      at org.jboss.management.j2ee.EJB.create(EJB.java:84)
      at org.jboss.management.j2ee.factory.EJBModuleFactory.createEJB(EJBModuleFactory.java:117)
      at org.jboss.management.j2ee.factory.EJBModuleFactory.create(EJBModuleFactory.java:65)
      at org.jboss.management.j2ee.LocalJBossServerDomain.handleNotification(LocalJBossServerDomain.java:383)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138)
      at $Proxy6.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93)
      at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:174)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:585)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:415)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
      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.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
      at org.jboss.Main.boot(Main.java:191)
      at org.jboss.Main$1.run(Main.java:480)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.OutOfMemoryError: Java heap space