0 Replies Latest reply on Jul 11, 2003 9:00 PM by bryant_yi

    Out of memory Error on deploying CMP entity bean

    bryant_yi Newbie

      I am using the ant tool to compile and deploy about 200 cmp entity bean(not packaged to one), and i am getting a Out Of Memory Error when jboss processing the 94th cmp entity bean ( not the cmp entity bean's error ).
      Can anyone give me some advice? Ths in advance
      my configuration:
      jboss-3.2.1_tomcat-4.1.24
      DB:sql server2000
      OS: Win2000 pro
      RAM:512M
      CPU:AMD Athlon750

      error list:

      08:24:04,067 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.2.1_tomcat-4.1.24/server/all/deploy/DIC_MailJobStatus.jar
      08:24:08,764 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.
      2.1_tomcat-4.1.24/server/all/deploy/DIC_MailJobStatus.jar
      java.lang.OutOfMemoryError
      08:24:08,794 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@9c15651f{ url=file:/D:/jboss-3.2.1_tom
      cat-4.1.24/server/all/deploy/DIC_MailJobStatus.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/
      jboss-3.2.1_tomcat-4.1.24/server/all/deploy/DIC_MailJobStatus.jar; - nested thro
      wable: (java.lang.OutOfMemoryError)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:200)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:273)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:966)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:392)
      at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.lang.OutOfMemoryError
      08:24:08,854 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.2.1_tomcat-4.1.24/server/all/deploy/DIC_MediaStatus.jar
      08:24:14,392 WARN [ServiceController] Problem starting service jboss.deployment
      :type=DeploymentScanner,flavor=URL
      java.lang.OutOfMemoryError
      08:24:21,652 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.1_tomcat-
      4.1.24/server/all/conf/jboss-service.xml
      08:24:29,363 ERROR [Server] Root deployment has missing dependencies; continuing
      ......