oracle.adf.share.ADFShareException: getMDSInstance error


Samebug tips

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.


9 months ago
Expert tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.


7 months ago
Expert tip

Solutions on the web

Solution icon of web
getMDSInstance error

Solution icon of web
via sql.ru by Unknown author, 1 year ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by 603367, 1 year ago
getMDSInstance error

Solution icon of web
getMDSInstance error

Solution icon of web
via hivmr.com by Unknown author, 1 year ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by 972794, 1 year ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by 519957, 1 year ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by 628468, 1 year ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by Karim Hasan, 3 months ago
getMDSInstance error

Solution icon of oraclecommunity
via Oracle Community by 704419, 10 months ago
getMDSInstance error java

Stack trace

oracle.adf.share.ADFShareException: getMDSInstance error
	at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:84)
	at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:95)
	at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:602)
	at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:582)
	at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
	at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1757)
	at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:494)
	at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:401)
	at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:74)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.NoClassDefFoundError: oracle/core/ojdl/MessageType
	at oracle.dms.instrument.Level.initLevel(Level.java:215)
	at oracle.dms.instrument.LogLevel.initLogLevel(LogLevel.java:41)
	at oracle.dms.instrument.LogLevel.<clinit>(LogLevel.java:23)
	at oracle.dms.instrument.Noun.<clinit>(Noun.java:2189)
	at oracle.adf.share.perf.Timer.createTimer(Timer.java:258)
	at oracle.adf.share.perf.Timer.createTimer(Timer.java:155)
	at oracle.mds.internal.util.MDSTimer.<init>(MDSTimer.java:349)
	at oracle.mds.internal.util.MDSTimer.createTimer(MDSTimer.java:88)
	at oracle.mds.core.MDSInstance.<clinit>(MDSInstance.java:2317)
	at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:450)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:64)
	... 32 more
Caused by: java.lang.ClassNotFoundException: oracle.core.ojdl.MessageType
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 47 more

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

4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
13 times, 6 hours ago
Once, 17 hours ago
Once, 1 day ago
2406 more bugmates