Pages tagged "exception"

Bizarre Jetty NoClassDefFoundError demystified

Mysterious question

It was the Christmas code freeze of 2013. We had successfully upgraded our production servers to Jetty 9. Us developers were quite content about not having to maintain the app for an extended period of time. However, none of us had anticipated the mysterious errors that would eventually consume the better parts of our holidays.

17 Mar 2015

Too many open files

Too many open files

We had just upgraded our application to the latest version of Grails. Once deployed, our Jetty servers started mysteriously crashing just after a few hours of routine testing, complaining about “Too many open files”.

After some preliminary Google searches we found out that this problem could be alleviated temporarily by…

13 Jan 2015

Very Long File Names in Windows

We had a strange problem one day when we were trying to deploy an Enterprise Application on WebSphere™ Application Server installed on a Windows XP machine. The application was never getting deployed although it was a perfectly valid one with no errors whatsoever. Just before the application would be deployed completely, a FileNotFoundException was being thrown for the EJB deployment descriptor.

java.io.FileNotFoundException: D:\IBM\..214 characters more ..\ibm-ejb-jar-bnd.xmi (The system cannot
find the path specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.(FileOutputStream.java(Compiled Code))
    at java.io.FileOutputStream.(FileOutputStream.java:151)
    at com.ibm.ws.management.application.task.ConfigRepoHelper.save2File(ConfigRepoHelper.java:440)
    at com.ibm.ws.management.application.task.ConfigRepoHelper.saveArchiveConfigDocs(ConfigRepoHelper.java:406)
    at com.ibm.ws.management.application.task.ConfigRepoHelper.saveEarConfigDocs(ConfigRepoHelper.java:343)
    at com.ibm.ws.management.application.task.ConfigureTask.performTask(ConfigureTask.java:161)
    at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:215)
    at java.lang.Thread.run(Thread.java:568)
21 Feb 2005