db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "moonumi (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5511) NetworkServerControl start in java applicaton but it's exit with application main thread exit
Date Wed, 23 Nov 2011 09:13:40 GMT
NetworkServerControl start in java applicaton but it's exit with application main thread exit
---------------------------------------------------------------------------------------------

                 Key: DERBY-5511
                 URL: https://issues.apache.org/jira/browse/DERBY-5511
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions: 10.8.2.2
         Environment: java 1.6.0_u29 64bit windows 7 sp1 
            Reporter: moonumi


public static void main(String[] args) {
NetworkServerControl serverControl=new NetworkServerControl(InetAddress.getByName("localhost"),1527);
serverControl.start(new PrintWriter(System.out,true));
}

run java application.

derby started servermode.

but imediate exit with application main thread.

it do not wait other connection.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message