db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4655) With default security manager log directory cannot be created and there is a resulting protocol error. Database can no longer bee booted
Date Wed, 12 May 2010 21:36:43 GMT
With default security manager log directory cannot be created and there is a resulting protocol
error.  Database can no longer bee booted
-----------------------------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-4655
                 URL: https://issues.apache.org/jira/browse/DERBY-4655
             Project: Derby
          Issue Type: Bug
          Components: Network Server
    Affects Versions: 10.6.1.0
         Environment: IPV6 Red Hat Linux 

java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr6-20090819_05(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr6-20090818_40
853 (JIT enabled, AOT enabled)
J9VM - 20090818_040853
JIT  - r9_20090814_1330
GC   - 20090817_AA)
JCL  - 20090817_01


            Reporter: Kathey Marsden


[kmarsden@wicopt1 ipv6test]$ rm -rf mydb
[kmarsden@wicopt1 ipv6test]$ java org.apache.derby.drda.NetworkServerControl st
art   -h 2002:92a:8f7a:13:9:42:73:216&
[3] 22168
[kmarsden@wicopt1 ipv6test]$ 2010-05-12 21:43:05.675 GMT : Security manager inst
alled using the Basic server security policy.
2010-05-12 21:43:06.137 GMT : Apache Derby Network Server - 10.6.1.0 - (938214)
started and ready to accept connections on port 1527


[kmarsden@wicopt1 ipv6test]$ java ReproProtocolIssue
Exception in thread "main" java.sql.SQLNonTransientConnectionException: Network
protocol exception: actual code point, 4,692, does not match expected code point
, 9,224.  The connection has been terminated.
        at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unkn
own Source)
        at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc
e)
        at org.apache.derby.client.am.Statement.executeUpdate(Unknown Source)
        at ReproProtocolIssue.main(ReproProtocolIssue.java:25)
Caused by: org.apache.derby.client.am.DisconnectException: Network protocol exce
[kmarsden@wicopt1 ipv6test]$ 92, does not match expected code point, 9,224.  The
[kmarsden@wicopt1 ipv6test]$
        at org.apache.derby.client.net.Reply.parseLengthAndMatchCodePoint(Unknow
n Source)
        at org.apache.derby.client.net.NetConnectionReply.parseSQLCARD(Unknown S
ource)
        at org.apache.derby.client.net.NetConnectionReply.parseRDBCMMreply(Unkno
wn Source)
        at org.apache.derby.client.net.NetConnectionReply.readLocalCommit(Unknow
n Source)
        at org.apache.derby.client.net.ConnectionReply.readLocalCommit(Unknown S
ource)
        at org.apache.derby.client.net.NetConnection.readLocalCommit_(Unknown So
urce)
        at org.apache.derby.client.am.Connection.readCommit(Unknown Source)
        at org.apache.derby.client.am.Connection.readAutoCommit(Unknown Source)
        at org.apache.derby.client.am.Statement.flowExecute(Unknown Source)
        at org.apache.derby.client.am.Statement.executeUpdateX(Unknown Source)
        ... 2 more

In the derby.log
ERROR XSLAQ: cannot create log file at directory /home/kmarsden/ipv6test/mydb/log.
	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:286)
	at org.apache.derby.impl.store.raw.log.LogToFile.getLogDirectory(LogToFile.java:2737)
	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileName(LogToFile.java:2790)
	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:3018)
	at org.apache.derby.impl.store.raw.log.Scan.<init>(Scan.java:156)
	at org.apache.derby.impl.store.raw.log.LogToFile.openBackwardsScan(LogToFile.java:2843)
	at org.apache.derby.impl.store.raw.log.FileLogger.undo(FileLogger.java:925)
	at org.apache.derby.impl.store.raw.xact.Xact.popSavePoints(Xact.java:2209)
	at org.apache.derby.impl.store.raw.xact.Xact.rollbackToSavePoint(Xact.java:1562)
	at org.apache.derby.impl.store.access.RAMTransaction.rollbackToSavePoint(RAMTransaction.java:2019)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.internalRollbackToSavepoint(GenericLanguageConnectionContext.java:1556)
	at org.apache.derby.impl.sql.conn.GenericStatementContext.cleanupOnError(GenericStatementContext.java:578)
	at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(ContextManager.java:333)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(TransactionResourceImpl.java:419)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:337)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2269)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:81)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1321)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:625)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:175)
	at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLIMM(DRDAConnThread.java:5133)
	at org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:755)
	at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:295)

Will attach 
ReproPRotocolIssue.java
derby.log



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


Mime
View raw message