Ask a Question related to Coldfusion Server Administration, Design and Development.
-
cutie369 #1
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
-
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... -
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... -
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... -
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... -
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... -
Jochem van Dieten **AdobeCommunityExpert** #2
Re: Need Help Finding ColdFusionMX/wwwroot/WEB-INF/classes in JRun
cutie369 wrote:
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\classes> 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\jrun-web.xml> 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
Jochem
--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Jochem van Dieten **AdobeCommunityExpert** Guest
-
cutie369 #3
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



Reply With Quote

