• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

ClassCastException when redeploying EAR file

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic