Greetings all,
I have an apache/jrun setup in a linux environment. I have three virtual
hosts (igen.prettymess.com, www.prettymess.com, dev.prettymess.com) which
connect to three different JRun JVMs.

I followed the documentation on how to setup VirtualHosts, but for some
reason it's not working. When I try to access a .jsp page that calls a class
within a package defined in the java path of the igen.prettymess.com jrun
jvm I get a package not found error. Within the error I see that it is
looking for the package in the java path defined in the dev.prettymess.com
server.

This leads me to believe that the igen.prettymess.com VHOST is connecting to
the dev.prettymess.com jrun jmv. I am wondering if the connector
configuration is correct, or if I entirely missed the lesson on virtual
hosting.

Below is the VHOST portion of my httpd.conf. I can supply the
local.properties file for each jvm if necessary.

Thanks,
- vic
----------------------------------------------------------------
HTTPD.CONF

LoadModule jrun_module136
"/opt/JRun/connectors/apache/intel-linux/mod_jrun.so"
<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/wwwroot/www.prettymess.com
    ServerName www.prettymess.com
    ServerAlias prettymess.com pie
    ErrorLog /usr/local/apache/logs/www.prettymess.com-error_log
    CustomLog /usr/local/apache/logs/www.prettymess.com-combined_log
combined

        <IfModule mod_jrun.c>
        JRunConfig jrun.rootdir "/opt/JRun/bin/.."
        JRunConfig jvmlist
igen_prettymess_com,www_prettymess_com,dev_prettymess_com
        JRunConfig Verbose false
        JRunConfig ProxyHost 127.0.0.1
        JRunConfig ProxyPort 51001
        JRunConfig Mappings "/home/wwwroot/igen/local.properties"
        </IfModule>
</VirtualHost>

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/wwwroot/igen/wwwroot
    ServerName igen.prettymess.com
    ErrorLog /usr/local/apache/logs/igen.prettymess.com-error_log
    CustomLog /usr/local/apache/logs/igen.prettymess.com-combined_log
combined

        <IfModule mod_jrun.c>
        JRunConfig jrun.rootdir "/opt/JRun/bin/.."
        JRunConfig jvmlist
igen_prettymess_com,www_prettymess_com,dev_prettymess_com
        JRunConfig Verbose false
        JRunConfig ProxyHost 127.0.0.1
        JRunConfig ProxyPort 51002
        JRunConfig Mappings "/home/wwwroot/igen/local.properties"
        </IfModule>
</VirtualHost>

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /home/wwwroot/dev.prettymess.com
    ServerName dev.prettymess.com
    ErrorLog /usr/local/apache/logs/dev.prettymess.com-error_log
    CustomLog /usr/local/apache/logs/dev.prettymess.com-combined_log
combined

        <IfModule mod_jrun.c>
        JRunConfig jrun.rootdir "/opt/JRun/bin/.."
        JRunConfig jvmlist
igen_prettymess_com,www_prettymess_com,dev_prettymess_com
        JRunConfig Verbose false
        JRunConfig ProxyHost 127.0.0.1
        JRunConfig ProxyPort 51000
        JRunConfig Mappings "/home/wwwroot/igen/local.properties"
        </IfModule>
</VirtualHost>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to