Hello Everyone. I have a web application that connects to OrientDB 2.0.4. I 
am seeing the following errors in my application when it sits idle for a 
little while:

com.orientechnologies.common.log.OLogManager log
WARNING: Caught I/O errors from Not connected (local socket=?), trying to 
reconnect (error: java.io.IOException: Channel is closed)
Mar 08, 2015 3:45:46 PM com.orientechnologies.common.log.OLogManager log
WARNING: Connection re-acquired transparently after 272ms and 1 retries to 
server 'server-name/database-name': no errors will be thrown at application 
level

This in turn severely affects the performance of the application even 
though it is able to reconnect to the OrientDB cluster. The error keeps 
appearing in the client application log until I restart the client 
application. I am hosting in Azure VMs using CentOS 7 and the Tinkerpop 
Blueprints library. I am using OrientGraphFactory on the client side with a 
min pool size of 100 and max pool size of 200. I have tried this with a min 
pool size of 1 and max pool size of 10 as well with the same result. Here 
is my Tinkerpop maven dependencies for the client application:

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
        <java.version>1.8</java.version>
        <blueprints.version>2.6.0</blueprints.version>
        <orientdb.version>2.0.4</orientdb.version>
    </properties>

    <dependency>
        <groupId>com.tinkerpop.rexster</groupId>
        <artifactId>rexster-core</artifactId>
        <version>${blueprints.version}</version>
        <scope>provided</scope>
        <exclusions>
            <exclusion>
                <artifactId>commons-logging</artifactId>
                <groupId>commons-logging</groupId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-core</artifactId>
        <version>${orientdb.version}</version>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-graphdb</artifactId>
        <version>${orientdb.version}</version>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-enterprise</artifactId>
        <version>${orientdb.version}</version>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-lucene</artifactId>
        <version>${orientdb.version}</version>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-server</artifactId>
        <version>${orientdb.version}</version>
    </dependency>
    <dependency>
        <groupId>com.orientechnologies</groupId>
        <artifactId>orientdb-tools</artifactId>
        <version>${orientdb.version}</version>
        <exclusions>
            <exclusion>
                <groupId>com.orientechnologies</groupId>
                <artifactId>orientdb-object</artifactId>
            </exclusion>
        </exclusions>
    </dependency>

Is this a bug with Tinkerpop Blueprints? Please advise. Thank you.

Amir.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to