VMware Horizon Community
cholovach
Contributor
Contributor

Using ThinApp with Oracle 9

I have a genotyping application called GeneMapper that only runs on Windows XP.  It installs a local Oracle 9 database.  I have successfully packaged the application but am only able to get it to run on the host that it was packaged on.  I know that it is a clean install because I snapshot the machine before i package the app and revert it after the package is complee.  After the install but before the post-scan, i have tried replacing the hostname with localhost in the tnsnames.ora, listner.ora, and sqlnet.ora files.

I still get an error saying that the application cannot connect to the database.  Does anyone have experience packing an app that has a Oracle database installed with it?

Tags (2)
Reply
0 Kudos
1 Reply
oliAH
Enthusiast
Enthusiast

Judging by the name, look like a medical app. I thinapp-ed plenty of medical apps installing an oracle client but not a database.

First thing you can do is testing the oracle connectivity inside the virtual bubble. Open the package.ini file from your project folder and remove or comment the line "Disabled=1" for the entry point [cmd.exe]. This entry point should be at the end of the file. Then recompile by executing build.bat.

Open the virtual cmd.exe and do the following:

Type tnsping <service name> (for Oracle 7.3 or Oracle 8i and later) or tnsping80 <service name> (for Oracle 8.0), and then press enter.

You can also try to connect with the sql plus command line.

See:

http://support.microsoft.com/kb/965022

Blog: http://oliah.net >> Twitter: @olivier_ahson
Reply
0 Kudos