I am running with jboss-3.2.1_tomcat-4.1.24 connecting to Oracle 8i.
I have an ear file which contains a jar (with a simple
ejb) and a war file.
I use data transfer objects (between the jar and war) and those classes are *only* packaged in the ejb jar.
Everything works fine until I redeploy the ear file.
When I redeploy the ear file, it gives me classcastexception in the dao layer (which populates the transfer object). DAO layer is called from ejb to retrieve the data.
I even tried adding <loader-repository> tag in jboss-app.xml. It doesn't work.
If I restart
Jboss it works. But I don't want to do that everytime I redeploy.
Any suggestions?
[ October 03, 2003: Message edited by: Velmurugan Periasamy ]