Originally posted by kalaiselvan:
Hi all,
I'm new for Weblgoic. I want to compile jsp in Weblogic. But i found error when compile jsp like
error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:151)
at weblogic.utils.Executable.exec(Executable.java:88)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:380)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:202)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:284)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
va.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[D:/jdk1.3.1/binjavac.exe, -classpath, D:\jdk1.3
\jre\lib\rt.jar;D:\jdk1.3.1\jre\lib\i18n.jar;D:\jdk1.3.1\jre\lib\sunrsasign.jar;D:\jdk1.3.1\jre\classes;.\classes\boot
\eval\cloudscape\lib\cloudscape.jar;.\license;.\classes;.\lib\weblogicaux.jar;.\myserver\serverclasses;D:\weblogic\mys
ver\servletclasses;D:\weblogic\myserver\classfiles, -d, D:\weblogic\myserver\classfiles, D:\weblogic\myserver\classfil
\jsp_servlet\_hello.java])
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:396)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:202)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:284)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
i Dec 01 11:49:38 IST 2000:<E> <ServletContext-General> Servlet failed with Exception
va.lang.NumberFormatException: error=2
at java.lang.Integer.parseInt(Integer.java:414)
at java.lang.Integer.parseInt(Integer.java:463)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:303)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:174)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
i already set
WEBLOGIC JSP PROPERTIES
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=D:/jdk1.3.1/binjavac.exe,\
workingDir=D:/weblogic/myserver/classfiles,\
verbose=true
plz help
Thanx in Advance
Originally posted by Nandkishore Dhilde:
i just install weblogic 7.0 after start
When i call http://localhost:7001/index.jsp it gives run time error like, Compilation of 'C:\bea\user_projects\mydomain\myserver\.wlnotdelete\DefaultWebApp_DefaultWebApp_1987757\jsp_servlet\__index.java' failed.
when i just write simple hellow.jsp it gives same error so any body have a solution
Originally posted by Nandkishore Dhilde:
i just install weblogic 7.0 after start
When i call http://localhost:7001/index.jsp it gives run time error like, Compilation of 'C:\bea\user_projects\mydomain\myserver\.wlnotdelete\DefaultWebApp_DefaultWebApp_1987757\jsp_servlet\__index.java' failed.
when i just write simple hellow.jsp it gives same error so any body have a solution