Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to force a compile of Java code

Status
Not open for further replies.

siituser

Programmer
Joined
Sep 30, 2002
Messages
67
Location
CA
I've just installed MX 6.1 on a webserver and the application file is running very slowly. The best reponse time I can get is 4600 ms. The application is quite short, has one included file and some magic numbers. It has one query it will run only if someone is in a specific area of the site.

Is there a way to force a compile of the Java code? My though is that it had a problem the first time and got messed up.
 
Templates get compiled on first run.

In order to get it to recompile, you need to go into the cfclasses directory and clear out the appropriate .class files.

The location of your cfclasses directory depends on your type of install, I believe. For my development box, it's \ColdFusionInstallDirectory\or you can find it by searching for *.class files... they'll usually have names like cfindex2ecfm0123456.class



-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top