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 From: "kfb73 " To: cygwin AT cygwin DOT com Message-ID: <1087797491013085@lycos-europe.com> X-Originating-IP: [62.95.88.4] Mime-Version: 1.0 Subject: Possible socket problem Date: Mon, 21 Jun 2004 05:58:11 GMT Content-Type: multipart/mixed; boundary="=_NextPart_Lycos_0130851087797491_ID" X-Virus-Scanned: by amavisd-new at spray.net --=_NextPart_Lycos_0130851087797491_ID Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit 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? Best regards, Fredrik Skicka kärlek, värme, grattis, ondska och humor! Sprayklubbens vykort har allt i känslor. http://vykort.spray.se --=_NextPart_Lycos_0130851087797491_ID Content-Type: text/plain; charset=us-ascii -- 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/ --=_NextPart_Lycos_0130851087797491_ID--