• 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

Some times Jboss is not loading updated classes.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am dealing with a strange problem.

I did some modifications in java files. But Some times Jboss is not loading updated classes.

I checked with DeCompiler, modifications are their in classes.

Also, I have tried with deleting tmp and work folder and restarting the server.

Problem is strange because sometimes it does load the updated classes but sometimes doesn't.

I am using JBoss 3.2.6 with JDK 1.5.

Can any one help me please?


:: Pankaj
 
itspanjain Jain
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any one resolve this problem?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It should pick up the class file changes on a reboot. Without a reboot you would have to 'touch' the primary deployment descriptor, which should cause a redeploy, after which the updated class(es) will be picked up.

You can verify that JBoss AS is picking up the correct class by adding the "-verbose:class" JVM option to JAVA_OPTS in the run script. This option prints the name of each class loaded, and identifies the path or JAR file from where it was loaded. If you use this option, redirect stdout/stderr to a file - you get a lot of output.
 
His brain is the size of a cherry pit! About the size of this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic