09-27-05 12:59 PM
I'm trying to export a Portal Project with target server "WebSphere 5.1 Port
al stub" to a "WebSphere Portal Server 5.1" installed on a remote Windows ma
chine.
I get the following error:
!ENTRY com.ibm.etools.portal.serverattach.v5 2 0 Sep 27, 2005 10:54:28.306
!MESSAGE com/ibm/wtp/emf/resource/ReferencedXMIResourceImpl incompatible wit
h com/ibm/etools/portal/model/PortletAppResource
!STACK 0
java.lang.ClassCastException: com/ibm/wtp/emf/resource/ReferencedXMIResource
Impl incompatible with com/ibm/etools/portal/model/PortletAppResource
at com.ibm.etools.portal.tools.editmodel.PortletEditModel.getPortletXmiResou
rce(Unknown Source)
at com.ibm.etools.portal.tools.editmodel.PortletEditModel.getPortletType(Unk
nown Source)
at com.ibm.etools.portal.tools.nature.PortletProjectNatureRuntime.getPortlet
Type(Unknown Source)
at com.ibm.etools.portaledit.internal.project.PortletUtilityFactory.getPortl
etUtility(Unknown Source)
at com.ibm.etools.portaledit.internal.project.PortletUtil.getPortlets(Unknow
n Source)
at com.ibm.etools.portal.serverattach.v5.internal.deploy.configurator.WpsPor
talExportConfigurator.exportPortletsToFileSystem(Unknown Source)
at com.ibm.etools.portal.serverattach.v5.internal.deploy.configurator.WpsPor
talExportConfigurator.export(Unknown Source)
at com.ibm.etools.portaledit.internal.deploy.ExportPortalOperation.exportPor
talProject(Unknown Source)
at com.ibm.etools.portaledit.internal.deploy.ExportPortalOperation.execute(U
nknown Source)
at com.ibm.wtp.common.operation.WTPOperation.doRun(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at com.ibm.wtp.common.operation.WTPOperation.run(Unknown Source)
at com.ibm.wtp.common.ui.RunnableWithProgressWrapper.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Sourc
e)
at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
at com.ibm.wtp.common.ui.wizard.WTPWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at org.eclipse.ui.actions.ExportResourcesAction.run(Unknown Source)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(Unknown S
ource)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unk
nown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(Unknown Sou
rce)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:2
73)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:1
29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
When I export only the themes and skins, the operation succeed.
Any help is really appreciated.
Thanks in advance,
Giorgio
[ Post a follow-up to this message ]
|