Cold Fusion MX 7 MultiServer Cluster Question
Hey all,
I've configured 2 Cold Fusion MX 7 servers running 2
instances each. I've configured a cluster between them and have the
Proxy Listener up and running.
When I access the page, everything comes up just fine... but
when I round robin between them, I'm losing my session.
I've enabled J2EE Session variables, I enabled the load
balancing of sessions in the JRun admin console on the machines.
What am I doing wrong? I know the session is being written
the machine(s) because I can see them in the directories on the
servers.
We've been having a similar issue, with occasional pages
hanging for hundreds of seconds at that same
JrppBufferedOutputStream, which SeeFusion identifies as "Writing
completed page back to the Web server".
This happens randomly throughout the day, more often when
there's more traffic, but also in the wee hours with relatively few
visitors; nothing else appears to be going on, often with the
long-running thread the only active thread.
Our setup is pretty similar to yours, CFMX7, MSSQL2000,
Win2k3 Server, but with dual Xeons instead of single-CPU. We've
applied the significant hotfixes, including the DST update to the
1.4.2_11 JVM. I'm not positive we've updated to the latest IIS
connector (as mentioned in
http://www.adobe.com/support/security/bulletins/apsb07-02.html),
but will be checking, just to be sure. If you also don't have the
newest connector installed, that would be an interesting
commonality.
We had problems in the past with CF locking up completely
during one of these hung threads, but after some tweaking to
stabilize memory usage below 80%, the lockups are rare.
So I have no answer, but will be sure to share any solution
we do find with you, and hope you'll do the same! :*)
Similar Messages
-
Xp pro config question with cold fusion(newbie)
Hello,
I'm a beginner and I want to learn studio mx 2004.In trying
to learn Macromedia MX for windows ,I've gone thru the installation
process in the manual for installing Cold Fusion for the server
side of things.My question is, I'm not sure if IIS is mnadatory in
order to use cold fusion.Is it a case of using one or the other or
is the IIS service required to run Cold Fusion? Also im using cold
fusion5 is cold fusion mx = to cold fusion 6.1?Thanks for answering. Is there any benefits to running both
servers? I
don't want to confuse myself with too many
options.Essentially,I could
learn Dreamweaver (my ultimate goal) by using either
installation.
No, while it is possible to run multiple versions of CF, it
takes extra
configurations to do so. I would say this is unnecessary for
just
learning. I would strongly suggest upgrading. CF 5 is the
oldest and
most limited version of CF still officially supported by
Adobe. The
latest version is 7.0.2. There is a huge, major, complete
rewrite of CF
and many other bug fixes and enhancements between CF 5.x and
the current
version.
The current version and all versions of CF are free for
download from
Adobe for a personal development copy. If you do so now,
before you
start writing code, the upgrade install IIRC is quite
painless and will
use the configurations you have already chosen. -
Hi,
Is there a way to find the location of Cold Fusion 9 patches?
I found this URL: http://www.adobe.com/support/coldfusion/downloads_updates.html#cf9
Also, is there a way of determining what patches are missing for the Cold Fusion 9 installation?
Currently, have Version: 9,0,1,274733 and Adobe Driver Version: 4.0 (Build 0005)
Does the Cold Fusion patches include any Java necessary updates?
Java Version: 1.6.0_17
Thanks,
MikeHello userCold9
Is there a way to find the location of Cold Fusion 9 patches?
I found this URL: http://www.adobe.com/support/coldfusion/downloads_updates.html#cf9
Here are the link to patches:-
http://www.adobe.com/support/security/#coldfusion
If you go to the details of every patch, it would give you the information about the version number. Which would in turn, help you to locate the patch installed on your system.
Regards,
Anit Kumar -
How not to use Cold Fusion and Java
Overview
This write up is intended to give java developers that are
developing ColdFusion applications some beneficial information:
things that are not documented.
Scenario
The company builds enterprise class web application software
for fortune 500 companies. It had purchased a CF 7 based product,
had and existing proprietary J2EE based product, and needed to
integrate the two while meeting a host of new requirements. These
requirements were based on delivering a better user experience,
faster / cheaper integration, increased flexibility /
configuration, useablily, decreasing maintenance costs, the ability
to deploy in either install or ASP models. An initiative was
started to create a new framework that integrated the best of each
technologies. Tactically, this meant that we were to build a hybrid
CF and java application: one that used building blocks (decoupled /
cohesive components) that would allow applications to be rapidly
assembled, configured and deployed. This made sense on several
levels, the team was composed of Java and CF developers, the CF
rapid application development was very productive, there is great
functionality delivered in the CF platform and initial performance
tests showed no cause for alarm
The agreed upon design, based on requirements, and analysis
by both the CF and Java staff has us using CF in the presentation
layer, using a CF based MVC, use of CF based web services. The MVC
was deployed using CFC inheritance for model objects and views made
use of CF custom tags. The internals of the application, used a
rules engine, some proprietary java, ORM, and other J2EE
technology. The initial performance of the system was reasonable.
We pushed on with product implementation.
Then it was time to load test the application, and tune it.
Under load the response times were orders of magnitude slower,
sometimes the pages even timed out.
Armed with our profiler, oracle execution plans and we
charged ahead addressing issue after issue. Note that we took
meticulous care in tweaking the active thread pool and ensuring
that our CF setup was tuned for our application. None of the
observations here are a condemnation of the language; rather they
are aspects that, when considered together, not conducive for
building integrated java and CF frameworks that use a structured /
OO programming practices. Further detail can be provided on
request.
CFC inheritance should be avoided - resolution of variable
scope is expensive even if properly declared.
Since CF creates a class per method under the covers call
stacks become very large, especially if used in a loop. This is
nominally exacerbated by CF calls necessary to set up for the
method call (String.toUpper()).
Nesting of loops and if statements should be kept to a
minimum - the conditional for each lookup of logical operator like
LT, GT are synchronized. Under load this results in thread waits.
Jrun has as single thread pool - both http and web service
requests use the same pool. Under load this leads to thread
deadlock. There are work arounds, but they are painful.
Recursion should be avoided - we had a few recursive routines
and these had to be rewritten.
Custom Tags - should be used sparingly - each custom tag
makes a synchronized call to the license server - (This may be
fixed in CF 8)
Summary
In the end we got the performance to reasonable numbers, but
we ended up moving some code to java (Custom Tags) and getting rid
of 'good programming' practices (Inheritance, loops, etc), mandated
proper variable scoping for those things left over. We prototyped a
sans cold fusion implementation and had an order of magnitude
improvement in performance and number of requests served per
second.
The lesson? Use Coldfusion in its sweet spot: make a query,
iterate over the results and format for display. Extensive use of
structure programming techniques or OO CFCs should be avoided: they
will work but under load - but are better as a prototype. Building
frameworks in CF? Think twice, no three times, and, if you must, be
minimalist.
Textinteresting aslbert123,
Not that I doubt you, but could you answer some questions
about your implementation that was so slow:
1.) Did you put your CFCs in the application or server scope?
2.) Were you initializing your CFCs, via CreateObject or
<cfinvoke>, on every request?
3.) Are you sure that you were properly Var'ing every
variable in your methods? (people typically forget about query
names and loop iterator variables)
4.) Could you give examples of how your inheritence was set
up?
5.) For CustomTags, did you call them the old <cf_tag>
way or the newer, better-performing <cfimport> way?
6.) How did you connect CF to Java exactly?
Thanks,
Aaron -
How to convert/download videos embedded with cold fusion?
Does anyone know of a free video conversion software that will convert and download online videos embedded with cold fusion ("cfmid=?") format/extension? I tried a few online sites and they do not support that format yet. Please help. Thank you so much!
JudyActually COLD FUSION was a hoax a few years ago. COLDFUSION is the app.
If you need content from a web site, talk to the developer.
fwiw - Since ColdFusion is an Adobe app, you should try asking your question on that forum. This one is here to primarily support Shake.
Have fun.
x -
Flashbuilder and Cold Fusion (using application/session variables)
I would like to know if anybody uses Flashbuilder with Cold Fusion?
Since Cold Fusion has lots of different scopes of variables (application, session, client, form, url, etc...) how do you manage this in Flex/Flashbuilder?
Are there forums or groups specifically for using Flex3/Flashbuilder with backend server side technologies such as Cold Fusion?.
The only server side technology that I have interest in is Cold Fusion. I've seen basic tutorials and videos using Cold Fusion CFC's and data binding with Flex. I haven't seen or heard anything using a Cold Fusion application, session, or client variable in Flex.
Hopefully some of you have some experience on this topic.
Thankshey popster,
i too had this question some time ago. my entire app was built on CF with HTML before i started integrating Flex 3 with it. i found that i needed to create cookie variables for all my session variables i was using in order to maintain and remember who the user was in my CFC calls. i also found that after i compiled a flex app, i changed the .html to .cfm (the file that loads the compiled SWF file). by doing this i was able to pass CF session variables into the flex app and you can refer to these anywhere in Flex by using Application.application.parameters.{variable name here}
add the CF variable in the FlashVars line to pass it into Flex (see the last line of code). this will create a variable (in my case i'm passing session.employeenumber). then in your flex app you can reference it by using Application.application.parameters.emplid:
AC_FL_RunContent(
"src", "Request",
"width", "100%",
"height", "87%",
"align", "middle",
"id", "Request",
"quality", "high",
"bgcolor", "#869ca7",
"name", "Request",
"allowScriptAccess","sameDomain",
"type", "application/x-shockwave-flash",
"pluginspage", "http://www.adobe.com/go/getflashplayer",
"wmode","transparent",
"FlashVars","emplid=<cfoutput>#session.employeenumber#</cfoutput"
A little trick I learned (does Adobe really expect us to re-engineer how our apps have been working by no longer using sessions for Flex?). Then in your CFCs if you also create cookies for every session variable you can maintain the variables based on user login. HOPE THIS HELPS!
-Matt -
How to register Rest web services in Cold Fusion 9 ?
I am building a Rest web service using Cold Fusion 9 and Cold Fusion Builder 3 and now I want to register it on Cold Fusion 9 admin console, but I didn't see any option there as in CF 10 and CF 11 Data Services ---> Rest Web service. So, please tell me how to register my Rest web service in CF 9 either through admin console or through code?
You've posted this question twice. Please delete this one and people can respond to the other one.
-Carl V. -
Hi There my name is Javier and I am a baby on this java issues.
I am having this problem trying to get the pay flow program from VeriSign to work with the cold fusion administrator I did all the steps but when I test it came out with an error saying that I need to install the JVM or JRE because it didn't find it so you need to tell the path of the jvm.dll on the Cold Fusion Administrator in order for this test to run succesfully.
I did a search for jvm.dll nothin but I notice there is some java files there so I did a test went to this site download jre 4.1.1.8 and install it on my home computer the installation went fine and then I notice the installation creates a directory called JRE4.1.1.8 and I did a search for the jvm.dll but also ntohing like that shows up instead I found two dll files, javai.dll and another java dll file but the question is: IF i DESIRE TO INSTALL THE NEW VERSION OF JVM ON THE SERVER WHAT DLL FILE SHOULD I CHOOSE TO BE DEFINE ON THE COLD FUSION ADMINISTRATOR, was there any changes from the last version of JVM to the news version I am assuming there is but I don't know what to look for.
Any help on this matter would be highly appreciated.Did you figure out the solution to your problem? I am running into the same issue.
-
Hi,
I have a question on Cold Fusion license.
Have Cold Fusion 9 Enterprise but cannot find the license key.
Have Cold Fusion 10 Enterprise and have the license key.
Can the license key for CF 10 be used for the CF 9 key?
Can the license key for CF9 be obtained somewhere?
Thanks,
MikeIf you can provide proof to Adobe that you purchased CF9 Ent, I'm sure Adobe can re-send you the key for CF9 Ent.
AFAIK, the key for CF10 can NOT be used for CF9. They're probably not even the same format. I'm guessing.
HTH,
^_^ -
Cold fusion 9 500 - Internal server error.
all of a sudden none of our cfm web pages work on a windows 8 server running iis 7 .... the server shows no errors in the event viewer .... occasionally functionality comes back w/o doing anything ...... cold fusion did have all the hotfixes updated a few months ago but i cant get to the admin page to give what the version is
thxsWell if you got over your misplaced indignation for a moment, let's see:
ColdFusion is what people will google for, so in the spirit of helping others who might have the same question as you later on, spelling it right will help the community.
Jason's observation that you give us absolutely nothing to go on so it's basically impossible to help you is a fairly poignant observation, right? You do want help? Right, so here's some suggestions:
Articulate your issue clearly, with sufficient detail that we can help you. Read this:
http://www.catb.org/esr/faqs/smartquestions.html
Secondly... being rude to someone like Jason who really is one of the most helpful people on
these forums is a pretty stupid idea. And just serves to make you look a bit of a [profanity edited out]. Esp. with the caps lock on.
But anyway, let's call that a false start. Give us the details of your issue, and we'll try to help.
Cheers.
Adam
Message was edited by: m.m.murphy -
Air,Flex ,Cold Fusion There is a problem with P4990 Release of AIR Updater
using Air/Flex/cf I am not able to connect to my Cold Fusion
component after running the P4990 UPdate this morning, It worked
fine on both an XP and Vista Machine running P4880 , but now even
after a restart my simple connection to the cfcomponent is hanging
and will not run.
this worked fine in the release I was running this morning,
runs fine in a browser just not after patching ?
two questions ,
where can I download the P4880 Release Again
and is this a bug or a change ? ,
if its a change what is the new way of connecting.
RayI read through the notes and iI even recreated my air file,
but it is still hanging , here is the html for the connection
to the app as well as the flex remote connection I am using, it all
works in the browser, but again just hangs in air after this update
<cfoutput>
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"
name="VPR_Users" width="1003" height="650" align="middle"
id="VPR_Users">
<param name="movie"
value="/VS/Modules/Administration/plugins/users/ui/screens/VPR_Users.swf?u=#Application.V iper.userID#"
/>
<param name="quality" value="high" />
<param name="bgcolor" value="##869ca7" />
<param name="allowScriptAccess" value="always" />
<embed
src="/VS/Modules/Administration/plugins/users/ui/screens/VPR_Users.swf?u=#Application.Vip er.userID#"
quality="high" bgcolor="##869ca7"
width="1003" height="650" name="VPR_Users" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="always"
type="application/x-shockwave-flash"
pluginspage="
http://www.adobe.com/go/getflashplayer">
</embed>
</object>
</cfoutput>
FLEX CONNECTION CODE (flexgateway is my cfc)
<mx:RemoteObject id="VIPER" destination="ColdFusion"
source="VS.bin.engine.flexgateway" showBusyCursor="true">
<mx:method name="setUserInfo"
result="setUserInfoResult(event)"
fault="Alert.show(event.fault.message)"/>
</mx:RemoteObject>
the function that runs and hangs
private function init():void{
pUserID = Application.application.parameters.u;
VIPER.setUserInfo(pUserID);
the variable is entering into flex fine, the flex application
is loading into the air harness fine but when I run the page ,
it hangs like it is not even connecting. -
Use JQuery Datepicker in Cold Fusion
How can I use jquery Datepicker in a cfm application that used iframe? where should I link css and script reference?
It might be nice if you tell people you've already asked this on Stackoverflow (http://stackoverflow.com/questions/15756532/use-jquery-datepicker-in-cold-fusion).
This question has nothing to do with ColdFusion. JQuery runs on the client browser, and does not interact with the ColdFusion server.
You would use the datepicker in exactly the same way you would on a flat HTML page.
Adam -
Cold Fusion/Flex Application Wizard crippled in Trial Version?
Hi,
I am using the 60 Day trial version of Flex Builder
3/Eclipse.
I wanted to try out the much vaunted Cold Fusion/Flex
Application Wizard, mainly because I could not get my head around
access from Flex to an existing CFC from the documentation alone.
So, I followed the directions:
Click the plus sign (+).
In the Name: text box, enter the name for the page.
Select the page type (master, detail, or master/detail).
Click Edit Master Form or Edit Detail Form, depending on the
type of form you are creating.
The Visual Query Builder starts.
But for me, when I click on 'Edit Master Form' the Visual
Query Builder does not start.
Now I have checked and confirmed that my RDS is working, and
that I can access the database via RDS in the Eclipse RDS browser
window. The RDS concerned is on another PC.
The PC on which Flex Builder is installed is a Vista
Ultimate/32 and the database is MS SQl server 2005 (running on the
other PC). Cold Fusion 8 is installed on both PC's.
So, my question is 'Is the CF/Flex Application wizard
deliberately hobbled/crippled in Flex 3 Trial version, or is there
something wrong with my installation.?
If this works for everyone else, then how do I debug my
installation ?
Thanks,
Bryn Parrottin addition, I can say that I installed the same flex builder
trial on an XP machine, using its own local RDS, and found that the
wizard worked just fine.
So what is the variable here, why is the wizard not working
on the vista PC ?
Is it Vista ?
Is it the fact that I'm trying to use RDS against a remote
server and not the local one ? -
Hi,
I have a CF8 install on a dev box which I woudl like to
update with "Cold fusion update 1 ", I was wondering if someone
could confirm if "cf8 update 1 " will update existing installation
or install a fresh installation??
I have tried running the cf8 update 1 but it looks like it's
going to perform a full installation and I really dont want to
break the current instances.
Regards,
MarianoHi Mariano,
The
ColdFusion Support
Home Page has links to various pages like the CF forums, hot
fixes and updates. The
updates
page has links under the "ColdFusion 8 Update 1 (8.0.1)" heading
for various downloads. These downloads will update your existing
ColdFusion 8 server or multiserver installation.
If you download a ColdFusion trial or developer version off
our download site, it will be a full installation of CF 8.0.1.
Those download options will include the 64 bit versions as Hemant
indicated. -
I have site on a Cold Fusion MX Version: 6,1,0,hf45343_611
running on A Windows 2000 server and IIS5 using a Microsoft SQL
2000 Cluster in the backend. When ever the cluster fails over the
websites fail. I then have to restart the 3 Cold Fusion Services
and do an IIS reset. Is there a setting that I can use to avoid
having to reset the services on the webserver?Hi Upen,
Thanks for your response. It is a 64 bit machine and the setup is also 64 bit.
I would like to mention some points related to my deployment scenario:
We have a Windows server 2008 R2 Standard edition on Server machine.
I have a .net website appliaction deployed and running on this.
One of our third party vendor is developing Cold fusion application.
This Cold fusion application will be integrated in our .net website.
Deployment and configuration of Cold Fusion application and server wil be done by Third Party vendor.
I need to install Cold fusion and give access to Third party.
Issue when I install cold Fusion using default settings, my .net Website does not get loaded.
In Mozila and Chrome Browser I get blank Page with only Background image given in Body tab of page is getting displayed.
In IE Browser Page with background image given in Body tab of plus this text ' <script> src="" 'is getting displayed.
Regards,
Sarfaraj Shaikh
Maybe you are looking for
-
Comment_build display in ALV report
Hi, I have to display date range(s_erdat) and it is comming like 'IBT2007110620071120' I want this to be like '11/06/2007 to 11/20/2007', please help me how to display like this. Thanks, Veni. FORM comment_build USING lt_top_of_page TYPE slis_t_listh
-
How can I stop the iMessages I recieve to my iPhone showing up on my childrens iPods? We all use the same Apple ID and they use iMessage. Thanks for your help in advance
-
Error during creating a control record
Hi Experts, we are using EEC6.03 version. system error.. Change before earliest retro. date 01.03.2010 acc. to control rec. to py area CO Error- While creating Control Record, system takes advance period. example- We have given present payroll perio
-
HT5824 how can i retrieve my photos and notes ?
My ipad mini stopped working in July, and Apple replaced it with a new device, however i lost all my notes and photos, so from the lesson learnt i have been taking downloads into my laptop. Today, when i tried the same, it displayed the new serial nu
-
Clearing Global IKEv1 Statistics
All, I would like to clear the statistics for when I type "sh isakmp stats". Below is the output when I type the preceding command. I would like that cleared for testing. Global IKE Statistics Active Tunnels: 1 Previous Tunnels: 221 In Octets: 2811