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/