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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com