about JSP compilation erro.......Very urgent!

Discussions

Web tier: servlets, JSP, Web frameworks: about JSP compilation erro.......Very urgent!

  1. about JSP compilation erro.......Very urgent! (2 messages)

    hi,
      my environment:weblogic 5.1
                     (Solaris)
                      
    Compilation of '/weblogic5/weblogic/aps/server/classfiles/apsTP/_GradTpga/_tpgaMem.java' failed:
    --------------------------------------------------------------------------------
     
    Failed to parse compiler output:
    java.io.IOException: Not enough space
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.(UNIXProcess.java:62)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.execInternal(Compiled Code)
    at java.lang.Runtime.exec(Compiled Code)
    at java.lang.Runtime.exec(Runtime.java:219)
    at weblogic.utils.Executable.exec(Compiled Code)
    at weblogic.utils.Executable.exec(Executable.java:107)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Compiled Code)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
    at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:915)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:879)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)


    Who can help me?Thanks
    zhousr

    Threaded Messages (2)

  2. It appears that you're out of diskspace. Check and make sure that you have enough disk space where weblogic is installed and trying to compile your JSP (in /weblogic5/weblogic/aps/server/classfiles/apsTP/_GradTpga). It appears you're on Unix, so "df -k" should do the trick.
  3. Bug in JDK[ Go to top ]

    java.io.IOException: Not enough space

    There is a bug in the Sun JDK (and the fork command) that when you do a System.exec() it will first replicate the existing process, so if your machine has 2GB of RAM and your java process takes 1.5GB, then a System.exec will try to replicate your 1.5GB process first, and it runs out of ram space, and you get this error.

    Nice error message from Sun btw.