You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <de...@db.apache.org> on 2005/09/15 18:49:56 UTC
[jira] Closed: (DERBY-409) ClientDataSource setConnectionAttributes("create=true") fails with "An attempt was made to access a database, mydbcreate=true, which was not found."
[ http://issues.apache.org/jira/browse/DERBY-409?page=all ]
Kathey Marsden closed DERBY-409:
--------------------------------
> ClientDataSource setConnectionAttributes("create=true") fails with "An attempt was made to access a database, mydbcreate=true, which was not found."
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-409
> URL: http://issues.apache.org/jira/browse/DERBY-409
> Project: Derby
> Type: Bug
> Versions: 10.1.1.0, 10.2.0.0
> Reporter: Kathey Marsden
> Assignee: Philip Wilder
> Fix For: 10.2.0.0, 10.1.2.0
> Attachments: ConnectionAttributes.java, Derby409.patch
>
> ClientDataSource setConnectionAttributes("create=true") fails with "An attempt was made to access a database, mydbcreate=true, which was not found." The method does not seem to insert a semicolon before the attributes.
> run attached repro to produce the error below
> $java ConnectionAttributes
> embedded setConnectionAttributes
> client setConnectionAttributes
> org.apache.derby.client.am.DisconnectException: The application server rejected establishment of the connection. An attempt was made to access a database, mydbcreate=true, which was not found.
> at org.apache.derby.client.net.NetConnectionReply.parseRDBNFNRM(NetConnectionReply.java)
> at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(NetConnectionReply.java)
> at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetConnectionReply.java)
> at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(NetConnectionReply.java)
> at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(NetConnection.java)
> at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(NetConnection.java)
> at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(NetConnection.java)
> at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java)
> at org.apache.derby.client.net.NetConnection.initialize(NetConnection.java)
> at org.apache.derby.client.net.NetConnection.<init>(NetConnection.java)
> at org.apache.derby.jdbc.ClientDataSource.getConnection(ClientDataSource.java)
> at org.apache.derby.jdbc.ClientDataSource.getConnection(ClientDataSource.java)
> at ConnectionAttributes.main(ConnectionAttributes.java:28)
> $
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira