Hi Srinath,
On Wed, Mar 30, 2011 at 2:50 PM, Srinath Perera <[email protected]> wrote: > Hi Janaka, > > Thanks for the demo, it looks good and I will setup a review. Few TODOs > > 1. We need a concreate scenario and create a sample lifecycle xml for > the scenario > 2. put the comments in the user guide in the sample xml explainining > what different tags do > 3. add actions with transitions in to the example > 4. write a OT article > Will do them and update this thread. Thanks, Janaka > > Thanks > Srinath > > > > On Wed, Mar 30, 2011 at 11:04 AM, Srinath Perera <[email protected]> wrote: > > send an invite for 1.30-2.30 --Srinath > > > > On Wed, Mar 30, 2011 at 10:58 AM, Janaka Ranabahu <[email protected]> > wrote: > >> > >> > >> On Wed, Mar 30, 2011 at 10:56 AM, Srinath Perera <[email protected]> > wrote: > >>> > >>> If you are not too busy, can you give a demo with life cycle things to > >>> myself and senaka > >> > >> Sure. Can you tell me a time slot when both of you are free. If it is > >> possible, I can do it now > >> Thanks, > >> Janaka > >>> > >>> --Srinath > >>> > >>> On Wed, Mar 30, 2011 at 10:44 AM, Janaka Ranabahu <[email protected]> > wrote: > >>> > Hi, > >>> > On Wed, Mar 30, 2011 at 8:42 AM, Srinath Perera <[email protected]> > >>> > wrote: > >>> >> > >>> >> I did following > >>> >> > >>> >> 1. build the trunk .. > >>> >> 2. replace with your jars > >>> >> 3. went to lifecycles .. add new .. and save on default one > >>> > > >>> > I believe here you have used the non SCXML based life cycle since the > >>> > jars I > >>> > provide you does not change the default life cycle to the SCXML based > >>> > one. > >>> > These modifications are done and have been committed to the trunk. > >>> >> > >>> >> 4. it save a life cycles with the same name without any problem > >>> > > >>> > > >>> > Did you mean you were able to save 2 life cycles with the same name? > >>> > This is > >>> > not possible in the registry since it checks the name of the life > cycle > >>> > at > >>> > the point of saving and if it is an existing one, an error is given > to > >>> > the > >>> > user. I will check on this further and will update this thread. > >>> > Thanks, > >>> > Janaka > >>> >> > >>> >> Now it does not let me delete or update any lifecycle at all > >>> >> > >>> >> ERROR {org.apache.axis2.rpc.receivers.RPCMessageReceiver} - Unable > >>> >> to remove aspect > >>> >> java.lang.reflect.InvocationTargetException > >>> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > >>> >> at > >>> >> > >>> >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >>> >> at > >>> >> > >>> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >>> >> at java.lang.reflect.Method.invoke(Method.java:597) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) > >>> >> at > >>> >> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) > >>> >> at > >>> >> > >>> >> > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206) > >>> >> at > javax.servlet.http.HttpServlet.service(HttpServlet.java:641) > >>> >> at > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > >>> >> 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:722) > >>> >> at > >>> >> org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155) > >>> >> at > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > >>> >> at > >>> >> org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:238) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > >>> >> at > >>> >> > >>> >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) > >>> >> at > >>> >> > >>> >> > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:391) > >>> >> at > >>> >> > >>> >> > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:357) > >>> >> at > >>> >> > >>> >> > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1531) > >>> >> at > >>> >> > >>> >> > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > >>> >> at > >>> >> > >>> >> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > >>> >> at java.lang.Thread.run(Thread.java:637) > >>> >> Caused by: > org.wso2.carbon.registry.core.exceptions.RegistryException: > >>> >> Unable to remove aspect > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.governance.lcm.util.CommonUtil.deleteLifecycle(CommonUtil.java:275) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.governance.lcm.services.LifeCycleManagementService.deleteLifecycle(LifeCycleManagementService.java:55) > >>> >> ... 37 more > >>> >> Caused by: > org.wso2.carbon.registry.core.exceptions.RegistryException: > >>> >> An exception occurred while executing handler chain. null > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2571) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.delete(HandlerLifecycleManager.java:413) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.delete(EmbeddedRegistry.java:844) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.caching.CacheBackedRegistry.delete(CacheBackedRegistry.java:354) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.session.UserRegistry.delete(UserRegistry.java:654) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.governance.lcm.util.CommonUtil.deleteLifecycle(CommonUtil.java:270) > >>> >> ... 38 more > >>> >> Caused by: java.lang.NullPointerException > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.extensions.handlers.RetentionHandler.isRetentionOwner(RetentionHandler.java:109) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.extensions.handlers.RetentionHandler.checkDelete(RetentionHandler.java:73) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.extensions.handlers.RetentionHandler.delete(RetentionHandler.java:51) > >>> >> at > >>> >> > >>> >> > org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.delete(HandlerManager.java:2552) > >>> >> ... 43 more > >>> >> > >>> >> > >>> >> On Tue, Mar 29, 2011 at 8:06 AM, Janaka Ranabahu <[email protected]> > >>> >> wrote: > >>> >> > Hi, > >>> >> > The attached configuration is the sample configuration that we are > >>> >> > going > >>> >> > to > >>> >> > provide with the registry. Also I have done few modification to > the > >>> >> > governance lcm.ui and governance.registry.extensions. These > modified > >>> >> > jars > >>> >> > are attached herewith this mail. > >>> >> > Thanks > >>> >> > Janaka > >>> >> > -- > >>> >> > Janaka Ranabahu > >>> >> > Software Engineer > >>> >> > WSO2 Inc. > >>> >> > Mobile +94 718370861 > >>> >> > Email : [email protected] > >>> >> > Blog : janakaranabahu.blogspot.com > >>> >> > > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> ============================ > >>> >> Srinath Perera, Ph.D. > >>> >> Senior Software Architect, WSO2 Inc. > >>> >> Visiting Faculty, University of Moratuwa > >>> >> Member, Apache Software Foundation > >>> >> Research Scientist, Lanka Software Foundation > >>> >> Blog: http://srinathsview.blogspot.com/ > >>> > > >>> > > >>> > > >>> > -- > >>> > Janaka Ranabahu > >>> > Software Engineer > >>> > WSO2 Inc. > >>> > Mobile +94 718370861 > >>> > Email : [email protected] > >>> > Blog : janakaranabahu.blogspot.com > >>> > > >>> > >>> > >>> > >>> -- > >>> ============================ > >>> Srinath Perera, Ph.D. > >>> Senior Software Architect, WSO2 Inc. > >>> Visiting Faculty, University of Moratuwa > >>> Member, Apache Software Foundation > >>> Research Scientist, Lanka Software Foundation > >>> Blog: http://srinathsview.blogspot.com/ > >> > >> > >> > >> -- > >> Janaka Ranabahu > >> Software Engineer > >> WSO2 Inc. > >> Mobile +94 718370861 > >> Email : [email protected] > >> Blog : janakaranabahu.blogspot.com > >> > > > > > > > > -- > > ============================ > > Srinath Perera, Ph.D. > > Senior Software Architect, WSO2 Inc. > > Visiting Faculty, University of Moratuwa > > Member, Apache Software Foundation > > Research Scientist, Lanka Software Foundation > > Blog: http://srinathsview.blogspot.com/ > > > > > > -- > ============================ > Srinath Perera, Ph.D. > Senior Software Architect, WSO2 Inc. > Visiting Faculty, University of Moratuwa > Member, Apache Software Foundation > Research Scientist, Lanka Software Foundation > Blog: http://srinathsview.blogspot.com/ > -- Janaka Ranabahu Software Engineer WSO2 Inc. Mobile +94 718370861 Email : [email protected] Blog : janakaranabahu.blogspot.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
