It's all about the answers!

Ask a question

Search user to change owner throw exception


pan tianming (4765644) | asked Jul 13 '11, 1:43 a.m.
We are using RAM version is 7.2.0.2, fix pack 6. When I select an asset to change owner, it will popup a window to search the user , but we always got exception like this when want to search a user by his mail:
CRRAM0001E 464501480 ERROR pagecode.error.Error - javax.faces.FacesException: #{pc_UserSearchDialog.doSearch}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: com/ibm/ram/repository/security/UserSearchUtilities.searchSpecificUsers(Ljava/lang/String;ZLcom/ibm/ram/repository/security/IUser;)Lcom/ibm/ram/common/util/ClosableIterator;
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:302)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:419)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
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:417)
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:45)
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:524)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)
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: java.lang.NoSuchMethodError: com/ibm/ram/repository/security/UserSearchUtilities.searchSpecificUsers(Ljava/lang/String;ZLcom/ibm/ram/repository/security/IUser;)Lcom/ibm/ram/common/util/ClosableIterator;
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:131)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:73)
... 37 more
Caused by: java.lang.NoSuchMethodError: com/ibm/ram/repository/security/UserSearchUtilities.searchSpecificUsers(Ljava/lang/String;ZLcom/ibm/ram/repository/security/IUser;)Lcom/ibm/ram/common/util/ClosableIterator;
at com.ibm.ram.repository.web.users.UserSearchUtilities.searchSpecificUsers(UserSearchUtilities.java:61)
at pagecode.includes.UserSearchDialog.searchUsers(UserSearchDialog.java:190)
at pagecode.includes.UserSearchDialog.doSearch(UserSearchDialog.java:233)
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.MethodBindingImpl.invoke(MethodBindingImpl.java:127)
... 38 more

5 answers



permanent link
Rich Kulp (3.6k38) | answered Jul 13 '11, 10:58 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

There is something corrupted in your installation. That method has never
existed in any release of RAM.

First have you shut down completely and restart? Sometimes that fixes
problems.

When did this start occurring? Immediately after applying testfix 6, or
some other time? Any particular event you can recall?

If not, then the only thing left I can think of is to reinstall 7202,
and then immediately bring down RAM and then reapply the fixpack (though
7202 is now up to testfix 9).

Rich

permanent link
pan tianming (4765644) | answered Jul 14 '11, 2:34 a.m.
Hi Rich,

We have begun to use this test fix 6 for a long time, and not found this problem before. It just happened these days. Do you suggestion to first restart RAM server to check if can resolve this problem, if not then must reinstall whole RAM server again?

Thanks.

permanent link
Rich Kulp (3.6k38) | answered Jul 14 '11, 10:46 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
On 7/14/2011 2:38 AM, pantian wrote:
Hi Rich,

We have begun to use this test fix 6 for a long time, and not found
this problem before. It just happened these days. Do you suggestion
to first restart RAM server to check if can resolve this problem, if
not then must reinstall whole RAM server again?

Thanks.

yes.


But just the RAM EAR and testfix, not whole RAM server. WAS and
everything is fine.

--
Rich Kulp
Rational Asset Manager developer

permanent link
Rich Kulp (3.6k38) | answered Jul 14 '11, 10:47 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
On 7/14/2011 10:46 AM, Rich Kulp wrote:
On 7/14/2011 2:38 AM, pantian wrote:
Hi Rich,

We have begun to use this test fix 6 for a long time, and not found
this problem before. It just happened these days. Do you suggestion
to first restart RAM server to check if can resolve this problem, if
not then must reinstall whole RAM server again?

Thanks.

yes first try restarting RAM, then:

But just reinstall the RAM EAR and testfix, not whole RAM server. WAS and
everything is fine.



--
Rich Kulp
Rational Asset Manager developer

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

I just found out where the method was defined.

It was created for just one internal IBM RAM only and no one else in a
special internal testfix that no one else should have.

If you are that internal RAM customer then that fix is called testfix
901 AND it is only valid when applied on top of testfix 9f. If you are
at testfix 6 then that is completely invalid. If you were at testfix 9f
and applied 901 and then applied 6 it will break.

--
Rich Kulp
Rational Asset Manager developer

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.