File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes compiler problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "compiler problem" Watch "compiler problem" New topic
Author

compiler problem

tim chen
Greenhorn

Joined: Jul 16, 2002
Posts: 11
when i modify JSP file or make a new JSP,and when compile will get error below:
--------------------------------------------------------------------------------
(Failed to parse compiler output. See full output below).
--------------------------------------------------------------------------------
Full compiler error(s):
java.io.IOException: ?��D��?��???
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
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:200)
at weblogic.utils.Executable.exec(Executable.java:125)
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:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
My system wls6.1 sp1 on sun solaris.


tim from MPEON,GZ
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
java.io.IOException: ?��D��?��???
at java.lang.UNIXProcess.forkAndExec(Native Method)

looks pretty weird. Could you please post a little more detail
tim chen
Greenhorn

Joined: Jul 16, 2002
Posts: 11
thanks for replying me.
i am sorry but i just got this error message, even just make a very very simply JSP file just like:
<%
int i = 0;
%>
save as a.jsp, and open in IE then get the error like above.But i go to the jsp temp dir(my system is:/opt/bea/wlserver6.1/config/gosfc/applications/DefaultWebApp/WEB-INF/_tmp_war_u10d1_u10d1_DefaultWebApp/jsp_servlet), and there is file name __a.java, and i use javac to compile it successfully, and then open in IE that's OK. I just have no idea whether there is something wrong with the compiler of weblogic
M Suguna
Ranch Hand

Joined: Jun 07, 2002
Posts: 37
Hi
We used to get this error often. And everytime we used to call our UNIX administrator and he solves it for us!
It is something to do with the number of processes running in the UNIX environment. When the number of active processes exceeds the maximum allowed processes (configured by the admin), this error is thrown.
The UNIX admin can shut down few unnecessary processes (like what our admin does) or he can increase the maximum allowed processes (am not sure about the parameter).
All the best.
-Suguna


Who says nothing is impossible? I've been doing nothing for years
M Suguna
Ranch Hand

Joined: Jun 07, 2002
Posts: 37
And forgot to tell u something...
The easiest way to solve this problem is to restart Weblogic!
-Suguna
tim chen
Greenhorn

Joined: Jul 16, 2002
Posts: 11
thanks a lot!!!
this problem trouble me all the time
and you are right!!!
 
 
subject: compiler problem
 
Similar Threads
some one help me plsss
what error would be this?
Setting Up Weblogic 6.1 as Windows service
Jsp Using Weblogic
can some one help me plssssss