Hi there New to the CF thing (hence all my questions)

Ok - Installed CF using the built in web server as when I chose the IIS
option, it would shut the installer down with errors because for some reason
the wwwroot would always be "/" as the default (which doesn't exist), nor
could I select the proper location. So when I installed, I chose the
location for the wwwroot to be the same as my IIS root (even though I was
using the built in cf web server.)

Then I have configured Cf to use my IIS web server using the instructions at
   
http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/configuring
4.jsp#1118876

Ok great.

When I ran the commands, there were about 3 sites that it skipped over.. No
errors or anything....

Then I installed it to one of those sites by using the same commands, but
subbing the "0" for "sitename"

Ok great installed the site. BUT for the virtual dir it had the path
"C:\CFusionMX\runtime\lib\wsconfig\2\jrun.dll" instead of
"C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll" and the mappings for CFM, etc
also reflected this. I assume it is just because I ran the commands a second
time. Changed the virtual dir and the file mapping to the same dir as the
others. (*note* all steps here have been taken trying both dirs - with the
same results)

Then I tried the command again with another site that was skipped over in
the install, and it said "site not found" - but I can see the site plain as
day - it is there... Not a big deal as I don't need CF on that site - more
of a note - since there was an issue/error.

Then I logged onto the administrator and it did the migration thing.

I then modified the cacheRealPath setting in the XML file since I have multi
sites using hostheaders.

Now - since I have domains using hostheaders, and needed a way to hit them
by IP (only have 1 ip), I had setup my IIS to have the default site with no
host headers, no directory browsing with all the domain folders under it.
That way if needed I could hit the domains by http://ip/domainname or using
hostheader by http://domainname.com.

I have a very simple CF doc on one of the domains that does nothing more
than pull the servers current date. Just a test page. This page would be
located at http://domainname.com/cfm/index.cfm or
http://ip/domainname/cfm/index.cfm

So now when I hit this page with the domain name, I get a Jrun Servlet error
that simply says the 404 page not found (not the default IIS one). But the
page IS MOST definitely there. Then when I try to hit the same page by the
IP, I get no error, but I also get no page. Just finishes loading and
displays nothing.

So then, ok I think.. Maybe I fudged the code.... I mean just learning the
language as well.

So then I write this and post it under a new name.

***********

<html>
<head>
<title>cfm home page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF">
<DIV align="center">
<HR><B> Welcome to my Coldfusion homepage.</B><HR>
<B> Todays date is:</B><BR>
<cfoutput> 

<cfset today = DateFormat(Now(), "dddd, mmmm d, yyyy")>
<I>#today#</I>
</cfoutput>
</DIV>

</body>
</html>

****************

Ok works by IP... So I think I did fudge the code. So I try by domain name -
same page, and I get this error (cf server error).

-------------



Error Occurred While Processing Request
File not found: /cfm/test.cfm


�
Please Try The Following:

*    Check the CFML Reference Manual to verify that you are using the
correct syntax.

*    Search the Knowledge Base to find a solution to your problem.




Browser��    Mozilla/4.0 (compatible; MSIE 5.21; Mac_PowerPC)
Remote Address��    142.179.42.95
Referer��
Date/Time��    17-Aug-02 11:47 AM
Stack Trace (click to expand)


coldfusion.runtime.TemplateNotFoundException: File not found: /cfm/test.cfm
    at coldfusion.filter.PathFilter.invoke(Unknown Source)
    at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
    at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
    at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
    at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
    at coldfusion.CfmServlet.service(Unknown Source)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
    at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
    at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
    at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
    at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)

------------


So then I take the identical file, and rename it back to the same file name
as the original (index.cfm) and bang I am back at the original Jrun 404
error. And I try by IP, and back at the blank page.

So - ok my original code is/and or might be flawed. But seems to have
something to do with the name. So I tend to think that there is something to
do with the file name (partly) and the fact that it is setup with a default
name - but I already changed the XML file that is supposed to resolve this
kind of issue. I had restarted the cd and iis services between almost every
single thing I tried.

Oh god CF is kicking my ass.

W2L Server, SP3, CF MX mixed in with someone who is reading docs all over
the place. Who has no experience with this thing.

Ideas?


THE END

NOVEL WRITTEN BY: Dustin



� --- THEbeatingsWILLcontinueUNTILmoraleIMPROVES --- �



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


Reply via email to