How to run CF MX 7 side-by-side with CF9?

We are currently running CF MX 7 enterprise in a multiserver configuration on Windows 2003 with IIS 6. We would like to install CF 9 on the same development box and to be able to run both versions at the same time accessing the same codebase (I created second IIS server called CF9 for this purpose).  In that way, we could test our existing code against CF 9 and also continue coding on CF 7.
I’ve worked at this for several days and I’m not getting anywhere, so I’m looking for some guidance.
The approach I took was modelled on this “CFJD feature – It Is Possible – Simultaneous development with CF7 and CF8” by Jeff Chastain http://coldfusion.sys-con.com/node/397935
The article deals with 7 and 8 but I figured it should still apply to 7 and 9. Jeff did a fresh multiserver install of 8 then created an instance of 8 (I’m not sure why) then an instance of 7. In my case I already had 7 multiserver installed and being used so I didn’t want to reinstall it (plus it was an upgrade from 6 so I don’t have the sw).
In keeping with Jeff’s approach I created an instance of 7 but then found that the administrator link provided by the instance manager referred to flashservices for some reason and didn’t work. Running the original admin location (host/CFIDE/administrator/index.cfm) no longer contained the enterprise manager. I had to stop the CF7 instance to get back to the default administrator.
I then created an instance for CF9. Despite using /cf9root/ as the context root during the install phase there was no CFIDE installed there. When I tried to get it to use a different jvm.config file (pointing to JDK 1.6) using this code: D:\dw\jrun4\bin\jrun.exe -config "D:\DW\JRun4\bin\cfusion9_jvm.config" CF9, I get this:  Error: no known VMs. (check for corrupt jvm.cfg file)
In frustration, I tried installing CF9 in standalone configuration as suggested here, but that didn’t work either – the admin and site were still run under CF7.
What am I doing wrong? Any suggestions appreciated.
Thanks
Bob
    

