Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Problem with 1.7.2 RC 4: msg#00139

java.hsqldb.user

Subject: Re: Problem with 1.7.2 RC 4

Please download it again. The package has been updated to fix this problem. The size of the new package is  2120121bytes.
 
Fred
----- Original Message -----
Sent: 23 March 2004 12:02
Subject: [Hsqldb-user] Problem with 1.7.2 RC 4

Hi,
 
I'm trying to upgradte from 1.7.2 R C 1 to R C 4. My application launchs a hsqldb server at the beginning, I'am using the next code to launch the server and it works fine with R C 1.
 
 public boolean launchDBServer()
  {
 
        final String[] args = new String[]
            {
            "-no_system_exit",
            "true",
            "-database",
            "..\\database\\klmanagerdb"
        };
        // create new server
        final Server server = new Server();
        // start server in its own thread
        Thread serverThread = new Thread(new Runnable()
        {
          public void run()
          {
            try
            {
              server.main(args);
            }
            catch (Exception ex)
            {
              ex.printStackTrace();
            }
          }
        });
        serverThread.start();
 
return true;
 
    }
 
when i have upgraded to 1.7.2 R C 4 this code does not work, i got the next exception:
 
[Server@1de17f4]: [Thread[Thread-1,5,main]]: checkRunning(false) entered
[Server@1de17f4]: [Thread[Thread-1,5,main]]: checkRunning(false) exited
[Server@1de17f4]: Startup sequence initiated from main() method
[Server@1de17f4]: Loaded properties from [C:\TRABAJO\SOFTWARE\TELEVIGILANCIA\KLMANAGER\v0.00_17022003\FUENTE\KLManager\server.properties]
[Server@1de17f4]: Initiating startup sequence...
[Server@1de17f4]: Server socket opened successfully in 0 ms.
cache_scale: 14
cache_size_scale: 20
NIO next enlargeBuffer():  4194304
NIO file instance created. mode:  false
writeScript
Cache.saveRow() total row save time in 0 ms.
Cache.saveRow() total row save count = 0
Cache.makeRow() total row load time in 0 ms.
Cache.makeRow() total row load count = 2
Cache.sort() total time in 0 ms.
Cache.rank() total time in 0 ms.
NIO next close() - fileLength = 4194304
NIO next buffer.force()
NIO next channel.close()
NIO next file.close()
NIO next enlargeBuffer():  4194304
NIO file instance created. mode:  false
[Server@1de17f4]: Database [index=0, id=0, db=file:..\database\klmanagerdb, alias=] opened sucessfully in 703 ms.
[Server@1de17f4]: Startup sequence completed in 734 ms.
[Server@1de17f4]: 2004-03-23 12:55:46.218 HSQLDB server 1.7.2 is online
[Server@1de17f4]: To close normally, connect and execute SHUTDOWN SQL
[Server@1de17f4]: From command line, use [Ctrl]+[C] to abort abruptly
java.lang.NullPointerException
 at org.hsqldb.Session.close(Unknown Source)
 at org.hsqldb.Session.execute(Unknown Source)
 at org.hsqldb.ServerConnection.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:534)
file sync interval: 58609
file sync: 31
 
 
Can you help me, please?
 
Thanks in advance.
 
Regards. JM
 
 
 
 
 
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation