Page 1 of 1
Not able to start multiple instances of oXygen
Posted: Mon Jun 12, 2017 8:33 pm
by Martin Honnen
I would like to start multiple instances of oXygen (version XML Editor 19.0, build 2017042020) on Windows 10, I have read
https://www.oxygenxml.com/doc/versions/ ... rties.html and
https://www.oxygenxml.com/doc/versions/ ... m-property, based on that I have edited the oxygen19.0.vmoptions file in the installation directory and added a line
Code: Select all
-Dcom.oxygenxml.MultipleInstances=true
However, once I have started one instance with the Windows desktop icon or from the Windows start menu, any attempt to start a new instance the same way simply focuses the already started instance.
In the about section with system properties I see "com.oxygenxml.MultipleInstances true" set so I am not sure what is wrong with my approach.
Re: Not able to start multiple instances of oXygen
Posted: Tue Jun 13, 2017 4:08 pm
by ionela
Hello,
Unfortunately, on Windows it is not possible to start multiple instances of
oXygen if you start the application with the "
oXygen" launcher (e.g.
oxygen19.0.exe) or the desktop shortcut.
You can start multiple instances of
oXygen if you are using the command line startup script "
oxygen.bat" to start the application. In this startup script you need to add the system property you have indicated (you can add the parameter after
%OXYGEN_JAVA% token):
Code: Select all
-Dcom.oxygenxml.MultipleInstances=true
After that you should be able to open multiple instances of oXygen if you start the application using
oxygen.bat.
I hope this helps.
Regards,
Ionela
Re: Not able to start multiple instances of oXygen
Posted: Tue Jun 13, 2017 5:04 pm
by Martin Honnen
Thanks, editing and using the .bat works fine to open multiple instances. Is there a way to call the .bat passing in a project file to open that particular project?
Re: Not able to start multiple instances of oXygen
Posted: Tue Jun 13, 2017 6:45 pm
by adrian
Hi,
Code: Select all
call oxygen.bat "x:\path\to\my\project.xpr"
Regards,
Adrian
Re: Not able to start multiple instances of oXygen
Posted: Tue Mar 19, 2019 9:27 am
by TplusG
Hi, I edited the .bat file, but when I execute it, seeing the following error.
Code: Select all
Cannot start <oXygen/> XML Author.
Due to:java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.d(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
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 ro.sync.exml.Oxygen.main(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no jacob-1.17-M2-x86 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:184)
at com.jacob.com.JacobObject.<clinit>(JacobObject.java:107)
at com.sdl.trisoft.triab.AuthoringBridge.onInit(AuthoringBridge.java:47)
at com.sdl.trisoft.oxygen.CustomWorkspaceAccessPluginExtension.applicationStarted(CustomWorkspaceAccessPluginExtension.java:35)
at ro.sync.exml.MainFrame.hvn(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
at ro.sync.exml.MainFrame.<init>(Unknown Source)
... 11 more
Re: Not able to start multiple instances of oXygen
Posted: Tue Mar 19, 2019 11:44 am
by adrian
Hi,
You have a third party plugin (com.sdl.trisoft.triab.AuthoringBridge) that fails on Oxygen startup and prevents Oxygen from starting. Please remove that plugin's folder and try again. Plugins can be found either in Oxygen/plugins folder or (for Windows) C:\Users\<username>\AppData\Roaming\com.oxygenxml\extensions\vVV.V\plugins (where vVV.V is the version, e.g. v20.1).
Regards,
Adrian