org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseRegistry': Invocation of init method failed; nested exception is com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/var/lib/opal/data/orientdb/opal-config' with mode=rw

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Yannick Marcon, 1 year ago
Error creating bean with name 'databaseRegistry': Invocation of init method failed; nested exception is com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/var/lib/opal/data/orientdb/opal-config' with mode=rw
via JIRA by Yannick Marcon, 1 year ago
Error creating bean with name 'databaseRegistry': Invocation of init method failed; nested exception is com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage '/var/lib/opal/data/orientdb/opal-config' with mode=rw
via GitHub by aytimothy
, 6 months ago
Error creating bean with name 'WindowManager': Invocation of init method failed; nested exception is java.lang.IndexOutOfBoundsException: Invalid index
via Stack Overflow by BbFuRg
, 4 months ago
Error creating bean with name 'mailprocessor': Invocation of init method failed; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to init mailet test.AddFooterMailet
via Stack Overflow by Thufir
, 2 years ago
Error creating bean with name 'smtpserver': Invocation of init method failed; nested exception is org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:25
via GitHub by geld0r
, 11 months ago
Error creating bean with name 'MatchService': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.neo4j.driver.v1.Driver.session(Lorg/neo4j/driver/v1/AccessMode;)Lorg/neo4j/driver/v1/Session;
java.io.FileNotFoundException: /var/lib/opal/data/orientdb/opal-config/database.ocf (Permission denied)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at com.orientechnologies.orient.core.storage.fs.OFileClassic.openChannel(OFileClassic.java:753)
at com.orientechnologies.orient.core.storage.fs.OFileClassic.open(OFileClassic.java:557)
at com.orientechnologies.orient.core.storage.impl.local.OSingleFileSegment.open(OSingleFileSegment.java:51)
at com.orientechnologies.orient.core.storage.impl.local.OStorageConfigurationSegment.load(OStorageConfigurationSegment.java:64)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:188)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:249)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.internalOpen(OPartitionedDatabasePool.java:140)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.openDatabase(OPartitionedDatabasePool.java:343)
at org.obiba.opal.core.service.LocalOrientDbServerFactory.getDocumentTx(LocalOrientDbServerFactory.java:88)
at org.obiba.opal.core.service.OrientDbServiceImpl.createUniqueIndex(OrientDbServiceImpl.java:346)
at org.obiba.opal.core.service.DefaultDatabaseRegistry.start(DefaultDatabaseRegistry.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:354)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:305)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:139)
at org.obiba.opal.server.UpgradeCommand.standardUpgrade(UpgradeCommand.java:80)
at org.obiba.opal.server.UpgradeCommand.execute(UpgradeCommand.java:76)
at org.obiba.opal.server.OpalServer.upgrade(OpalServer.java:58)
at org.obiba.opal.server.OpalServer.(OpalServer.java:22)
at org.obiba.opal.server.OpalServer.main(OpalServer.java:107)

Users with the same issue

6 times, 2 months ago
Once, 5 months ago
Once, 7 months ago
4 times, 9 months ago
3 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.