0 Replies Latest reply on May 18, 2012 7:24 AM by mushy

    Unable to generate war using Modelling >> Generate Jboss-CXF War

    mushy

      First of all this option in not visible after we import the wsdl successfully. Secondly when we generated the xsd's using Create Webservice by right clicking on the view, we cam to know that Generate Jboss-CXF War option was visible. when we tried to generate the war it gave below given error

       

      java.io.FileNotFoundException: File SimpleDatatypes-instance does not exist.

      at com.metamatrix.core.modeler.util.FileUtils.copy(FileUtils.java:62)

      at org.teiid.designer.dqp.webservice.war.DefaultWebArchiveBuilderImpl.generateWsdl(DefaultWebArchiveBuilderImpl.java:681)

      at org.teiid.designer.dqp.webservice.war.DefaultWebArchiveBuilderImpl.createWebArchive(DefaultWebArchiveBuilderImpl.java:233)

      at org.teiid.designer.dqp.webservice.war.ui.wizards.WarDeploymentInfoDialog.execute(WarDeploymentInfoDialog.java:197)

      at org.teiid.designer.dqp.webservice.war.ui.wizards.WarDeploymentInfoDialog$1.run(WarDeploymentInfoDialog.java:152)

      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)

      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)

      at org.teiid.designer.dqp.webservice.war.ui.wizards.WarDeploymentInfoDialog.okPressed(WarDeploymentInfoDialog.java:161)

      at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)

      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)

      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)

      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:4165)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)

      at org.eclipse.jface.window.Window.open(Window.java:801)

      at org.teiid.designer.dqp.webservice.war.ui.wizards.WarDeploymentInfoDialog.open(WarDeploymentInfoDialog.java:173)

      at org.teiid.designer.runtime.ui.actions.GenerateWarAction.run(GenerateWarAction.java:120)

      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)

      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:4165)

      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)

      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)

      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)

      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)

      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)

      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)

      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)

      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)

      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:344)

      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:622)

      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

      at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

       

      Any help will be appricated.

       

      Thanks