AnsweredAssumed Answered

Error installing XDM from NSA in Clarity 8.1

Question asked by Georgy N Joseph on Dec 13, 2010
Latest reply on Oct 15, 2011 by another_martink
Hi,

I installed Clarity8.1 on Redhat Linux4. I use Oracle 10g as DB (installed on the same machine).

Reached NSA screen and installed Database too. :happy

When I click on XDM install button, I am getting errors. :sad

Mainly
[color=#940505]12/13/10 7:33 PM (admin) Error: Exception encountered in updateTemplateFolders[/color]
[color=#940505]12/13/10 7:33 PM (admin) com.niku.dms.util.DMSException: Could not create directory in file store.[/color]
and
[color=#940505]/opt/app/clarity/clarity/webroot/WEB-INF/xdm/xdmApplyConfig.xml:159: Java returned: 7[/color]
Anyway please see below full log of my latest XOG install attempt....

12/13/10 7:32 PM (admin) Generating Resource Bundle Property File for activitiesMetaData.xml ......
12/13/10 7:32 PM (admin) Generating Resource Bundle Property File for activitiesMetaData.xml ......
12/13/10 7:32 PM (admin) Deleting: /opt/app/clarity/clarity/xdm/xdmGlossary_en.properties
12/13/10 7:32 PM (admin) Deleting: /opt/app/clarity/clarity/xdm/xdm.properties
12/13/10 7:32 PM (admin) Deleting: /opt/app/clarity/clarity/xdm/xdmActGlossary.txt
12/13/10 7:32 PM (admin) Generating VXSL File(s) for activitiesMetaData.xml ......
12/13/10 7:32 PM (admin) Extraction view......
12/13/10 7:32 PM (admin) Extracting localizable text from View file(s)
12/13/10 7:32 PM (admin) Finished extracting localizable text from 6 View file(s). Total time: 401 (ms)
12/13/10 7:32 PM (admin) Extraction nls......
12/13/10 7:32 PM (admin) NlsExtractor
12/13/10 7:32 PM (admin) Extracting nls from ODF file(s)
12/13/10 7:32 PM (admin) Finished extracting nls from xdm. Total time: 226 (ms)
12/13/10 7:32 PM (admin) No source files exist--nothing to append
12/13/10 7:32 PM (admin) No source files exist--nothing to append
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_en.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_fr.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_de.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_es.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_ja.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_nl.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_pt.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_it.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_cs.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_sv.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_ko.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_zh.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_zh_TW.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Found language file: /opt/app/clarity/clarity/xdm/xdmGlossary_da.properties
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) Copying 1 file to /opt/app/clarity/clarity/webroot/WEB-INF/runtime/resourcebundles
12/13/10 7:32 PM (admin) XDM.validation_successful: Validation succeeded.
12/13/10 7:32 PM (admin) Generating XQL(s) for activitiesMetaData_4xql.xml ......
12/13/10 7:33 PM (admin) Generating View MetaData File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating VXSL File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Binding Files for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Web MetaData File for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Persistent MetaData File for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Master XSL for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating XSL File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating XDM_TaskActivitiesView XSL File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Web MetaData File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Web MetaData File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Web MetaData File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating Web MetaData File(s) for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Copying 4 files to /opt/app/clarity/clarity/webroot/WEB-INF/xdm/config
12/13/10 7:33 PM (admin) Generating Forms OMD for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Deleting: /opt/app/clarity/clarity/META-INF/xdm/config/xdmDescriptor.xml
12/13/10 7:33 PM (admin) Running nls-extraction on OMD of XDM
12/13/10 7:33 PM (admin) NlsExtractor
12/13/10 7:33 PM (admin) Extracting nls from ODF file(s)
12/13/10 7:33 PM (admin) Finished extracting nls from xdm. Total time: 220 (ms)
12/13/10 7:33 PM (admin) Copying 5 files to /opt/app/clarity/clarity/webroot/WEB-INF/xdm/xsl
12/13/10 7:33 PM (admin) Generating Stored Proc DML file for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Generating schema file in XML for activitiesMetaData.xml ......
12/13/10 7:33 PM (admin) Applying $ DB Schema by using DTG tools ...
12/13/10 7:33 PM (admin) ==========================================
12/13/10 7:33 PM (admin) DBTools Log - Mon Dec 13 19:33:33 EST 2010
12/13/10 7:33 PM (admin) ==========================================
12/13/10 7:33 PM (admin) Command: install database schema from driver file
12/13/10 7:33 PM (admin) To URL: jdbc:clarity:oracle://192.168.0.159:1521;SID=niku;BatchPerformanceWorkaround=true;InsensitiveResultSetBufferSize=0;ServerType=dedicated;supportLinks=true
12/13/10 7:33 PM (admin) As user: niku
12/13/10 7:33 PM (admin) For vendor: oracle
12/13/10 7:33 PM (admin) Loading DBDriver file: /opt/app/clarity/clarity/webroot/WEB-INF/xdm/sql_generated/driver_ACT.xml
12/13/10 7:33 PM (admin) Start installation of DBDriver ...
12/13/10 7:33 PM (admin) Note: Foreign Keys and Triggers have been disabled
12/13/10 7:33 PM (admin) Process - table: XDM_ACT_RES_RESUME.xml
12/13/10 7:33 PM (admin) Process - sequence: XDM_ACT_RES_RESUME_S1.xml
12/13/10 7:33 PM (admin) Process - procedure: XDM_ACT_RES_RESUME_INS_SP.xml
12/13/10 7:33 PM (admin) Process - procedure: XDM_ACT_RES_RESUME_DEL_SP.xml
12/13/10 7:33 PM (admin) Process - procedure: XDM_ACT_RES_RESUME_UPD_SP.xml
12/13/10 7:33 PM (admin) DBDriver successfully installed!
12/13/10 7:33 PM (admin) Note: Foreign Keys and Triggers have been enabled
12/13/10 7:33 PM (admin) Total time: 0H:0M:2S
12/13/10 7:33 PM (admin) ==========================================
12/13/10 7:33 PM (admin) DBTools Log - Mon Dec 13 19:33:36 EST 2010
12/13/10 7:33 PM (admin) ==========================================
12/13/10 7:33 PM (admin) Command: install database schema file
12/13/10 7:33 PM (admin) To URL: jdbc:clarity:oracle://192.168.0.159:1521;SID=niku;BatchPerformanceWorkaround=true;InsensitiveResultSetBufferSize=0;ServerType=dedicated;supportLinks=true
12/13/10 7:33 PM (admin) As user: niku
12/13/10 7:33 PM (admin) For vendor: oracle
12/13/10 7:33 PM (admin) Process: /opt/app/clarity/clarity/database/sql/GENERATE_CMN_SEQ_TABLES.xml
12/13/10 7:33 PM (admin) Total time: 0H:0M:0S
[color=#940505]12/13/10 7:33 PM (admin) Error: Exception encountered in updateTemplateFolders[color]
[color=#940505]12/13/10 7:33 PM (admin) com.niku.dms.util.DMSException: Could not create directory in file store.[color]
12/13/10 7:33 PM (admin)
at com.niku.dms.util.FileUtil.ensureDirectoryExists(FileUtil.java:741)
12/13/10 7:33 PM (admin)
at com.niku.dms.util.FileUtil.getFilePath(FileUtil.java:656)
12/13/10 7:33 PM (admin)
at com.niku.dms.util.FileUtil.getFilePath(FileUtil.java:607)
12/13/10 7:33 PM (admin)
at com.niku.dms.util.FileUtil.storeFileContentsInFileSystem(FileUtil.java:261)
12/13/10 7:33 PM (admin)
at com.niku.dms.util.FileUtil.storeFileData(FileUtil.java:246)
12/13/10 7:33 PM (admin)
at com.niku.dms.service.DMSService.submitFileObjectWithoutPermCheck(DMSService.java:1230)
12/13/10 7:33 PM (admin)
at com.niku.dms.service.DMSService.submitFileObject(DMSService.java:1141)
12/13/10 7:33 PM (admin)
at com.niku.dms.service.DMSService.submitFileObject(DMSService.java:1121)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.addTemplateFileToFolder(ConfigUpdateTemplateFolders.java:651)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.walkRecordTypes(ConfigUpdateTemplateFolders.java:535)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.walkActivity(ConfigUpdateTemplateFolders.java:361)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.walkActivityGroups(ConfigUpdateTemplateFolders.java:326)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.walkCatalog(ConfigUpdateTemplateFolders.java:275)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.walkCatalog(ConfigUpdateTemplateFolders.java:289)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.updateTemplateFolders(ConfigUpdateTemplateFolders.java:242)
12/13/10 7:33 PM (admin)
at com.niku.xdm.ConfigUpdateTemplateFolders.main(ConfigUpdateTemplateFolders.java:152)
Dec 13, 2010 7:33:41 PM Error executing command: xdm install
/opt/app/clarity/clarity/.setup/scripts/xdm.xml:110: The following error occurred while executing this line:
[color=#940505]/opt/app/clarity/clarity/webroot/WEB-INF/xdm/xdmApplyConfig.xml:159: Java returned: 7[color]

at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)

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

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

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

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

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

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

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

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

at com.niku.nsa.service.AntUtil.executeTargets(AntUtil.java:90)

at com.niku.nsa.service.AntUtil.executeAntScript(AntUtil.java:58)

at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:164)

at com.niku.nsa.service.AdminManager.execute(AdminManager.java:82)

at com.niku.nsa.service.Admin.main(Admin.java:77)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

at com.werken.forehead.Forehead.run(Forehead.java:551)

at com.werken.forehead.Forehead.main(Forehead.java:581)
[color=#940505]Caused by: /opt/app/clarity/clarity/webroot/WEB-INF/xdm/xdmApplyConfig.xml:159: Java returned: 7[color]

at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)

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

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

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

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

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

at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

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

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

... 19 more
--- Nested Exception ---
[[color=#940505]b]/opt/app/clarity/clarity/webroot/WEB-INF/xdm/xdmApplyConfig.xml:159: Java returned: 7[color]

at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)

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

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

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

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

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

at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)

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

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)

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

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

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

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

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

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

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

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

at com.niku.nsa.service.AntUtil.executeTargets(AntUtil.java:90)

at com.niku.nsa.service.AntUtil.executeAntScript(AntUtil.java:58)

at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:164)

at com.niku.nsa.service.AdminManager.execute(AdminManager.java:82)

at com.niku.nsa.service.Admin.main(Admin.java:77)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

at com.werken.forehead.Forehead.run(Forehead.java:551)

at com.werken.forehead.Forehead.main(Forehead.java:581)

Please help me out. I am waiting for your replies here...
Georgy N

Outcomes