Getting java.io.IOException: Too many open files+ClassNotFoundException

Dear All

We have a web application deployed onRational Application Developer 6.0 (Operating System is Windows 2000 professional) our users are randomly gettingjava.io.IOException: Too many open files+ClassNotFoundException when they click on some servlet or jsp link, but they are getting this error randomly for example when they click some link they may get these exceptions but refreshing page or clicking once again on same link executes servlet successfully.If anyone could help on this topic we will be grateful

Thanks

[560 byte] By [Manish_Srivastavaa] at [2007-10-2 6:52:11]
# 1

> getting java.io.IOException: Too many open

> files+ClassNotFoundException when they click on

> some servlet or jsp link, but they are getting this

> error randomly for example when they click some link

What does the stack trace show? What are the conditions under which the problem occurs?

xHackera at 2007-7-16 20:19:26 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2

I think this these two exceptions are occuring in differrent environment

java.io.IOException is occuring under heavy load to web server its stack trace is as follows:

JSPG0225E: An error occurred at line: 2 in the statically included file: /SessionCheck.jsp

JSPG0093E: Generated servlet error from file: /Admin/AdminInsuranceCertificates.jsp

E:\WebSphere_6\AppServer\profiles\AUSECert\temp\centraNode04\server1\AUSECert\Vero.war\Admin\_AdminInsuranceCertificates.java:259: cannot access com.bplus.natmar.LoginDetails

bad class file: E:\WebSphere_6\AppServer\java\jre\lib\core.jar(java/io/Writer.class)

unable to access file: E:\WebSphere_6\AppServer\profiles\AUSECert\installedApps\centraNode04Cell\AUSECert.ear\Vero.war\WEB-INF\classes\com\bplus\natmar\LoginDetails.class (Too many open files)

Please remove or make sure it appears in the correct subdirectory of the classpath.

(source unavailable)

1 error

]: com.ibm.ws.jsp.JspCoreException: JSPG0049E: /Admin/AdminInsuranceCertificates.jsp failed to compile :

this error always occurs in reference to logindetails class this clas is used to make a session check on different roles in our project for e.g., user having end user role should not be able to log in as a user having admin role

we have included a sessioncheck.jsp in our every jsp page in this jsp we have simply used logindetails class as useBean and called its getresource() method

above stacktrace is from our live application server

while testing same project on our local system we are not getting too many open files exception but we are getting following ClassNotFoundException

[11/30/05 17:11:42:797 EST] 0000004a SystemOutO SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'mainEdit.jsp' and IsEndUser=1

[11/30/05 17:12:50:891 EST] 000001eb SystemOutO SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1

[11/30/05 17:17:40:828 EST] 0000008d SystemOutO AppURL is: http://www.VeroECert.com/Vero/indexU.jsp

[11/30/05 17:17:58:141 EST] 0000008b SystemOutO SELECT count(*) as NoofRecs FROM resourcerolebindings WHERE ResourceName = 'InsuranceCertificates.jsp' and IsEndUser=1

[11/30/05 17:20:41:703 EST] 00000034 ServletWrappe ESRVE0026E: [Servlet Error]-[com.servlet.UserHelpServlet]: java.lang.ClassNotFoundException: com.servlet.UserHelpServlet

at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))

at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))

at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))

at java.beans.Beans.instantiate(Beans.java:202)

at java.beans.Beans.instantiate(Beans.java:63)

at com.ibm.ws.webcontainer.servlet.ServletWrapper$3.run(ServletWrapper.java:1384)

at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java(Compiled Code))

at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1312)

at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:84)

at com.ibm.ws.webcontainer.extension.InvokerExtensionProcessor.handleRequest(InvokerExtensionProcessor.java:238)

at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2841)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)

at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))

at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

this error is occuring on concurrent clicks suppose three users click on same button then it is possible that one user gets correct output while other users experience this exception

Also one more point we are not using web.xml for calling servlets we are directly calling it giving its full path.

Thanks

Manish_Srivastavaa at 2007-7-16 20:19:26 > top of Java-index,Enterprise & Remote Computing,AVK Portability...