CF8 & IIS6 issue
Really weird issue happening.
I've setup a site 'abc.com' in IIS and pointed it to a local
directory 'cfusion-war\abc\'. Site resolves, everything works.
I setup a second site 'abc2.com' and point it to
'cfusion-war\abc2\' and it points the domain back to the root
folder 'cfusion-war'.
Thinking it was just an IIS issue I tried pointing the
'abc2.com' site to a directory that only had an 'index.htm' file in
it to test, 'cfusion-war\abc2-html', and it resovles to the correct
page.
So the issue is, for any site in IIS that points to a
coldfusion site outside of the 'cfusion-war\abc' directory the page
won't resolve. Point it to that directory though and it will.
Anyone faced this issue before?
Thanks in advance!
Paul.
Should also mention that we're running Windows Server
2003.
Similar Messages
-
Hello All
I have a CF6.1 MX dev sever running under windows 2003Server
sp2. The 6.1 instance is installed in a dir c:\CFusionMX. 6.1 is
connected to IIS 6 from the original install
I am trying to install CF8 standalone on the same box (not
linked to IIS6) but the installation keeps returning I error
associated with ANT.
the CF8 installer creates c:\JRun4 and does the installation
in there however the one point where the process fails is a call to
c:\CFusionMX\servers\etc\etc\etc here is some lines including the
error
Install File: C:\JRun4\Readme.htm
Status: SUCCESSFUL
Modify Text File - Single File: New File
C:\JRun4\jrun.license.properties
Status: SUCCESSFUL
ANT Script Error:
Status: ERROR
Additional Notes: ERROR -
jrun.xmlC:\CFusionMX\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib
not found.
Custom Action:
com.macromedia.ia.action.ExecuteANTScriptAction
Status: SUCCESSFUL
Install File:
C:\JRun4\docs\javadocs\allaire\jrun\install\GetControlPort.html
Status: SUCCESSFUL
Install File:
Well this directory doesn't exist within the CF6.1
Installation. I am beginning to think that the CF8 installer has a
hard coded path to c:\CFusionMX\ which is screw up from Adobe ?
Before you ask i have done all the turning off of DEP, I have
cleared temp directories, changed temp directories to paths without
spaces, I am logged in as Administrator and I have set read
permissions on the installation directory. In short I have done
everything I can find on various KB articles and fora
Help me !!!!Check out the 2nd comment in the LiveDocs for cfchart:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html#comments -
In previous versions of CF you could execute a stored
procedure using the <cfQuery> tag and you would receive a
query result set containing the returned data. For example:
<cfquery name="checkLogin" datasource="myDataSource">
Execute LoginUser
@Email = '[email protected]',
@PasswordHash = '5F4DCC31234765D61D8327DEB882CF99'
</cfquery>
In CF7 and prior this would return a query result set
containing several fields that specified the permission level of
the user, etc. In CF8 the result set contains a single column
called “COMPUTED_COLUMN_1” and has a single blank row.
I’ve tested this same code on CF7 and it works fine. We
need to use <cfQuery> rather than <cfStoredProcedure>
because we need to be able to pass in the names for parameters
since they can be in any order and our stored procedures
don’t always require all parameters. <cfProcParam> does
not allow you to pass in a parameter name. There is a dbVarName
attribute but it hasn’t worked since the pre-MX days even
though it is still referred to in certain places in the docs.
Anyone else having this problem?I get correct results from a similar stored procedure with
CF8 using either the CF8-supplied SQLServer driver or the Microsoft
v1.1 JDBC driver from
http://www.microsoft.com/downloads/details.aspx?familyid=6d483869-816a-44cb-9787-a866235ef c7c
It works OK with SQLServer 2000 and with SQLServer 2005.
Since you are not getting any error, it doesn't seem that you
need to use dbVarName.
Maybe you should try it with a test procedure which just
returns the arguments to see what is going on.
-tom- -
Does anyone have a fix for this bug? The below code displays
perfectly in CF 7 and earlier versions. But in CF 8, the first
chart series displays 6 elements in the graph even though it has
just 2 elements.
<cfchart format="png" chartwidth="280" chartheight="100"
showlegend="false">
<cfchartseries type="line">
<cfchartdata item="a" value="20">
<cfchartdata item="b" value="15">
</cfchartseries>
<cfchartseries type="line">
<cfchartdata item="a" value="10">
<cfchartdata item="b" value="6">
<cfchartdata item="c" value="27">
<cfchartdata item="d" value="5">
<cfchartdata item="e" value="20">
<cfchartdata item="f" value="3">
</cfchartseries>
</cfchart>Check out the 2nd comment in the LiveDocs for cfchart:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html#comments -
Hi
I have recently upgraded a project from CFMX7 to CF8. The
problem I'm having is that I have a number of subdomains which are
setup. Each of these subdomains contains an Application file at the
root, and a folder called administration. This folder is a symlink
which has been setup which links to the physical files.
If I try and view a login.cfm page with the administration
folder (i.e.
http://test.domain.com/administration/login.cfm),
an error message comes up which says that my application variables
are not defined. This directory seems to have an issue locating the
Application file in the directory above. Has anyone experienced the
same error at all? I've read that CF8 has issues with symlinks.
Thanks for your help - it would really be appreciated!!
AileenIt is a symlink. The symlink is owned by the vim package. As vim is a dep for gvim, that file is being managed by the package manager.
Saying I want to store a file there is like saying I want to store a text file at /bin/bash... Sure you could, but do not expect bash to keep working.
So what exactly is your issue here? -
Error reading stored session data
CF8/IIS6/Win2k3
getting a ton of these messages:
04/02 15:00:39 error Error reading stored session data
(ID=70307b52029b2dd2dadc1f364fe3e4c3463e)
java.io.StreamCorruptedException: unexpected end of block
data
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.ArrayList.readObject(ArrayList.java:593)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
coldfusion.runtime.SessionScope.readObject(SessionScope.java:211)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
at
java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:480)
at
coldfusion.runtime.J2eeSessionScopeStub.readObject(J2eeSessionScopeStub.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at java.util.Hashtable.readObject(Hashtable.java:859)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)
at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at
jrun.servlet.session.SessionService.retrieve(SessionService.java:1357)
at
jrun.servlet.session.SessionService.retrieve(SessionService.java:1341)
at
jrun.servlet.session.SessionService.restoreSession(SessionService.java:1259)
at
jrun.servlet.session.SessionService.restoreSessionState(SessionService.java:876)
at
jrun.servlet.session.SessionService.setClassLoader(SessionService.java:504)
at
jrun.servlet.WebApplicationService.postStart(WebApplicationService.java:300)
at
jrun.ea.EnterpriseApplication.start(EnterpriseApplication.java:203)
at
jrun.deployment.DeployerService.initModules(DeployerService.java:708)
at
jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:243)
at
jrun.deployment.DeployerService.deploy(DeployerService.java:428)
at
jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)
at
jrun.deployment.DeployerService.run(DeployerService.java:889)
at
jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Here is the arguments line in my jvm:
# Arguments to VM
java.args=-server -Xmx512m -Xms512m -XX:MaxNewSize=24m
-XX:NewSize=24m -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled
-XX:+UseConcMarkSweepGC -Dsun.io.useCanonCaches=false -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2702
-Dcoldfusion.rootDir={application.home}/Beyond this I have not been able to identify or figure out
what is causing the issue. I did a double check and some of the
times are outside of our nightly back-up schedule. It looks like
this issue hasn't happend for me since 27 Aug. I couldn't say why
though. I'm hoping Adobe has an answer.
Thx -
Issues with Flex3 and CF8 on Windows Vista
Sorry for the whine, however I feel it necessary to get a few
issues I've found with Flex3 on a Vista Laptop working with CF8
that I've not seen documented elsewhere.
Environment:
Sony Laptop with Intel Core 2 Duo processor and 3 GB Ram.
Running CF 8 Standard Edition, along with mySQL 5.x and
access to a SQL Server instance on another machine on the same
local network.
What I am trying to do:
A) learn flex, my background is CF with over 8 years of
experience along with Flash AS2 along the way.
B) put together a hello world app.
C) use the flex/cf application wizard to build a simple
master/detail set of selection/edit screens for one table of a
database that I used recently on a CF8 project. To see how much
better the UI really is on Flex and whether I could use it to retro
fit that old application to have a better UI using flex3.
Issues.
My mini-application is set up initially in the folder
c:/inetpub/wwwroot/mydirectory, but it does not work.
Reason is that when run, it cannot access the flex2gateway on
the url that the wizard puts into the app. which is
http://localhost/mydirectory/flex2gateway...
Details:
flex2gateway does not work on a subdirectory URL on the
default web site.
If I access
http://localhost/flex2gateway/
I get a blank screen (as expected) meaning that the flex2gatweway
is working.
If I access
http://localhost/mysubdirectory/flex2gateway/
I get a 404.0 error (not found)
Now, I beleive this is supposed to work, something must be
wrong with one of the xml file setups. But I cannot find any
documentation for it.
Initially the flex2gateway did not work at all. I did the web
connector thing with CF batch file and that got it working, but
only on the base directory, not the subdirectory.
So, to get around this issue, Luckily Vista with IE7 allows
more than one website.. I create a whole new website that is
accessed using
http://192.168.1.73:81/
I set this website up in the folder c:/localhost/mydirectory.
The flex project is called mydirectory
So we come to issue 2.
Given the above Issue number 1, I have further frustration
because when the Flex/Cold Fusion Application wizard builds the
various mxml files it insists on prefixing all of the remote object
calls with 'mydirectory.'
e.g "mydirectory.components.cfgenerated.mycfc"
Now, given that the web root is also the base of the project,
this will not work.
What actually works is: "components.cfgenerated.mycfc"
There seems to be no way I can configure the project when
building it to get around this issue. The only way |I can fix this
is to manually edit all the mxml files after the wizard is
finished. I also have to doctor the project setup for similar
reasons. It wants all of the urls to be:
http://192.168.1.73:81/mydirectory/bin/main.html
instead of
http://192.168.1.73:81/bin/main.html
So obviously the wizard is not set up to handle applications
that are based right at the web root, even though this is the only
place that the flex2gateway can work. <snafu I guess>
Issue 3:
I find that the flex/Cf application wizard is set up to build
pages based upon a certain narrowly defined way of constructing the
source database tables. In particular it wants every table to have
its own unique numeric id for each row, and can't handle a string
for the primary key and have the primary key editable as well.
Seems inflexible if you ask me. The main problem is that the
preconditions on the table structure that the wizard can work with
are poorly defined and documented. You obviously had to go to the
same school of database design and the same class as the Adobe
developers to think in the same way.
Given that this tool is supposed to be a help to new users of
Flex and AS3 and it is supposed to be a productivity aid, perhaps I
should not be surprised to have had to spend over a week getting to
grips with the wizard and learning its tricks just to get it to
build a mind numbingly simple mini app of my own that works when
run. Sorry Adobe, but you get a F minus on your report card for
this one, particularly on the really bad documentation. Just as bad
for the coding complexity of the solution to seemingly simple
application concept.
Cheers,
Bryn ParrottHi,
Which version of RDP client you are using for your client?
Does more user login at same period of time?
As you have commented that after sticking the user can’t able to login in RDCB server, here I can suggest you to check the setting of connection broker. Also you can check that you have place the proper location path of UPD while configuring in collection configuration
wizard. You can take a look at below article foe virtual desktop configuration.
Deploying Virtual Desktops with Windows Server 2012
Are you trying to use same UPD for different collection then also it might happens to occur your issue. The fact of UPD is User profile disks are for a single collection only. A user connecting to two different collections will have two separate profiles. If
you want to synchronize settings, refer to Microsoft User Experience Virtualization. Go through this article for more understanding related to UPD.
Working with User Profile Disks on Session-Based Desktop Deployments
Hope it helps!
Thanks. -
I have set up the mail connection via CF Admin.
I tested connection and I ahve no problem.
But now when I send any emails where the address is in
format:
[email protected] it fails with invalid address
but if i try [email protected] it send the email with no problem.
So I know that my connection is correct.
In fact, I already CF7 as my production server, but we are
testing this to see if it is worth it for us to
upgrade.
So far this issue is cauing a major issue.
Because many of clients have email format that I specified.
I tested this from my email account from ail server to an
address [email protected], and was able to send it with no problem.
Only when using cfmail, seems to be having an issue.
If anyone can give me a pointer or a some information to
andle this wuld be great.
Asadi have no problems sending mail to addresses like
[email protected] using
cf8's cfmail...
tested on cf8 with hf2 on winxp. do you have all hotfixes in
stalled?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
CF8 ODBC performance issues w/ SQL 2K5
Problem: A basic "select *" query returning 5 rows is taking
a little over 5000ms.
Platform: Vista Business, CF8 Developer, MS SQL 2K5 Developer
SP2, ODBC Socket using trusted connection
I ran a query against cfartgallery without any performance
problems. Leads me to believe this is an ODBC issue.
(Server monitor memory tracking is off.)
Does anybody have any suggested fixes? Thank you.gdemaria -
I reverted back to using MX7 rather than 8.
I tried using the JDBC driver, which is the default driver on
the first screen--where you have to specify a username and password
and you connect over port 1433-- but I couldn't get that to work.
(This is probably a problem with my SQL server configuration.)
My plan is to play around some more with the JDBC driver. Or,
wait and see if I get an ODBC solution from the forum here. For now
I will develop on MX7 and use CF8 in the live hosting
environment---not an ideal situation, but it's workable. -
Cfdocument printing issues: cf7 vs cf8
Here's what happens when I create a pdf with
<cfdocument> on CF7 vs CF8:
CF7
The generated pdf is 16 pages and 87.6 KB. When I print the
pdf the progress bar in acrobat fills up immediately. The total
size in the print spooler is 1.18MB
CF8
The generated pdf is 16 pages and 622 KB. When I print the
pdf the progress bar in acrobat takes almost 3 minutes to get to
100%. The total size in the print spooler is a whopping 75.5MB
I am using fontembed="false", but that seems to have no
effect on the actual filesize either. Also, on the CF8 document I
can click all over the place and get these 1/2" x 1/2" blue cubes
that show up. They are exactly like the ones you get if you click
on an image, only they are in random areas all over the place. One
other thing, when I save the CF8 pdf, there is a progress bar in
the lower right that says "optimized for fast web viewing". It
doesn't do that for CF7.
What is going on here, and what can be done? Users are not
able to print anything out in a timely fashion. Thanks.
EDIT:
If I don't import my 3KB css file, the pdf behaves like it
does in CF7, minus the formatting of courseThere was a background image in the css that was causing the
issue, but it was only a problem when using @import to get the css,
and only in CF8. -
Significant Load Issues (CF8 and Model Glue 2)
I'm running an enterprise-level application running CF8 and Model Glue 2 that has seen a recent spike in users. Several hundred users are submitting complex forms at any one time, which then trigger e-mails.
During our peaks, we're seeing the following error messages pour in:
Either there are no methods with the specified method name and argument types, or the getUserID method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that matched the provided arguments. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity.
Has anybody run into these types of errors before. I'd really appreciate your guidance.Sounds like you have an issue with the var scope.
Model Glue controllers are singletons and this means one single instance of
the controller is shared among all requests. While this is a great way to
increase performance, it does mean you must be careful to use the ColdFusion
var keyword properly.
Since this is showing up under load, I am going to bet this is the issue. *Here
is what you need to do:*
Short Version:
1. Download this: http://varscoper.riaforge.org/
2. Run it against your application and fix everything it finds.
Long Version:
1. Read this:
http://www.nodans.com/index.cfm/2007/9/27/Is-your-code-Thread-Safe-How-do-you-know
2. Watch this:
http://www.schierberl.com/blog/thread-safety-and-the-var-scope-live-example/
3. Download this: http://varscoper.riaforge.org/
4. Run it against your application and fix everything it finds.
Dan Wilson -
CF8, W2K3 Server and IIS6: Train wreck
Good morning all,
CF8 runs fine in development but, in production runs like crap. IIS6 needs restarting every morning and everthing is pointing to my code but, I had no problems with my code in development. Anyone know how to find if my code is causing memory leaks? I am also using Stored Procedures from CF to SQL 2005.
Thanks in Advance,
DJ KhalifThe monitoring tools built into ColdFusion 8.
AND|OR
SeeFusion (http://www.seefusion.com/)
AND|OR
FusionReactor (http://www.fusion-reactor.com/fr/)
It is quite possible that code that runs fine in development where one (or at most a few) users work fine, but behaves completely differently in production wehre dozens, hundred or potentially thousands of users start hitting it.
You may want to also check out load testing tools for testing of your applicaiton. -
I'm trying to call a web service from CF8, running on Mac OS
X 10.4.10 (with all updates).
I'm getting this error on the cfinvoke line:
coldfusion.jsp.JavaCompiler$UnknownCompiler: Unable to run
the internal Java compiler: java.lang.NoClassDefFoundError:
javax/tools/StandardJavaFileManager.
This is using Java 5 that comes as part of OS X (again with
all updates). Browsing to the WSDL for the CFC in question returns
the expected wsdl. javax.tools.StandardJavaFileManager appears to
be part of Java 6, not Java 5. I tried installing the Java 6
pre-release for Tiger from last fall, doesn't seem to make a
difference.
MarkI'm answering this for myself, as no one else has. It appears
that CF8 ships with the JDK 1.6 tools.jar file in cfusion/lib. The
JDK1.5, which is current on a Mac, includes the 1.5 version of the
tools.jar. The conflict causes the JVM to blow up. Removing the
tools.jar on a mac should let the native tools.jar work. On a PC,
if you're swapping between a 1.5 and 1.6 JVM, you'll need to
replace the cfusion/lib/tools.jar with the correct version. Adobe
needs to write an official technote on this.
Information gleaned from:
http://www.petefreitag.com/item/652.cfm
http://coldfused.blogspot.com/2007/08/coldfusion-and-webservice-file-has.html
http://rahulnarula.blogspot.com/2007/06/coldfusion-8-installation-tip.html -
CF8 Multiserver IIS6-Jrun Broken Images
Hello All
We have run into a problem with the multiserver install of
CF8 Enterprise Edition. I would appreciate any insight into it.
Server details:
Web Servers
IIS 6.0 on Windows 2003 Server
Use the JRun connector to communicate with CF servers (.cfm
.cfml .cfc .cfr mapped to jrun_iis6.dll)
CF 8 servers:
CF8.0.1 Enterprise edition; on windows 2003 server; 1 cluster
of 2 instances; running the proxy service on default ports (51000,
51002 and so on),
We want to use the reverse proxy for every type of file for
specific virtual directories on the Web server. This includes, .js,
.css, .gif, .jpg files.
Problem:
The coldfusion specific file formats are proxied to the CF
servers without a problem (since an IIS mapping exists for each of
them). However, for the static file formats it does not work
(broken images, missing .css files etc.)
We have observed that:
a) if there is no extension mapping on web server, IIS 6.0
sends a 404 message for the images on the page
b) if there is an extension mapping to the same jrun_iis6.dll
on the web server, we get a 503 error from the CF server
(Indicating no mapping on the CF server)
c) if in addition to (b), we introduce a url-pattern mapping
in web.xml, and associate it with CfmServlet, we start getting the
content of the image in a stream (Server response = 200 ) but with
incorrect content-type (it comes across as text/html). The images
still appear broken because the content-type is incorrect.
At this point, we are at a loss of what we are missing.
Has anyone run into this problem before... any pointers will
be much appreciated!
Regards
Kevdeepblue9999 wrote:
> We want to use the reverse proxy for every type of file
for specific virtual
> directories on the Web server. This includes, .js, .css,
.gif, .jpg files.
>
> Problem:
> The coldfusion specific file formats are proxied to the
CF servers without a
> problem (since an IIS mapping exists for each of them).
However, for the static
> file formats it does not work (broken images, missing
.css files etc.)
> c) if in addition to (b), we introduce a url-pattern
mapping in web.xml, and
> associate it with CfmServlet, we start getting the
content of the image in a
> stream (Server response = 200 ) but with incorrect
content-type (it comes
> across as text/html). The images still appear broken
because the content-type
> is incorrect.
Very close. You need to map the extensions to the
FileServlet, not the
CfmServlet. Then restart CF and you are in business. You can
even remove
the mappings in IIS, the mappings in web.xml will overrule
them anyway.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
CF8.01 Cluster creation issues
I've just recently installed CF8.01 Enterprise edition with
IIS 6, and I'm trying to wrap my head around creating instances
from J2EE EAR archives and clustering them on the same machine.
I followed the official instructions for "Enabling clustering
for load balancing and failover", but I don't quite understand why
you'd want to overwrite the IIS website connected to the cfusion
instance with the clustered instance, as this makes the cfusion
CFIDE administrator page inaccessible. Should I create a separate
webserver for the cluster first and connect it to that?
Also, how can I easily update the clustered instances? We're
used to editing templates on a test machine and then copying the
changes directly to the production server, but obviously it won't
be that simple with multiple instances.WV_DEP_GUY wrote:
> That is Cold Fusion 8 cannot do load balancing and
failover without a third party product. Is this correct?
I think it can, on the same machine. I.E. I know you can have
multiple
instances of ColdFusion installed on the same machine. I have
read that
this *can* be used for fail over and|or load balancing.
Personally, I
have only used it for application isolation.
But I think when you start talking multiple physical servers,
then you
are looking outside of ColdFusion for your load
balancing|fail over tools.
Just be aware that there maybe more options here, depending
on what you
want to do. It is often not thought that a ColdFusion server
can be
separated from and configured to connect to one or more
remote web
server boxes. You can separate the web server layer from the
application server layer. Then you can load balance|fail over
these
layers independently of each other as needed or desired.
Maybe you are looking for
-
Moving movie from apple tv to mac & iPad
I bought a movie with apple tv how to i get it to my mac and iPad (I have iTunes match)
-
Remotely call a PHP function?
My alliance in a game uses a tool to keep track of information. I am trying to make a program that allows me to simply copy information I want to submit to the system's clipboard and then push it to the "submit form" of the alliance's website. At any
-
Hi I am trying to create a trigger using the 11g client i go into the schema on the database tree in the window on the left and find the table i want and right click triggers i click create and name my trigger and write the code in the trigger body i
-
The icon for my iMac hard drive usually says something like "Hard drive". Now it says "]km,k}G/.lkml,./" What gives? I did not rename it. Do I have a bug?
-
I'm writing a shell script, and I need to tell what architecture (PPC vs Intel) I'm running on. Is there a way to do this from the shell? It would also be handy to know what OS Version I'm using, but that may not be necessary...