• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem connecting to Oracle with app run from XCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem connecting to Oracle with app run from XCode
      • From: Timothy Mowlem <email@hidden>
References: 
 >Problem connecting to Oracle with app run from XCode (From: Timothy Mowlem <email@hidden>)

  • Prev by Date: Re: -[NSColor setBackgroundColor:] not working in 10.6
  • Next by Date: Re: NSOutlineView multi cell type binding query
  • Previous by thread: Problem connecting to Oracle with app run from XCode
  • Next by thread: Re: Problem connecting to Oracle with app run from XCode
  • Index(es):
    • Date
    • Thread