Le 4 oct. 05, à 23:27, Øystein Grøvlen a écrit :

"XV" == Xavier Vigouroux <[EMAIL PROTECTED]> 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?

hi,

This is really important for me to have a clear condition about the state of the server.
making a sleep 10 is not convincing anybody

thanks



--
Øystein


--
Xavier VIGOUROUX - sun microsystems

Reply via email to