Skip to main content
Participant
April 16, 2009
Question

CF8 Solaris Too many open files

  • April 16, 2009
  • 1 reply
  • 1617 views

I have a Coldfusion J2EE archive packaged and exported on windows running on weblogic, the application runs fine on windows

Once the same WAR is deployed on WL 8 running on Solaris, there are errors in weblogic log files and the server goes in a hung state.

Error: Too many open files

When checked for lots of files like coldfusion 8 /usr/openwin/lib/X11/fonts/TrueType/LucidaBrightDemiItalic.ttf are open

and error in log file --

Information [main] - ColdFusion started
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at com.gp.client.graphics.general.UFontManagerFactory.<clinit>(UFontManagerFactory.java:56)
at com.gp.image.server.IcImageServer.<init>(IcImageServer.java:40)
at com.gp.api.jsp.MxServerComponent.<init>(MxServerComponent.java:83)
at com.gp.api.jsp.MxServerComponent.<init>(MxServerComponent.java:64)
at com.gp.api.jsp.MxServerComponent.getDefaultInstance(MxServerComponent.java:48)
at coldfusion.graph.GraphingServiceImpl$1.run(GraphingServiceImpl.java:105)

Please help me to make the war run on solaris

    This topic has been closed for replies.

    1 reply

    Participant
    April 22, 2009

    Hi - this is probably the ulimit setting for the holding id that you use to run ColdFusion.  If you sudo to your holding id and type ulimit -a then you should be able to see what your current limit is. An easy approach to increasing it is to set the desired value in the startup script of the process.

    Hope this helps!

    sam_cf09Author
    Participant
    April 22, 2009

    Already tried increasing max open files to 65535, it doesn't help.

    Not sure why CF opens so many ttf files

    ilssac
    Inspiring
    April 23, 2009

    This may be a difference between Windows and Unix versions of ColdFusion.  I understand this is Java and theoretically "run anywhere".  But as most of us know, there is a big difference between theory and practice.

    You may need to find a J2EE war that was created from a Unix installation.