It's all about the answers!

Ask a question

License Manager informations


Rogério Ramos da Silva (33512827) | asked Mar 04 '11, 5:33 p.m.
On the Licenses Manager is possible to see how many licenses are used and available. About it:

1. These informations are online or updated in a such period of time
2. If the web or webservice session expires - not logout action by user, the license is returned to the pool of available licenses
3. The timeout of license use can be changed
4. What is the connection way amongst RAM and RLSK? Sockets (TCP/UDP), HTTP, others...

12 answers



permanent link
Gili Mendel (1.8k56) | answered Mar 09 '11, 1:49 p.m.
JAZZ DEVELOPER
Yes.

You can see lic. usage from the RAM Administration->License Management page.

If you have more than one RAM server instance that is sharing lic. from the Lic. server, you can go to the Lic. Server itself and see what is checked to which RAM server instance.

The information is reflection of the current lic. state.

Once a user acquired a lic. It will stay as long as the user has one (or more) active sessions with the server. WAS server session timeout is 30min (and can be override).

Typical connection to RAM are HTTP on on TCP/IP.

permanent link
Rogério Ramos da Silva (33512827) | answered Mar 09 '11, 3:10 p.m.
Yes.

You can see lic. usage from the RAM Administration->License Management page.


The RAM's Admins always looking at RAM Administration -> Tools / License Management to verify the behavior between sessions and checked-out lic, as the environment is under a HA Webserver provided by one appliance, they never know in which RAM's instance they are.


If you have more than one RAM server instance that is sharing lic. from the Lic. server, you can go to the Lic. Server itself and see what is checked to which RAM server instance.


Accessing each instance individually, is it possible to be shown different values?


The information is reflection of the current lic. state.


Is The current lic. state per instance?


Once a user acquired a lic. It will stay as long as the user has one (or more) active sessions with the server. WAS server session timeout is 30min (and can be override).

In our case, the WAS server session timeout is 15min, thus the lic. server is driven by these sessions and never by itself, all right?


Typical connection to RAM are HTTP on on TCP/IP.

Even when the RAM connects on the lic. server to acquire a available lic.? As the lic. server is plataform dependent, this doubt persist yet.

permanent link
Rich Kulp (3.6k38) | answered Mar 09 '11, 4:23 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
And also please list the exact version of RAM you have installed. That
would affect the answer.

--
Rich Kulp
Rational Asset Manager developer

permanent link
Rich Kulp (3.6k38) | answered Mar 09 '11, 4:23 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Please, what is the exact problem you think you are having? Your
questions are very general, but you appear to be referring to a specific
problem you are having.


--
Rich Kulp
Rational Asset Manager developer

permanent link
Rogério Ramos da Silva (33512827) | answered Mar 09 '11, 4:53 p.m.
Hi,

Please, what is the exact problem you think you are having? Your
questions are very general, but you appear to be referring to a specific
problem you are having.


--
Rich Kulp
Rational Asset Manager developer


Environment:

RAM 7.5.0.1
RTC 2.0.0.2
RLKS 8.1.1
WAS 6.1
AIX 6

Problem 1:

On the Management License the licenses looks as they never are checked-in to the lic. server.
Accessing RAM Adminstration -> Tools -> Web server sessions or Webservice session, I found only one user connected
After, accessing RAM Adminisrtration -> Management Licenses, 3 licenses appears in use

Conclusion:

If a license is checked-in to the lic. server when the session expires, the Management Licenses page should "saying me" 1 license in use.

Problem 2:

Sometimes when I run a policy that uses the RAM API, I get the error "Connection reset" from java.net, two causes are known:

- Failure on communication between RAM and RLKS
- When a license is acquired while WAS is lauching

Conclusion:

The uptime of WAS is greater than the period where the problem was detected, so the failure on communication should be the problem. To know how the communication occurs can help us to identify the root causes of problem.

permanent link
Rich Kulp (3.6k38) | answered Mar 09 '11, 6:38 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Problem 1:

Tools -> Web sessions only shows the Web sessions, there are also Web
Services sessions (used by the Eclipse and Rich Client) that are shown
using the other link on that page. Those sessions also are counted in
the checked out license count.

A license can be checked out by either a logged in user or a non-logged
in user. When a logged in user logs out of ALL sessions they may have
(both Web and Web services) the logged in users licenses are checked
back in. If they never explicitly log out then it waits for sessions to
timeout (default 30 minutes). When all of the sessions have timed out
the licenses will be checked back in.

Non-logged in user sessions ARE NOT listed on the Web/Web services
sessions page.

BUT, in 7501 there is a bug with non-logged in users. If a non-logged in
user checks out a license, but then never subsequently logs in on the
same session, those licenses are never checked back in. If a non-logged
in user does eventually log in, any licenses that they held while being
non-logged in for that session are correctly checked back in.

