Author Message
Aravind.Subramanian
Joined: Mar 26, 2017
Messages: 24
Offline
Environment detail:
Orchestration designer: 7.2.3
Tomcat 9.0.8
JDK: 1.8

I have installed Tomcat in the server as a Tomcat service and trying to update the WebLM license in runtimeconfig. Whenever I tried to update the WebLM url, getting an error message and the license is not fetched and not getting updated.

I ran the Tomcat using command prompt (not as a service) and tried to update the WebLM license url in the runtimeconfig, I am successfully able to update the license url and able to see license details.

Please note that the Tomcat Service is running as Service account. Even tried changing the access to local and getting the same behavior.

Kindly let me know, am I missing any steps here to configure the License url? May I know why I am not able to update the license when I run Tomcat as a service?
DenisR
Joined: Dec 23, 2015
Messages: 4
Offline
The same problem.
Configured https://x.x.x.x:52233/WebLM/LicenseServer in the License URL field.
By opening WebLM page for Verify it inserts double url
https://x.x.x.x:52233/WebLM/LicenseServer/WebLM/LicenseServer
I think that sw bug.

:\
DenisR
Joined: Dec 23, 2015
Messages: 4
Offline
runtimeconfig uses function for appending string '/WebLM/LicenseServer' to license server URL:

function verifyReadOnly()

{
var licenseServerURL = document.verifyURL.licenseurl.value;
window.open(licenseServerURL + '/WebLM/LicenseServer'); }


Use fqdn or ip-address WebLM server.



Aravind.Subramanian
Joined: Mar 26, 2017
Messages: 24
Offline
Thanks Denis for your comments.

The real issue here is when I run the Tomcat as a service it is not updating the license url and not fetching license details and getting the error message as License Url is invalid, or server is not up. If I run the same Tomcat using startup.bat and configured the weblm url in runtimeconfig, it is fetching the license details using the same url.

I am wondering what is causing the issue and why license url is not getting updated if the Tomcat instance run as a service.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
There are two things to check. Check 2 specifically when running Tomcat as Windows service:

1. The WebLM folder and subfolder “admin” should be manually created under tomcat webapps and trustedcert.properties file is copied from lib to here.

2. The CATALINA_HOME environment variable needs to be setup in the application server where Tomcat is running. In our case, it is Windows server.
Aravind.Subramanian
Joined: Mar 26, 2017
Messages: 24
Offline
Thank you WilsonYu, your suggestion worked fine :).
DenisR
Joined: Dec 23, 2015
Messages: 4
Offline
Thanks!

Ok. Take a look two screenshots.
Licenses runtimeconfig version 7.1 and 7.23 at EPM servers relevant version.

Find any differences.

7.1 need '/WebLM/LicenseServer' at URL
7.23 not need.

Not a very good idea to change function at minor update.
May be known the doc/whitepaper/notice/etc.?
  • [Thumb - 7.23.png]
[Disk] Download
  • [Thumb - 7.10.png]
[Disk] Download
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
You can omit or have "/WebLM/LicenseServer" in the url. Both ways will work. The change just makes easier.
DenisR
Joined: Dec 23, 2015
Messages: 4
Offline
I'm sorry, incorrectly described the problem.
Another two screenshots in attachements.
I entered URL with string '/WebLM/LicenseServer'

'Change URL License Server.png'

and pressed 'Verify'. It opened new page with wrong address.

'Verify URL.png'

But the licenses updates correctly after closing this page without verifying URL.

Sorry for possible inconveniences. Please, show my mistake.

  • [Thumb - Change URL License Server.png]
[Disk] Download
  • [Thumb - Verify URL.png]
[Disk] Download
Go to:   
Mobile view