Need Help Finding ColdFusionMX/wwwroot/WEB-INF/classesin JRun

Ask a Question related to Coldfusion Server Administration, Design and Development.

  1. #1

    Default Need Help Finding ColdFusionMX/wwwroot/WEB-INF/classesin JRun

    I am trying to copy some class files into Jrun4 however the instructions are
    for the standalone install of ColdFusionMX. And I have 14 instances of WEB-INF
    and I am not sure where to place the files. Here are the instructions.

    Copy FriendlyURLServlet.class, FriendlyURLServlet.java, FriendlyURLData.class,
    FriendlyURLData.java, and FriendlyURLs.txt to
    <cfusionmx>/wwwroot/WEB-INF/classes.

    Ensure you have the following entries in <cfusionmx>/wwwroot/WEB-INF/web.xml

    <servlet>
    <servlet-name>FUServlet</servlet-name>
    <display-name>FriendlyUrlServlet</display-name>
    <description>Translates friendly URLs to objects</description>
    <servlet-class>FriendlyURLServlet</servlet-class>
    </servlet>

    <servlet-mapping>
    <servlet-name>FUServlet</servlet-name>
    <url-pattern>/go/*</url-pattern>
    </servlet-mapping>

    If you want to make your own modifications to the servlet and data classes you
    might also want to add the following entries to
    <cfusionmx>/wwwroot/WEB-INF/jrun-web.xml

    <reload>true</reload>
    <compile>true</compile>

    C:\JRun4\servers\default\SERVER-INF\temp\gateway-webapp.war-503482997\WEB-INF
    C:\JRun4\servers\admin\SERVER-INF\temp\jmc-app.war-2118915695\WEB-INF
    default-ear/default-war/WEB-INF
    C:\JRun4\servers\samples\ws-ear\wsc-war\WEB-INF
    C:\JRun4\servers\samples\ws-ear\ws-war\WEB-INF
    C:\JRun4\servers\samples\travelnet-ear\travelnet-war\WEB-INF
    C:\JRun4\servers\samples\techniques-ear\xdoclet-war\WEB-INF
    C:\JRun4\servers\samples\techniques-ear\techniques-war\WEB-INF
    C:\JRun4\servers\samples\flashsamples-ear\webapp\WEB-INF
    C:\JRun4\servers\samples\default-ear\default-war\WEB-INF
    C:\JRun4\servers\samples\compass-ear\compass-war\WEB-INF
    C:\JRun4\servers\default\default-ear\default-war\WEB-INF
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF
    C:\JRun4\servers\samples\jstl-war\WEB-INF

    cutie369 Guest

  2. Similar Questions and Discussions

    1. ColdfusionMX and JBoss
      Hi Everyone, I installed ColdFusionMX server at my pc. After installed the ColdFusionMX server, all my JSP page unable to work. Previously, all...
    2. ColdfusionMX for the Mac?
      Hello coldfusion People: I just bought a Program called Cartweaver and read beforehand that it needed coldfusionmx in order to work but that...
    3. Upgrade from 4.5.1 to ColdFusionMX
      We have CF 4.5.1 running on a 2000 server with IIS 5, In IIS thier is default web, admin web and we have added our own web called Intranet. When we...
    4. coldfusionmx 7 book
      i am looking for the coldfusion mx 7 contruction kit, on amozon it said was released march 23, but they do not have yet, if anyone has found it and...
    5. ColdFusionMX Exam
      re: how useful/valuable have you found it to be in your The certification does not carry much weight nor command much respect. The problem is...
  3. #2

    Default Re: Need Help Finding ColdFusionMX/wwwroot/WEB-INF/classes in JRun

    cutie369 wrote:
    > I am trying to copy some class files into Jrun4 however the instructions are
    > for the standalone install of ColdFusionMX. And I have 14 instances of WEB-INF
    > and I am not sure where to place the files. Here are the instructions.
    >
    > Copy FriendlyURLServlet.class, FriendlyURLServlet.java, FriendlyURLData.class,
    > FriendlyURLData.java, and FriendlyURLs.txt to
    > <cfusionmx>/wwwroot/WEB-INF/classes.
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\classes

    > If you want to make your own modifications to the servlet and data classes you
    > might also want to add the following entries to
    > <cfusionmx>/wwwroot/WEB-INF/jrun-web.xml
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\jrun-web.xml

    Jochem


    --
    Jochem van Dieten
    Adobe Community Expert for ColdFusion
    Jochem van Dieten **AdobeCommunityExpert** Guest

  4. #3

    Default Re: Need Help FindingColdFusionMX/wwwroot/WEB-INF/classes in JRun

    I found the right directories to install the class files and modify the XML
    file. Here it is if you care to add it to your web site.

    Copy FriendlyURLServlet.class, FriendlyURLServlet.java, FriendlyURLData.class,
    FriendlyURLData.java, and FriendlyURLs.txt to
    <cfusionmx>/wwwroot/WEB-INF/classes.
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\classes

    If you want to make your own modifications to the servlet and data classes you
    might also want to add the following entries to
    <cfusionmx>/wwwroot/WEB-INF/jrun-web.xml
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\jrun-web.xml

    I have not been able to get IIS to recognize the Masking coming from
    FUServlet. I tried adding the .cfm extension that you recommended but it
    doesn't work when I try and run the test page.

    Domain
    Localhost

    Friendly URL
    /tmswebsite3/ID/11.cfm

    Real URL
    /tmswebsite3/index.cfm?ID=11

    I have tried many different combinations of this but it appears that IIS never
    hands it off to FUServlet

    Any thoughts on how I might get this working. Do I need to change some
    setting in IIS?

    cutie369 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139