Skip to main content
Known Participant
June 5, 2007
Question

class file location

  • June 5, 2007
  • 11 replies
  • 3429 views
I am not sure if this would be an admin type question but here goes:
I have a Coldfusion 6.1 server riding on Weblogic 8 ish and I am trying to do a small java example... *sigh*
I am getting a "class not found" error and so I went looking for my classpath, since it didn't seem to be what was default in the documentation. *sigh*
So I find that it is defaulting to .jar files and no directories. I can see that there are class files that are out in our coldfusion land so how does it see these? I am pretty ignorant of weblogic. I was curious how they can be reading the files, if they are, when the paths that I see only point to jar files. So, no explanation is too simple, please use small words and type slow for me. How should/do I change the path since I have to change it in Weblogic not CF admin. Is there some kind of default folder I am missing? I even tried adding my class to cfclasses under the cf file directory. Any help (and I need a lot) would be greatly appreciated.

Thank you in advance for your infinite patience and any help you can provide!!!
~Va 🙂
This topic has been closed for replies.

11 replies

Participating Frequently
June 5, 2007
(Note: I would recommend you package up your class file into a jar file with your own package name.)

Place your packaged jar file containing the class file in your cf_webapp_root\WEB-INF\lib folder.

Read this tech note for more information

http://www.adobe.com/support/coldfusion/j2ee/cfmx7j2ee_weblogic_deploy.html