This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hello I am using JavaWebServer2.0 and when i try to load one servlet "ConnectionPool" into the webserver it is giving the error : Can not Update The Servlet ConnectionPool: java.lang.ClassCastException. What should I do. Please Help. Thanks in advance. Shivangi
Cherry Mathew
Ranch Hand
Joined: Dec 26, 2000
Posts: 159
posted
0
Shivangi, Im not very sure about the answer. This error can be beacause of the different version of class that is with the class loader. Do u get this problem when u reastart the server?. Cherry
Sarath Mohan
Ranch Hand
Joined: Mar 17, 2001
Posts: 213
posted
0
Hi Shivangi, You didn't specify the purpose of the 'ConnectionPool' servlet. In the server's classpath there may be one more Class having the same Name with a differetn class heirarchy. So plz analyze all classes that could come across when server starts its JVM.
Does it create try to create a pool of db connections, then plz check the server have the required class files for connection pool. Hope this will help you, Binu
Originally posted by shivangi mathur: Hello I am using JavaWebServer2.0 and when i try to load one servlet "ConnectionPool" into the webserver it is giving the error : Can not Update The Servlet ConnectionPool: java.lang.ClassCastException. What should I do. Please Help. Thanks in advance. Shivangi