db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sidhant Behura (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DERBY-6771) Derby is crashing and writing org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client?
Date Mon, 24 Nov 2014 10:56:13 GMT

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

Sidhant Behura edited comment on DERBY-6771 at 11/24/14 10:56 AM:
------------------------------------------------------------------

Hi Bryan,

The exception is coming when i use ssl in the connection url:
String url = "jdbc:derby://10.219.28.91:1527/mydb;create=true;ssl=peerAuthentication";
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
Connection conn = DriverManager.getConnection(url);

I am assuming due to this PS Perm Generation is constantly 99.9% and crashing derby.

Please advice ...



was (Author: sidhantbehura):
Hi Bryan,

The exception is coming when i use ssl in the connection url:
String url = "jdbc:derby://10.219.28.91:1527/mydb;create=true;ssl=peerAuthentication";
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
Connection conn = DriverManager.getConnection(url);

I am assuming due to this PS Perm Generation is constantly 99.9% and crashing derby.

Please advice


> Derby is crashing and writing org.apache.derby.impl.drda.DRDAProtocolException: Execution
failed because of a Distributed Protocol Error:  DRDA_Proto_SYNTAXRM; CODPNT arg  = 0; Error
Code Value = 3. Plaintext connection attempt from an SSL enabled client?
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6771
>                 URL: https://issues.apache.org/jira/browse/DERBY-6771
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.4.2.0
>         Environment: Linux 2.6.18-348.3.1.el5xen x86_64
>            Reporter: Sidhant Behura
>              Labels: Crash, DRDAProtocolException, Derby
>
> The derby db crashes and writes the following log into derby.out
> Execution failed because of a Distributed Protocol Error:  DRDA_Proto_SYNTAXRM; CODPNT
arg  = 0; Error Code Value = 3. Plaintext connection attempt from an SSL enabled client?
> org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because of a Distributed
Protocol Error:  DRDA_Proto_SYNTAXRM; CODPNT arg  = 0; Error Code Value = 3. Plaintext connection
attempt from an SSL enabled client?
>         at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(DRDAConnThread.java:513)
>         at org.apache.derby.impl.drda.DDMReader.readDssHeader(Unknown Source)
>         at org.apache.derby.impl.drda.DRDAConnThread.exchangeServerAttributes(DRDAConnThread.java:1109)
>         at org.apache.derby.impl.drda.DRDAConnThread.sessionInitialState(DRDAConnThread.java:663)
>         at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:279)
> I have observed the PS Perm Generation used space is > 99%.
> Please provide some information what is triggering this and how to resolve this.
> Thanks in advance...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message