The latest testfix for 7501, testfix 3a, which was just released March
4, 2011, fixes this problem. With this test fix installed when all of
the non-logged in user's sessions expire then their licenses will be
checked back in.


---

Problem 2:

I have no idea what this is or what the problem could be.

Rich

permanent link
Rogério Ramos da Silva (33512827) | answered Oct 24 '11, 5:22 p.m.
In response to last post, about Problem 2, I'd the possible cause:

The first set of licenses was floating licenses, any news about it. After we tried the original set bought: Authorized Publisher, so we set for each user your license.

In a other moment, we go back to floating license due to probe the difference on maintain one and other kind of licenses.

As a user was previous designed to use a authorized license and currently all system are using floating licenses, RAM looks like a litlle lost with this couple of changes. All of that was configured in a version 7.5.0.1 and the better license manager wasn't available like now on 7.5.0.2 and it was impossible to remove the users from older license method.

The current messages on log are:

...a authorized user publisher to enterprise edition was not found....
...java.net.NetworkingException ...; connection reset...

Can be theses lots of changes the root cause?

For now, I could remove all user that had authorized licenses related, and I 'm monitoring to know if this problem go back.

- Rogrio

permanent link
Rich Kulp (3.6k38) | answered Oct 24 '11, 7:40 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Can I see more of the log? You should be getting that message on the
Server log that the authorized publisher license wasn't found, but it
should not of terminated due to this. It should of just gone on and
treated this as a regular user and use floating licenses as required.

So, please show me more the log on both the server and the client at
this point in time to see what the real error is.
--
Rich Kulp
Rational Asset Manager developer

permanent link
Rogério Ramos da Silva (33512827) | answered Oct 25 '11, 10:44 a.m.

Can I see more of the log? You should be getting that message on the
Server log that the authorized publisher license wasn't found, but it
should not of terminated due to this. It should of just gone on and
treated this as a regular user and use floating licenses as required.

So, please show me more the log on both the server and the client at
this point in time to see what the real error is.


Actually, the authorized publisher licenses aren't available, only floating licenses. The previous definition of authorized licenses and users x licenses association was kept. These associations only were removed after the problem and our suspicious happened.

The logs:

SystemErr.log


00004dc8 SystemErr R Could not create repository identification
000002d6 SystemErr R ; nested exception is:
java.net.SocketException: Connection reset
00004dc7 SystemErr R ; nested exception is:
java.net.SocketException: Connection reset
000050ad SystemErr R ; nested exception is:
java.net.SocketException: Connection reset
00004dc7 SystemErr R ; nested exception is:
java.net.SocketException: Connection reset
00004d5a SystemErr R ; nested exception is:
java.net.SocketException: Connection reset


SystemOut.log

00004d5a SystemOut O 2657938716 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."
00004dc8 LTPAServerObj W SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Fri Oct 21 10:17:00 BRST 2011, current Date: Fri Oct 21 12:45:50 BRST 2011.
...(6 times repeated LPTA log - suppressed) ...
00004b5a LTPAServerObj W SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Fri Oct 21 10:17:00 BRST 2011, current Date: Fri Oct 21 12:45:51 BRST 2011.
00004dc8 LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
00004ddc LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
00004d5a SystemOut O 2662479718 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - No foi localizada uma licena para a licena "Usurio autorizado do publicador da edio corporativa."
00004b55 SystemOut O CRRAM0001E 2663347465 ERROR web com.ibm.ram.project.policy.PolicyHexa - The detailed error occurs: ; nested exception is:
java.net.SocketException: Connection reset
000001fa LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
00004b55 SystemOut O 2663545679 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - No foi localizada uma licena para a licena "Usurio autorizado do publicador da edio corporativa."
00004b55 SystemOut O CRRAM0001E 2663982744 ERROR web pagecode.assetDetail.AssetDetailBase - com.ibm.ram.repository.core.IRepositoryAccess$UserGroupNotFoundException: O grupo de usurio "1035" no foi localizado.
00004dc7 LTPAServerObj W SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Fri Oct 21 13:28:00 BRST 2011, current Date: Fri Oct 21 13:49:15 BRST 2011.
... (14 times repeated LPTA log - suppressed) ...
00004dc8 LTPAServerObj W SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Fri Oct 21 13:28:00 BRST 2011, current Date: Fri Oct 21 13:50:25 BRST 2011.
00004b5a LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
000002d6 SystemOut O RAMSession was released at policy Poltica de identificao do criador do servio.
000002d6 SystemOut O Estado do ativo: Identificado na execucao da politica Poltica de identificao do criador do servio
000050ac jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 000050ac jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 000050ab jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 00004b5a jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 00004d5a LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
00004d5a jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 000050ab jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 00004dc7 SystemOut O RAMSession was released at policy Poltica de identificao do criador do servio.
00004dc7 SystemOut O Estado do ativo: Identificado na execucao da politica Poltica de identificao do criador do servio
000050ac jsf W com.sun.faces.context.FacesContextImpl addMessage Adding Message 000050ac ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /search/index.jsp. Exception thrown : javax.servlet.ServletException: An error occurred while getting property "JSLayers" from an instance of class com.ibm.ram.repository.web.navigation.NavigationLinkManager
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
at com.ibm._jsp._index._jspService(_index.java:356)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
---- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
000050ac ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: FilterProxyServlet. Exception thrown : javax.servlet.ServletException: An error occurred while getting property "JSLayers" from an instance of class com.ibm.ram.repository.web.navigation.NavigationLinkManager
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
at com.ibm._jsp._index._jspService(_index.java:356)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
---- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
000050ac WebApp E -: java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
00004dc7 SystemOut O CRRAM0001E 2666281349 ERROR web pagecode.error.Error - 162D04BF-A63F-FFA1-920B-22AA4C5E2DD7 - java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
00004dc7 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: /search/index.jsp. Exception thrown : javax.servlet.ServletException: An error occurred while getting property "JSLayers" from an instance of class com.ibm.ram.repository.web.navigation.NavigationLinkManager
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
at com.ibm._jsp._index._jspService(_index.java:356)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
---- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
00004dc7 ServletWrappe E SRVE0068E: Uncaught exception thrown in one of the service methods of the servlet: FilterProxyServlet. Exception thrown : javax.servlet.ServletException: An error occurred while getting property "JSLayers" from an instance of class com.ibm.ram.repository.web.navigation.NavigationLinkManager
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:658)
at com.ibm._jsp._index._jspService(_index.java:356)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
---- Begin backtrace for Nested Throwables
java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
00004dc7 WebApp E -: java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
000050ab SystemOut O CRRAM0001E 2666308393 ERROR web pagecode.error.Error - FF0E724D-BB1A-BC38-6DA1-075E2D70C0CD - java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
000050ac SystemOut O 2666794115 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."
0000003c SystemOut O CRRAM0001E 2666808900 ERROR web com.ibm.ram.project.policy.PolicyHexa - The detailed error occurs: ; nested exception is:
java.net.SocketException: Connection reset
0000003c LdapRegistryI A SECJ0419I: The user registry is currently connected to the LDAP server ldap://server.LDAP:389.
00004d5a SystemOut O 2667214211 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."


ramDebug.log

2657938716 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."
2662479718 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - No foi localizada uma licena para a licena "Usurio autorizado do publicador da edio corporativa."
CRRAM0001E 2663347465 ERROR web com.ibm.ram.project.policy.PolicyHexa - The detailed error occurs: ; nested exception is:
java.net.SocketException: Connection reset
2663545679 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - No foi localizada uma licena para a licena "Usurio autorizado do publicador da edio corporativa."
CRRAM0001E 2663982744 ERROR web pagecode.assetDetail.AssetDetailBase - com.ibm.ram.repository.core.IRepositoryAccess$UserGroupNotFoundException: O grupo de usurio "1035" no foi localizado.
CRRAM0001E 2666281349 ERROR web pagecode.error.Error - 162D04BF-A63F-FFA1-920B-22AA4C5E2DD7 - java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)

CRRAM0001E 2666308393 ERROR web pagecode.error.Error - FF0E724D-BB1A-BC38-6DA1-075E2D70C0CD - java.lang.NullPointerException
at com.ibm.ram.repository.web.JSLayers.getJSLayers(JSLayers.java:66)
at com.ibm.ram.repository.web.navigation.NavigationLinkManager.getJSLayers(NavigationLinkManager.java:531)
... (suppressed lines) ...
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)

2666794115 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."
CRRAM0001E 2666808900 ERROR web com.ibm.ram.project.policy.PolicyHexa - The detailed error occurs: ; nested exception is:
java.net.SocketException: Connection reset
2667214211 WARN web com.ibm.ram.repository.security.SecurityManager - For user: XXXXXXX:CRRAM2002E - The license is not found for license "Enterprise edition publisher authorized user."


permanent link
Rich Kulp (3.6k38) | answered Oct 25 '11, 11:05 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

Unfortunately the trace doesn't give any information as to why the
connection was really reset. The message about not finding Authorized
Publisher license is just a warning, not an error, and should not of
caused anything to fail.

But from the code it looks like your RAMClient session is running inside
a policy within RAM itself. So, is the RAMClient trying to contact back
to the same RAM it is running in? Are you running inside a cluster or a
single server? If you are in cluster the error logs may actually be on a
different server.

Could you please give me the complete stack trace of the connection
reset, not just the first line?

Rich

Your answer


Register or 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.