Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JSP error following quickstart instructions

1 view
Skip to first unread message

Rob Bernavich

unread,
Feb 4, 2002, 2:29:55 PM2/4/02
to

I installed BEA 6.1 on Windows 2000. I rebooted my system and properly followed
the instructions to run a JSP page. I took the example page ShowDate.jsp and
HelloWorld.jsp and when I ran the Url HTTP://server:7001/ShowDate.jsp I get the
following java compilation error:
------------------------------------------------------------------
java.io.IOException: CreateProcess: javac -classpath C:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp;C:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_erin_erin_DefaultWebApp;C:\bea\jdk131\jre\lib\rt.jar;C:\bea\jdk131\jre\lib\i18n.jar;C:\bea\jdk131\jre\lib\sunrsasign.jar;C:\bea\jdk131\jre\classes;.;C:\bea\wlserver6.1\lib\weblogic_sp.jar;C:\bea\wlserver6.1\lib\weblogic.jar
-d C:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_erin_erin_DefaultWebApp
C:\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\WEB-INF\_tmp_war_erin_erin_DefaultWebApp\jsp_servlet\__showdate.java
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:209)
at weblogic.utils.Executable.exec(Executable.java:134)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:545)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:382)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:304)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------------------------------------------------------------

So my question is .. what have I missed configuration wise ? I only installed
the server. I have not set any configurations. I know teh web server is responding
because I can launch teh console.

Any help is appreciated. BTW - I am a new Java developer so if its a java error
I know no better. No JDK was installed on the server before BEA server was.

Robert Bernavich
Senior Developer, Mentor Graphics

Michael Young

unread,
Feb 5, 2002, 12:10:10 PM2/5/02
to
Hi.

From the exception it looks like WLS is having problems exec'ing javac. Start by verifying that javac actually works (try running it from the command line). Are you using the JDK that installs with WLS?

Regards,
Michael

Rob Bernavich wrote:

--
Michael Young
Developer Relations Engineer
BEA Support


0 new messages