CENTOS7マシンにorient-dbを使用してJava Webアプリケーションをデプロイしようとしています。 現在、私はroot権限を持つユーザ〜/ softwares/$ ORIENTDB_HOMEにOrient-dbを設定しました ユーザ名とパスワードとスタートアップで初期設定でサーバが正常にセットアップされました。 私は今console.shCENTOS7にOrientDB - Java統合を設定できません
orientdb> CREATE DATABASE remote:localhost/test root root plocal
を実行している。しかし、私は次のようなエラーに
Creating database [remote:localhost/test] using the storage type [plocal]... Error: com.orientechnologies.orient.core.exception.OStorageException: Cannot create the remote storage: test
Error: com.orientechnologies.orient.core.exception.ODatabaseException: Cannot create database 'test' DB name="test" DB name="test"
Error: com.orientechnologies.orient.core.exception.OStorageException: Cannot create folders in storage with path /softwares/orientdb-community-2.2.5/orientdb-community-2.2.5/databases/test DB name="test"
を取得していた後、次のように作成したデータベースコマンドを使用して、私のJavaアプリケーションがアクセスするリモートDBを作成しようとしています.sh binディレクトリと$ ORIENTDB_HOME/databasesディレクトリをCHMODINGしようとしましたが、問題は解決しません。
それは私がplocal
orientdb> CREATE DATABASE plocal:localhost/test root root plocal
でDBを作成することができます。しかし、あなたが作ったIMHO私は、Javaの終わり
$ java -jar dataloader-jar-with-dependencies.ja
2016-11-24 20:10:41 DEBUG ASMLoader:38 - connecting to:plocal:localhost/asm
2016-11-24 20:10:41 DEBUG ASMLoader:39 - uname:admin
2016-11-24 20:10:41 DEBUG ASMLoader:40 - password :admin
Exception in thread "main" com.orientechnologies.orient.core.exception.ODatabaseException: Error on opening database 'plocal:localhost/asm' at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.(ODatabaseDocumentTx.java:190) at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.(OPartitionedDatabasePool.java:421) at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.(OPartitionedDatabasePool.java:417) at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:353) at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.(OPartitionedDatabasePool.java:114) at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.(OrientGraphFactory.java:71) at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.(OrientGraphFactory.java:52) at com.virtusa.asm.repo.ASMLoader.main(ASMLoader.java:42) Caused by: com.orientechnologies.orient.core.exception.OConfigurationException: Error on opening database: the engine 'plocal' was not found. URL was: plocal:localhost/asm. Registered engines are: [remote] DB name="plocal:localhost/asm" at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:462) at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.(ODatabaseDocumentTx.java:170) ... 7 more
ハブあなたは/ databases/testフォルダを作成してCHMODingしようとしましたか?最新の2.2.13バージョンも試してみてください。 –