Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

BES5.1 class loader problem with Hot Deploy

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to redeploy(hot deploy) a war file to my Borland Enterprise Server 5.1 (all editions i.e. Appserver, VisiBroker and Webedition) using JBuilder 7. When I right click the war file in JBuilder and choose redeploy I get the problem:

com.borland.enterprise.management.api.AgentException: my.war
cannot be unloaded from a running partition that has a classloading policy of container.

at com.borland.enterprise.management.api.impl.CORBAAgentTransport.unloadWar(CORBAAgentTransport.java:782)

at com.borland.enterprise.management.api.impl.Partition.removeWar(Partition.java:449)

at com.borland.enterprise.management.api.impl.Partition.deployWar(Partition.java:301)

at com.borland.jbuilder.server.bes.BES50xCommandLineUtil.executeDeployAction(Unknown Source)

at com.borland.jbuilder.server.bes.BES50xCommandLineUtil.checkDeployAction(Unknown Source)

at com.borland.jbuilder.server.bes.BES50xCommandLineUtil.deploy(Unknown Source)

at com.borland.jbuilder.server.bes.BES50xCommandLineUtil.main(Unknown Source)

Failed: Redeploy -- C:/Project/../my.war



I figured this was a problem with class loading so I went into The Management Console - v5.1 and tried to find a way to change the class loading policy from container to per J2EE unit but this option doesn't seem to be available (even though its available in the pure Appserver edition I think). Has anyone any suggestions here for this. Is this a possible bug with the BES hot depoy option. Is it time to get rid of BES and get JBoss!!!
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic