ColdFusion 9's ODBC Socket Datasource issue on Tomcat 7 - iis

Recently, I installed CF9 web app on Tomcat 7 build 22. I get the CF9 server up running fine on Tomcat 7. Everything works flawlessly, except one thing I really need, failed badly (see below please):
What I installed:
Installed CF9 with WAR selection and all sub-components checked on Win 7 32bit.
Installed CF9 update to 9.0.1
Deployed CF9.WAR on Tomcat 7 without an issue.
From CF Admin Manager, adding MS SQL Server without an issue. Also adding another Embedded Derby server fine.
The issue occurs when adding a data source for ODBC Socket type. The error messages are:
Error accessing available odbc datasource - Unable to load library
The ColdFusion ODBC Server service is not running or has not been installed
I tried reinstalling CF9 again 2 times just to make sure everything was selected properly but NO luck. Same issue with ODBC Socket data source.
From Component Service Manager, CF9 ODBC Server is running, but there is no 'CF9 ODBC Agent' listed.
There is no way I could get CF9 ODBC data source on Tomcat.
Now, to make it works, I have to install and deploy CF9 on IIS 7.5 server on the same machine. The difference is both CF9 ODBC Server and Agent appearing and running on Service manager.
One more test:
And now I decided to stop IIS server and CF9 on IIS. I then started CF9 on Tomcat, everything works fine except for the same ODBC Socket datasource issue. What I noticed is the "CF9 ODBC Agent" disappeared from Service Manager.
The result is both CF9 on Tomcat AND CF9 on IIS now have same ODBC Socket data source issue. (Due to the disappearance of ODBC Agent)
To get CF9 ODBC data source back running on IIS server, I have uninstalled CF9 from IIS server, then reinstalled CF9 on IIS server. Now, it is working again, I can see both CF9 ODBC Server and Agent listed and running on Service manager.
My goal is to try to get CF9 on Tomcat 7 along with ODBC data source functioning. But NO LUCK so far.
Please HELP:
If anyone has CF9 deployed on Tomcat, please do me a favor by just entering any ODBC data source name with ODBC socket selection and HIT 'ADD' to see if it works. I doubt it would not work, because I have tried on the other machine at home. STILL NO LUCK :(.
If no one else can get it to work on Tomcat, then it is an Adobe CF9 issue and should be either handled in the next HOTFIX or in the next version release.
Please help me check for this issue.
Thank you & have a nice weekend.
Ben Nguyen

This appears to be the bug you've stumbled upon: http://www.elliottsprehn.com/cfbugs/bugs/79023

Related

IIS not working after upgrade to Windows 10 Pro from Windows 7 Unlimited

Today I upgraded my windows 7 ultimate to windows 10 pro. Every thing seems to work fine. But the localhost is now throwing error : HTTP Error 503. The service is unavailable.
I checked IIS, it is running. I checked the version of IIS from IIS Manager, it is showing Version 10.0.10240.16384.
I test my sites on localhost.
Before upgrade, in windows 7 ultimate it was working fine. I also checked "Turn windows feature on or off" and found that IIS is installed properly.
Please guide me.
Thanks Joe Raio for providing the hint. I checked the event log and found that rewrite.dll was causing error. I uninstalled IIS URL rewrite extension and the problem is gone. Now everything is working as before, classic asp, php, everything.
Please try this solution
Go to the Application Pool ...
Advanced Settings ...
Process Model ...
Identity ...
Set it to "LocalSystem"

Unable to connect to ODBC data source when running application from another PC

I have an application, that when running off my main computer, works fine, but when i attempt to run the application off my laptop, the connection to the database fails. Its using this connection string :
Dsn=XAMPP;description=USB Server;server=localhost;uid=root;database=mod_manager;port=3306
When i attempt to connect i get the message:
Data source name not found and no default driver specified
is there a specific .dll that i must include with the executable?
EDIT:
I have tried installing the ODBC driver supplied by oracle, and also tried packaging all the .dlls related to the .exe file. Also tested it on a 3rd computer, this one running windows 7, as my laptop was running win8, and my main pc is running 7. Still getting the error. I appears my main PC has something that the others do not...
I would use the ODBC Control panel and check you have created a DSN called XAMPP, thats what the connection string is telling the driver manager to look for and its reporting back it can't find it.

Why this Help Desk System redirects me to the old server?

I am using the Liberum Help Desk as a Service Request System. It is host on a server that is running Windows Server 2008 R2 32-bit. I configured it with an Access database. It works well. Now, I am trying to shift it to another server running Windows Server 2008 R2 64-bit. At the beginning, I have an error with the JET driver, because there is no JET driver for the 64-bit machines. I fixed it by enabling 32-bit option in the advanced settings of the application pool. However, I am still facing a strange problem which is the following:
When I tried to browse the system that is on the new server (64-bit), it will redirect me to the system hosted on the old server (32-bit) and I don't know why. I checked the code to see if there is any link or something for redirecting me to the old server and I did find anything.
So how to fix this problem? what is the reason of it?
Finally, I found the solution. The problem was with the Access Database; there is a table called config and inside it there is a column for determining the link. I changed the link there and everything works fine.

CCTray v1.6 Continuously Disconnects and Reconnects to v1.4.4 Server When Polling

Background: I am investigating CCNet backwards compatibility with versions 1.4.4.75 and 1.6.7981.1: an older server with a newer version of CCTray, and a newer server with an older version of CCTray.
I have installed CCNet 1.4.4.75 and am running it locally on my machine. I placed one project on this local server, and can view it on CCTray 1.4.4.75 as I expected.
I then installed CCTray 1.6.7981.1 and tried having it list this project by adding the server (ticking "Connect to pre-1.5.0 server" when doing so). The project is listed, and is successfully added to the main CCTray screen, but it seems every time CCTray polls the server, it disconnects and reconnects to it, resulting in a very visible grey CCTray icon for the few seconds during the reconnection process.
I don't have this problem with the 1.4.4.75 version of CCTray, so I was wondering what could be causing this behaviour in the 1.6 version? Short of upgrading my CCNet server to 1.6, how do I solve this issue?
Any help is much appreciated.
~Sam.
The problem is in CruiseControl.NET-1.6.7981.1: $\project\Remote\QueueSetSnapshot.cs(59) and
$\project\Remote\QueueSnapshot.cs(71).
[OnDeserialized] DataReceived(StreamingContext context) is commented out, therefore no information about server queues is available if server is pre-1.5.0.
Null pointer exception occurs later in:
CruiseServerSnapshot.IsQueueSetSnapshotChanged() $\project\Remote\CruiseServerSnapshot.cs, line 73
I have downloaded the source code, uncommented DataReceived(...) methods, compiled and CCTray seems to be working fine.
I've just had the same problem but have managed to resolve it without changing the source code. When adding a build server I selected 'Via the CruiseControl.NET dashboard' instead of 'Connect directly using .NET remoting' and the reconnecting issue has gone.

Can I Install SQL server 2000 Evaluation copy on Windows 7?

When install SQL Server 2000 (Evaluation copy) on Windows 7 32 bit Home Premium desktop computer,
system gives the following error and Installation not successful:
InstallShield Engine has stopped
working A problem caused the program
to stop working correctly. Windows
will close the program and notify you
if a solution is available.
Sql server 2000 is not supported on Windows 7. You might be able to get it installed but you would have problems.
According to this blog posting you even need SP3 of Sql Server 2005 for it to work on Win7.
http://blogs.msdn.com/sqlreleaseservices/archive/2009/10/23/sql-server-on-windows-7-and-windows-server-2008-r2.aspx

Resources