Floating licence applet not working as expected
Posted: Wed Jun 27, 2012 10:36 am
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.