Coldfusion 10 Mappings and Apache VirtualHosts

Im having a little difficulty figuring out coldfusion mappings with numerous virtualhosts in apache.
It seems that CF10 handles things differently than CF8.   I used to be able to add mappings in the CFIDE and brose to the files directly, or in the case of a cfc, get the component info.  It seems that CF10 no longer follows mappings, or at least not externally.  We have come flex apps that rely on these mappings, and they can no longer get to the cfcs.  Adding aliases in apache did not fix the issue, since the CFC cannot read session variables from Application.cfm when invoked that way.  Does anyone have any ideas?

Thank you for the reply Carl
Unfortunately it is a development server on an internal / private network, so there is no public access.
Regardless, it appears that the CF10 vs apache mappings were not the problem themselves.  We are able to access the cfc directly, and unless a method is specified, it will show the CFC explorer.
The issue that is still plagung us is that the CFC seems to be including parts of the fusebox framework, though there is no application.cfm application.cfc or other automatically included page.  We cannot figure out what is causing this behavior.  Anyway, I have a seperate thread for that issue here :  http://forums.adobe.com/thread/1427279
I apologize for not closing this thread out
Thanks again

Similar Messages

  • Installing Coldfusion 9 and Apache 2.2 on Windows Server 2008 R2 Standard

    I'm having issues getting ColdFusion 9 working with Apache 2.2 on Windows Server 2008 R2 Standard.
    The server is brand new and it's a fresh install of Apache and ColdFusion 9.
    Having installed Apache, I tested the web server and it was working fine, so I proceeded to install ColdFusion 9. I attempted to restart the Apache server through the Apache Service monitor, only to get the error dialog box 'The requested operation has failed'.
    On closer examination of the Windows error log, I saw the following error:
    The Apache service named  reported the following error: >>>
    httpd.exe: Syntax error on line 488 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server: The Apache service named is not a valid Win32 application.
    I updated the ColdFusion installation to 9.0.1 in case there was an issue with version 9.0 and Apache. Still no joy.
    After a bit of research, I thought perhaps there was an issue with the mod_jrun22.so file (since when I commented out the reference to that file from the Apache config file, the Apache HTTP server started without any problem). I tried replacing the mod_jrun22.so with the 32 bit version (extracted from the wsconfig.jar file), but that made no difference either.
    I have tried a number of things. I have run wsconfig and uninstalled all web server connectors and then re-created them.
    I have to use Apache and IIS is not an option (I use rewrite rules extensively in an existing live installation and have many sites set up in a vhosts file), so please - no suggestions to use IIS instead.
    The system requirements on http://www.adobe.com/sea/products/coldfusion/systemreqs/ state that Coldfusion 9 will work with Apache 2.2.17 and later on Windows 64 bit, so why am I having issues with a brand-new installation on a 'virgin' server?
    Any help would be much appreciated. I have spent hours trawling the Web for solutions.

    I missed an important detail in my opening post. My Coldfusion 9 version is 64 bit - not 32.
    OK. Simple solution to this. I'll put it here for other peoples' reference.
    To cut a long story short, after phoning Adobe support this morning I was told that you can't run a 64 bit version of ColdFusion with a 32 bit web server. In essence, the web server software and the ColdFusion server software must be the same - either 32 or 64 bit.
    Apache is only officially released as a 32 bit version, but there is a 64 bit unofficial version available from http://www.blackdot.be/?inc=apache/binaries, so I downloaded that and installed it, based on the instructions at http://www.elxis.org/guides/developers-guides/64bit-apache-php-mysql-windows.html.
    Once I'd installed the 64bit version of Apache, the installation of Coldfusion 9 64 bit went smoothly and all appears to be working just fine now (well, I can get to the ColdFusion Administrator page and I have successfully updated the server software to ColdFusion 9.0.1).
    The fact that you can't mix different 'bit' versions of software in this way may be obvious, but it wasn't obvious to me. Having been an early adopter of a 64 bit version of Vista on my own PC, I never experienced these kind of problems before. Software installed itself into the corresponding locations on my PC without any problem and just worked. This is the first time I've run into this problem.
    Unfortunately, there doesn't appear to be any information regarding this very important requirement on the system requirements pages, so I suggested to the support engineer that he may want to make the recommendation that the page is amended to clarify the situation: e.g.
    IMPORTANT: 64 bit versions of ColdFusion require 64 bit versions of web server software to function. You can not mix 32 bit and 64 bit versions of web servers and ColdFusion server.
    Hope this helps someone else out.

  • Location of files for Coldfusion and Apache.

    I have a ColdFusion MX 7 server and Apache. I'm a newbie to both the O/S and ColdFusion.
    I'm running an intranet server for a small town on a MAC OS X 10.4.7 Dual 2.7 Ghz powerpc and 1gb memory.
    First Question:
    I would like to be able to run ColdFusion applications on Apache server. At the moment ColdFusion applications have to be in the ColdFusion directory on the server but when I call the page on Apache it will not display. The pages will display on the ColdFusion port. Also, is it common to change the standard port shipped with ColdFusion? And also change the location of the files on the ColdFusion server?
    Second Question:
    Finally are there any other forums for just web related questions and MAC OS X? I hope this is the right place to ask these questions?
    -=RocketBoy=-
    Thanks.
    PowerBook G4   Mac OS X (10.4.7)  

    By default your Photos Library.photoslibrary package will be in your Pictures folder.
    If you migrated an iPhoto library or Aperture library located somewhere else, the Photos Library will be in the same folder. Unlike iPhoto, the new Photos.app will not reveal the individual managed image files stored in the package in the Finder.

  • Installing coldfusion with jrun4 and Apache2

    Hi everyone,
    I want to install Cold Fusion 7.02 within Jrun 4 (already
    installed) and with apache 2 (already installed)
    basically I want all my cold fusion files (like cfide and my
    websites) to be in the apache 2 htdocs folder (/opt/apache2/htdocs)
    I am using Solaris 10 (Sparc edition)
    I am unable to find any documentation on how to do this. the
    one good documentation I found places the htdocs somewhere that I
    do not want to use.
    Can anyone point me into the correct area?
    I have already installed cold fusion and created the WAR
    file.
    Thank you
    Luc

    Assume a website name Test1 that is on Apache2 and you want to run it with CF 10 standard and a website name Test2 that is present in IIS which you also want to run with this CF 10 standard.
    So yes, it is possible. Every website that you configure individually with IIS has  a unique folder name (say 1, 2, 3 and so on.)
    You need to run the Web Server Configuration Tool (wsconfig.exe) and add the IIS website/Websites one by one  that you want to add. Every website will run with it's connector files present in the number folder 1,2,3 and so on (C:\ColdFusion10\config\wsconfig)
    After 5th minute in this video the same is happening : https://www.youtube.com/watch?v=iHhSPTmRozM
    Now you will need to run the wsconfig.exe and this time choose Apache and add the connector. Follow this video : http://blogs.coldfusion.com/post.cfm/video-configuring-coldfusion-10-connector-with-apache -virtual-hosts
    HTH
    Thanks
    VJ

  • OC4J and Apache Virtual Hosts

    Server Setup
    OS Version: Windows Server 2003 64bit
    Server Version: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server
    API Version: 19990320:18
    Run Mode: standalone
    I have setup two seperate Apache VirtualHosts address1.mycompany.com and address2.mycompany.com I have also setup 2 seperate OC4J application groups appgroup1 and appgroup2. I need to tie appgroup1 to the virtualhost address1.mycompany.com and appgroup2 to address2.mycompany.com. There will be two seperate applications running on each app group and they both need to run at the root level of the address .... instead of running like so address1.mycompany.com/application1 ....
    Is this possible to do with this version of Oracle Application Server. I have seen that in the Weblogic version there are ways in which to do this, but due to a deadline and my limited knowledge of Weblogic at this point I am unable to go that direction ... Any help with this would be greatly appreciated and well recieved.
    Edited by: Steve Carlson on Jan 23, 2009 3:41 PM

    Hi,
    I have a similar problem, I'm running apache 2.2 on windows and oc4j 10.1.3.4.0.
    I'd like to map http://app1.example.com/home.html in apache to http://10.1.1.3:8888/app1/home.html and http://app2.example.com/home.html to http://10.1.1.3:8888/app2/home.html
    I have the ProxyPass settings in my httpd.conf file
    ProxyPass / http://10.1.1.3:8888/app1
    ProxyPassReverse / http://10.1.1.3:8888/app1
    This works fine for the first URL and the browser shows the correct page at http://app1.example.com/home.html however as soon as I click a link in the page the browser tries to go to http://app1.example.com/app1/page2.html
    And since I have my ProxyPass mapping in apache, I think its trying to get to the following page in oc4j http://10.1.1.3:8888/app1/app1/page2.html which doesn't exist.
    Is there any way to map a subdomain/virtual host to an oc4j context but hide from the browser the oc4j context in each of the URLs.
    To make matters more tiricky (or maybe not), I'm using Struts 1.3.10 as my application framework, so I don't normally construct the <a> links myself but have Struts do that for me with <html:link> tags.
    Thanks in advance for any pointers,
    Andy.

  • Pros and cons of jxl api and apache poi of manipulating the excel sheet.

    i want a list of pros and cons of jxl api and apache poi of manipulating the excel sheet.
    also i need to know which one is better jxl or apache poi.

    Hi Ricardo_Lorenzo,
    Whether to go for Multiserver instances or Single server, is totally a user requirement based decison. If a user has Single website, or multiple websites (of the same nature, in terms of functionality), usually the part of same domain, then they would go for Single sever installation. One single instance will handle the requests from all the websites (if there are multiple). There would not be a clustering/failover setup within ColdFusion and can use the ColdFusion Standard or Enterprise version.
    On the other hand, if a user has multiple websites, all with different functionality and have multiple applications (may or may not) running, then they can go for Multiserver installation. Each website can be configured with individual instances. Clustering can be done within ColdFusion if needed. One would need an Enterprise license of ColdFusion for the same.
    Hope this helps.
    Regards,
    Anit Kumar

  • Get Error on AM 7.0 do SSO on MS IIS 6.0 and Apache 2.0x

    Hi...
    I install AM 7.0/Sun Web 6.1 on Window (Java ES4). And I try to setup SSO between MS IIS 6.0 and Apache 2.0. I don't know how config in the AM by using amserver (web admin).
    I already complete install Policy Agent for MS IIS and Apache 2.0 and both of web was protected.
    I get the error msg on AM dubug log below :
    IIS :
    2006-06-26 22:56:18.376 Debug 3876:157ae90 AuthService: HTTP Status = 200 (OK)
    2006-06-26 22:56:18.376 Debug 3876:157ae90 AuthService: Http::Response::readAndParse(): No content length in response.
    2006-06-26 22:56:18.376 Error 3876:157ae90 AuthService: AuthService::processLoginStatus() Exception message=[Authentication Failed!!] errorCode='107' templateName=login_failed_template.jsp.
    2006-06-26 22:56:18.376 Error 3876:157ae90 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Authentication Failed!!] errorCode='107' templateName=login_failed_template.jsp and code:3
    2006-06-26 22:56:18.376 Warning 3876:157ae90 PolicyAgent: am_web_is_access_allowed()(http://w2k3.sunth.com:81/index.html, GET) denying access: status = Access Manager authentication service failure
    2006-06-26 22:56:18.376 Debug 3876:157ae90 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://w2k3.sunth.com:81/index.html.
    2006-06-26 22:56:18.376 Info 3876:157ae90 PolicyAgent: am_web_is_access_allowed()(http://w2k3.sunth.com:81/index.html, GET) returning status: Access Manager authentication service failure.
    2006-06-26 22:56:18.376 Debug 3876:157ae90 PolicyAgent: HttpExtensionProc(): status after am_web_is_access_allowed = Access Manager authentication service failure (3)
    2006-06-26 22:56:18.376 Error 3876:157ae90 PolicyAgent: HttpExtensionProc(): status: Access Manager authentication service failure (3)
    Thank you very much for your support
    Wut

    Hi ,
    I was installed and configured policy agent successfully.while i am trying to access the application url i am getting following error.
    I am using IIS6.0 and access manager 7.1.
    Error 2824:15b9918 AuthService: AuthService::processLoginStatus() Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp.
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp and code:3
    2009-03-10 00:03:05.828 Warning 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) denying access: status = Access Manager authentication service failure
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html.
    2009-03-10 00:03:05.828 Info 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) returning status: Access Manager authentication service failure.
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: HttpExtensionProc(): status after am_web_is_access_allowed = Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyAgent: HttpExtensionProc(): status: Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: OnSendResponse(): HTTP Status code is 500
    can any one please help me to resolve this.
    Thanks
    Ramesh Kumar GV

  • Remote desktop and apache

    remote desktop and apache.
    There are times I feel that someone is looking over my shoulder, and changing my settings and controlling me.
    I would like to at least be able to communicate with them so I can ltarn. I also want to be able to monitor and have some say so as to what they are doing to my computer.
    Thank you

    Thanx for your reply.
    I should have stated that this is my personal computer and if any one should be the administrator I would think it would be me.

  • WebLogic and Apache

    Hi,
              We are developing an application using WebLogic ejb and servlet and we
              are planning to use Apache as the HTTP server. Are there any know
              issues about this combination?
              According to the manual, the mod_proxy of Apache can be used to link
              Apache and Weblogic. Has anybody done that?
              Thanks,
              Cecil Pang
              [email protected]
              

    This doesn't sound like a definitive answer. Are you saying we will NOT
              support you if you use Apache?
              Should it work? What are people doing wrong? The answer below isn't
              much help IMHO.
              Prasad Peddada wrote:
              >
              > At this point we don't have plugins for Apache. We have plugins for NES, IIS only.
              >
              > Thanks
              > Prasad
              >
              > HBO wrote:
              >
              > > Barbara, thanks for the reply.
              > >
              > > So, are we saying that we should not use Apache with Weblogic Server? I
              > > browsed through the discussion groups and I found no definitive answer to this
              > > question. How about folks from BEA/Weblogic? What is your recommendation?
              > >
              > > At this point, we can either go with Apache or Netscape HTTP server. But we
              > > would like to use Apache unless there are issues in linking it to Weblogic
              > > Server.
              > >
              > > Any advice will be appreciated.
              > >
              > > Cecil Pang
              > > 10 Dimensions Technologies Inc.
              > > [email protected]
              > >
              > > Barbara Singer wrote:
              > >
              > > > Hello:
              > > >
              > > > We have tried to setup the exact configuration but with no success to date.
              > > > We are using WebLogic Application Server 4.51 and Apache by
              > > > Stronghold/C2Net. However, this has not worked with the standard Apache
              > > > distrubution either.
              > > >
              > > > /bas
              > > > HBO <[email protected]> wrote in message news:[email protected]...
              > > > > Hi,
              > > > >
              > > > > We are developing an application using WebLogic ejb and servlet and we
              > > > > are planning to use Apache as the HTTP server. Are there any know
              > > > > issues about this combination?
              > > > >
              > > > > According to the manual, the mod_proxy of Apache can be used to link
              > > > > Apache and Weblogic. Has anybody done that?
              > > > >
              > > > > Thanks,
              > > > > Cecil Pang
              > > > > [email protected]
              > > > >
              From Tom Gerber (Surnames: Archer, Knaeble, Lahiff, Mooney, Preisen,
              Sexton)
              

  • Problems when using shared instances of struts and apache-commons?

    I found this worrisome statement on this page (http://struts.apache.org/1.3.8/userGuide/configuration.html) regarding sharing jar files across multiple applications:
    <i>When a class is loaded from a shared class loader, static variables used within that class become global as well. This can cause inter-webapp conflicts when the underlying code assumes that the statics are global only within a particular web applicaiton (which would be true if the class was loaded from the webapp class loader). There are many cases where the framework, and the Commons libraries it relies on, use static variables to maintain information that is presumed to be visible only within a single web application. <b>Sharing these JAR files can cause unwanted interactions, and probably cause incorrect behavior</b>.</i>
    For those of you currently using Struts and Apache Commons (and perhaps other open source libraries) have you run into any issues when sharing the jars amongst multiple applications?
    I would like to avoid having multiple applications loading their own copies of these libraries, for obvious reasons.  However, if there are issues with doing so, I may have to relax that position.

    To answer my own questions, while we didn't run into any issues with sharing Struts, it may be a good idea to incorporate the libraries directly into the web app if suspicious behaviour is observed by the application.
    Also, the taglib definitions could not be loaded from the referenced jar files - these had to be placed into the WEB-INF directory, which introduces a synchronization problem - you could conceivably have different versions of the tld's and the base libraries.

  • Upgrade PHP and Apache on 10.6.8

    I'm thinking of upgrading PHP and Apache that were installed as part of 10.6.8 (Snow Leopard) to their current versions.
    How do I do it?
      - nello

    I posted links for creating a Macintosh, Apache, MySQL, PHP (mamp) stack on delicious:
    http://www.delicious.com/nlucchesi/tag_bundle/mamp

  • Tomcat 4.0 and Apache 2.0.35

    Hello,
    I am trying to install mod_jk or mod_webapp.so with Tomcat 4.0 and Apache 2.0.35, running on Windows XP Professional. When I try to start Apache, it fails to see it the new module in the modules/ directory, even though it's most definitely there. Anybody have any thoughts?

    The Tomcat 4 has different settings compared to the previous releases (Tomcat 3.3.x and Tomcat 3.2.x). If the previous releases use mod_jk.dll and/or mod_jk.so, the version 4 uses different modules. I have obtained the following from the server.xml file from Tomcat 4.0.3.
    The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.

  • Configuring tomcat and apache on the same system

    i need to configure tomcat and apache on the same system.
    first i have configured apache and it is working well.
    Next is have configured tomcat and it is working well.
    i need to interlink tomcat and apache. so i downloaded jk connector and i have configured it.
    i gave an entry in the httpd.conf as
    Include /tomcat/conf/auto/mod_jk.conf
    i have copied the file mod_jk.so to /usr/local/apache/libexec/
    went i start apache after the entry is given it gives the error like this
    cannot load /usr/local/apache/libexec/mod_jk.so into server: ld_so.1. /usr/local/apache/bin/httpd: fatal : libgcc_s.so.1 : openfailed : no such file or directory in linux
    please help to configure this.
    i have done every thing as it is in apache.org documentation. please give the complete configuration. some say that tomcat is not compiled according to apache1.3. but i configure jk connector as --with-apxs=/usr/local/apache/bin/apxs
    send me the reply
    thankqs in advance

    Hi,
    I'm working in a linux machine and choose to use also two different users. Of course I'm using two different ORACLE_HOME directories.I think that the best approach.Just a question ,are you keeping the "GROUP" same or different?
    Anand

  • PHP and Apache, Bah Humbug

    Setting up PHP and Apache, I was following this: http://developer.apple.com/mac/articles/internet/phpeasyway.html
    I did the step to turn on "web sharing", and the "your computers website" link opened up the local page no problem. When I copy and pasted the content in "enabling PHP in apache" to terminal, I thought it worked... but now neither of the links work. Both say something like "Firefox can't establish a connection to the server at....". Any ideas?

    Safari says this:
    Safari can’t connect to the server.
    Safari can’t open the page “http://192.168.1.100/” because Safari can’t connect to the server “192.168.1.100”.
    I tried restarting apache with "sudo /usr/sbin/apachectl restart", but no luck, still get same messages in browsers.
    The computer's site (not personal) DID work when I started following the tutorial, but I only got half way through. I believe it stopped working when I copy/pasted the part from the tutorial. Any ideas? Can I completely reboot the process somehow?

  • Ssh, sshd, and Apache Enable OpenSSL pkcs11 Engine by Default on T4, T4+ Platforms (18762585, 18764604)

    Hi,
    so I followed the advice in ssh, sshd, and Apache Enable OpenSSL pkcs11 Engine by Default on T4, T4+ Platforms (18762585, 18764604) - Oracle® Solari… and turned off UseOpenSSLEngine in /etc/ssh/sshd_config (Solaris 11.2 x86, AES-NI capable Intel CPU)…
    Now dtrace shows me this:
    root@sol112:~# ps -ef | grep ssh
      raider 18807 18806   0 03:02:43 ?           0:00 /usr/lib/ssh/sshd
    root@sol112:~# dtrace -n 'pid$target:::entry { @[probemod, probefunc] = count(); }' -p 18807
      libcrypto.so.1.0.0                                  AES_encrypt                                                  481299
      libcrypto.so.1.0.0                                  _sse_AES_encrypt_compact                                     481299
      sshd                                                ssh_ctr_inc                                                  481299
    Honestly, I was expecting AES-NI and not SSE calls… Could someone please tell me what's wrong?
    root@sol112:~# nm /lib/openssl/default/libcrypto.so.1.0.0 | grep -i aesni
    [1302]  |   1406040|        52|OBJT |LOCL |0    |21     |aesni_128_ctr

Maybe you are looking for