richard.herbert
11/14/2022, 11:42 AMGeneric Connector Communication Error:
Please check and adjust your setup:
Ensure that Tomcat is running on given host and port.
If this is a timeout error consider adjusting IIS timeout by changing executionTimeout attribute in web.config (see manual).
The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security, State. at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate)
at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate)
at System.Diagnostics.EventLog.SourceExists(String source)
at BonCodeIIS.BonCodeCallHandler.RecordSysEvent(String message, EventLogEntryType eType)
at BonCodeIIS.BonCodeCallHandler.ProcessRequest(HttpContext context)
Does CommandBox use BonCode behind the scenes?richard.herbert
11/14/2022, 11:43 AMdomwatson
11/14/2022, 12:33 PMdomwatson
11/14/2022, 12:34 PMrichard.herbert
11/14/2022, 12:52 PMbdw429s
11/14/2022, 4:41 PMbdw429s
11/14/2022, 4:42 PMbdw429s
11/14/2022, 4:43 PMbdw429s
11/14/2022, 4:44 PMrichard.herbert
11/14/2022, 4:49 PMJAVA_HOME
defined but I’m still being faced with a Tomcat looking error…
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'BonCodeAJP13' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Source Error:
Line 57: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 58: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 59: <add assembly="*"/>
Line 60: <add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Line 61: <add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
Source File: C:\Windows\<http://Microsoft.NET|Microsoft.NET>\Framework\v2.0.50727\Config\web.config Line: 59
Assembly Load Trace: The following information can be helpful to determine why the assembly 'BonCodeAJP13' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.8964; <http://ASP.NET|ASP.NET> Version:2.0.50727.8962
My current worry is that this IIS has BlueDragon install (don’t judge me, I’ve inherited this pile) and I’m wondering if this is what complaining somewhere in the background?
(How do I install BD from one site on an IIS install where BD is installed at the server level?)
I will be having several sites on this box so should I park this and invest in learning ModCFML?bdw429s
11/14/2022, 4:50 PMbdw429s
11/14/2022, 4:50 PMrichard.herbert
11/14/2022, 4:51 PMbdw429s
11/14/2022, 4:51 PMI’m more used to Apache where this is a non-issue.Not sure what you mean-- most people use the mod_cfml module for Apache which is basically just the same thing as BonCode/IIS, but for Apache, lol
richard.herbert
11/14/2022, 4:52 PMNot sure what you mean-- most people use the mod_cfml module for Apache which is basically just the same thing as BonCode/IIS, but for Apache, lolSetting up a reverse proxy
bdw429s
11/14/2022, 4:52 PMSo I followed the video and found out several things like I need to have aI have no idea what that means. If this is on Windows, java_home probably has nothing to do with anything.defined but I’m still being faced with a Tomcat looking error…JAVA_HOME
bdw429s
11/14/2022, 4:53 PMMy current worry is that this IIS has BlueDragon installI have no idea how that is setup, but if you want some sites to proxy to BD and some to proxy to CommandBox, then you'll need to ensure the BD config isn't global (for all sites) in IIS
bdw429s
11/14/2022, 4:54 PMlearning ModCFMLIf you're wanting to have CommandBox serve more than one web root, then yes you'll want to use ModCFML, but there's not much to "learn" per se. You just enable it and set the secret and it pretty much does its thing
richard.herbert
11/14/2022, 5:01 PMI have no idea what that means. If this is on Windows, java_home probably has nothing to do with anything.I was getting some error (lost in the mists of my terminal session) that was looking for java.exe but when I set a JAVA_HOME it went away. I guess I could revert that and give you the error message?
I have no idea how that is setup, but if you want some sites to proxy to BD and some to proxy to CommandBox, then you’ll need to ensure the BD config isn’t global (for all sites) in IISLikewise, I’ve never used it. I’m transitioning this server/sites to Lucee so it’s going to be a evolution rather than revolution. Maybe I should tap @carehart who used to do a lot with New Atlanta / BD?
If you’re wanting to have CommandBox serve more than one web root, then yes you’ll want to use ModCFML, but there’s not much to “learn” per se. You just enable it and set the secret and it pretty much does its thingYes, this is the way I want to go so maybe I should refocus there and try IIS ARR again, it may sidestep the possible BonCode conflict with BD? Anyway, thanks Brad for your time and thoughts
carehart
11/14/2022, 5:14 PMcarehart
11/14/2022, 5:15 PMcarehart
11/14/2022, 5:15 PMbdw429s
11/14/2022, 5:17 PMbdw429s
11/14/2022, 5:18 PMcarehart
11/14/2022, 5:19 PMbdw429s
11/14/2022, 5:20 PMgetting ARR working ... might work betterI'd still recommend BonCode to be honest if he wants more than one site. ARR has no real benefits and actually several detriments. I'd say setting up BonCode is probalbly only marginally more work by comparison and he's going to need to tip toe around the BD config regardless
carehart
11/14/2022, 5:21 PMrichard.herbert
11/14/2022, 5:25 PMcarehart
11/14/2022, 5:29 PM