Floating licence applet not working as expected
Oxygen general issues.
Floating licence applet not working as expected
I've setup the floating license server using the provided WAR file and I've setup the applet to use this. It works as a standalone applet and connects correctly. However when I embed the applet into our Spring MVC application it fails to connect. I've used fiddler to capture the packets and found the following error.
Fiddler has detected a protocol violation in session #2316.
The Request's Host header did not match the URL's host component.
URL Host: <user>:<password>@ukmy-nfs-02.smg-uk.com:8080
Header Host: ukmy-nfs-02.smg-uk.com:8080
The code I'm using is
factory.init(frameworkZips, optionsZipURL, codeBase, appletID, "http://ukmy-nfs-02.smg-uk.com:8080/oXyg ... se-servlet", "user", "password");
I've also tested the same request that was sent from the applet in chrome and I got a valid license response from the server.
The other problem I have is I've tried to revert to the evaluation license because I have a demonstration this morning and it still trys to get a license from the server.
Fiddler has detected a protocol violation in session #2316.
The Request's Host header did not match the URL's host component.
URL Host: <user>:<password>@ukmy-nfs-02.smg-uk.com:8080
Header Host: ukmy-nfs-02.smg-uk.com:8080
The code I'm using is
factory.init(frameworkZips, optionsZipURL, codeBase, appletID, "http://ukmy-nfs-02.smg-uk.com:8080/oXyg ... se-servlet", "user", "password");
I've also tested the same request that was sent from the applet in chrome and I got a valid license response from the server.
The other problem I have is I've tried to revert to the evaluation license because I have a demonstration this morning and it still trys to get a license from the server.
Re: Floating licence applet not working as expected
Hi Neil,
Quick answer to second problem, I'll be thinking a little longer on the first one:
http://www.oxygenxml.com/doc/ug-oxygen/ ... oting.html
to remove any local settings the applet might have save.
Regards,
Radu
Quick answer to second problem, I'll be thinking a little longer on the first one:
Follow step number (4) from this procedure:The other problem I have is I've tried to revert to the evaluation license because I have a demonstration this morning and it still trys to get a license from the server.
http://www.oxygenxml.com/doc/ug-oxygen/ ... oting.html
to remove any local settings the applet might have save.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Floating licence applet not working as expected
Hi Neil,
I have a hunch why this warning is given:
Basically on the applet side our code creates an URL and connects to it.
In order to provide basic authentication our code sets a new authenticator because this is the usual way to work with the standard Java HTTP connections.
But I think that it might be a possibility that the Spring MVC application might overwrite the "http" protocol with a custom implementation.
Could you save a detailed log of the HTTP communication between the applet embedded in the MVC application and the license servlet and send it to us? (support@oxygenxml.com).
I could also try to remove the warning reported by Fiddler and send you an updated Author Component project but this may not help.
Spring seems to be Eclipse-based, right? How exactly are you embedding the applet in it? Are you embedding the applet in a web page which is opened in it?
Regards,
Radu
I have a hunch why this warning is given:
and we can fix this on our side but I'm not sure if this warning has any relation to your problem.Fiddler has detected a protocol violation in session #2316.
The Request's Host header did not match the URL's host component.
URL Host: <user>:<password>@ukmy-nfs-02.smg-uk.com:8080
Header Host: ukmy-nfs-02.smg-uk.com:8080
Basically on the applet side our code creates an URL and connects to it.
In order to provide basic authentication our code sets a new authenticator because this is the usual way to work with the standard Java HTTP connections.
But I think that it might be a possibility that the Spring MVC application might overwrite the "http" protocol with a custom implementation.
Could you save a detailed log of the HTTP communication between the applet embedded in the MVC application and the license servlet and send it to us? (support@oxygenxml.com).
I could also try to remove the warning reported by Fiddler and send you an updated Author Component project but this may not help.
Spring seems to be Eclipse-based, right? How exactly are you embedding the applet in it? Are you embedding the applet in a web page which is opened in it?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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