org.obiba.magma.NoSuchDatasourceException

No datasource exists with the specified name 'opal-data'

Solutions on the web2

  • via JIRA by Philippe Laflamme, 1 year ago
    No datasource exists with the specified name 'opal-data'
  • via JIRA by Philippe Laflamme, 1 year ago
    No datasource exists with the specified name 'opal-data'
  • Stack trace

    • org.obiba.magma.NoSuchDatasourceException: No datasource exists with the specified name 'opal-data' at org.obiba.magma.MagmaEngine.getDatasource(MagmaEngine.java:100) at org.obiba.magma.support.MagmaEngineTableResolver.resolveTable(MagmaEngineTableResolver.java:22) at org.obiba.magma.support.ValueTableReference.getWrappedValueTable(ValueTableReference.java:57) at org.obiba.magma.support.AbstractValueTableWrapper.getDatasource(AbstractValueTableWrapper.java:22) at org.obiba.magma.xstream.converter.ViewConverter.marshallValueTableReference(ViewConverter.java:131) at org.obiba.magma.xstream.converter.ViewConverter.marshallFromTable(ViewConverter.java:125) at org.obiba.magma.xstream.converter.ViewConverter.marshal(ViewConverter.java:41) at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at com.thoughtworks.xstream.converters.collections.ArrayConverter.marshal(ArrayConverter.java:45) at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:56) at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:837) at com.thoughtworks.xstream.XStream.marshal(XStream.java:826) at com.thoughtworks.xstream.XStream.toXML(XStream.java:801) at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.writeViews(OpalViewPersistenceStrategy.java:72) at org.obiba.opal.core.runtime.upgrade.ViewsUpgrade_1_4_0.execute(ViewsUpgrade_1_4_0.java:85) at org.obiba.runtime.upgrade.support.DefaultUpgradeManager.executeUpgrade(DefaultUpgradeManager.java:104) at org.obiba.opal.server.UpgradeCommand.execute(UpgradeCommand.java:37) at org.obiba.opal.server.OpalServer.<init>(OpalServer.java:33) at org.obiba.opal.server.OpalServer.main(OpalServer.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.