Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE Server APP license

 I have deployed a new environment with two instances. One for the license server (8.1.4 iFix05) with RPE evaluation license file, and the second with RPE 2.1.1 (tomcat/derbi).


The environment variable TELELOGIC_LICENSE_FILE is set correctly.

But, when my attempts to login fail with an error which leads to a license issue.

Your assistance will be greatly appreciated.

Liora

0 votes

Comments

What exactly is the license issue? Cannot get a license, or the license is invalid?

 Attached the screen shot of the error. RPE login error

<style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px} span.s1 {font-variant-ligatures: no-common-ligatures} </style>

License Server Status:


[ec2-user@ip-10-0-0-105 bin]$ ./lmstat  -a

lmstat - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.

Flexible License Manager status on Thu 1/12/2017 00:59


License server status: 27000@ip-10-0-0-105.eu-west-1.compute.internal

    License file(s) on ip-10-0-0-105.eu-west-1.compute.internal: /opt/IBM/RationalRLKS/config/server_license.lic:/opt/IBM/RationalRLKS/config/rational_server_temp.dat:/opt/IBM/RationalRLKS/config/rational_server_perm.dat:


ip-10-0-0-105.eu-west-1.compute.internal: license server UP (MASTER) v11.13


Vendor daemon status (on ip-10-0-0-105.eu-west-1.compute.internal):


   ibmratl: UP v11.13

Feature usage info:


Users of RPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)


Users of TPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)


 telelogic: UP v11.13

Feature usage info:


Users of RPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)


Users of TPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)


  rational: UP v11.13

Feature usage info:


Users of RPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)


Users of TPE_PUBLISH:  (Total of 1 license issued;  Total of 0 licenses in use)




5 answers

Permanent link

Hi Liora,

Given that you are running RPE on Tomcat, I support it is RPE Document Builder (remote server). For Document Builder , you must set the TELELOGIC_LICENSE_FILE environment variable on your application server. See how to set the environment variable in Tomcat http://tomcat.apache.org/tomcat-7.0-doc/RUNNING.txt

Also please note that you will need at least 2 licenses to generate document remotely (one for login, and one for doc generation). I am not sure if the old TPE_PUBLISH can be used for the latest 2.1.1. http://www.ibm.com/support/knowledgecenter/SS6RHZ_2.1.1/com.ibm.rational.pe.install.doc/topics/c_requirements_licensing.html

0 votes


Permanent link

The environment variables are set by the tomcat chef resource (I am deploying RPE with chef).


tomcat_service 'rpe' do

  action [:enable:start]

  env_vars [{ "TELELOGIC_LICENSE_FILE" => "27000@#{rcl_server_hostname}" }, { "JAVA_HOME" => "/opt/ibm/Rational/Publishing Engine/jre" }]

  tomcat_user 'tomcat_rpe'

  tomcat_group 'tomcat_rpe'

end

0 votes


Permanent link

Hi Liora,

Are you sure if this is a licensing problem. I remember I got 400 error for licensing problem, not 403 error.
Please check Tomcat log (eg. catalina-[date].log), RPE log (rpeng.log and dgaas.log located in %TEMP location), and lmgrd.log in License server.

Also do you disable the firewall on License server temporarily? There is a second random port # (apart from 27000) used for ibmratl deamon. If it is blocked by firewall, you cannot obtain the license.

0 votes


Permanent link

Two issues are reported in rpeng.log:


Error while initializing the server.

javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException

Internal Exception: java.sql.SQLException: Failed to create database 'RPENG_DB'


the second one is repeated on every login:

[http-nio-8080-exec-8] RPENG cannot release license for liora


I have reason to believe the first one is because tomcat is not run as root.


0 votes

Comments

 When checking the license server status from the application box:


 ./lmutil lmdiag


License file: 27000@10.0.0.224

"RPE_PUBLISH" v2018.0108, vendor: telelogic, expiry: 30-mar-2017

  License server: 10.0.0.224

  floating license  starts: 0-jan-0,   expires: 30-mar-2017


This license can be checked out


Permanent link

 I figured out the problem. I had to configure users for Document Builder on Apache Tomcat.


Thanks

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 11 '17, 6:57 p.m.

Question was seen: 2,841 times

Last updated: Jan 13 '17, 11:43 a.m.

Confirmation Cancel Confirm