Problems with jdk-1.4.2-p{6,7}

Guido van Rooij guido at gvr.org
Wed Apr 20 07:28:50 PDT 2005


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


More information about the freebsd-java mailing list