KennethaMackenzie
2009-02-24 01:21:31 UTC
We have CF 8.0.1 (x64) installed onto W2K8 Server Core and IIS 7 (x64). (See
code section for IIS 7 install command and CF silent installer.properties.)
Remember, 2008 Core does not have a GUI, it's all command line.
We can view the default IIS page on port 80, and CF Admin on port 8500.
When we run the web server configurator (wsconfig) it throws a Java error
about "side-by-side configuration".
Adobe support initially claimed the install was 32-bit until they walked us
through 2 installs (one for standalone and the other for jrun), before they
were convinced it was 64-bit.
Adobe support is currently (I hope) investigating why wsconfig throws a Java
error when trying to configure IIS 7 for a connection from CF 8.0.1. Adobe
support suggested that we complete the configuration manually and pointed us to
some documentation:
1) http://www.adobe.com/products/coldfusion/faq/
2) http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402572
3)
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=ColdFusion_Documentation&file=00001755.htm
4) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575&sliceId=2
5) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575
6) http://www.communitymx.com/content/article.cfm?page=7&cid=224AA
What we need to do to complete the config is:
1) Configure the IIS Web Service Extensions for CF (jrunwin32.dll and
jrun_iis6_wildcard.dll)
2) Configure the File Mappings (*.cfm, *.cfc, etc,)
Defining 'index.cfm' as a default document, at a global level is
straightforward:
appcmd.exe set config /section:defaultDocument /enabled:true
/+files.[value='index.cfm']
But the other 2 steps are more complex. Commands we are using are along the
lines of:
REM adds web service extension (first security, then isapi filter)
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction
/+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll',allowed=
'True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction
/+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dl
l',allowed='True',groupId='Macromedia',description='Macromedia Server
Extensions']"
appcmd.exe set config /section:system.webServer/isapiFilters
/+"[name='Macromedia Server
Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll']
"
REM the following needs a unique name
REM appcmd.exe set config /section:system.webServer/isapiFilters
/+"[name='Macromedia Server
Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wil
dcard.dll']"
REM add file mappings (needs a path to a dll, which one?)
appcmd.exe set config /section:system.webServer/handlers
/+[name='ISAPI-cfm',path='*.cfm',verb='*',modules='IsapiFilterModule',resourceTy
pe='File',requireAccess='Execute']
Any help with getting the IIS 7 configred for CF would be greatly appreciated.
Kenneth
IIS 7 Install:
start /w pkgmgr
/iu:IIS-ApplicationDevelopment;IIS-ClientCertificateMappingAuthentication;IIS-Co
mmonHttpFeatures;IIS-DefaultDocument;IIS-HealthAndDiagnostics;IIS-HttpCompressio
nStatic;IIS-HttpErrors;IIS-HttpLogging;IIS-HttpRedirect;IIS-HttpTracing;IIS-IIS6
ManagementCompatibility;IIS-IISCertificateMappingAuthentication;IIS-ISAPIExtensi
ons;IIS-ISAPIFilter;IIS-LoggingLibraries;IIS-Metabase;IIS-Performance;IIS-Reques
tFiltering;IIS-RequestMonitor;IIS-Security;IIS-ServerSideIncludes;IIS-StaticCont
ent;IIS-WebServer;IIS-WebServerManagementTools;IIS-WebServerRole;IIS-WMICompatib
ility;WAS-ProcessModel;WAS-WindowsActivationService
CF 8.0.1 Silent Install:
INSTALLER_UI=SILENT
SILENT_LICENSE_MODE=full
SILENT_SERIAL_NUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
SILENT_INSTALLER_TYPE=standalone
SILENT_INSTALL_ODBC=false
SILENT_INSTALL_VERITY=false
SILENT_INSTALL_SAMPLES=false
SILENT_INSTALL_JNBRIDGE=false
SILENT_INSTALL_LDS=false
SILENT_INSTALL_FOLDER=C:/coldfusion8
SILENT_WEBROOT_FOLDER=C:/inetpub/wwwroot
SILENT_ADMIN_PASSWORD=xxxxxxxx
SILENT_ENABLE_RDS=false
SILENT_RDS_PASSWORD=
IIS_connector_x64.bat:
wsconfig -server coldfusion -ws IIS -site 0 -coldfusion -cfwebroot -ws64
WSConfig Error Message:
C:\coldfusion8\bin\connectors>IIS_connector_x64
WARNING! This will install the ColdFusion MX IIS Connector at the global
level.
Press Control+C to abort.
Press any key to continue . . .
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\coldfusion8\runtime\lib\wsconfig\jrunwin32.dll: The application has failed
to start because its side-by-side configuration is incorrect. Please see the
application event log for more detail
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at jrunx.connectorinstaller.Win32Handler.<init> Win32Handler.java:47)
at jrunx.connectorinstaller.IISWebSites.<clinit>(IISWebSites.java:300)
at
jrunx.connectorinstaller.WebServerInfo.setWebServerDirectory(WebServerInfo.java:
350)
at jrunx.connectorinstaller.WebServerInfo.<init>
WebServerInfo.java:112)
at
jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:17
2)
at
jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller.java:56)
at
jrunx.connectorinstaller.ConnectorInstaller.mainConnectorInstaller.java:760)
code section for IIS 7 install command and CF silent installer.properties.)
Remember, 2008 Core does not have a GUI, it's all command line.
We can view the default IIS page on port 80, and CF Admin on port 8500.
When we run the web server configurator (wsconfig) it throws a Java error
about "side-by-side configuration".
Adobe support initially claimed the install was 32-bit until they walked us
through 2 installs (one for standalone and the other for jrun), before they
were convinced it was 64-bit.
Adobe support is currently (I hope) investigating why wsconfig throws a Java
error when trying to configure IIS 7 for a connection from CF 8.0.1. Adobe
support suggested that we complete the configuration manually and pointed us to
some documentation:
1) http://www.adobe.com/products/coldfusion/faq/
2) http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402572
3)
http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=ColdFusion_Documentation&file=00001755.htm
4) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575&sliceId=2
5) http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575
6) http://www.communitymx.com/content/article.cfm?page=7&cid=224AA
What we need to do to complete the config is:
1) Configure the IIS Web Service Extensions for CF (jrunwin32.dll and
jrun_iis6_wildcard.dll)
2) Configure the File Mappings (*.cfm, *.cfc, etc,)
Defining 'index.cfm' as a default document, at a global level is
straightforward:
appcmd.exe set config /section:defaultDocument /enabled:true
/+files.[value='index.cfm']
But the other 2 steps are more complex. Commands we are using are along the
lines of:
REM adds web service extension (first security, then isapi filter)
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction
/+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll',allowed=
'True',groupId='Macromedia',description='Macromedia Server Extensions']"
appcmd.exe set config /section:system.webServer/security/isapiCgiRestriction
/+"[path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dl
l',allowed='True',groupId='Macromedia',description='Macromedia Server
Extensions']"
appcmd.exe set config /section:system.webServer/isapiFilters
/+"[name='Macromedia Server
Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\jrun_iis6.dll']
"
REM the following needs a unique name
REM appcmd.exe set config /section:system.webServer/isapiFilters
/+"[name='Macromedia Server
Extensions',path='%systemdrive%\Coldfusion8\runtime\lib\wsconfig\1\jrun_iis6_wil
dcard.dll']"
REM add file mappings (needs a path to a dll, which one?)
appcmd.exe set config /section:system.webServer/handlers
/+[name='ISAPI-cfm',path='*.cfm',verb='*',modules='IsapiFilterModule',resourceTy
pe='File',requireAccess='Execute']
Any help with getting the IIS 7 configred for CF would be greatly appreciated.
Kenneth
IIS 7 Install:
start /w pkgmgr
/iu:IIS-ApplicationDevelopment;IIS-ClientCertificateMappingAuthentication;IIS-Co
mmonHttpFeatures;IIS-DefaultDocument;IIS-HealthAndDiagnostics;IIS-HttpCompressio
nStatic;IIS-HttpErrors;IIS-HttpLogging;IIS-HttpRedirect;IIS-HttpTracing;IIS-IIS6
ManagementCompatibility;IIS-IISCertificateMappingAuthentication;IIS-ISAPIExtensi
ons;IIS-ISAPIFilter;IIS-LoggingLibraries;IIS-Metabase;IIS-Performance;IIS-Reques
tFiltering;IIS-RequestMonitor;IIS-Security;IIS-ServerSideIncludes;IIS-StaticCont
ent;IIS-WebServer;IIS-WebServerManagementTools;IIS-WebServerRole;IIS-WMICompatib
ility;WAS-ProcessModel;WAS-WindowsActivationService
CF 8.0.1 Silent Install:
INSTALLER_UI=SILENT
SILENT_LICENSE_MODE=full
SILENT_SERIAL_NUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
SILENT_INSTALLER_TYPE=standalone
SILENT_INSTALL_ODBC=false
SILENT_INSTALL_VERITY=false
SILENT_INSTALL_SAMPLES=false
SILENT_INSTALL_JNBRIDGE=false
SILENT_INSTALL_LDS=false
SILENT_INSTALL_FOLDER=C:/coldfusion8
SILENT_WEBROOT_FOLDER=C:/inetpub/wwwroot
SILENT_ADMIN_PASSWORD=xxxxxxxx
SILENT_ENABLE_RDS=false
SILENT_RDS_PASSWORD=
IIS_connector_x64.bat:
wsconfig -server coldfusion -ws IIS -site 0 -coldfusion -cfwebroot -ws64
WSConfig Error Message:
C:\coldfusion8\bin\connectors>IIS_connector_x64
WARNING! This will install the ColdFusion MX IIS Connector at the global
level.
Press Control+C to abort.
Press any key to continue . . .
Exception in thread "main" java.lang.UnsatisfiedLinkError:
C:\coldfusion8\runtime\lib\wsconfig\jrunwin32.dll: The application has failed
to start because its side-by-side configuration is incorrect. Please see the
application event log for more detail
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at jrunx.connectorinstaller.Win32Handler.<init> Win32Handler.java:47)
at jrunx.connectorinstaller.IISWebSites.<clinit>(IISWebSites.java:300)
at
jrunx.connectorinstaller.WebServerInfo.setWebServerDirectory(WebServerInfo.java:
350)
at jrunx.connectorinstaller.WebServerInfo.<init>
WebServerInfo.java:112)
at
jrunx.connectorinstaller.ConnectorInstaller.parseArgs(ConnectorInstaller.java:17
2)
at
jrunx.connectorinstaller.ConnectorInstaller.<init>(ConnectorInstaller.java:56)
at
jrunx.connectorinstaller.ConnectorInstaller.mainConnectorInstaller.java:760)