db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hawkx <ha...@163.com>
Subject Re: Derby confuse with SWing Application Framework
Date Thu, 27 May 2010 00:50:26 GMT


Bryan Pendleton-3 wrote:
> 
> I'm not sure why the block occurred, but when you specified the IP
> address for your server to listen on, all connection requests must be
> made to that IP address.
> 

Sorry, I'm busy in working these days.
I make a test at office, It blocking always. I waited for it at least six
minutes.I press CTRL+C, then it closed without any message.

Thanks for your help.

Enviroment:
Netbeans Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_19; Java HotSpot(TM) Client VM 16.2-b04
System: Windows XP Version 5.1; x86 ; GB18030; zh_CN (nb)

Library:
appframework-1.0.3
swing-worker-1.1
derby-10.6.1

Code:
  @Action
  public void testDerbyBlocking() {
    try {
      InetAddress ia = InetAddress.getByName("0.0.0.0");
      NetworkServerControl nsc = new NetworkServerControl(ia, 1527);
      nsc.start(null);
      System.out.println(nsc.getSysinfo());
      nsc.shutdown();
    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }

-- 
View this message in context: http://old.nabble.com/Derby-confuse-with-SWing-Application-Framework-tp28629315p28688285.html
Sent from the Apache Derby Developers mailing list archive at Nabble.com.


Mime
View raw message