Hi Anjana,

I think we discussed about the solution. This was due to unre-factored
org.wso2.carbon.registry.resource component as chanika mentioned. we should
create a new version of this (with the cc refractory) and use that.

Thanks,
Manoj


*Manoj Kumara*
Software Engineer
WSO2 Inc. http://wso2.com/
*lean.enterprise.middleware*
Mobile: +94713448188


On Wed, May 7, 2014 at 9:43 AM, Anjana Fernando <[email protected]> wrote:

> Guys,
>
> Please ACK! ..
>
> Cheers,
> Anjana.
>
>
> On Tue, May 6, 2014 at 2:19 PM, Chanika Geeganage <[email protected]>wrote:
>
>> Hi,
>>
>> Thanks for the input. By further investigating the issue, the following
>> factors were found
>>
>> CC refacotoring was done in org.wso2.carbon.server.admin component (with
>> r201004) in the patch0007.
>>
>> Modified: carbon/kernel/branches/4.2.0/
>> patches
>> /patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>> URL: http://wso2.org/svn/browse/wso2/carbon/kernel/branches/4.2.0/patches
>> /patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java?rev=201004&r1=201003&r2=201004&view=diff
>>
>> ==============================================================================
>> --- 
>> carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>>  (original)
>> +++ 
>> carbon/kernel/branches/4.2.0/patches/patch0007/core/org.wso2.carbon.server.admin/4.2.0/src/main/java/org/wso2/carbon/server/admin/module/handler/AuthorizationHandler.java
>>  Thu Apr 24 11:47:49 2014
>> @@ -28,7 +28,6 @@
>>  import org.apache.commons.logging.LogFactory;
>>  import org.wso2.carbon.CarbonConstants;
>>  import org.wso2.carbon.context.CarbonContext;
>> -import org.wso2.carbon.context.PrivilegedCarbonContext;
>>  import org.wso2.carbon.user.core.AuthorizationManager;
>>  import org.wso2.carbon.user.core.UserRealm;
>>  import org.wso2.carbon.user.core.UserStoreException;
>> @@ -107,8 +106,8 @@
>>              if (httpSession != null) {
>>                  username = (String)
>> httpSession.getAttribute(ServerConstants.USER_LOGGED_IN);
>>                  UserRealm realm =
>> -                        (UserRealm) PrivilegedCarbonContext.
>> -
>>  getCurrentContext(httpSession).getUserRealm();
>> +                        (UserRealm) CarbonContext.
>> +
>>  getThreadLocalCarbonContext().getUserRealm();
>>
>>                  if (realm == null) {
>>                      log.error("The realm is null for username: " +
>> username + ".");
>>
>>
>>
>> By removing this, registry browsing works fine. But we can't revert this
>> change.
>>
>> In the org.wso2.carbon.registry.resource 4.2.0 component, the CC
>> refactoring was done in an already released version. ie. the commit 186766
>> is not in the artifact deployed in nexus [1].
>>
>> Therefore, as a solution, refactored org.wso2.carbon.registry.resource
>> can be released as the next version (4.2.1) in chunk-10. WDYT?
>>
>> [1]
>> http://maven.wso2.org/nexus/index.html#nexus-search;quick~org.wso2.carbon.registry.resource
>>
>> Thanks
>> Chanika
>>
>>
>> On Tue, May 6, 2014 at 7:42 AM, Shelan Perera <[email protected]> wrote:
>>
>>> Hi Chanika,
>>>
>>> Have you defined any other carbon datasources? Please have a look at [1]
>>> and it may have some clues.
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-2854
>>>
>>>
>>> On Mon, May 5, 2014 at 10:13 PM, Chanika Geeganage <[email protected]>wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm getting a dead page with the following exception when browsing the
>>>> registry in the DSS 3.2.1 with kernel patch 0007.
>>>>
>>>> [2014-05-05 22:04:06,485] ERROR
>>>> {org.apache.catalina.core.ApplicationDispatcher} -  Servlet.service() for
>>>> servlet bridgeservlet threw exception
>>>> java.lang.IllegalArgumentException: [=] is not a hexadecimal digit
>>>>     at
>>>> org.apache.catalina.util.RequestUtil.convertHexDigit(RequestUtil.java:316)
>>>>     at
>>>> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:400)
>>>>     at
>>>> org.apache.catalina.util.RequestUtil.parseParameters(RequestUtil.java:153)
>>>>     at
>>>> org.apache.catalina.core.ApplicationHttpRequest.mergeParameters(ApplicationHttpRequest.java:894)
>>>>     at
>>>> org.apache.catalina.core.ApplicationHttpRequest.parseParameters(ApplicationHttpRequest.java:756)
>>>>     at
>>>> org.apache.catalina.core.ApplicationHttpRequest.getParameter(ApplicationHttpRequest.java:367)
>>>>     at
>>>> javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:184)
>>>>     at
>>>> org.wso2.carbon.ui.CarbonUILoginUtil.getCustomIndexPage(CarbonUILoginUtil.java:153)
>>>>     at
>>>> org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:190)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>>>>     at
>>>> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:785)
>>>>     at
>>>> org.apache.jsp.resources.metadata_005fresourcepath_jsp._jspService(org.apache.jsp.resources.metadata_005fresourcepath_jsp:118)
>>>>     at
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>>>>     at
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
>>>>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>>>     at
>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
>>>>     at
>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
>>>>     at
>>>> org.apache.jsp.resources.resource_jsp._jspService(org.apache.jsp.resources.resource_jsp:316)
>>>>     at
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>>>>     at
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
>>>>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>>>     at
>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
>>>>     at
>>>> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
>>>>     at
>>>> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:689)
>>>>     at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
>>>>     at
>>>> org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
>>>>     at
>>>> org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
>>>>     at
>>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
>>>>     at
>>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
>>>>     at
>>>> org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
>>>>     at
>>>> org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
>>>>     at
>>>> org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
>>>>     at
>>>> org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
>>>>     at
>>>> org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
>>>>     at
>>>> org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
>>>>     at
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
>>>>     at
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
>>>>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>>>     at
>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
>>>>     at
>>>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
>>>>     at
>>>> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
>>>>     at
>>>> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
>>>>     at
>>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
>>>>     at
>>>> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
>>>>     at
>>>> org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
>>>>     at
>>>> org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
>>>>     at
>>>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
>>>>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
>>>>     at
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>>     at
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>>>     at
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>>>     at
>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>>>     at
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
>>>>     at
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
>>>>     at
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
>>>>     at
>>>> org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
>>>>     at
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>>     at
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>>>     at
>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
>>>>     at
>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
>>>>     at
>>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>>>     at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>>>     at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>
>>>> The fix is urgent for the DSS release. Can you please have a look.
>>>>
>>>> --
>>>> Best Regards..
>>>>
>>>> Chanika Geeganage
>>>> Software Engineer
>>>> WSO2, Inc.; http://wso2.com
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Shelan Perera*
>>>
>>> Senior Software Engineer
>>> Integration Technology Group
>>> *WSO2, Inc. : wso2.com <http://wso2.com>*
>>> lean.enterprise.middleware.
>>>
>>> *Blog*             :   blog.shelan.org
>>> *Linked-i*n      :   http://www.linkedin.com/pub/shelan-perera/a/194/465
>>> *Twitter*         :    https://twitter.com/#!/shelan
>>>
>>> *Mobile*          : +94 772 604 402
>>>
>>>
>>
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to