Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Hazelcast exception not found #1407

Closed
geekyme opened this Issue Mar 23, 2013 · 4 comments

Comments

Projects
None yet
2 participants

geekyme commented Mar 23, 2013

hello, i'm new to this database. Currently playing around with distributed architecture and i'm following the instructions here - https://github.com/nuvolabase/orientdb/wiki/Distributed-Configuration

so i type this into my orientdb-server-config.xml

    <handler class="com.orientechnologies.orient.server.cluster.hazelcast.OHazelcastPlugin">
        <parameters>
          <parameter name="enabled" value="true" />
          <parameter name="alias" value="sg2013" />
          <parameter name="configuration" value="${ORIENTDB_HOME}/config/hazelcast.xml" />
          <parameter name="db.*"
                     value="
  {
    'servers' : {
      '*' : {
        'synchronization' : true,
        'clusters' : {
          '*' : { 
            'synchronization' : true,
            'operations' : {
              'create' : { 'direction' : 'in-out', 'mode' : 'synchronous' },
              'read'   : { 'direction' : 'in',     'mode' : 'synchronous' },
              'update' : { 'direction' : 'in-out', 'mode' : 'synchronous' },
              'delete' : { 'direction' : 'in-out', 'mode' : 'synchronous' }
            },
            'offlineMaxBuffer' : 1000000
           },
          'internal' : { 'synchronization' : false },
          'index' : { 'synchronization' : false }
        },
        'classes': {}
      }
    }
  }" />
        </parameters>
    </handler>

This is what i get when i restart server.bat. What have i done wrong? I'm on a windows OS.

2013-03-23 14:43:41:672 INFO Listening binary connections on 0.0.0.0:2424 [OServ
erNetworkListener]
2013-03-23 14:43:41:674 INFO Listening http connections on 0.0.0.0:2480 [OServer
NetworkListener]Exception in thread "main" java.lang.ClassNotFoundException: com
.orientechnologies.orient.server.cluster.hazelcast.OHazelcastPlugin
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:188)
        at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.j
ava:594)
        at com.orientechnologies.orient.server.OServer.activate(OServer.java:198
)
        at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java
:32)

thanks for helping

geekyme commented Apr 7, 2013

@nuvolabase any ideas?

Owner

lvca commented Apr 8, 2013

Seems the orientdb-distributed-*.jar is not included in classpath. What release are you using?

geekyme commented Apr 9, 2013

Hey @lvca i'm using orientdb-graph-1.3.0. downloaded it straight off the website http://www.orientdb.org/

Owner

lvca commented Oct 3, 2014

Fixed long time ago

@lvca lvca closed this Oct 3, 2014

@lvca lvca added the bug label Oct 3, 2014

@lvca lvca added this to the 1.7 milestone Oct 3, 2014

@lvca lvca self-assigned this Oct 3, 2014

@lvca lvca modified the milestone: 1.6, 1.7 Oct 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment