On Sun, Apr 1, 2012 at 9:01 PM, Amila Suriarachchi <[email protected]> wrote:
> > > On Sun, Apr 1, 2012 at 7:36 PM, Chathuri Wimalasena <[email protected]>wrote: > >> Hi Amila, >> >> To browse the registry, your remote registry instance should be up and >> running. If your ESB instance is up and runing after mounted, resources >> should be shown. >> > > This is what I did. > First started GReg 4.1.1. Then created an ESB Config project. Then start > adding a Proxy service as shown in the picture. > > Now I can observe the following exception in GReg console (Sorry I did not > look at the GReg console at first time) > Sorry this is in Carbon studio console. thanks, Amila. > > org.wso2.carbonstudio.eclipse.greg.core.exception.UnknownRegistryException: > Unknown error occured: Method Not Allowed > at > org.wso2.carbonstudio.eclipse.greg.base.core.Registry.getResourcesPerCollection(Registry.java:272) > at > org.wso2.carbonstudio.eclipse.greg.base.model.RegistryResourceNode.getResourceType(RegistryResourceNode.java:225) > at > org.wso2.carbonstudio.eclipse.greg.base.ui.controls.RegistryTreeViewer$1.selectionChanged(RegistryTreeViewer.java:112) > at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) > at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) > at > org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160) > at > org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2162) > at > org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1190) > at > org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1220) > at > org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:228) > at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:222) > at > org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:389) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > at org.eclipse.jface.window.Window.open(Window.java:801) > at > org.wso2.carbonstudio.eclipse.artifact.proxyservice.ui.wizard.AdvancedConfigComposite.SelectRegistryResource(AdvancedConfigComposite.java:800) > at > org.wso2.carbonstudio.eclipse.artifact.proxyservice.ui.wizard.AdvancedConfigComposite.access$11(AdvancedConfigComposite.java:789) > at > org.wso2.carbonstudio.eclipse.artifact.proxyservice.ui.wizard.AdvancedConfigComposite$6.widgetSelected(AdvancedConfigComposite.java:272) > at > org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > at org.eclipse.jface.window.Window.open(Window.java:801) > at > org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:254) > at > org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274) > at > org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) > at > org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) > at > org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) > at > org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) > at > org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) > at > org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) > at > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) > at > org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) > at > org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) > 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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > at org.eclipse.equinox.launcher.Main.main(Main.java:1384) > Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: > Method Not Allowed > at > org.wso2.carbon.registry.app.RemoteRegistry.get(RemoteRegistry.java:176) > at > org.wso2.carbonstudio.eclipse.greg.base.core.Registry.getResourcesPerCollection(Registry.java:269) > ... 65 more > > What is the compatible GReg version for CS 2.0.0 M9? > > There are some other questions. > > 1. In the create new proxy service dialog box there are two buttons for > config and governance registry. When I click on either one it gives a empty > dialog box and I need to add a GReg instance through that. Again I need to > select either root, local, configure or governance registries. This is > duplicating the same thing. > > 2. How to mount the GReg instance to a particular folder? > > for an example say dev configuration in config/dev and production in > config/prod. I need to write the CApp with the same registry key so that it > picks the correct endpoint/XSLT file according to the environment. > > thanks, > Amila. > > > > >> >> Regards, >> Chathuri >> >> On Sun, Apr 1, 2012 at 3:33 PM, Amila Suriarachchi <[email protected]>wrote: >> >>> hi, >>> >>> I want to use some registry key references from a GReg instance when >>> creating a proxy service. Here I assume that the ESB instance I am going to >>> deploy this >>> .car file has mounted the same GReg instance properly. >>> >>> I tried to do that as show in the attachment. But that does not show the >>> entries under governance registry. >>> >>> How can I do this? >>> >>> thanks, >>> Amila. >>> >>> -- >>> *Amila Suriarachchi* >>> >>> Software Architect >>> WSO2 Inc. ; http://wso2.com >>> lean . enterprise . middleware >>> >>> phone : +94 71 3082805 >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Chathuri Wimalasena >> Senior Software Engineer; WSO2, Inc.; http://wso2.com/ >> email: [email protected]; phone: +94 772 608 596 >> blog: http://chathuriwimalasena.blogspot.com/ >> > > > > -- > *Amila Suriarachchi* > > Software Architect > WSO2 Inc. ; http://wso2.com > lean . enterprise . middleware > > phone : +94 71 3082805 > > -- *Amila Suriarachchi* Software Architect WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 71 3082805
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
