• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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 ]
 
What is that? Is that a mongol hoarde? Can we fend them off with this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic