Skip to main content
Participant
March 30, 2009
Answered

CF8 on Weblogic 10.0 and Apache

  • March 30, 2009
  • 1 reply
  • 952 views
I am trying to configure CF8 as an EAR file on Weblogic 10.0 and configuring it with Apache webserver. The settings for Weblogic are made as mentioned in the configuration document and CF8 is working fine on Weblogic.
Now for Apache connectivity, a connector is configured for Weblogic which handles *.cfm files requests as well.

- The CFM files are kept in webserver and when I try to open a cfm file, the proxy is getting invoked but since Weblogic doesn't find the file URI it returns 404.

- Please let me know how can the CFM files kept on Webserver be rendered using CF8 deployed on Weblogic
Or there is a need for these files to be kept on the Weblogic Appserver only
    This topic has been closed for replies.
    Correct answer Newsgroup_User
    sam_cf09 wrote:
    > Can the CFM files be a part of any WAR file deployed on Weblgic and Cold
    > fusion will take care of rendering them

    Sure. If you want to put a file example.cfm in a WAR file, put it in the
    root of the WAR. Your folder structure will look something like:
    WAR/
    WAR/example.cfm
    WAR/WEB-INF
    WAR/WEB-INF/web.xml
    WAR/WEB-INF/*
    WAR/WEB-INF/cfusion
    WAR/WEB-INF/cfusion/lib/
    etc.

    Then if you have a context root "/test" in your Application.xml you can
    reach your template through the URL http://server/test/example.cfm

    The best way to get a WAR (or EAR) file for deployment is to run the
    installer. It has the option to generate a WAR or EAR for you. Use that,
    then later unjar it to see how it looks internally.

    Jochem


    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

    1 reply

    Inspiring
    March 31, 2009
    sam_cf09 wrote:
    > I am trying to configure CF8 as an EAR file on Weblogic 10.0 and configuring it
    > with Apache webserver. The settings for Weblogic are made as mentioned in the
    > configuration document and CF8 is working fine on Weblogic.
    > Now for Apache connectivity, a connector is configured for Weblogic which
    > handles *.cfm files requests as well.
    >
    > - The CFM files are kept in webserver

    They need to be on the Weblogic server.

    Jochem



    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion
    sam_cf09Author
    Participant
    March 31, 2009
    Can the CFM files be a part of any WAR file deployed on Weblgic and Cold fusion will take care of rendering them

    Is there any special configuration required in web.xml