[ 
https://issues.apache.org/jira/browse/DERBY-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704377#action_12704377
 ] 

Myrna van Lunteren commented on DERBY-4147:
-------------------------------------------

If this is still occurring regularly, it may be a good idea to increase the 
information going to derby.log.

You do this by creating, or adding to, a file called derby.properties in the 
dir where the server gets started 
Suggested properties are:
derby.infolog.append=true
derby.stream.error.logSeverityLevel=0
derby.language.logStatementText=true

(you can find more about what these properties do in the manuals)

HTH

> DerbyServer shutdown unexpected after running for some days
> -----------------------------------------------------------
>
>                 Key: DERBY-4147
>                 URL: https://issues.apache.org/jira/browse/DERBY-4147
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Server
>    Affects Versions: 10.4.2.0
>         Environment: Windows XP Pro,
> java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
>            Reporter: Dennis Cheung
>
> My derby network server was fine, but recently it becoming unstable and it 
> shudown itself by exception.
> ------
> Apache Derby Network Server - 10.4.2.0 - (689064) started and ready to accept 
> co
> nnections on port 1527 at 2009-04-02 01:41:10.147 GMT
> null
> java.lang.NullPointerException
>         at org.apache.derby.impl.drda.DRDAStatement.execute(Unknown Source)
>         at 
> org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTTobjects(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
> Execution failed because of Permanent Agent Error: SVRCOD = 40; RDBNAM = 
> schedul
> er; diagnostic msg = null
> org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because of 
> Pe
> rmanent Agent Error: SVRCOD = 40; RDBNAM = scheduler; diagnostic msg = null
>         at 
> org.apache.derby.impl.drda.DRDAProtocolException.newAgentError(Unknown Source)
>         at 
> org.apache.derby.impl.drda.DRDAConnThread.sendUnexpectedException(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.handleException(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
> null
> java.lang.NullPointerException
>         at org.apache.derby.impl.drda.DRDAStatement.execute(Unknown Source)
>         at 
> org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTTobjects(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown 
> Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
> Apache Derby Network Server - 10.4.2.0 - (689064) shutdown at 2009-04-05 
> 23:10:07.938 GMT

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to