Hi,

I have faced the same error. It disappears and work fine if few of the last
properties are kept uncommented as follows.

<H2DatabaseConfiguration>
        <property name="web" />
        <property name="webPort">8082</property>
        <property name="webAllowOthers" />
       * <!--property name="webSSL" />
        <property name="tcp" />
        <property name="tcpPort">9092</property>
        <property name="tcpAllowOthers" />
        <property name="tcpSSL" />
        <property name="pg" />
        <property name="pgPort">5435</property>
        <property name="pgAllowOthers" />
        <property name="trace" />
        <property name="baseDir">${carbon.home}</property-->*
    </H2DatabaseConfiguration>

Reference :
http://ajithvblogs.blogspot.com/2012/04/how-to-browse-h2-database-of-wso2.html

Thanks,

Pushpalanka Jayawardhana

Software Engineer

WSO2 Lanka (pvt) Ltd
[image: 
Facebook]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka>
[image:
Twitter]<http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka>
[image:
LinkedIn]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fprofile%2Fview%3Fid%3D75175642%26trk%3Dtab_pro>
[image:
Blogger]<http://s.wisestamp.com/links?url=http%3A%2F%2Fpushpalankajaya.blogspot.com%2F>
[image:
SlideShare]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.slideshare.net%2FPushpalanka>
Mobile: +94779716248
<http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fu%3Dc984892c0c4ca423%26v%3D3.13.2%26t%3D1361257731639%26promo%3D10%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_10>



On Wed, May 15, 2013 at 4:51 PM, Shelan Perera <she...@wso2.com> wrote:

> When i uncomment H2 DB section in carbon.xml and try to restart the server
> i am getting the following. I think it is broken.
>
> [2013-05-15 04:23:57,413]  INFO - ConsoleService Starting H2 Web server...
> [2013-05-15 04:23:58,045]  INFO - ConsoleService Starting H2 TCP server...
> [2013-05-15 04:23:58,093]  INFO - ConsoleService Starting H2 PG server...
> org.h2.server.TcpServerThread@63be407c Connect
> javax.net.ssl.SSLException: Connection has been shutdown:
> javax.net.ssl.SSLHandshakeException: Remote host closed connection during
> handshake
> at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1476)
>  at sun.security.ssl.SSLSocketImpl.checkWrite(SSLSocketImpl.java:1488)
> at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:70)
>  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
>  at java.io.DataOutputStream.flush(DataOutputStream.java:123)
> at org.h2.value.Transfer.flush(Transfer.java:85)
>  at org.h2.server.TcpServerThread.sendError(TcpServerThread.java:197)
> at org.h2.server.TcpServerThread.run(TcpServerThread.java:129)
>  at java.lang.Thread.run(Thread.java:722)
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
> connection during handshake
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
>  at
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
> at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:882)
>  at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
>  at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
> at java.io.DataInputStream.readInt(DataInputStream.java:387)
>  at org.h2.value.Transfer.readInt(Transfer.java:145)
> at org.h2.server.TcpServerThread.run(TcpServerThread.java:71)
>  ... 1 more
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
> at sun.security.ssl.InputRecord.read(InputRecord.java:482)
>  at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
> ... 9 more
> org.h2.server.TcpServerThread@63be407c Disconnect
> org.h2.server.TcpServerThread@63be407c Close
> Connect
> Disconnect
>
>
> --
> *Shelan Perera*
>
> Software Engineer
> **
> *WSO2, Inc. : wso2.com*
> lean.enterprise.middleware.
>
> *Home Page*  :   shelan.org
> *Blog*             :   blog.shelan.org
> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
> *Twitter*         :    https://twitter.com/#!/shelan
>
> *Mobile*          : +94 772 604 402
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to