db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohito Nakayama (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-273) The derbynet/dataSourcePermissions_net.java test fails intermittently
Date Mon, 06 Jun 2005 11:32:42 GMT
    [ http://issues.apache.org/jira/browse/DERBY-273?page=comments#action_12312740 ] 

Tomohito Nakayama commented on DERBY-273:

I have started to survey ...

My first question was "What is ShutdownException ?"

JavaDoc told "A ShutdownException is a runtime exception that is used to notify code that
the system has/is being shut down. "

Grepping whole code ,I found ShutdownException was thrown only from next two part.
./engine/org/apache/derby/iapi/services/context/ContextManager.java:374:			throw new ShutdownException();
./engine/org/apache/derby/iapi/services/context/ContextService.java:124:			throw new ShutdownException();

Reading each class, I found that these part are executed only when ContextManager or ContextService
is in state of shutdown or  stopped.

These codes completely match explanation in JavaDoc.
Each object is in state of shutdown , and ShutdownException happens.

Then, next question arise.
Why there happens situation of  system has/is being shut down during running in  DRDAConnThread
as reported ?

I think reading dataSourcePermissions_net will give me answer.

> The derbynet/dataSourcePermissions_net.java test fails intermittently
> ---------------------------------------------------------------------
>          Key: DERBY-273
>          URL: http://issues.apache.org/jira/browse/DERBY-273
>      Project: Derby
>         Type: Bug
>  Environment: 1.4.2 JVM (both Sun and IBM)
>     Reporter: Jack Klebanoff
>     Assignee: Tomohito Nakayama

> The test fails in the derbyall/derbynetclientmats/derbynetmats suite stack with the following
> *** Start: dataSourcePermissions_net jdk1.4.2 DerbyNetClient derbynetmats:derbynetmats
2005-05-11 04:24:11 ***
> 17a18,19
> > org.apache.derby.iapi.services.context.ShutdownException: 
> > agentThread[DRDAConnThread_2,5,derby.daemons]
> Test Failed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message