Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hazelcast exception not found #1407

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

Hazelcast exception not found #1407

geekyme opened this issue Mar 23, 2013 · 4 comments
Assignees
Milestone

Comments

@geekyme
Copy link

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
Copy link
Author

geekyme commented Apr 7, 2013

@nuvolabase any ideas?

@lvca
Copy link
Member

lvca commented Apr 8, 2013

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

@geekyme
Copy link
Author

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/

@lvca
Copy link
Member

lvca commented Oct 3, 2014

Fixed long time ago

@lvca lvca closed this as completed 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 milestones: 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
Labels
None yet
Development

No branches or pull requests

2 participants