0 Replies Latest reply on Dec 13, 2000 7:21 PM by 3004

    another jsp debug question

    3004
      I now of the technique to use a script (javac -g $*) as the
                weblogic.jsp.compileCommand context-param name in a web application but
                this does not appear to be working on WL 5.1 sp6 on linux
                
                The following error message occures when WL attempts to compile a JSP
                
                
                *********************************************
                Wed Dec 13 19:07:19 GMT+00:00 2000:<E> <WebAppServletContext-consumer>
                Compilation of
                /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war/consumer/_login/_consumer_login.java
                failed:
                Warning: UNIXProcess.forkAndExec native error: Exec format error
                
                java.io.IOException: Compiler failed
                executable.exec([Ljava.lang.String;[javac_debug.cmd, -classpath, <<my
                classpath here>>,  -d,
                /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war,
                /home/jamie/2020me/workspace/R0.5/src/web/consumer/WEB-INF/_tmp_war/consumer/_login/_consumer_login.java])
                
                at java.io.IOException.<init>(IOException.java:49)
                at
                weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
                
                at
                weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
                
                at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
                at
                weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
                at
                weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
                
                at
                weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
                
                at
                weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
                
                at
                weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
                
                at
                weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
                
                at
                weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
                
                at
                weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
                
                at
                weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
                **********************************************
                
                where <<my classpath here>> has been replaced here for clarity and
                javac_debug.cmd is the debug script (javac -g $*)
                
                The script is definetly in the path since I get a "not found" exception
                if I remove it
                
                
                Any insight would be greatly appreciated
                
                
                Thanks
                Jamie