Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Too many open files error when connected to oracle datasource
anitat
Hi
We are using BIRT 2.5. when we use report engine to connect to oracle datasource, rarely we get the following exeption:
org.eclipse.birt.report.engine.api.impl.RenderTask render
SEVERE: Error happened while running the report.
java.lang.UnsatisfiedLinkError: /opt/jdk5/jre/lib/i386/libawt.so: /opt/jdk5/jre/lib/i386/libawt.so: cannot open shared object file: Too many open files
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
at org.eclipse.birt.report.engine.emitter.excel.ExcelUtil.<clinit>(ExcelUtil.java:85)
at org.eclipse.birt.report.engine.emitter.excel.layout.PageDef.parsePage(PageDef.java:23)
at org.eclipse.birt.report.engine.emitter.excel.layout.PageDef.<init>(PageDef.java:17)
at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.start(ExcelEmitter.java:124)
and when we check the list of open files using lsof | grep <pid> , we see that there are lots of DataCacheObject files created by DATA ENGINE.
(temp/DataEngine_971048_1/DataSetCacheObject_25856743_1/data.data (deleted)
Is the problem because BIRT is not closing the files before deleting them?
Find more posts tagged with
Comments
anir
Restarting tomcat helped me overcome this once.