Problems starting oxygen.exe in vista
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 5
- Joined: Fri Feb 22, 2008 2:18 pm
Problems starting oxygen.exe in vista
I can start oxygen using oxygen.bat but not with oxygen.exe.
Path and classpath is ok but the %APPDATA% points to the wrong dir and com.oxygenxml can not be found.
Any idea where this can be set?
Path and classpath is ok but the %APPDATA% points to the wrong dir and com.oxygenxml can not be found.
Any idea where this can be set?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Problems starting oxygen.exe in vista
Post by sorin_ristache »
Hello,
The APPDATA value is not used by oxygen.exe from oXygen 9.1 available on the Download page so it does not matter the wrong value of APPDATA. Starting with the next version of oXygen the value of APPDATA will be used also in oxygen.exe as it is used in oxygen.bat.
Please add a line to the file [oXygen-install-folder]/oxygen.vmoptions with the content:
where you replace <appdata-folder> with the folder where you have the com.oxygenxml folder or where you want to create it on the next start of oxygen.exe. For example <appdata-folder> can be:
Regards,
Sorin
The APPDATA value is not used by oxygen.exe from oXygen 9.1 available on the Download page so it does not matter the wrong value of APPDATA. Starting with the next version of oXygen the value of APPDATA will be used also in oxygen.exe as it is used in oxygen.bat.
Please add a line to the file [oXygen-install-folder]/oxygen.vmoptions with the content:
Code: Select all
-Dcom.oxygenxml.ApplicationDataFolder=<appdata-folder>
Code: Select all
C:\temp\appdata
Regards,
Sorin
-
- Posts: 5
- Joined: Fri Feb 22, 2008 2:18 pm
Re: Problems starting oxygen.exe in vista
Thank you for this infos.
I was hoping to use oxygen.exe on vista but I always get this error:
[code]java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ro.sync.exml.Oxygen.main(Unknown Source)
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:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at ro.sync.ui.application.ApplicationLauncher.<init>(Unknown Source)
... 11 more
Caused by: java.lang.RuntimeException: The preferences directory: C:/Users/pulverst/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors !
at ro.sync.exml.H.k.A(Unknown Source)
at ro.sync.exml.H.k.A(Unknown Source)
at ro.sync.exml.H.k.<init>(Unknown Source)
at ro.sync.exml.H.k.<init>(Unknown Source)
at ro.sync.exml.H.k.J(Unknown Source)
at ro.sync.exml.H.k.E(Unknown Source)
at ro.sync.exml.x.A(Unknown Source)
at ro.sync.net.protocol.sftp.A.<clinit>(Unknown Source)
... 12 more
[/code]
...even when I copy com.oxygenxml to that directory.
Did I miss something?
I was hoping to use oxygen.exe on vista but I always get this error:
[code]java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at ro.sync.exml.Oxygen.main(Unknown Source)
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:597)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at ro.sync.ui.application.ApplicationLauncher.<init>(Unknown Source)
... 11 more
Caused by: java.lang.RuntimeException: The preferences directory: C:/Users/pulverst/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors !
at ro.sync.exml.H.k.A(Unknown Source)
at ro.sync.exml.H.k.A(Unknown Source)
at ro.sync.exml.H.k.<init>(Unknown Source)
at ro.sync.exml.H.k.<init>(Unknown Source)
at ro.sync.exml.H.k.J(Unknown Source)
at ro.sync.exml.H.k.E(Unknown Source)
at ro.sync.exml.x.A(Unknown Source)
at ro.sync.net.protocol.sftp.A.<clinit>(Unknown Source)
... 12 more
[/code]
...even when I copy com.oxygenxml to that directory.
Did I miss something?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Problems starting oxygen.exe in vista
Post by sorin_ristache »
The oXygen application needs write access to the Application Data subfolder of the user home folder for saving the user preferences files on disk. If you specified a different folder for the user preferences with the startup parameter com.oxygenxml.ApplicationDataFolder oXygen tries to write the preferences in this folder.spulver wrote:...Code: Select all
Caused by: java.lang.RuntimeException: The preferences directory: C:/Users/pulverst/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors !
even when I copy com.oxygenxml to that directory.
Does the Windows user who tries to start oXygen have write access to the folder C:/Users/pulverst/Application Data? The error message says that he does not have write access. If that folder is not the location where you want to store the user preferences you should set the folder that you want with the parameter com.oxygenxml.ApplicationDataFolder as specified in a previous post.
Regards,
Sorin
-
- Posts: 5
- Joined: Fri Feb 22, 2008 2:18 pm
Re: Problems starting oxygen.exe in vista
That's is the strange thing. I have full admin rights and even if I set FullControl for Everyone I get the same error message.
If I change the ApplicationDataFolder in the Oxygen.bat file I don't have any access problems:
java -Xss512k -Xmx256m -Dsun.java2d.noddraw=true -Dcom.oxygenxml.ApplicationDataFolder="C:\Users\pulverst\AppData" -cp %CP% ro.sync.exml.Oxygen %1 %2 %3 %4 %5 %6 %7 %8
Only the Oxygen.exe seems to have this problem.
Thanks for your help
Stephan
If I change the ApplicationDataFolder in the Oxygen.bat file I don't have any access problems:
java -Xss512k -Xmx256m -Dsun.java2d.noddraw=true -Dcom.oxygenxml.ApplicationDataFolder="C:\Users\pulverst\AppData" -cp %CP% ro.sync.exml.Oxygen %1 %2 %3 %4 %5 %6 %7 %8
Only the Oxygen.exe seems to have this problem.
Thanks for your help
Stephan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Problems starting oxygen.exe in vista
Post by sorin_ristache »
By default the list folder/read data permission is set to Deny on the folder C:\Users\<user-name>\Application Data where <user-name> is the Vista login name. So you have to remove the Deny line from the list of permissions of the folder C:/Users/pulverst/Application Data/com.oxygenxml before using oxygen.exe.
If you can write a file to the folder set in the parameter com.oxygenxml.ApplicationDataFolder then oXygen should be able to write to the same file too. Do you mean that you can create a file in the directory "C:\Users\pulverst\AppData", you add a line
to oxygen.vmoptions, you try to start oxygen.exe and you get an error that the directory "C:\Users\pulverst\AppData" cannot be accessed?
Regards,
Sorin
If you can write a file to the folder set in the parameter com.oxygenxml.ApplicationDataFolder then oXygen should be able to write to the same file too. Do you mean that you can create a file in the directory "C:\Users\pulverst\AppData", you add a line
Code: Select all
-Dcom.oxygenxml.ApplicationDataFolder="C:\Users\pulverst\AppData"
Regards,
Sorin
-
- Posts: 5
- Joined: Fri Feb 22, 2008 2:18 pm
Re: Problems starting oxygen.exe in vista
Maybe I was not careful enough: it says:
Caused by:
java.lang.RuntimeException: The preferences directory: C:/Users/pulverst/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors ! and there is no folder 'Application Data' in my user directory... is this the default?
Unfortunately I can not create such a folder - Vista prevents that.
You say that Dcom.oxygenxml.ApplicationDataFolder="C:\Users\pulverst\AppData" is not used by Oxygen.exe - so, there is no way to use Oxygen.exe in Vista by now?
Many thanks
Stephan
Caused by:
java.lang.RuntimeException: The preferences directory: C:/Users/pulverst/Application Data/com.oxygenxml
cannot be accessed !/n Please check the read/write access on that folder and its ancestors ! and there is no folder 'Application Data' in my user directory... is this the default?
Unfortunately I can not create such a folder - Vista prevents that.
You say that Dcom.oxygenxml.ApplicationDataFolder="C:\Users\pulverst\AppData" is not used by Oxygen.exe - so, there is no way to use Oxygen.exe in Vista by now?
Many thanks
Stephan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Problems starting oxygen.exe in vista
Post by sorin_ristache »
We can install and run oXygen on our test Windows Vista computer without problems. oXygen reads and writes the user preferences from C:/Users/pulverst/Application Data/com.oxygenxml which is mapped by Vista to C:/Users/pulverst/AppData/Roaming/com.oxygenxml. This is how Vista maps Application Data without setting something special in Vista and this should be the location where oXygen reads and writes the user preferences on your Vista computer. All applications of the current Windows user called pulverst should have the permissions read, write and list folder enabled by default on the folder C:/Users/pulverst/AppData/Roaming. Can you check if you have these permissions?
Regards,
Sorin
Regards,
Sorin
-
- Posts: 5
- Joined: Fri Feb 22, 2008 2:18 pm
Re: Problems starting oxygen.exe in vista
Ok, I was not aware of the Folder Redirection and did not properly examine the path in the error message.
It seems that Application Data is not propperly redirected and by now I'm struggeling activating/finding the Folder Redirection snap-in the GPEDIT.msc (it is simply not there
)
...but I'm getting closer.
So, this has nothing to do with Oxygen at all, but only with my Vista setup.
I like to thank you for your help!
Stephan
It seems that Application Data is not propperly redirected and by now I'm struggeling activating/finding the Folder Redirection snap-in the GPEDIT.msc (it is simply not there


So, this has nothing to do with Oxygen at all, but only with my Vista setup.
I like to thank you for your help!
Stephan
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service