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

JSP Compilation fails

0 views
Skip to first unread message

Bhavin Kamani

unread,
Sep 20, 2001, 7:11:09 AM9/20/01
to
HiI am currently evaluating WebLogic 6.1. For these, I have a Web app called "Test" deployed in Expanded Directory Format under mydomain/applications. The Application contain only one JSP file ("index.jsp") containing following piece of code.<h1><%out.println("Hello");%></h1>The application has empty 'classes' and 'lib' directory under 'WEB-INF' directory. On running the Application gives "Compilation of 'D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserver_myserver_Test\jsp_servlet\_index.java' failed:" error.Any help on the above will be highly appreciated.ThanksBhavin

Utpal

unread,
Sep 20, 2001, 9:31:02 AM9/20/01
to
Could you please paste the full stack trace of server side ?
-Utpal

"Bhavin Kamani" <bha...@planetasia.com> wrote in message
news:3ba9c0bd$1...@newsgroups.bea.com...

Bhavin Kamani

unread,
Sep 21, 2001, 1:39:54 AM9/21/01
to

Hi Utpal

Here's the stack trace

java.io.IOException: CreateProcess: javac -classpath D:\bea\wlserver6.1\config\mydomain\applications\Test;D:\bea\wlserver6.1\.\config\mydomain\applications\Test\WEB-INF\classes;D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserver_myserver_Test;D:\bea\jdk131\jre\lib\rt.jar;D:\bea\jdk131\jre\lib\i18n.jar;D:\bea\jdk131\jre\lib\sunrsasign.jar;D:\bea\jdk131\jre\classes;.;D:\bea\wlserver6.1\lib\weblogic_sp.jar;D:\bea\wlserver6.1\lib\weblogic.jar
-d D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserver_myserver_Test


D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserver_myserver_Test\jsp_servlet\_index.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:147)
at weblogic.utils.Executable.exec(Executable.java:111)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:550)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:359)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:381)
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:366)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:240)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:302)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Am I Missing in terms of any configuration settings. I havent made any configuration
settings changes after the installation.

Thanks
Bhavin

Utpal

unread,
Sep 21, 2001, 10:29:47 AM9/21/01
to
It seems like it could not find the "javac". Could you please check the path
to javac ?
You can set javac explicitly in the weblogic.xml of your web app.
Please take a look at following,
http://e-docs.bea.com/wls/docs61//////webapp/weblogic_xml.html#1012760

Set "compileCommand" and let me know how it goes.
-Utpal

"Bhavin Kamani" <bhavin...@yahoo.com> wrote in message
news:3baac49a$1...@newsgroups.bea.com...


>
> Hi Utpal
>
> Here's the stack trace
>
> java.io.IOException: CreateProcess: javac -classpath
D:\bea\wlserver6.1\config\mydomain\applications\Test;D:\bea\wlserver6.1\.\co
nfig\mydomain\applications\Test\WEB-INF\classes;D:\bea\wlserver6.1\config\my
domain\applications\Test\WEB-INF\_tmp_war_myserver_myserver_Test;D:\bea\jdk1
31\jre\lib\rt.jar;D:\bea\jdk131\jre\lib\i18n.jar;D:\bea\jdk131\jre\lib\sunrs
asign.jar;D:\bea\jdk131\jre\classes;.;D:\bea\wlserver6.1\lib\weblogic_sp.jar
;D:\bea\wlserver6.1\lib\weblogic.jar
> -d
D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserv
er_myserver_Test
>
D:\bea\wlserver6.1\config\mydomain\applications\Test\WEB-INF\_tmp_war_myserv

Bhavin Kamani

unread,
Sep 22, 2001, 3:42:10 AM9/22/01
to

Hi utpal

Yes that was the problem. Now its working fine. Thanks a lot Utpal.

Regards
Bhavin

0 new messages