Integrator Error Oxygen Version 20

<oXygen/> general issues.
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Integrator Error Oxygen Version 20

Post by thedantanner » Mon Apr 16, 2018 8:44 pm

We are in the process of upgrading to Oxygen version 20, but we've hit a snag. When attempting to run the DITAOT integrator, we're getting an error. The error seems as straight-forward as a permissions error, but we don't encounter the same error in Oxygen 19, so I wonder if something more is happening. We're using the version of DITA that came packaged with version 20.

Here is the integrator log, and the errors we're encountering. Any assistance would be appreciated.

Code: Select all

Executing:
"c:\program files\oxygen xml editor 20\jre/bin/java" -Dfile.encoding=UTF-8 -Xmx256m -classpath "C:\Program Files\Oxygen XML Editor 20\tools\ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files\Oxygen XML Editor 20\tools\ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\config" -lib "C:\Program Files\Oxygen XML Editor 20\classes" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygen.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygenAuthor.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygenDeveloper.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygenEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygenAuthorEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\oxygenDeveloperEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\resolver.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\xml-apis.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\xercesImpl.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\saxon9ee.jar" -lib "C:\Program Files\Oxygen XML Editor 20\lib\log4j.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\ant-apache-resolver-1.10.1.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\ant-launcher.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\ant.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\commons-codec-1.10.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\commons-io-2.5.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\dost-configuration.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\dost.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\guava-19.0.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\icu4j-57.1.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\jsearch.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\logback-classic-1.2.1.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\logback-core-1.2.1.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\saxon-9.1.0.8-dom.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\saxon-9.1.0.8.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\slf4j-api-1.7.23.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\xercesImpl-2.11.0.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\xml-apis-1.4.01.jar" -lib "C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\lib\xml-resolver-1.2.jar" -f "C:\Program Files\Oxygen XML Editor 20\frameworks/dita/DITA-OT2.x/integrator.xml" "-Dstrict=true" "-Dwebhelp.trial.license=no"

Buildfile: C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\integrator.xml

integrate:
[integrate] Recoverable error
[integrate] java.io.FileNotFoundException: C:\Program Files\Oxygen XML Editor
[integrate] 20\frameworks\dita\DITA-OT2.x\resources\plugins.xml (Access is denied)

BUILD FAILED
C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\integrator.xml:43: Integration failed: java.io.FileNotFoundException: C:\Program Files\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\resources\plugins.xml (Access is denied)

Total time: 0 seconds

The process finished with exit code: 1

ionela
Posts: 350
Joined: Mon Dec 05, 2011 6:08 pm

Re: Integrator Error Oxygen Version 20

Post by ionela » Tue Apr 17, 2018 3:10 pm

Hello,

The folder where the DITA OT is located needs to have full write access permissions set to it. For example, in Windows, if you are integrating plugins in the DITA OT folder bundled with Oxygen XML Editor and your application is installed in the Program Files folder, you can start the Oxygen XML Editor main executable with administrative rights for the integrator process to be able to modify resources in the DITA OT folder.
Therefore, if Oxygen XML Editor was installed in the default location, you may need to restart and run it as an administrator (right click > 'Run as administrator'):
https://www.oxygenxml.com/doc/versions/ ... rator.html

After the transformation ends make sure you restart Oxygen XML Editor with your normal permissions.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: Integrator Error Oxygen Version 20

Post by thedantanner » Tue Apr 17, 2018 8:14 pm

That was my assumption. After hearing back from you, I met with our IT department and found out that they had applied special permissions on our Oxygen 19 directory. I had them do the same to the Oxygen 20 folder, and that did the trick.

Thanks again.
d

Post Reply