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

FileNotFoundException on __index.java

2 views
Skip to first unread message

Stephane Gamondes

unread,
Feb 26, 2002, 6:11:29 AM2/26/02
to

Hi,

I'm using WL6.1 SP1 and WLP4.0 (but this issue doesn't seem to be related to the
Portal application) on Solaris.
The server starts fine but when I try to access the index.jsp page I get this
error :

<Feb 25, 2002 9:22:04 PM CET> <Error> <HTTP> <[WebAppServletContext(6364520,dfasie,/dfasie)]
Servlet failed with IOException
java.io.FileNotFoundException: /appli/weblogic/apps/dfasie/dfasie/WEB-INF/_tmp_war_dfasieServer_dfasieServer_dfasie/jsp_servlet/__index.java
(No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at java.io.FileWriter.<init>(FileWriter.java:63)
at weblogic.servlet.jsp.Jsp2Java.makeOutputStream(Jsp2Java.java:281)
at weblogic.utils.compiler.CodeGenerator.generateCode(CodeGenerator.java:333)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:283)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:327)
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:2459)
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)

It's true, the file does not exist... (the JSP file checking is set to '0' ie
'each request')
And since I get this error I also can't 'redeploy' my application :

<Feb 25, 2002 9:26:22 PM CET> <Error> <Management> <IOException opening application
dfasieDomain:Name=dfasie,Type=Application, loading from path /appli/weblogic/apps/dfasie
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1162)
at java.io.File.createTempFile(File.java:1247)
at weblogic.management.mbeans.custom.Application.jarDir(Application.java:1401)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:550)
at weblogic.management.mbeans.custom.Application.load(Application.java:384)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy22.load(Unknown Source)
at weblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:77)
at weblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute.java:97)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:116)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:167)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2459)
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)
>

The application was working fine before, I don't know what happened...
The server is listening on port 80 so it is started as root and then switch to
the weblogic user. All the directories except the _tmpxxxx belong to weblogic.
The _tmpxxxx is owned by root (is this normal ?).
Deleting all the temporary directories didn't solve anything...

By the way, I don't have much experience on Weblogic...

Thanks for any clue !

Stéphane

Stéphane Gamondes

unread,
Feb 28, 2002, 12:55:55 PM2/28/02
to

Well, seems it's a matter of rights...
We solved this by changing the umask, using sticky bits and so on...

Stéphane

0 new messages