WebSphere Portal Server - Probelm deployng portal project

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > September 2005 > Probelm deployng portal project





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Probelm deployng portal project

2005-09-27, 7:59 am

I'm trying to export a Portal Project with target server "WebSphere 5.1 Portal stub" to a "WebSphere Portal Server 5.1" installed on a remote Windows machine.
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 with com/ibm/etools/portal/model/PortletAppResource
!STACK 0
java.lang.ClassCastException: com/ibm/wtp/emf/resource/ReferencedXMIResourceImpl incompatible with com/ibm/etools/portal/model/PortletAppResource
at com.ibm.etools.portal.tools.editmodel.PortletEditModel.getPortletXmiResource(Unknown Source)
at com.ibm.etools.portal.tools.editmodel.PortletEditModel.getPortletType(Unknown Source)
at com.ibm.etools.portal.tools.nature.PortletProjectNatureRuntime.getPortletType(Unknown Source)
at com.ibm.etools.portaledit.internal.project.PortletUtilityFactory.getPortletUtility(Unknown Source)
at com.ibm.etools.portaledit.internal.project.PortletUtil.getPortlets(Unknown Source)
at com.ibm.etools.portal.serverattach.v5.internal.deploy.configurator.WpsPortalExportConfigurator.exportPortletsToFileSystem(Unknown Source)
at com.ibm.etools.portal.serverattach.v5.internal.deploy.configurator.WpsPortalExportConfigurator.export(Unknown Source)
at com.ibm.etools.portaledit.internal.deploy.ExportPortalOperation.exportPortalProject(Unknown Source)
at com.ibm.etools.portaledit.internal.deploy.ExportPortalOperation.execute(Unknown 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 Source)
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 Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem$7.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.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:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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(DelegatingMethodAccessorImpl.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

2005-09-27, 7:59 am

I have found the problem.
In IRAD you have to set in each EAR and Web Project the target runtime server as "WebSphere Portal 5.1".
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com