5 Replies Latest reply on Feb 6, 2009 8:03 AM by makther

    Run Project when JBoss Server starts from Eclipse but fails

    makther

      Hi,

      I am using JBoss 4.2.3GA, JDK 1.5 update 11. When i am running my project from Eclipse then everything works fine. But when i start JBoss manually (from JBoss Home/bin/run.bat ) then the server starts fine but i could not run my project any more !!! Can anybody help me why this is happenning?

      I have set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m as JVM memory size.

      Got following exceptions:
      13:52:29,785 ERROR [Digester] Begin event threw error
      java.lang.OutOfMemoryError: PermGen space
      13:52:33,642 ERROR [STDERR] Exception in thread "ScannerThread"
      13:52:33,658 ERROR [STDERR] java.lang.OutOfMemoryError: PermGen space
      13:52:42,151 WARN [Component] Exception calling component @Destroy method: entityManager