Open file in the same instance of Author
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Open file in the same instance of Author
Hello,
xml files are associated with Oxygen Author so when they are double clicked in Windows explorer, they are opened in Author. While to almost all users new document is opened in running instance, there is one PC with Vista 32bit, where each document is opened in separate instance. Now it is workarounded using drag & drop to Windows taskbar or opening via File menu. I have no idea why this one behaves differently. It uses the same version, 10.3, downloaded and installed just yesterday. Could be there something wrong during installation? What settings should we check?
Thanks in advance.
Jan
xml files are associated with Oxygen Author so when they are double clicked in Windows explorer, they are opened in Author. While to almost all users new document is opened in running instance, there is one PC with Vista 32bit, where each document is opened in separate instance. Now it is workarounded using drag & drop to Windows taskbar or opening via File menu. I have no idea why this one behaves differently. It uses the same version, 10.3, downloaded and installed just yesterday. Could be there something wrong during installation? What settings should we check?
Thanks in advance.
Jan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Open file in the same instance of Author
Post by sorin_ristache »
Hello,
Is a firewall or antivirus application blocking local connections of the applications running on that computer? If yes you have to allow connections to local ports for the Author application. The second instance of Author tries to see if there is a first instance already running by checking a local port and pass the file to that first instance for opening. If the second instance cannot connect to the local port it assumes there is no instance already running so the Author application is started for opening that file.
Regards,
Sorin
Is a firewall or antivirus application blocking local connections of the applications running on that computer? If yes you have to allow connections to local ports for the Author application. The second instance of Author tries to see if there is a first instance already running by checking a local port and pass the file to that first instance for opening. If the second instance cannot connect to the local port it assumes there is no instance already running so the Author application is started for opening that file.
Regards,
Sorin
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Re: Open file in the same instance of Author
Thanks for explanation. We have tried to switch Windows Defender off (our Antivirus has not blocking mechanisms), but issue still persist. Is there something other what can prevent opening port for Oxygen? Alternatively, is there any diagnostic utility for detection of ports state?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Open file in the same instance of Author
Post by sorin_ristache »
If an Author instance is already running please check if it occupied one of the ports 30008 and 31011. Is any application blocking the connection that the second instance tries to create to this port?
Regards,
Sorin
Regards,
Sorin
-
- Posts: 176
- Joined: Wed Apr 29, 2009 4:55 pm
Re: Open file in the same instance of Author
I've tested ports using MS utility PortQry. If Author is running, it occupies port 30009. If another file is opened, no new port is created, but this file is opened in another instance. If Author is closed, port is released. So I think there is no problem to occupy port, but to communicate with it later.
On other computers the port number and behaviour is the same, but opening of other files is in the same instance. Strange.
Jan
On other computers the port number and behaviour is the same, but opening of other files is in the same instance. Strange.
Jan
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Open file in the same instance of Author
Post by sorin_ristache »
That is impossible. If the second instance does not find the first instance by connecting to a port allocated to the first instance it tries to bind to the same port as it tried to connect or to another port if it cannot bind to the first one. If it cannot bind to any port it displays an error message and exits.honyk wrote:If another file is opened, no new port is created, but this file is opened in another instance.
Please check again the ports allocated to applications on that computer. A failure to connect to the port of the first instance occurs only if other application forbids that connection. Usually that is a firewall or antivirus application.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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