Hi ,
Had followed the below link and made the changed to the ADF application and deployed the WAR file into Tomcat 7.0.47
with JAVA_HOME = C:\Program Files\Java\jdk1.8.0_60
JRE_HOME = C:\Program Files\Java\jre1.8.0_60
https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
I am getting an exception below : Please help me to run the application in Tomcat7.X
AM i missing any jars that required ? else does the ADF 11.1.2.4 supports JDK 7 and higher? shld i deploy application only in the JDK 6 supported Tomcat version?
INFO: Deploying web application archive C:\Users\vamsi.balaga\Documents\apache-tomcat-7.0.47\webapps\SampleADFTomcat.war
Oct 20, 2016 2:49:21 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack
oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:103)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:114)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:652)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:632)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:490)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:397)
at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:71)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: oracle/ias/cache/CacheException
at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
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:83)
... 21 more
Caused by: java.lang.ClassNotFoundException: oracle.ias.cache.CacheException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 33 more
Oct 20, 2016 2:49:22 PM oracle.adf.mbean.share.ADFServletContextListenerAdapter getApplicationName
SEVERE:
oracle.adf.share.platform.UnknownPlatformException: The specified application server platform {0} is not supported by JRF.
at oracle.adf.share.platform.AdfNoServerPlatformSupport.getApplicationIdentifier(AdfNoServerPlatformSupport.java:38)
at oracle.adf.mbean.share.ADFServletContextListenerAdapter.getApplicationName(ADFServletContextListenerAdapter.java:28)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:71)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Oct 20, 2016 2:49:23 PM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE: Failed to register config mbean for defaultApplicationName.
Oct 20, 2016 2:49:23 PM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
SEVERE:
oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:103)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:114)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:652)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:632)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:490)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:397)
at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:84)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: oracle/ias/cache/CacheException
at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
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:83)
... 21 more
Caused by: java.lang.ClassNotFoundException: oracle.ias.cache.CacheException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 33 more
Oct 20, 2016 2:49:23 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
java.lang.RuntimeException: class org.apache.catalina.core.ApplicationContextFacade
at oracle.adf.share.ADFContext.initADFContext(ADFContext.java:2108)
at oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack.contextInitialized(BC4JConfigLifeCycleCallBack.java:83)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
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.ADFContext.initADFContext(ADFContext.java:2068)
... 14 more
Caused by: oracle.adf.share.ADFShareException: getMDSInstance error
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:103)
at oracle.adf.share.config.FallbackConfigImpl.getDefaultMDSInstance(FallbackConfigImpl.java:114)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:652)
at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:632)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.getMDSInstance(ADFContextMDSConfigHelperImpl.java:274)
at oracle.adf.share.ADFContext.getMDSInstanceAsObject(ADFContext.java:1790)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:490)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:397)
at oracle.adf.share.http.ServletADFContext.initThreadContextIfNeeded(ServletADFContext.java:322)
... 19 more
Caused by: java.lang.NoClassDefFoundError: oracle/ias/cache/CacheException
at oracle.mds.core.MDSInstance.initCache(MDSInstance.java:1649)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1786)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1738)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:2035)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:529)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:492)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:452)
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:83)
... 27 more
Caused by: java.lang.ClassNotFoundException: oracle.ias.cache.CacheException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 39 more
Oct 20, 2016 2:49:23 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.9 (SNAPSHOT 20120202) for context '/SampleADFTomcat'
Oct 20, 2016 2:49:24 PM com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
Oct 20, 2016 2:49:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Oct 20, 2016 2:49:25 PM org.apache.catalina.session.PersistentManagerBase startInternal
SEVERE: No Store configured, persistence disabled
Oct 20, 2016 2:49:25 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/SampleADFTomcat] startup failed due to previous errors
Oct 20, 2016 2:49:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/SampleADFTomcat] appears to have started a thread named [ContextCleaner] but has failed to stop it. This is very likely
Oct 20, 2016 2:49:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/SampleADFTomcat] appears to have started a thread named [JarIndex Timer] but has failed to stop it. This is very likely
Oct 20, 2016 2:49:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Users\vamsi.balaga\Documents\apache-tomcat-7.0.47\webapps\docs
Oct 20, 2016 2:49:37 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Mojarra 2.0.9 (SNAPSHOT 20120202) for context '/docs'
Message was edited by: Vamsi Murali