• 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: Timothy Mowlem <email@hidden>
  • Date: Wed, 6 Oct 2010 21:24:17 +0100

Hello Francis,

Thank you for your feedback. I will try and get Wireshark up and running. I have been meaning to get proficient with it for a while so this is a good chance to use it. I don't see why if couldn't sniff any traffic on the LAN  so I think it should work.

However I very much doubt it is a network issue but rather either a security or an environment issue. I can run the XCode built app as well from the command line after setting LD_LIBRARY_PATH (as a non-admin user and without using sudo). It worked with the firewall activated on both MacOSX and CentOS.


Best Regards,

Tim Mowlem


On 06 Oct 2010, at 11:45, Francis Devereux wrote:

> 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

References: 
 >Problem connecting to Oracle with app run from XCode (From: Timothy Mowlem <email@hidden>)
 >Re: Problem connecting to Oracle with app run from XCode (From: Francis Devereux <email@hidden>)

  • Prev by Date: Re: what are the scenarios for an app to be terminated?
  • Next by Date: Re: Problem connecting to Oracle with app run from XCode
  • Previous by thread: Re: 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