Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i fix this Compilation error

Status
Not open for further replies.

dirtyholmes

Programmer
Mar 17, 2004
43
AU
Hi ,

I am new to JSP and im currently getting this compilation error on one of my pages ( i am using Weblogic ). Can somebody possibly explain how i can fix this, or shed some light on the subject .

Thanks

<ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101019> <[ServletContext(id=18257644,name=insight,context-path=/insight)] Servlet failed with IOException
weblogic.servlet.jsp.CompilationException: Compilation of /opt/insight/bea/user_projects/domains/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.java failed.


/opt/insight/bea/user_projects/domains/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.java:47: error while writing jsp_servlet._customers._terminated.__restore: /opt/insight/bea/user_projects/domains
/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.class (Permission denied)
public final class __restore
^
1 error

at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:449)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:223)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Caused by: java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:322)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:422)
... 13 more
>
####<Aug 3, 2004 1:55:32 PM EST> <Info> <HTTP> <atlas> <insight> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101295> <Recompiling JSP [ServletContext(id=18257644,name=insight,context-path=/insight)], resource [/customers/terminat
ed/restore.jsp], because it is stale. It was previously compiled using a different version of WebLogic Server.
JSP build version: 8.1.2.0
WLS build version: 8.1.2.0.>
####<Aug 3, 2004 1:55:33 PM EST> <Info> <HTTP> <atlas> <insight> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101047> <[ServletContext(id=18257644,name=insight,context-path=/insight)] Generated java file: /opt/insight/bea/user_pro
jects/domains/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.java>
####<Aug 3, 2004 1:55:42 PM EST> <Info> <HTTP> <atlas> <insight> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-101311> <Compiling generated java class: /opt/insight/bea/user_projects/domains/insightdomain/./insight/.wlnotdelete/ext
ract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.java for jsp produced the following Java compiler output:

/opt/insight/bea/user_projects/domains/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.java:47: error while writing jsp_servlet._customers._terminated.__restore: /opt/insight/bea/user_projects/domains
/insightdomain/./insight/.wlnotdelete/extract/insight_insight_insight/jsp_servlet/_customers/_terminated/__restore.class (Permission denied)
public final class __restore
 
There was a file permission problem. Weblogic wasn't able to write the compiled class to file. Check premission setting for the class output directory.
 
Thanks Byam.

I managed to sort it out. The owner of one of my classes had mysteriously changed to root ownership. Thanks for the tip.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top