db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein.Grov...@Sun.COM (Øystein Grøvlen)
Subject Re: transient priviledgeException
Date Tue, 04 Oct 2005 21:27:17 GMT
>>>>> "XV" == Xavier Vigouroux <Xavier-Francois.Vigouroux@Sun.COM> writes:

    XV> Hi,
    XV> I have a transient priviledgeException  when connection to the DB with
    XV> ij.


    XV> here is the scenario:

    XV>   1/ I start an embeddedServer
    XV>   2/ wait for the ping() be ok (tested in the JVM creating the server)
    XV>   3/ start ij to create a schema.

    XV> then in 4, I get a transient error...i.e if I retry it works.

    XV> what should I wait for to be sure the server is ready to recieve cmd?

I checked the implementation of ping(), and it seems to only check
that it is able to get in touch with the network server.  It does not
try to get a connection to a database.  Does anyone have any
suggestion for how Xavier can determine that the server is ready to
create a database?

-- 
Øystein


Mime
View raw message