Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040621140406.0326e288@pop.prospeed.net> X-Sender: Date: Mon, 21 Jun 2004 14:07:32 -0400 To: "kfb73 " , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Possible socket problem In-Reply-To: <1087797491013085@lycos-europe.com> References: <1087797491013085 AT lycos-europe DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 01:58 AM 6/21/2004, you wrote: >Hi, >I have a java program that are calling a cygwin script with Runtime.exec(). This script is calling COBOL and java >programs that are connecting to a Oracle database. But they fail with the error message "Network adapter could not >be established". If I make a bat-file instead of sh-script, I have no problem. If I call the sh-script directly >(not from java), everything works fines. > >I think this is a cygwin socket problem. By some reason cygwin prevents my java and COBOL programs from connecting >to the database server. > >Does anybody have a solution to this problem? This seems too vague on details to be able to give a useful response. Perhaps you'll want to produce a small test case that reproduces the problem. If after doing so you still don't have a solution for the problem, send the test case here. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/