ColdFusion 9.0.1 Enterprise on Apache 2.2 conflicts with PHP 5
I am using educational version of ColdFusion 9 (obtained on http://freeriatools.adobe.com), installed in Enterprise Multiserver Configuration.
Web server: Apache 2.2.16 with PHP 5.3.3.
OS :Windows XP Professional X86
Database: MySQL 5.1
When I have installed ColdFusion 9.0.1 Updater, I can't start Apache 2.2.16. Services console returns error message and launches debugger.
But, when I have removed PHP 5, it starts! Besides, when I have reinstalled PHP, it can't start again.
I don't know why it doesn't works.
Is anything logged to any of these:
* the Apache logs
* the CF logs
* the JRun logs
* the PHP logs
I would imagine there'd be something in one or more of those which will tell you what the problem is.
Adam
Similar Messages
-
Glibc-2.9.2-i686 breaks apache and causes problems with samba?
I could not start the apache daemon. The output from /usr/sbin/apachectl start is
httpd: ../sysdeps/posix/getaddrinfo.c:1465: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
/usr/sbin/apachectl: line 78: 2933 Aborted $HTTPD -k $ARGV
The getaddrinfo.c, I believe, is in the glibc package.
Also, I get error logs in my /var/log/samba directory named like "__ffff" followed by the IP address of a remote client. In one of them it says that samba is dumping core and contains
[2008/12/24 18:47:10, 0] lib/util.c:log_stack_trace(1767)
BACKTRACE: 23 stack frames:
#0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7cda584]
#1 /usr/sbin/smbd(smb_panic+0x80) [0xb7cda6e1]
#2 /usr/sbin/smbd [0xb7cc5033]
#3 [0xb7a31400]
#4 /lib/libc.so.6(abort+0x188) [0xb733b0c8]
#5 /lib/libc.so.6(__assert_fail+0xee) [0xb73326ee]
#6 /lib/libc.so.6 [0xb73c7a01]
#7 /lib/libc.so.6 [0xb733b888]
#8 /lib/libc.so.6(qsort_r+0x291) [0xb733bdd1]
#9 /lib/libc.so.6(getaddrinfo+0x7cf) [0xb73c91ff]
#10 /usr/sbin/smbd [0xb7cdca56]
#11 /usr/sbin/smbd(get_mydnsfullname+0x181) [0xb7cdcc5d]
#12 /usr/sbin/smbd(get_mydnsdomname+0x17) [0xb7cdada1]
#13 /usr/sbin/smbd [0xb7b7af8c]
#14 /usr/sbin/smbd(ntlmssp_update+0x297) [0xb7b792d6]
#15 /usr/sbin/smbd(auth_ntlmssp_update+0x48) [0xb7d27cc1]
#16 /usr/sbin/smbd [0xb7b04ecf]
#17 /usr/sbin/smbd(reply_sesssetup_and_X+0x1c4) [0xb7b057cd]
#18 /usr/sbin/smbd [0xb7b39f16]
#19 /usr/sbin/smbd(smbd_process+0x429) [0xb7b3ba61]
#20 /usr/sbin/smbd(main+0xfa2) [0xb7f2bbc7]
#21 /lib/libc.so.6(__libc_start_main+0xe5) [0xb73256c5]
#22 /usr/sbin/smbd [0xb7abfa81]
I downgraded glibc to 2.8-3 and I can now start apache. No problems with samba yet either although I had to make pacman skip dependency checks because a number of packages depended on glibc >= 2.9.getaddrinfo.c - this is place where glibc 2.9 has a major change in IP resolving. see the bugreport we had and still have. search google and upstream (Fedora/RedHat) for reports.
maybe a simple recompile of the affected packages can help. holding an outdated version is a bad solution. new packages compiled against the new version may use new functions and break with the old one. -
Apache 1.3.33 and PHP 4.3.11 compiled in
The package
Here are the good stabile versions of both Apache and PHP including the following stuff:
- support for these databases: mysql, postgresql, firebird
- gdi support
- mod_ssl along with a dummy certificate
- eaccelerator for PHP and the default configuration for it
- mod_gzip for pages compression
- mod_security for ids system (see Snort and making its rules compatible with mod_security). Also remember to disable rules if you get problems with PHP developement. mod_security tends to be too aggressive at first with these default rules.
The files
PKGBUILD
httpd
apache13.install
http.conf.d
httpd.conf.mod_gzip
httpd.conf.regression-v2
httpd.logrotate
Done
02.05.2005
- fixed apache13.install to properly stop the server before unistall
- set eaccelerator to be configured more like it is in cactus's package
01.05.2005
- backing up etc/php.ini and etc/httpd/conf/httpd.conf
- added logrotate support code from Judd's package
- phpize is now called from startdir instead of /usr/bin/phpize for eaccelerator
30.04.2005
- the package depends now on my firebirddb package. It was needed because
libgds.so is needed when firebird support is compiled in
- disabled imagick for the time being - got to find out how to make it compile properly by default
- cleaned up the code that sets up php (the manual file copying doesn't seem to be needed anymore with 4.3.11)
- made phpize to be called from ${startdir}
- set mod_security filtering to Off as default
29.04.2005 - updated php to v. 4.3.11
- Tested using Gallery 1.4.4-pl5 and my own project (a lot of database activity and file handling)
28.04.2005
- fixed eaccelerator and it now works (php.ini had eaccelerator's settings inserted wrong way with "-marks). The execution of some scripts that took before 0.075 - 0.09 seconds now only takes 0.03-0.04
27.04.2005
- cleaned up code a bit and old comments and disabled cookie format checking for mod_security that was causing 500 error
Todo and thoughts
<i>10.05.2005</i> - found a great guide about securely setting up apache and php
- it would be really great to implement a curses-based configuration where the PKGBUILD would be edited according to choices the users makes (because there are changes needed in many parts of the file) - this way the package would really be for everyone
- deleting default apache manual
- to get imagick to compile- graphicsmagick installation to work properly or to make it optional
(ignore the text about graphicmagic in PKGBUILD - it was just for my own tests)I built it today and tested again and compiling part went just fine. Only apache13.install was missing - it had pre-remove commands (if server is already running to stop it). Then removed the older same package (pacman -R) and replaced it with the new one. Then started up apache and had 500 error - it was caused by mod_security. Turned off cookie filter in httpd.conf.regression-v2 (SecFilterCheckCookieFormat Off) and then it started up fine.
The eaccelerator did not appear on php info page, so got to fix setting it up... Please let me know what else seems suspicious to you and what might cause errors. -
Registering Apache 1.3.4 with OAS 407 on RedHat Linux 5.2
Hi,
Has anybody tried or succeeded in registering Apache 1.3.4 with
Oracle Application Server 4.0.7 running on RedHat Linux 5.2?
We're having trouble registering Apache as an External Web
Listener for OAS. Applying the correction for step #2 under
registering Apache servers also hasn't given us any success in
rebuilding Apache.
Has anybody encountered the error message below when compiling
the Apache 1.3.4 to work with OAS after updating the EXTRA_LIBS
in Apache CONFIGURATION File with the value given on the
documentation.
The Error Message
Using config file: Configuration
Creating Makefile
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
+ doing sanity check on compiler and options
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_log_error_old'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_palloc'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_internal_redirect'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`gMimeTypesFile'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_log_printf'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_setup_client_block'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_destroy_sub_req'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_get_basic_auth_pw'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_listeners'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_sub_req_lookup_file'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_pstrdup'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`gImplName'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_table_add'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_get_remote_host'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_signal'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_send_http_header'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ows_module'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_should_client_block'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_rwrite'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_table_set'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`ap_get_client_block'
/home/oracle/ows/4.0/lib/libapadp.so: undefined reference to
`alias_module'
make: *** [dummy] Error 1
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
Aborting!
Your comments or suggestions are most welcome.
Thanks,
--Edsel
nullHi ,
First of all please check availability of your OS + DB requiremnts whether it is supported by SAP or not.You can check this at Product Availability Matrix at ::
http://service.sap.com/pam
If this support for your environment i.e.RedHat Linux 5.2 with Oracle 10G then be informed that after starting sapinst in step create database it will prompt you for installing your oracle DB. So open a new window & install your databse ,do the patching of your DB & then continue with sapinst after successfull installation of oracle.Rest of details sapinst will prompot you during instal;lation.
Hope this will guide you for your query.
Thanks..
Mohit -
Apache Trinidad is running with time-stamp checking enabled.
Experts,
Contents of my web.xml file
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>When my application runs i get the following on the weblogic console
<ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
<UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
Isnt it a bit strange ? Please advise what is wrong.
thnks
jdev 11.1.2.1If you're talking about the integrated WLS, time-stamp checking is automatically enabled no matter what so that changes you make in the IDE can be picked up. It's nothing to worry about.
John -
How to install Apache Web Server with PHP on Sun Solaris Sparc machine
Hi,
We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
Thanks,
HarishApache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
php is available at www.php.net
I found an old document for installing PHP maybe this will help.
Cheers
-Dhruva
+++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
Introduction
This document describes how to install PHP for Apache on Solaris.
You should have Apache installed before trying to install PHP.
If you want to use PHP with MySQL then you must install MySQL first.
Before we Begin
1. These instructions assume that you have Apache installed according to instructions.
Getting PHP
1. You must be logged in as root to perform this installation.
su root
2. I save all my downloads in:
/usr/local/dist
If you don't already have one, you may need to create that directory now:
mkdir /usr/local/dist
3. You can get PHP 3.0.14 from here(www.php.net).
cd /usr/local/dist
ftp ftp.php.net
cd pub/distributions
bin
get php-3.0.14.tar.gz
bye
Installing PHP
1. We will install PHP in /usr/local/build, but use a tricky tar command
to do it in on hit from the download directory:
cd /usr/local/dist
tar xvfz php-3.0.12.tar.gz -C ../build
Compiling PHP
1. First let's get where the action is:
cd /usr/local/build/php-3.0.14
2. You now have 3 options:
* Simple PHP install without MySQL - goto step 3
* Simple PHP install with MySQL - goto step 4
* Custom PHP install - goto step 5
3. Simple PHP install without MySQL. Next, jump to step 6.
./configure --with-apache=../apache_1.3.12
4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
should look like this:
./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
Next, jump to step 6.
5. Custom PHP install. Take a look at the available configuration directives by using this command:
./configure --help
6. Now we can make the PHP executable. This may take a while.
make
7. Now we install the PHP module with:
make install
Adding the PHP Module to Apache
1. Now we have to setup Apache to include the PHP module:
cd ../apache_1.3.12
2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
You can see your previous Apache configure command by doing:
cat config.status
You can configure Apache using the previous command with the added PHP module by doing:
./config.status --activate-module=src/modules/php3/libphp3.a
If you used the simple Apache install from instructions the command will look like this:
./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
3. Make and install Apache with PHP enabled:
make
4. We need to stop the server before installing the files:
/usr/local/apache/bin/apachectl stop
5. Now we can install the new binaries:
make install
6. Start apache again (now running the new php enabled version):
/usr/local/apache/bin/apachectl start
Setting Up PHP
1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
cd /usr/local/apache/conf
2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
AddType application/x-httpd-php3 .phtml
Check that it Works
1. We have to restart Apache to make these changes take effect on the running server.
cd /usr/local/apache/bin
./apachectl restart
2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
./apachectl status
Apache Server Status for dev.synop.com
Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
Server Built: Oct 25 1999 00:37:07
3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
following text:
<?php phpinfo(); ?>
4. Point your browser at this file on the virtual host which you used:
http://localhost/test.php3 -
Mod_wl_20.so, apache-2.0.45 with MPM worker
Hi,
we currently are using apache-2.0.45 with MPM prefork on Solaris 9. We plan to
use MPM worker in the future. apache uses mod_wl_20.so to proxy requests for the
Backend (WLS7 SP2). On http://httpd.apache.org/docs-2.0/misc/perf-tuning.html#compiletime
they say "prefork:...it can be used with non-thread-safe third-party modules,...".
As I understand it, this means: If using MPM worker, every module have to be thread-safe.
The Question is: is mod_wl_20.so thread-safe or not, so that we can use MPM worker?
Thanks
AndreasYes, actually what happened is that I was using WL 6.1SP2, and the plugin
did work for releases lower or equal than version 2.0.44, now the problem is
fixed with the last available plugin.
Thanks for your support
Luis
"Eric Gross" <[email protected]> wrote in message
news:3ebacf38$[email protected]..
That should not be correct.
Are you sure you are using the same plugin? You would get this message if
you used any plugin prior to 6.1 SP4 or 7.0 SP2.
Otherwise you should not get this error message when using the plugin from
either of the above releases.
Regards,
Eric
"Luis Esteban" <[email protected]> wrote in message
news:3eb8d994$[email protected]..
Here, with apache 2.0.44 it works fine, and we have no problem, but whenwe upgrade
apache from 2.0.44 to 2.0.45 we get the following error
httpd: module "mod_weblogic.c" is not compatible with this version ofApache (found
20020612, need 20020903).
Please contact the vendor for the correct version.
Could you tell please me where to find a plugin suitable for the newapache version,
or in the other hand, could you tell me how to workaround this problem.
Thanks. -
Various websites say that they can not be found at the "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at ..................."
There are many other reports on the forum from Yahoo and other sites.Why am I getting this message Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at
Various websites say that they can not be found at the "Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at ..................."
because I can not open my website Karimwebmall.com at this time could please fixed the problem thanks. -
This is the error message that I get.
This is the error message that I get
Not Found
The requested URL /books was not found on this server.
Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at books.google.co.uk Port 80
There is no problem if I use Internet Explorer.
My wife uses Yahoo mail and I just use Firefox.
ThanksI have exactly the same problem. I also have the same problem on other web sites, for example when opening a few of the description pages on e-Bay. It appears to be inconsistent as if there is some sort of timing issue as on a few odd occasions I have managed to open Yahoo.
This started about 3 weeks ago when I was running 3.6.21 and the problem persists after I updated to 3.6.22.
I am concerned at the lack of response from Mozilla/Firefox as this seems to be a well established problem with several hundred problems reported - but no solution.
Perhaps the easiest solution is for the users to turn our backs on Firefox and use Opera or Google Chrome instead. -
Web Policy Agent 2.1 for Apache 1.3.27 with Identity Server 6.1
Web Policy Agent 2.1 for Apache 1.3.27 with Identity Server 6.1
Does anybody has a working combination of the above ? I get a ID login page and after that I always get a access denied page. I get this exception on the agent logs:
2004-10-14 16:28:00.917 Warning 6347:c1818 PolicyAgent: in get_cookie: no cooki
e in ap_table
2004-10-14 16:28:01.895 Warning 6359:c1818 PolicyAgent: Invalid URL for propert
y (com.sun.am.policy.agents.accessDeniedURL) specified
2004-10-14 16:28:56.742 Warning 6349:c1818 PolicyAgent: am_web_is_access_allowe
d(http://xx.xx.xx.net:8080/, GET) denying access: status = access de
nied (20)
2004-10-14 16:28:56.743 128 6349:c1818 RemoteLog: User testuser1 was denie
d access to http://xx.xx.xx.net:8080/.
2004-10-14 16:28:56.831 -1 6349:c1818 PolicyAgent: URL Access Agent: acces
s denied to testuser1
We can ignore Invalid URL property part because its just looking for a custom url in place there. I have cookies enabled in my browser. I even turned on the prompt option. No luck yet.
Any suggestions would be of great help.
Thanks,
Sunil.From your description, since the agent installs file with a different JRE, I would suspect it has something to do with the availability of JCE provider in the first JRE. By default, WebSphere's JRE is equipped with IBM JCE provider which is what the agent uses to encrypt the necessary
information. If this provider is not configured correctly it could result in the error that you are seeing. Please check the WebSphere installation and make sure that the JRE used by it has the necessary IBM JCE provider configured. The java.security file for this should contain something like:
security.provider.1=sun.security.provider.Sun
security.provider.2=com.ibm.crypto.provider.IBMJCE
security.provider.3=com.ibm.jsse.IBMJSSEProvider
security.provider.4=com.ibm.security.cert.IBMCertPath
security.provider.5=com.ibm.crypto.pkcs11.provider.IBMPKCS11
Also, make sure that when you are installing the agent you specify the Java Home as prompted by the agent to point to the location where this JRE is installed. Typically this is under WebSphere/AppServer/java directory. HTH, Jerry -
Hi all, sorry if this is a stupid question, but...
I'm a media developer and my G5 workstation died. Until it can be replaced, I was given an old Mac Pro running Remote Desktop 3. I've installed all my apps and things were going well until I tried testing a Flash app that made calls to PHP scripts.
Unfortunately, I can't get the machine to run the PHP scripts. I've uncommented the necessary lines in the config file, but for some reason it just won't work. In fact, I don't even see the Apache service running in the Services>File Sharing menu.
Is this because I'm running Remote Desktop 3? Can ARD 3 run PHP scripts?ARD should have nothing to do with PHP scripts. While I can't say with certainty that having ARD on the system can't in any way interfere with PHP, I've not heard of it doing so.
Can ARD 3 run PHP scripts?
ARD doesn't "run" anything, per se. It can launch applications and open documents using the Open command or UNIX command line, if that's what you mean.
I don't even see the Apache service running in the Services>File Sharing menu.
If you're running Mac OS X Server on that system, Apache doesn't to the best of my recollection appear under File Sharing in any recent version of Mac OS X Server. it appears as a separate service titled "Web".
Message was edited by: Dave Sawyer -
Re: Sun One conflicting with Apache
I have Sun One 4.0 ASP Server and Apache 2.0.43 and Tomcat 5.0.28 and I noticed that when I added the JK Mounts to Apache in order for Apache to become the dominant Web Server as opposed to Tomcat on the Unix side, that the Sun One statements caused conflict. Specifically:
LoadModule casp2_module /var/Chilisoft/casp/module/sunos5_optimized/apache_2.0.x/20020903/standard/mod_casp2.so
AND
CaspLib /var/Chilisoft/casp/asp-server-3000
** When these lines were commented out, Apache worked fine and was able to bring back the Client page as well as data. Is there a port conflict with Apache or something else that I may be missing?
thanks!
Benjiwolf12I have fixed this problem.
Apparently, the order of where the 'Load Module' is placed in Apache is very important. I moved the Load Module down to the bottom of the httpd.conf file and now the conflict is resolved.
cheers!
Chris -
Siebel Sales Enterprise 8.0.0.8 - problem with Screen Tab Layout
Hello all !
I create [Manager] Resonsibility and check hide [Opportynities screen] in Screen Tab Layout for [Manager] Resonsibility for Siebel Sales Enterprise.
I added user Bob with [Manager] resonsibility.
But user Bob stiil see Opportunities Screen when log on.
User Bob has no other resonsibilities.
I cannot inactivate Opportynities screen because this screen used by other resonsibilities.
What is cause of with issue?
Best Regards
LevHello,
Did you delete the user preferences of this user prior to your test ?
I also assumed that the default view is not part of Opportunity screen when you log in.
Best Regards
EvtLogLvl -
Problem in installing Coldfusion 8 in Redhat Enterprise
I'm trying to install coldfusion 8 (64bit) into my Linux Redhat Enterprise version 5. I can setup everything successfully if using CF default web server.
But when i trying to install CF8 with apache webserver, CF unable to point to the conf file which are exist.
I had downloaded the latest version of apache server 2.2.14 - httpd-2.2.14.tar.gz , and i had make install it.
By default, the location after i installed, i suppose to point it to /usr/local/apache2 , but CF8 unable to locate my conf file.
Any expert can help? I'm really very new to LiNux, stuck this for very long already.
Thanks....By default, the location after i installed, i suppose to point it to /usr/local/apache2 , but CF8 unable to locate my conf file.
Hi,
I hope you can find it under this location "/etc/httpd/conf". -
Connecting multiple ColdFusion 10 instances to a single Apache 2.2 server
This is replicated from StackOverflow's "Server Fault" site. The CF community there is under represented, so I'm posting here too. Sorry for "cross post".
This is on Windows 7 Home Premium edition.
I have got two ColdFusion 10 (updater 2) instances: "cfusion" (the default one), and "scratch".
I have got a single instance of Apache 2.2 running.
Within Apache, I have set up two virtual hosts, each of which needs to be served by a different ColdFusion instance.
Each of the CF instances serves files fine via Tomcat's internal web server. Apache serves vanilla HTML files fine too. So both CF instances, and both virtual hosts separately work OK.
I can get wsconfig.exe to connect either one of the CF instances to the Apache server, and serve CF files via Apache & that instance.
However I cannot find a way of connecting the second CF instance to Apache as well, so that both CF instances are conected, each serving one of the virtual hosts. WSConfig doesn't seem to understand the notion of "multiple CF instances", and the changes it makes to the httpd.conf (via mod_jk.conf) does not seem to be implemented in such a way as to accommodate multiple CF instances talking to a single Apache instance, or multiple virtual hosts. I freely admit to not being confident enough with how mod_jk (or even really httpd.conf) works to be able to guess if I can change stuff to make it work.
If I try to add the second CF instance using WSConfig, I just get a message "the web server is already configured for ColdFusion". Be that as it may... not the instance of ColdFusion I want to connect it to! If I remove the existing connector to whichever instance is already connected, I can then connect the other one no problems. Not that this helps, but it demonstrates that the CF instance can connect to Apache.
This all used to be fairly straight fwd under older versions of CF and JRun :-(
The only docs I have found are on the "Connect multiple Apache virtual hosts on a web server to a single ColdFusion server" page (http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fd 5.html), but that specifically only deals with a single CF instance. There is no equivalent page for multiple CF instances.
I'm kinda hoping I can move some of the mod_jk config into my virtual host entries in httpd-vhosts.conf (this is how it used to work for JRun), but I've no idea what to put where.
I think I've covered all the necessary info here? If not, sing out and I'll add more. Thanks.
Anyone? Cheers.
AdamThe answer to your question is Yes, a single mediator can invoke two service calls at same time as well.
First, define your service references in the composite.xml
Once you have done that, you can add any number of routing rules for each operation defined in the mediator. In your case, you will need to add two static routing rules within the same operation in the Mediator file. You can also select whether the calls will be sequential or parallel by selecting correct value in the dropdown inside the routing rule. Each routing rule will invoke one service reference in your case.
Maybe you are looking for
-
Error when displaying a pdf file in an iFrame
Hi, I would like to display a pdf file in my Java Web Dynpro application. I am using an iFrame element. The code I used is: // test if the file exists if( path != null) path = "D:\\Echanges\\Facture\\" + path + ".pdf"; if (isFile(path)) // test
-
Why do imported pictures end up in an "Originals" folder I can't locate?
I am trying to import pictures to IPhoto from a CD. I am choosing "Import to Library" under "Files" on the IPhoto library menu, and then highlighting several folders on the CD. I click the message that says do not import (all) duplicates. The import
-
Adobe Illustrator is showing CMYK in spot color document
Hi, I created a PDF using Adobe Illustrator CS4, and although I am only using 2 spot colors, both, Illustrator and Acrobat are showing CMYK plates in the Separations Preview and Output Preview. When I turn off the Spot plates, there is nothing in the
-
I'm just wondering what that lock icon on the envelope icon for my lone gmail account is, in the list of email accounts under the Get Mail listing. None of my other e-mail account icons in the Get Mail listing have that. Can you help?
-
Transfering balance to new year. (F.16)
Hello all, The user performed the Balance carry forward (F.16) but didn't close the 12th period of 2009. In January/2010 the original billing document is reversed (VF11) with Document date december/2009. This modified the 2009 balance sheet. How can