I am using Tomcat with Weblogic.I deploy web module in Tomcat5.0 and EJB module in Weblogic 8.1.When i call the lookup to JNDI EXCEPTION CLASSCASTEXCEPTION for the Home interface.I compile Web module using JDK1.5 and EJB using JDK1.4.1. Pliz help me.
Check if you are using the correct lookup string. ClassCastException means that jndi is finding an object, but that it's type is not what you expect. However, the info you provide is not sufficient to analyze further.
Thanks. Well please tell me how to put the STUB of the EJB HomeInterace in web application which is running in Tomcat.whether I have to put it as JAR file or as JAVA file. My present directory structure is