Hi Rasika, Those two issues are solved with the provided fix. Thank you for the response.
On Fri, May 27, 2016 at 11:14 AM, Rasika Perera <rasi...@wso2.com> wrote: > Hi Sudharma, > > UUF will turning into the debug mode from "-Xdebug" JVM parameter(when > remote debugging is on). > > When UUF debug mode is on, It doesn't cache anything. Trying to reload the > application per each request. This error occurs when trying to reload the > app. This is a known bug and fixed with [1]. > > Also it deactivates the debug pointers after starting the debug mode > > Can you verify this behaviour? This should not affect your IDE or break > pointers. > > [1] > *https://github.com/wso2/carbon-uuf/commit/fe1255a702d08370843db2e06096412ba283708c > <https://github.com/wso2/carbon-uuf/commit/fe1255a702d08370843db2e06096412ba283708c>* > > > On Fri, May 27, 2016 at 10:32 AM, Sudharma Subasinghe <sudhar...@wso2.com> > wrote: > >> Hi, >> >> I got following exception while loading the uuf app under remote >> debugging mode. Also it deactivates the debug pointers after starting the >> debug mode. >> >> [2016-05-27 10:12:48,206] ERROR >> {org.wso2.carbon.uuf.internal.UUFRegistry} - A server occurred while >> serving for request '/bpmn-explorer/'. >> org.wso2.carbon.uuf.exception.UUFException: Cannot reload app >> 'org.wso2.uuf.sample.bpmn-explorer'. >> at >> org.wso2.carbon.uuf.internal.UUFRegistry.lambda$reloadApp$15(UUFRegistry.java:158) >> at >> org.wso2.carbon.uuf.internal.UUFRegistry$$Lambda$113/1112994017.get(Unknown >> Source) >> at java.util.Optional.orElseThrow(Optional.java:290) >> at >> org.wso2.carbon.uuf.internal.UUFRegistry.reloadApp(UUFRegistry.java:158) >> at org.wso2.carbon.uuf.internal.UUFRegistry.serve(UUFRegistry.java:99) >> at >> org.wso2.carbon.uuf.connector.ms.UUFMicroservice.execute(UUFMicroservice.java:105) >> at >> org.wso2.carbon.uuf.connector.ms.UUFMicroservice.get(UUFMicroservice.java:93) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:497) >> at >> org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(HttpMethodInfo.java:95) >> at >> org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:53) >> at >> org.wso2.msf4j.internal.router.HttpDispatcher.channelRead0(HttpDispatcher.java:31) >> at >> io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) >> at >> io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) >> at >> io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32) >> at >> io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299) >> at >> io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) >> at >> io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110) >> at >> io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) >> >> Without remote debugging mode enabling, it loads apps successfully. >> >> Without "Debugger.isDebuggingEnabled()" as in [1], it starts the >> debugging successfully. But still gives the same exception. >> >> I think, when debugging is enabled, reloading the requested app is not >> properly working. >> >> [1] >> https://github.com/wso2/carbon-uuf/blob/v1.0.0-m5/uuf-core/src/main/java/org/wso2/carbon/uuf/internal/UUFRegistry.java#L98 >> >> Thanks >> Sudharma >> >> >> >> >> -- >> Sudharma Subasinghe, >> Software Engineer, >> WSO2 Inc. >> Email: sudhar...@wso2.com <hasi...@wso2.com> >> Mobile : +94 710 565 157 <%2B94%20718%20210%20200> >> > > > > -- > With Regards, > > *Rasika Perera* > Software Engineer > M: +94 71 680 9060 E: rasi...@wso2.com > LinkedIn: http://lk.linkedin.com/in/rasika90 > > WSO2 Inc. www.wso2.com > lean.enterprise.middleware > -- Sudharma Subasinghe, Software Engineer, WSO2 Inc. Email: sudhar...@wso2.com <hasi...@wso2.com> Mobile : +94 710 565 157 <%2B94%20718%20210%20200>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev