Hi again, I spent sometime investigating into this issue, and my original assumption is wrong. The logging component, in fact seems to be handling transactions properly, and this issue is coming from the statistics logging infrastructure in the registry. I managed to find a solution to this, and will commit and resolve the JIRA ticket asap.
The issue here is that the logging infrastructure initializes itself at the start-up if debug logging has been enabled, but in this scenario, we are enabling debug logging at runtime. Therefore, the logging infrastructure starts to operate without properly being initialized. I wonder whether a global change in log levels should prompt a restart in the server? Thanks, Senaka. On Sat, Nov 27, 2010 at 5:39 PM, Senaka Fernando <[email protected]> wrote: > Hi Sameera, > > Please fix the way in which the logging component uses the registry > transactions. You need to properly close or rollback the transaction in a > try-finally block, but which has not been properly done in the Logging > Component for some reason, which seems to be what causes this issue. > > Thanks, > Senaka. > > > On Fri, Nov 26, 2010 at 5:09 PM, Charitha Kankanamge <[email protected]>wrote: > >> Hi Sameera, >> >> Sorry, this build (AppServer) is unusable. We cannot even access >> management console due to the following NPE. >> >> [2010-11-26 17:05:48,620] ERROR {org.wso2.carbon.server.TomcatServer} - >> Could not handle request: /carbon/ >> java.lang.NullPointerException >> at >> org.wso2.carbon.server.TomcatServer.initCarbonContext(TomcatServer.java:307) >> at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:248) >> 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) >> [2010-11-26 17:05:48,693] ERROR {org.wso2.carbon.server.TomcatServer} - >> Could not handle request: /favicon.ico >> java.lang.NullPointerException >> at >> org.wso2.carbon.server.TomcatServer.initCarbonContext(TomcatServer.java:307) >> at org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:248) >> 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) >> >> Regards >> Charitha >> >> >> On Fri, Nov 26, 2010 at 3:47 PM, Sameera Jayasoma <[email protected]>wrote: >> >>> Hi Charitha, >>> >>> Added the Appserver binary and doc distribution to the same location. And >>> also a P2 repository containing features belongs to the appserver is added. >>> >>> Thanks >>> Sameera >>> >>> >>> On Fri, Nov 26, 2010 at 3:18 PM, Charitha Kankanamge >>> <[email protected]>wrote: >>> >>>> Hi Sameera, >>>> Could you host the associated P2-repo please? It is essential to test >>>> carbon core. >>>> >>>> Regards >>>> Charitha >>>> >>>> On Fri, Nov 26, 2010 at 12:36 PM, Sameera Jayasoma <[email protected]>wrote: >>>> >>>>> Hi Folks, >>>>> >>>>> Chunk 1 release builds are available at >>>>> >>>>> http://builder.wso2.org/~carbon/releases/carbon/3.1.0/latest/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.1.0/latest/> >>>>> >>>>> Only the Carbon Core distribution is there. Will update the list once >>>>> the other builds are available. >>>>> >>>>> Thanks >>>>> Sameera >>>>> >>>>> -- >>>>> Sameera Jayasoma >>>>> Technical Lead and Product Manager, WSO2 Carbon >>>>> >>>>> WSO2, Inc. (http://wso2.com) >>>>> email: [email protected] >>>>> blog: http://tech.jayasoma.org >>>>> >>>>> Lean . Enterprise . Middleware >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Sameera Jayasoma >>> Technical Lead and Product Manager, WSO2 Carbon >>> >>> WSO2, Inc. (http://wso2.com) >>> email: [email protected] >>> blog: http://tech.jayasoma.org >>> >>> Lean . Enterprise . Middleware >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Senaka Fernando* > Associate Technical Lead & Product Manager - WSO2 G-Reg; > WSO2, Inc.; http://wso2.com > * > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://www.linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > -- *Senaka Fernando* Associate Technical Lead & Product Manager - WSO2 G-Reg; WSO2, Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://www.linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
