From franck.le-gall at eglobalmark.com Thu Oct 15 11:45:21 2015 From: franck.le-gall at eglobalmark.com (Franck Le Gall) Date: Thu, 15 Oct 2015 09:45:21 +0000 Subject: [Fiware-fic3-coaching] SpagoBI - business model creation Message-ID: --- Forward from a SME --- We have successfully connected our Apache Hive server via Cloudera jdbc driver (com.cloudera.hive.jdbc4.HS2Driver) from SpagoBI Studio, can explore tables, stored procedures, etc. in Data Source Explorer, can make data set for Birt reports, so the connection works fine. Until want to create a business model, when choosen the physical tables, model classes and try to create the model the following error has occured. Without business models, we cannot create ad-hoc reporting such as free inquiry or cockpits in SpagoBI server. eclipse.buildId=unknown java.version=1.8.0_60 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU Command-line arguments: -os win32 -ws win32 -arch x86_64 -consoleLog Error Thu Oct 15 10:16:05 CEST 2015 Impossible to generate metamodel java.lang.RuntimeException: Impossible to initialize the model at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard.createModel(SpagoBIModelEditorWizard.java:241) at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard.performFinish(SpagoBIModelEditorWizard.java:217) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624) 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:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at it.eng.spagobi.studio.core.views.actionProvider.ResourceNavigatorActionProvider$13.run(ResourceNavigatorActionProvider.java:411) at org.eclipse.jface.action.Action.runWithEvent(Action.java:49 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:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) 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:243 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(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:140 Caused by: java.lang.RuntimeException: Impossible to initialize the physical model at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard.createPhysicalModel(SpagoBIModelEditorWizard.java:340) at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard.createModel(SpagoBIModelEditorWizard.java:237) ... 40 more Caused by: java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard.createPhysicalModel(SpagoBIModelEditorWizard.java:295) ... 41 more Caused by: java.lang.RuntimeException: Impossible to initialize physical model at it.eng.spagobi.meta.initializer.PhysicalModelInitializer.initialize(PhysicalModelInitializer.java:114) at it.eng.spagobi.meta.editor.multi.wizards.SpagoBIModelEditorWizard$1.run(SpagoBIModelEditorWizard.java:321) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.RuntimeException: Impossible to initialize schema metadata at it.eng.spagobi.meta.initializer.PhysicalModelInitializer.addSchema(PhysicalModelInitializer.java:229) at it.eng.spagobi.meta.initializer.PhysicalModelInitializer.initialize(PhysicalModelInitializer.java:74) ... 2 more Caused by: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at it.eng.spagobi.meta.initializer.PhysicalModelInitializer.addSchema(PhysicalModelInitializer.java:210) ... 3 more In metaeditor.log file: 2015-10-15 ERROR it.eng.spagobi.meta.editor.multi.wizards.NewModelWizardFileCreationPage.getModelsPresent:197 - error in retrieving other models, go ahead as default case Environment: Apache Hive 1.2.1 running on CentOS SpagoBI Studio 5.1.0 win64 on Windows 10 64bit Cloudera HiveJDBC4_2.5.4.1006 Have tried on 32 bit Studio and apache hive jdbc driver (org.apache.hive.jdbc.HiveDriver) with the same result. -------------- next part -------------- An HTML attachment was scrubbed... URL: From franck.le-gall at eglobalmark.com Thu Oct 22 12:09:34 2015 From: franck.le-gall at eglobalmark.com (Franck Le Gall) Date: Thu, 22 Oct 2015 10:09:34 +0000 Subject: [Fiware-fic3-coaching] Server Support In-Reply-To: References: Message-ID: Dear Panagiotis Thank you for contacting me and welcome on-board. I am FIWARE coach for your accelerator which means that I am here to improve companies experience when making use of FIWARE. This includes: * Reviewing your architectural approach to make sure it fits with FIWARE paradigm and will not bring you to blocking paths. * helping finding/getting support from the diverse channels. * Tracking your requests to FIWARE so I can push from the inside. So I would suggest first that you provide me with more details on your overall architecture and planned use of enablers so I can check if you are on the right path. Some time ago, I saw and approved your request for the community account in FIWARE lab. This should be up and running. A note on how to contact me: It is strongly suggested to use the address: fiware-fic3-coaching at lists.fiware.org for technical questions you may have as it creates ticket in the FIWARE JIRA system. It is thus easier to be followed and pushed forward. However, created issues are public so contact me directly as you just did for more private questions (architecture relevance, etc.) Kind regards Franck De : Panagiotis Palantas [mailto:ppalantas at artefactdesign.gr] Envoy? : jeudi 22 octobre 2015 11:02 ? : Franck Le Gall Cc : ??????? ??????? ; jannos at firstquartercompany.com Objet : Server Support Dear Franck, I hope this email finds you well. My name is Panagiotis Palantas and along with George Palamas we are the software engineers responsible for building an FI-WARE augmented reality application for the project "Times Squatters", whose director is Jannos Eolou from the First Quarter Company. In this initial contact i would like you to inform me about the level of technical support that we can obtain from you, regarding the overall architecture, the enablers integration and other trivial technical matters. Best regards, Palantas Panagiotis -------------- next part -------------- An HTML attachment was scrubbed... URL: