2 Replies Latest reply on Jun 30, 2008 6:10 AM by 666705

    APPC out of resources error

    3004
      Hi,


      I'm getting the followint APPC error using WL9.0:


      "EJBModuleNetDataSyncServer.jar": The system is out of resources.
      "EJBModuleNetDataSyncServer.jar": Consult the following stack trace for
      details.
      "EJBModuleNetDataSyncServer.jar": java.lang.OutOfMemoryError: Java heap
      space
      "EJBModuleNetDataSyncServer.jar": Exec failed .. exiting
      "EJBModuleNetDataSyncServer.jar": WebLogic APPC tool invocation errors.


      Does anyone know what the flag change would be to correct this?


      Thanks in advance.


      ... Rob
        • 1. Re: APPC out of resources error
          3004
          Solved.


          Incase others have this problem, I used:


          -J-Xmx100m


          ... Rob
          • 2. Re: APPC out of resources error
            666705
            I had the same problem precompiling jsps for a web-app on WebLogic 8.1 sp4. I tried all things documented:

            java weblogic.appc -J-mx256m ...
            java -Dweblogic.jspc.useUniqueJspClassLoader=true weblogic.appc ...

            but none worked.

            Finally, I had to come up with way where weblogic.appc wouldn't fork new javac, so I passed compilerclass param to jsp-descriptor in weblogic.xml:

            <jsp-param>
            <param-name>compilerclass</param-name>
            <param-value>com.sun.tools.javac.Main</param-value>
            </jsp-param>

            and then did:

            java -Xmx256m weblogic.appc ...

            That fixed the out-of-memory errors on weblogic.appc for me.

            -Avinash Chugh