1 Reply Latest reply on Jun 26, 2013 8:18 PM by Yct-Oracle

    Exception while installing Webcenter Analytics

    Crgf-Oracle

      Hi,

       

      I am facing an exception while running the silent installer for Analytics.

       

      -prepareConfig:

      [xmleditor] Source File=./configuration/global.xml-dist

      [xmleditor] Element=param

       

       

      BUILD FAILED

      D:\analytics\analytics11.1.1.6.0\analytics-build.xml:174: java.lang.NoClassDefFoundError: org/apache/xerces/dom/NamedNodeMapImpl

        at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)

        at org.apache.xerces.dom.DeferredDocumentImpl.synchronizeChildren(Unknown Source)

        at org.apache.xerces.dom.ParentNode.hasChildNodes(Unknown Source)

        at org.apache.xerces.dom.DeepNodeListImpl.nextMatchingElementAfter(Unknown Source)

        at org.apache.xerces.dom.DeepNodeListImpl.item(Unknown Source)

        at org.apache.xerces.dom.DeepNodeListImpl.getLength(Unknown Source)

        at com.fatwire.analytics.silentInstall.ant.XMLContentEditorTask.modify(XMLContentEditorTask.java:157)

        at com.fatwire.analytics.silentInstall.ant.XMLContentEditorTask.execute(XMLContentEditorTask.java:121)

        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)

        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

        at org.apache.tools.ant.Task.perform(Task.java:348)

        at org.apache.tools.ant.Target.execute(Target.java:435)

        at org.apache.tools.ant.Target.performTasks(Target.java:456)

        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)

        at org.apache.tools.ant.Project.executeTarget(Project.java:1364)

        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

        at org.apache.tools.ant.Project.executeTargets(Project.java:1248)

        at org.apache.tools.ant.Main.runBuild(Main.java:851)

        at org.apache.tools.ant.Main.startAnt(Main.java:235)

        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)

        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

      Caused by: java.lang.ClassNotFoundException: org.apache.xerces.dom.NamedNodeMapImpl

        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

        ... 24 more

       

       

      Total time: 1 second

       

       

      I've located this class and (XercesImpl.jar) and modified the install file analytics_install.bat to point to it using

      set CLASSPATH=D:\analytics\xerces\xerces-2_11_0\

       

      or

      :runInstaller

      %_EXECJAVA% -Djava.class.path=D:\analytics\xerces\xerces-2_11_0\ -jar analytics-silent-install.jar ant.bat analytics-install.log %_TARGET%

       

      But none of that works...

      Can anybody help...

       

      thanks

      Craig