Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Scheduler reading old class files

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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.
 
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic