It's all about the answers!

Ask a question

Problem config RAM


Josué Borges (2631) | asked Mar 30 '10, 9:02 a.m.
I installed the RAM but I can not use it as an administrator tool.
I have the admin profile Websphere, LDAP, and the Jazz Server RAM Lifecyrcle (project area manager of Jazz Server).
When trying to log into the RAM I get the error message "An unexpected error has occurred."

Does anyone know why this problem?

Following is the log:

javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'eeConsumerLicenseAllowed' from bean of type pagecode.includes.Preferences: java.lang.NullPointerException
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:170)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:123)
at javax.faces.component.html.HtmlSelectBooleanCheckbox.isDisabled(HtmlSelectBooleanCheckbox.java:113)
at com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:230)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:175)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeEnd(DefaultAjaxRenderer.java:83)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:492)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:143)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeChildren(DefaultAjaxRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
at com.ibm.faces.renderkit.html_extended.Utils.encodeComponent(Utils.java:184)
at com.ibm.faces.renderkit.html_extended.Utils.encodeChildren(Utils.java:172)
at com.ibm.faces.renderkit.html_extended.FormItemRenderer.writeContent(FormItemRenderer.java:492)
at com.ibm.faces.renderkit.html_extended.FormItemRenderer.encodeEnd(FormItemRenderer.java:244)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeEnd(DefaultAjaxRenderer.java:83)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
at com.ibm.faces.renderkit.html_extended.FormBoxRenderer.encodeRecursive(FormBoxRenderer.java:297)
at com.ibm.faces.renderkit.html_extended.FormBoxRenderer.encodeChildren(FormBoxRenderer.java:229)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeChildren(DefaultAjaxRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:614)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:551)
at com.ibm.faces.taglib.html_extended.PanelFormBoxTag.doEndTag(PanelFormBoxTag.java:240)
at com.ibm._jsp._register._jspx_meth_hx_panelFormBox_0(_register.java:1246)
at com.ibm._jsp._register._jspx_meth_hx_scriptCollector_1(_register.java:1269)
at com.ibm._jsp._register._jspx_meth_hx_viewFragment_0(_register.java:1292)
at com.ibm._jsp._register._jspx_meth_h_form_0(_register.java:1418)
at com.ibm._jsp._register._jspx_meth_hx_scriptCollector_0(_register.java:1496)
at com.ibm._jsp._register._jspx_meth_f_view_0(_register.java:1537)
at com.ibm._jsp._register._jspService(_register.java:183)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RAMServletFilter.java:418)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ram.repository.web.filters.GZipFilter.doFilter(GZipFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by: javax.faces.el.EvaluationException: Error getting property 'eeConsumerLicenseAllowed' from bean of type pagecode.includes.Preferences: java.lang.NullPointerException
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:90)
at com.ibm.faces.databind.SelectItemsPropResolver.getValue(SelectItemsPropResolver.java:41)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.UnaryOperatorExpression.evaluate(UnaryOperatorExpression.java:167)
at com.sun.faces.el.impl.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:177)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:249)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:140)
... 80 more
Caused by: java.lang.NullPointerException
at com.ibm.ram.license.LicenseManager.getFeatureUsages(LicenseManager.java:1101)
at com.ibm.ram.license.LicenseManager.getAvailableLicenses(LicenseManager.java:1077)
at pagecode.includes.Preferences.getUserAuthorizedCounts(Preferences.java:407)
at pagecode.includes.Preferences.isEeConsumerLicenseAllowed(Preferences.java:445)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:80)
... 87 more

7 answers



permanent link
Rich Kulp (3.6k38) | answered Mar 30 '10, 9:45 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi, what version of RAM did you install?

In 7.2.0.2 for a brand new RAM installation you would of gotten a 60 day trial license and not gotten this error.

But the problem is due to a bug where there are no licenses installed. It is expected to have at least one consumer and one publisher license available in the system. For a workaround go get a consumer and publisher license (assigned license, not floating) and install them.

I opened a defect for this and put you on copy:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/30372

permanent link
Josué Borges (2631) | answered Mar 30 '10, 10:29 a.m.
Hi, what version of RAM did you install?

In 7.2.0.2 for a brand new RAM installation you would of gotten a 60 day trial license and not gotten this error.

But the problem is due to a bug where there are no licenses installed. It is expected to have at least one consumer and one publisher license available in the system. For a workaround go get a consumer and publisher license (assigned license, not floating) and install them.

I opened a defect for this and put you on copy:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/30372


Hi Rich,
Thanks for reply.
I install the version 7.2.0.2.

This set the following licenses:

License Status (Jazz Team Server)
- Server License Rational Jazz Team Server - Enterprise
- Server License Status Permanent
- Floating License Server Not Configured
- Floating License Client Not Configured

And the IBM Rational License Key Administrator is set up:

- IBM Rational Asset Manager Enterprise Edition Svr License Key (Floating) - Temporary - 100 units
- IBM Rational Asset Manager License Key (Floating) - Temporary - 100 units

Where can I get the 60 trial license that you mentioned?

Thanks again!

permanent link
Rich Kulp (3.6k38) | answered Mar 30 '10, 10:41 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

It's too late for the trial license. Once you changed it in Server setup
to point to a license manager the trial license is no longer valid.

For the workaround you'll need to go the license center and get one
publisher CAL and one consumer CAL for RAM.

And the IBM Rational License Key Administrator is set up:

- IBM Rational Asset Manager Enterprise Edition Svr License Key
(Floating) - Temporary - 100 units
- IBM Rational Asset Manager License Key (Floating) - Temporary - 100
units

Where can I get the 60 trial license that you mentioned?

Thanks again!

permanent link
Josué Borges (2631) | answered Mar 30 '10, 11:39 a.m.
Hi,

It's too late for the trial license. Once you changed it in Server setup
to point to a license manager the trial license is no longer valid.

For the workaround you'll need to go the license center and get one
publisher CAL and one consumer CAL for RAM.

And the IBM Rational License Key Administrator is set up:

- IBM Rational Asset Manager Enterprise Edition Svr License Key
(Floating) - Temporary - 100 units
- IBM Rational Asset Manager License Key (Floating) - Temporary - 100
units

Where can I get the 60 trial license that you mentioned?

Thanks again!


I managed to install licenses in Collaborator Publish and IBM Rational License Server and the problem was solved!
Thank you for your attention!

permanent link
Vidya Sivadas (6) | answered Apr 07 '10, 1:45 a.m.
Hi,

I have one query regarding the installation of RAM 7.2.0.2.

I have installed RAM 7.2.0.2. in Windows through web install.While configuring RAM Server,what should be given for License server?

Also where should I get the 60 day trail license.

Please help me in this regard.


Thanks & Regards,
Vidya

permanent link
Derek Baron (6632) | answered Apr 07 '10, 9:59 a.m.
JAZZ DEVELOPER
Hi,

I have one query regarding the installation of RAM 7.2.0.2.

I have installed RAM 7.2.0.2. in Windows through web install.While configuring RAM Server,what should be given for License server?

Also where should I get the 60 day trail license.

Please help me in this regard.


Thanks & Regards,
Vidya


The 60 day trial is active from the moment you install. You shouldn't modify the License Server information until you are ready to use real licenses (probably after your trial expires).

permanent link
Rich Kulp (3.6k38) | answered Apr 08 '10, 10:21 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

The 60 day license is automatic. It is there on the install. Do not fill
in the license server field or you will wipe out the trial license. Once
you apply a license server the trial license is destroyed and cannot be
recovered.

On 4/7/2010 1:52 AM, vidyasivadas wrote:
Hi,

I have one query regarding the installation of RAM 7.2.0.2.

I have installed RAM 7.2.0.2. in Windows through web install.While
configuring RAM Server,what should be given for License server?

Also where should I get the 60 day trail license.

Please help me in this regard.


Thanks& Regards,
Vidya

Your answer


Register or to post your answer.