• 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

Scheduler reading old class files

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

I have written a scheduler which runs in every 30 sec. and have done some changes in file which scheduler calls repeatedly but It's calling old class files.
I have done clean build process as well as deleted all class files and created new ones but still it's reading old class files.

I am using followings --
Application server JBoss - 4.2
IDE - eclipse

code is given below --

Kindly any one tell me the reason???
 
Ranch Hand
Posts: 128
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try cleaning out the <JBOSS_HOME>\server\<SERVER_TYPE>\tmp folder. See if it solves your problem.
 
Durgesh Rajbhar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Uttam,

Thank you for reply but I have done already what have you posted.

thank you!!!
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you build the application package with those classes? Do you have a build script? What does it look like?
 
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
Add the -class:verbose option to the java command line (add it to JAVA_OPTS the run script - I could be more precise but you didn't say which OS). This option causes the JVM to print out each class loaded and the JAR from which it came. This should help you locate the old JAR file.
reply
    Bookmark Topic Watch Topic
  • New Topic