Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2005 16:28:49 +0200
From:      Guido van Rooij <guido@gvr.org>
To:        freebsd-java@freebsd.org
Subject:   Problems with jdk-1.4.2-p{6,7}
Message-ID:  <20050420142849.GA58837@gvr.gvr.org>

next in thread | raw e-mail | index | archive | help
I am running an application called Paros. This is an OSS tool written
in Java. When I use it on FreeBSD, it hangs in the following code
snippet.

        void shutdown(boolean compact) throws SQLException {
                Connection conn = getSingletonConnection();
                //CallableStatement psCompact = mConn.prepareCall("SHUTDOWN COMPACT");
                CallableStatement psCompact = null;
                
                if (compact) {
                    // db is not new and useful for future.  Compact it.
                    psCompact = conn.prepareCall("SHUTDOWN COMPACT");

                } else {
                    // new need to compact database.  just shutdown.
                    psCompact = conn.prepareCall("SHUTDOWN");

                }

                psCompact.execute();

The execute just hangs.


When I use it on other platforms (Windows, Solaris), (also 1.4.2) it does not
hang.

Is this a known problem?

-Guido



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050420142849.GA58837>