I haven't tried it, but the version of JRun that ships with CFMX7 should work fine to serve CF9 sources, provided you specify a different JVM for the CF9 instance to use.
I've never used CF's instance deploying thingey in CFAdmin, because doing it the JRun way seems to just work, so I've never needed to do it any other way.  I do this:
1) Crank up JRun Admin, login
2) Create a new server instance (remember which port the JWS is using, needed below)
3) Drop down to the file system and delete the default-ear dir from the new instance's home dir
4) Run the CF9 installer and create an EAR install.  Make sure to also install the other services it asks about, if you're going to be needing them.
5) unzip the ensuing cfusion.ear file (rename it to cfusion-ear.zip... it's just a zip file), and the WAR file within it, calling the dirs cfusion-ear and cfusion-ear/cfusion-war respectively.
6) update the cfusion-ear/meta-inf/application.xml to reflect "cfusion-war" rather than "cfusion.war", and make the context root / if need be.
7) move the cfusion-ear dir to the instance's home dir (from where you deleted default-ear, in step 3)
8) get hold of the latest Java SDK, and install it somewhere.  I don't install it in the default path as that will have spaces in it, and this has caused me problems in the past.  I install it to C:\java\jdks\[version name], or something
9) duplicate JRun's default jvm.config file, calling it jvm_cf9.config, or stick it within the server-specific dir, or something.
10) edit this new jvm.config file, and change the java.home value to point to the JRE dir from the Java SDK you installed in (8)
11) drop down to a command prompt and head to the JRun/bin dir and run this command line:
jrunsvc -install [instance name] [service name] [service label] [service description] -config [path to that second jvm.config file]
eg:
jrunsvc -install cf9 "CF9 Service" "CF9 Service" "CF9 service" -config C:/Jrun4/bin/jvm_cf9.config
12) Start the service.
13) Browse to http://localhost:[port number from step 2]/CFIDE/administrator, finish the CF install.
14) Create your IIS site, pointing the webroot to the instance's cfusion-war dir
15) Run wsconfig to connect the new CF instance to the IIS website.
16) restart IIS & CF
17) browse to CFAdmin via the IIS site's address.  Also stick a hellowWorld.cfm template in the webroot to make sure you can browse to that OK too.
18) Err...
19) ... that's it.
It looks like a lot of steps, but the only time-consuming bit is the CF9 install creating the EAR file.  If I've got one of those lying around already, the whol thing takes about 7min or so.  The deployment via the UI is without a doubt easier, but I've heard people having issues with it when going across versions, as you seem to be.
I've not had this method not work, but have never tried with CFMX7 + CF9.  Have had success with CFMX7 + CF8 (and vice-versa), and CF8 + CF9 (and vice-versa).  I'm not sure I had any luck with CFMX61 + CFMX7, but was able to run CFMX7 multi-server and CFMX61 stand-alone back when I had the requirement to run both simultaneously.
At step 7, I usually edit the jrun-web.xml file to move the webroot to C:\webroots\[instance name], and add mappings back to the existing locations for CFIDE, cfide and WEB-INF, eg:
    <virtual-mapping>
        <resource-path>/</resource-path>
        <system-path>C:/webroots/cf901a1</system-path>
    </virtual-mapping>
    <virtual-mapping>
        <resource-path>/WEB-INF/*</resource-path>
        <system-path>C:/Adobe/JRun4/servers/cf901a1/cfusion-ear/cfusion-war/WEB-INF</system-path>
    </virtual-mapping>
    <virtual-mapping>
        <resource-path>/CFIDE/*</resource-path>
        <system-path>C:/Adobe/JRun4/servers/cf901a1/cfusion-ear/cfusion-war/CFIDE</system-path>
    </virtual-mapping>
    <virtual-mapping>
        <resource-path>/cfide/*</resource-path>
        <system-path>C:/Adobe/JRun4/servers/cf901a1/cfusion-ear/cfusion-war/CFIDE</system-path>
    </virtual-mapping>
I just find it annoying that the CF webroot is buried so far down the file system.  Obviously if you do this, you need to point your IIS site to the same place, and make the CFIDE mapping too (you don't need the WEB-INF one in IIS).
Adam

Similar Messages

  • Is anyone know how to run the examples in 3d user interfaces with java 3d

    hi dear ,
    I am trying to run the examples in 3d user interfaces with java 3d.
    I hope i can load the library in jcreator. but the libarary for this book are classes files , it do not have jar file for it . the jcreator do not read these classes . i do not know why ? i am wonder if there any one run these code before can give me some idear .
    thanks so much .
    the code u can get from this link.
    http://www.manning.com/books/barrilleaux/source
    thank you for u to have a look for me .
    regards
    xiaocui

    <h2>{color:red}CROSS POSTED{color}</h2>
    [t-5289810]
    Cross posting is rude.
    db

  • Please kindly tell me how to run autoconfig in r12 on windows 2003 with every step in detail?

    I got installed oracle R12 in windows 2003
    the service oracleconcrmgrvis not starting after 2-3 time the laptop shut in between due to power shutdown
    Please anybody kindly tell me in detail every step
    I don't know how to log in applmgr and where to login applmgr in application tier
    and where to run the autoconfig
    I also don't know how to log in as oracle database tier and where to login
    I also dont have the sqlplus username/password kindly tell me how to change or find the username/password
    I know very less in this subject I spend 4 hrs to to solve the and start the service but in vain
    Dear gurus pls help me

    Check the CM log file under $APPLCSF/$APPLLOG directory, search for <SID>*.mgr file (or from the application -- Concurrent > Manager > Administer).
    For the database log file, issue "show parameter diagnostic_dest" from sqlplus.
    AutoConfig details can be found in (Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 (Doc ID 387859.1)).
    Thanks,
    Hussein

  • How to run OS 10.5 and older apps with a new iMac running OS Lion

    I have a PPC G5 running 10.5.8, which I want to retire and buy a new iMac running Lion. Problem is I want to continue to run old Photoshop apps and other old software that doesn't run on Lion. How do I do this?

    Web search "virtualize OSX"
    According to TheSmokeMonster you'd also need the server version which is not the version that came on your G5.  You'd have to find installer discs for the server version (no experience with this myself - just noting a difference in OSX versions).

  • How to run Apple Hardware Test on Mac Pro with ML preinstalled?

    I have Mac Pro 5.1 (2012) which came with Mountain Lion preinstalled. It didn't have install DVDs. How do I run AHD? Restarting with D, or command+D, or option+D didn't work. It would just restart the OS. And Mac Pro didn't support Internet AHD eather.

    Thank you for your reply, Carolyn.
    I read this article. None of those applied to my case:
    my Mac Pro came before 2013 and it doesn't have Apple Diagnostics  built into it,
    it doesn't have Apple Hardware Test built into it,
    and my Mac Pro came with Mountain Lion preinstalled and it did not have system software disc or USB flash drive.
    Restarting while holding down the D key simply doesn't work it just reboot back to the desktop.

  • How to run games on ipod nano 2nd generation with firmware 1.1.1

    Does anyone know if you can run games on the 2nd generation ipod nano with the latest firmware of 1.1.1 when the itunes store with games wants the system to have firmware 1.2.
    This means that the games must only work on 1st generation ipods or that 2nd generation ipod nanos do not need this level of firmware.
    Games are not loading on my ipod.
    Any advice?

    Nope, sorry but games are currently only supported on the 5th Generation (video) iPods. Also the 1.2 firmware is only for the 5th Generation iPods.
    Regards--- jgurbisz
    If I helped... please mark as helpful or solved. Thanks

  • How to run a command automaticly on starting up with systemd

    Hi,
    I'm using a laptop with two video card, an ATI 3400 and a intel integrated video card.
    Several months ago, I use rc.local to disable the ATI 3400 with the command below:
    mount -t debugfs debugfs /sys/kernel/debug
    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
    What should I do to enable these commands with systemd?
    Thank You!

    brain0 wrote:
    yumtaoist wrote:
    nomorewindows wrote:Make a .service file and make sure that systemd calls it.
    I have write a video.service file like below
    [Unit]
    Description=Disable the Discrete Graphics
    Requires=sys-kernel-debug.mount
    After=sys-kernel-debug.mount
    [Service]
    Type=oneshot
    ExecStart=echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
    And the result of "systemctl is-enabled video.service" is static
    However, this just does not work. I'm not familiar with systemd.
    Buy the way, thank you!
    First of all, put this into /etc/systemd/system/. Then add an install section to this unit:
    [Install]
    WantedBy=multi-user.target
    or
    [Install]
    WantedBy=basic.target
    (No idea which one is better). Then run:
    # systemctl daemon-reload
    # systemctl enable video.service
    Last edited by brain0 (2012-10-27 20:09:25)

  • How to run SequenceFilePostStepFailure model callback after step failing with nested sequence calls

    Hi,
    I would like to pop up a message box immediately on any test failures.  I had thought I could use the SequenceFilePostStepFailure model callback to achieve this,but when I modify the process model callback to achieve this, I've found that the callback code is executed only for step failures of the top level sequence file.
    My test code has mutiple sequence files being called before getting down to the granularity of the basic numeric limit test that will pass or fail, so I'd like to execute the SequenceFilePostStepFailure callback immediately at that level.  I can achieve this by adding a SequenceFilePostStepFailure callback override in the sequence file in question, but I'd prefer to use the default model callback implementation so I don't have to find all the places where numeric limit tests are executed and cause the DUT to pass/fail.
    I've attached some example sequences that I hope illustrate the problem.
    Thanks for the help,
    Daniel
    Solved!
    Go to Solution.
    Attachments:
    TestCode.zip ‏55 KB

    My fault, I see now that the model callback I should have modified is the ProcessModelPostStepFailure.  Problem solved.

  • How can i get two videos to run side by side?

    i am just wondering how to get more than one video (4 preferably) to run side by side all at the same time? thanks

    Hi there. I'm new to the iMovie app but I this link should help:
    http://help.apple.com/imovie/mac/10.0/?lang=en#movb8c659f55

  • How to run the Server Side Existing rule in Exchange 2010

    Hi All,
    There were requirement to create a auto forward rule for almost more than 5000 users, which we did, but the we want to apply this rules to the messages which are already in the inbox for all those users where we have created the rule.
    Right now the problem what we are facing is for each individual we have to take full access to their mailbox and execute the rule first time and then it works.
    this is becoming challenging for us to making this for all 5000 users. the other problem is those user are not regularly login to this mailbox, they are using some other Org mailbox, so even we can not communicate to all of them.
    Q1) How to run the Server Side Command which should forcefully apply whatever rules is created for that user should execute for the messages which are already in the inbox.
    Q2) or the powershell for for specific rule name, which can apply on the for all the messages which are there in the inbox.
    Any help would be appriciated!
    Thanks in adv champions!
    Ashku

    Hi Ashku,
    If these 5000 users are all users in your Exchange organization, a inbox rule can be created by the following commands:
    Get-Mailbox | foreach {New-InboxRule -Mailbox $_.Name -Name AutoForward -From [email protected] -ForwardTo UserB}
    Based on my test, the Inbox rule created in server side also cannot work on the message that have already been in the Inbox unless users click “Run Rules Now…” in their Outlook client. And the transport rule in Exchange server only works
    during the message sending process.
    Therefore, there may be no feature in Exchange server side to meet your requirement.
    Thanks for your understanding.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • How do I have two apps running side by side i.e. calculator

    How can i have x2 apps running side by side ie notebook & calculator without going back & forth.
    I have tried several browser type apps but these have not been very succesfull.
    My daughters samsung does this no problem at all.
    Does anyone no why it seems so hard to acheive especially after all the updates ect since launch.
    Probably going to go down samsung route.
    Dave

    7 month old thread, probably by this time OP already has a Note.
    As for the rest of us, we did understand. Kappy answered correctly that it could not be done. Its jus not something iOS is programmed to do.
    We then gave some alternatives. no one suggested it was what the OP wanted to do. Just something that could be done to approximate the requirement.
    If that doesn't work for you, then there's nothing else that can be done.
    Its not a currently supported feature on iOS. You can offer the suggestion to Apple on their feedback page.
    http://www.apple.com/feedback/
    There's nothing wrong with buying a different product that fits your needs more than an iPad.
    Its like tryng to take a Sedan offroad. Was it built to do that?  No. Can it, probably limitedly but the experience is not going to be very pleasant. Buy an Offroad vehicle and you can go offroad just fine. You don't whine because the sedan can't do it. You get something that can.

  • Bootcamp: How to transfer more memory to the windows side? i'm running low

    Wondering if you anyone knows how to transfer more memory to the windows side (partition) without having to uninstall bootcamp and start over...... I am running low on memory on the windows side but don't have either of the software disks to start over.

    Too many people don't allocate enough storage space (memory = RAM) and make the partition too small.
    Only things you can do is backup both OS X and Windows, remove the BootCamp Partition, reformat the full drive, and restore.
    WinClone will help you with Windows. http://www.twocanoes.com
    SuperDuper or TimeMachine or Disk Utility Restore with OS X.

  • How to configure Click-to-Run version of Outlook 2013 to run side-by-side with Outlook 2007 or Outlook 2010

    Hi, I am administering a cutover from Office Pro 2010 to Office Pro 2013 via our Office 365 E3 licenses. Before I start migrating mailboxes from our Exchange 2003 server to Exchange Online, I want to have our staff install Office Pro 2013 including Outlook
    2013 so they can have time to review it before we switch to the Exchange Online server in a couple of days. I know Outlook 2013 is not compatible with our Exchange 2003 server but I was hoping to be able to setup Outlook 2013 to connect to my Office 365 email
    address while keeping my msi installed version of Outlook 2010 for my Exchange 2003 email address.
    I am trying to test the capability of Outlook 2013 running side-by-side with my Outlook 2010 program. I have the "Click-to-Run" version installed on my Windows 7 64-bit machine however when I try to open Outlook 2013, I get an error message: "Another
    version of Outlook is currently running. Close it and try again."
    In reading in TechNet and other sources, it clearly states that both programs can run simultaneously which is what I need to do
    but obviously something is not configured correctly.
    Can you please help me get this configuration running or let me know if it is in fact not possible?
    Thanks!
    Frank

    Yes, it should be able to install side by side.
    The versions of Office that you install must be the same edition. For example, both installations of Office are the 32-bit edition.
    When you get the error
    "Another version of Outlook is currently running. Close it and try again.", go to task manager and end all existing
    outlook process.
    If the issue persists, do a repair for your Office suites in Control panel>Program and features>Office>Change>Repair
    Thanks,
    Tyor Wang
    Forum Support
    Come back and mark the replies as answers if they help and unmark them
    if they provide no help.
    If you have any feedback on our support, please click
    here

  • How to run expdp from client ?

    Hi All,
    I tried searching google and forums for my issue but to no avail > How to run expdp from client side ....like in my laptop.
    Because currently our PROD database server has no space for expdp dump file. So I want it directed to my laptop which has an extenal USB of 1TB harddisk...via client EXPDP
    import data using impdp command
    Posted on: 08-May-2012 11:36, by user: 841731 -- Relevance: 53% -- Show all results within this thread
    below command is correct or not? if it is not correct could you please send me the correct command. impdp user/pass@databasename schemas=sourceschemaname remap_schema=sourceschemaname:destinationschemaname ...
    System generated Index names different on target database after expdp/impdp
    Posted on: 30-May-2012 11:58, by user: 895124 -- Relevance: 43% -- Show all results within this thread
    After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different ...
    [ETL] TTS vs expdp/impdp vs ctas (dblink
    Posted on: 08-May-2012 21:10, by user: 869578 -- Relevance: 39% -- Show all results within this thread
    (table : 500 giga, index : 500 giga), how much faster is TTS (transportable tablespace) over expdp/impdp, and over ctas (dblink) ? As you know, the speed of etl depends on the hardware capacity. (io ...
    Oracle Client
    Posted on: 21-Jun-2012 22:47, by user: Sh**** -- Relevance: 32% -- Show all results within this thread
    Hi Guys, Please can you guys elaborate the difference between Oracle Client and Oracle Instant Client. Also, please can you advise from where I can download the Oracle normal ...
    Oracle 10g Client
    Posted on: 05-Jun-2012 10:11, by user: dzm -- Relevance: 26% -- Show all results within this thread
    to search at oracle site and this forum, but i wasn't able to find a link to download the oracle 10g client. I really need especificaly the 10g version. Anybody know the link or another way to download ...
    9i client to access 11g database
    Posted on: 22-Jun-2012 07:31, by user: kkrm333 -- Relevance: 24% -- Show all results within this thread
    Hi, Can i access a 11g database using 9i client? Thanks,
    SQLplus in Oracle Client
    Posted on: 14-Jun-2012 00:36, by user: Tim B. -- Relevance: 24% -- Show all results within this thread
    Hi, I tried to install an 11g oracle client in linux. As I've compared the files with the files when you install using the oracle instant ...
    Re: Information on Oracle Client 11202-1.1.4-6
    Posted on: 05-Jun-2012 03:33, by user: 898763 -- Relevance: 23% -- Show all results within this thread
    Actually thats the client requirement
    Analysing the performance of a single client
    Posted on: 28-Mar-2012 02:05, by user: 880172 -- Relevance: 23% -- Show all results within this thread
    timeouts even on some of the simplest queries. I want to try and get some data about how just this one client is performing and what it’s doing, but everything Google has thrown up so far is orientated around ...
    to make client connection as sys
    Posted on: 12-Jun-2012 22:04, by user: user11221081 -- Relevance: 23% -- Show all results within this thread
    Dear gurus can i connect to my server from my client machine with sysdba without giving sys password i have connected in different ways as sys@abc ...Thanks a lot.

    Though you can initiate the binary from your client side but for the file creation, there is no other way but to store it on the server side. So your best bet would be to get some space free on the server side of yours.
    Aman....

  • How to run Oracle workflow in windows 7 os

    Hi,
    Am new to oracle workflow.
    I have installed oracle workflow successfully in my laptop.
    After installation I dont see any shortcut's in my desktop.
    Can any one sugess me how to run oracle workflow.
    Steps to begin from basic level.
    Thanks
    Balaji

    You mean to say you installed Workflow Builder on your laptop? See that Oracle Workflow has a Client Side (WF Builder), a backend Server side and middle application side.
    Assuming you successfully installed the client side then you must have a group of programs called Oracle OUIHome and there one called Application Development. There you should be able to find Workflow builder.
    Useful notes for WF Builder:
    How To Download and Install the Latest Oracle Workflow Builder (Client Tool) and XML Gateway Message Designer for E-Business (Doc ID 261028.1)
    which leads to <internal URL removed>
    Regards.

  • Urgent: how to run applet which connected to the servlet?

    hi frends:
    i have written an applet on the server side and it supposed to pass parameters to my servlet and retrieve some info from the servlet.
    i put both applet and servlet under tomcat../WEB-INF/classes. but when i run the applet from the web browser, there is no response from the servlet.
    could anyone help me to solve this problem?
    one more thing is i know that applet is able to connect to servlet, but how about java application? is it able to do so? if yes, is it also using URLconnection as applet? and how to run it?
    i will be very appreciate if anyone can help me... thanx a million.

    You can connect to the servlet from an application.There's a URL class in java.net that has an openConnection method. Then cast the return to an HttpURLConnection and use setMethod to set up as a post request.This may be the default if you call setDoOutput(true) on the URLConnection. Then you'll need to get an OutputStream and write properly formatted form POST data to it. It's also possible to encode your data on the URL, even when using the POST method, and this may be easier when doing it programmatically from an application. To send a get request you can append the name-value pair at the end of the url.

Maybe you are looking for

  • Why aren't the Balls Bouncing  ? HELP !

    Dear Java People, In doing a program that should have balls bouncing, I can see no balls bouncing ! Below is the BallDemo class that has the bounce() method and the BouncingBall class that has the characteristics of a bouncing ball. There are no comp

  • What will happen if I miss my infinity installatio...

    Hi, many questions, So I am booked on the 20th sept, 1-6PM, and I am only home after 4PM, if the engineers get here when I'm not there how long will they wait? Also if I leave a note on the door asking to come back later will they? And I am under 18,

  • Component TV Wiring

    Is it possible to hook up a component cable from the 6416 DVR to a non-HDTV that has a component input on Video Input 1?  My DVD works fine with a component cable to the TV through my A/V unit.  If I connect from the 6416 with a component cable I get

  • Dead iPOD mini (1st gen.)

    Okay, so I read the posts before me to see if anyone had the same problem I have but no one seems to. When I turn on my iPOD, the apple logo stays there for about 10 seconds and then switches to another screen. The screen has a picture of an iPOD wit

  • Only one round trip to database from BizTalk per message irrespective of number of records in message per table.

    I am creating biztalk application to store the data into sql server. and my client says this line what i am not understood . "Only one round trip to database from BizTalk per message irrespective of number of records in message per table." Any one ca