Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows holds on to a number of temporary files #276

Open
jesse-gallagher opened this issue May 19, 2021 · 3 comments
Open

Windows holds on to a number of temporary files #276

jesse-gallagher opened this issue May 19, 2021 · 3 comments
Labels
bug Something isn't working odpcompiler ODP compiler implementation and servlet

Comments

@jesse-gallagher
Copy link
Member

The deletion exceptions are intentionally squelched by NSFODPUtil.deltree and they're just temp files, but it would be best to remove them all if possible.

After a build of the xpages-library example:

Screen Shot 2021-05-19 at 8 03 51 AM

@jesse-gallagher jesse-gallagher added bug Something isn't working odpcompiler ODP compiler implementation and servlet labels May 19, 2021
@jesse-gallagher jesse-gallagher added this to the 3.5.0 milestone May 19, 2021
@jesse-gallagher
Copy link
Member Author

Fixed in the Bazaar

@jesse-gallagher
Copy link
Member Author

This was mostly fixed, but can still show up in practice:

image

@jesse-gallagher
Copy link
Member Author

This still remains for classpath JARs extracted by ODPCompilerServlet:

[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM: java.nio.file.FileSystemException: C:\Users\Jesse\AppData\Local\Temp\notes74483D\classpathJar5737077315197458
021.jar: The process cannot access the file because it is being used by another process.
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at java.nio.file.Files.deleteIfExists(Files.java:1165)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.openntf.nsfodp.commons.NSFODPUtil.deltree(NSFODPUtil.java:92)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.openntf.nsfodp.commons.NSFODPUtil.deltree(NSFODPUtil.java:72)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.openntf.nsfodp.compiler.servlet.ODPCompilerServlet.doPost(ODPCompilerServlet.java:242)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:
180)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:
90)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.OSGIModule.invokeServlet(OSGIModule.java:167)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.OSGIModule.access$0(OSGIModule.java:153)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.OSGIModule$1.invokeServlet(OSGIModule.java:134)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.AbstractOSGIModule.invokeServletWithNotesContext(AbstractOSGIModule.j
ava:181)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.OSGIModule.doService(OSGIModule.java:128)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.adapter.osgi.OSGIService.doService(OSGIService.java:418)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.doService(LCDEnvironment.java:357)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.designer.runtime.domino.adapter.LCDEnvironment.service(LCDEnvironment.java:313)
[0C50:000B-0AD0] 07/06/2021 09:00:07 AM  HTTP JVM:      at com.ibm.domino.xsp.bridge.http.engine.XspCmdManager.service(XspCmdManager.java:272)

@jesse-gallagher jesse-gallagher modified the milestones: 3.5.0, 4.0.0 Jul 25, 2021
@jesse-gallagher jesse-gallagher removed this from the 4.0.0 milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working odpcompiler ODP compiler implementation and servlet
Projects
None yet
Development

No branches or pull requests

1 participant