hi I have been strugling to deploy one of our applications (runs smoothly on iPlanet) on JBoss-2.4.4_Tomcat-4.0.1 with Oracle8. I have done everything upto certain extent where one of my servlet talks to an ejb method findCustomersByType()and it returns a Vector of user defined class (Customer.class) from the database. There are 5 objects returning from this method to my servlet. I can also get these Objects in the servlet BUT when I try to cast it to Customer.class I get the ClassCastException. I tried with javax.rmi.PortableRemoteObject.narrow() method without any success.
Could somebody please give me some advice to get rid off this problem?