Re: Problem connecting to Oracle with app run from XCode
Re: Problem connecting to Oracle with app run from XCode
- Subject: Re: Problem connecting to Oracle with app run from XCode
- From: Francis Devereux <email@hidden>
- Date: Wed, 6 Oct 2010 11:45:33 +0100
On 6 Oct 2010, at 00:07, Timothy Mowlem wrote:
> Hello,
>
> I am trying to get OCILib (http://orclib.sourceforge.net/), a free Oracle library, running on MacOSX. I have built the library from source and successfully run a test class via the terminal containing the example code in the OCILib documentation. As an experiment I have created a Cocoa app in XCode and dumped the code in the test class in the App delegate's applicationDidFinishLaunching method.
>
> However when I run the app from within XCode I get the following error:
>
> ORA-12170: TNS:Connect timeout occurred
>
> Has anyone tried anything similar or seen a similar problem?
No, but since it seems to be a network connection timeout you could try running a packet sniffer (e.g. Wireshark) to help you to see what's happening. See what network communication (if any) happens when you run the command-line version and the Cocoa app version.
> Oracle 10 XE running on a CentOS 5.5 VM in VMWare Fusion
I'm not sure whether Wireshark can capture host<->VM traffic.
Francis
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden