tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Desai <ashwi...@yahoo.com>
Subject Tomcat 4.0.5 Webapploader - Null pointer exception.
Date Tue, 28 Jan 2003 20:04:54 GMT
All,

I am getting the following error within 10 minutes of starting Tomcat
4.0.5. 

2003-01-28 12:15:51 WebappLoader[] Error tracking modifications
java.lang.NullPointerException
        at java.util.Arrays.sort(java.lang.Object[])
(Arrays.java:1013) (pc 1)
        at
org.apache.naming.resources.FileDirContext.list(java.io.File)
(FileDirContext.java:908) (pc 23)
        at org.apache.naming.resources.FileDirContext.listBindings
(FileDirContext.java:367) (pc 30)
        at
org.apache.naming.resources.ProxyDirContext.listBindings(java.lang.String)
(ProxyDirContext.java:487)
 (pc 9)
        at org.apache.catalina.loader.WebappClassLoader.modified
(WebappClassLoader.java:809) (pc 210)
        at org.apache.catalina.loader.WebappLoader.run
(WebappLoader.java:1274) (pc 35)
        at java.lang.Thread.run          (Thread.java:484)       (pc
11)

This causes my webapplication to crash. I have the "reloadable" flag
set to true in the server.xml file. If I set this flag to false, then
I get a different error. 

2003-01-28 10:33:32 HttpConnector[80] accept:
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept
(PlainSocketImpl.java)
        at java.net.PlainSocketImpl.accept (PlainSocketImpl.java:421)
(pc 2)
        at java.net.ServerSocket.implAccept (ServerSocket.java:243)
(pc 37)
        at java.net.ServerSocket.accept  (ServerSocket.java:222) (pc
10)
        at org.apache.catalina.connector.http.HttpConnector.run
(HttpConnector.java:993) (pc 9)
        at java.lang.Thread.run          (Thread.java:484)       (pc
11)

Has anyone seen any problems like these ? Any hints would be greatly
appreciated.

Thanks
Ashwin.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message