Skip to main content
August 10, 2016
Question

Wrong Template Path - CF11 on JBoss 7.1.1

  • August 10, 2016
  • 1 reply
  • 477 views

I just set up ColdFusion 11 and I am able to access the ColdFusion 11 Administrator so I know ColdFusion is running. But when I try to load a web site, I get a page not found error. I notice in the debugging info that the CF_TEMPLATE_PATH is incorrect.

It should be like this:

C:\jboss-7.1.1.Final\standalone\deployments\cfusion.war\finance02\default.cfm

But it's like this:

C:\jboss-7.1.1.Final\standalone\tmp\vfs\deployment18dde21d379c002f\cfusion.war-1b3fef0916449a43\finance02\default.cfm

The URL accessed is:

http://localhost:8080/cfusion/finance02/default.cfm

What could cause the path to be incorrect and how can I fix it?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
August 14, 2016

It seems that the /tmp/vfs/ directory contains temporary files that JBoss creates during deployment, and may be deleted. But be cautious. Read up on it first. For example,

java - JBoss AS 7: How to clean up tmp? - Stack Overflow

Thoughts go here.: What happened when I deleted standalone/tmp/vfs/

Also check wether you have followed all the instructions in the section Deploying ColdFusion 11 on JBoss Application Server ​in the document

http://help.adobe.com/archive/en_US/coldfusion/11/ColdFusion11_Installing.pdf