• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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 ]
 
Because those who mind don't matter and those who matter don't mind - Seuss. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic