On Fri, Aug 13, 2010 at 11:50 AM, Murat Birben <muratbir...@gmail.com>wrote:

> Hi all,
>
> I'm working with greg-3.5.0 and i have a sample code which uses remote
> registry to get resources from GREG. However after some time greg gives the
> following error and i can not see anything in this exception about my code.
>
> Is this a bug? Does any one has an idea about this exception?
>

Can you attach the log files and the entire console output? Also, is this
the only exception that you get?

Thanks,
Senaka.

>
> Here is the exception output:
> ERROR -  Servlet.service() for servlet bridgeservlet threw exception
> {org.apache.catalina.core.ContainerBase.[carbonEngine].[carbonhost].[/].[bridgeser
> vlet]}
> java.lang.IllegalStateException: Cannot forward after response has been
> committed
>     at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:313)
>     at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>     at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:258)
>     at
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
>     at
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
>     at
> org.apache.jsp.resources.metadata_005fresourcepath_jsp._jspService(metadata_005fresourcepath_jsp.java:99)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>     at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>     at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
>     at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
>     at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265)
>     at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>     at
> org.apache.jsp.resources.resource_jsp._jspService(resource_jsp.java:260)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>     at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>     at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
>     at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
>     at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265)
>     at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>     at
> org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:643)
>     at
> org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:637)
>     at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
>     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(template_jsp.java:647)
>     at
> org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:398)
>     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:117)
>     at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:64)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>     at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
>     at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
>     at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>     at
> org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:258)
>     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:53)
>     at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:85)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
>     at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>     at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:154)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>     at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>     at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>     at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>     at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>     at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>     at java.lang.Thread.run(Thread.java:619)
>
>
> Best,
>
> --
> Murat BIRBEN
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Senaka Fernando
Associate Technical Lead
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to