problems with tomcat as rmi client

2002-11-25 Thread Vishal Zinjuvadia
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client

ClassCastException when using Tomcat as RMI client

2002-11-22 Thread Vishal Zinjuvadia
Hi, I am trying to use a Tomcat webapp as a RMI client. For the test purposes, my RMI server resides on the same machine. When I use a Tomcat webapp as a client, I consistently get a ClassCastException, while if I use a plain java class for the client, it works flawlessly. Following is my client