Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-wtp-dev] m2e-wtp and deploy-name

Hi Chuck,

Thanks for clarifying this! I'll give it a try.

regards,
Ilko


On Thu, Nov 8, 2012 at 8:53 PM, Chuck Bridgham <cbridgha@xxxxxxxxxx> wrote:
Hi,

The only workaround other than the one you mentioned involves using the "final-name" tag equaling the project name, so the resources can be found.   This issue is currently being worked on, and we will update here when a solution is available.


Thanks - Chuck

Senior Architect, RAD Java EE Tools, WTP PMC Lead
IBM Software Lab - Research Triangle Park, NC




From:        Ilko Iliev <ilkomiliev@xxxxxxxxx>
To:        M2E-WTP Developers mailing list <m2e-wtp-dev@xxxxxxxxxxx>
Date:        11/08/2012 02:45 PM
Subject:        Re: [m2e-wtp-dev] m2e-wtp and deploy-name
Sent by:        m2e-wtp-dev-bounces@xxxxxxxxxxx




So, as I can see there is another user using RAD 8.5.0 - I'd like to know if the WTE 8.5.0 can handle "Run server with resources within the workspace"? As I already have written this option causes NoClassDefFound error for me - the only workaround I found so far is to use the "Run server with resources on Server" option.


On Thu, Nov 8, 2012 at 4:26 PM, ilx <iloncar.ml@xxxxxxxxx> wrote:
Hi!
I'm using m2e-wtp with IBM Rational® Application Developer for
WebSphere® Software  8.5.0

I have multimodule maven project organized like this:
parent-project
 --> ear-project
     ....
 --> war-project
     ....


I'm glad that almost everything works, but when I try to adjust
classloader ordering (right click on the EAR project, then select
JavaEE -> Open Websphere Application Server Deployment) i get
following exception:

java.lang.NullPointerException
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.AppDeploymentSection.fillApplicationTree(Unknown
Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.AppDeploymentSection.resetPageFields(Unknown
Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.AppDeploymentSection.initModel(Unknown
Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.PageApplicationServer.createAppDeploymentSection(Unknown
Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.PageApplicationServer.createClient(Unknown
Source)
at
com.ibm.etools.emf.workbench.ui.custom.widgets.CommonPageForm.createInnerSections(Unknown
Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.internal.editor.WasDeploymentEditor.addPages(Unknown
Source)
at org.eclipse.ui.forms.editor.FormEditor.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Unknown
Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown
Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown
Source)
at org.eclipse.ui.internal.PartPane.setVisible(Unknown Source)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(Unknown
Source)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Unknown
Source)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(Unknown
Source)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(Unknown
Source)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(Unknown
Source)
at org.eclipse.ui.internal.PartStack.setSelection(Unknown Source)
at org.eclipse.ui.internal.PartStack.showPart(Unknown Source)
at org.eclipse.ui.internal.PartStack.add(Unknown Source)
at org.eclipse.ui.internal.EditorStack.add(Unknown Source)
at org.eclipse.ui.internal.PartStack.add(Unknown Source)
at org.eclipse.ui.internal.EditorStack.add(Unknown Source)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(Unknown
Source)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(Unknown
Source)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(Unknown Source)
at org.eclipse.ui.internal.EditorManager.createEditorTab(Unknown
Source)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(Unknown
Source)
at org.eclipse.ui.internal.EditorManager.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(Unknown
Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Unknown
Source)
at org.eclipse.ui.internal.WorkbenchPage.access$11(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage$10.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.ide.IDE.openEditor(Unknown Source)
at
com.ibm.ws.ast.st.enhanced.ear.ui.actions.OpenWasDeploymentAction.run(Unknown
Source)
at org.eclipse.ui.internal.PluginAction.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
$5.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.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(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.application.IDEApplication.start(Unknown
Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown
Source)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown
Source)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown
Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
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(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)


I have traced the issue to the org.eclipse.wst.common.component and
deploy-name attribute  of wb-module element.
If I let m2e update maven projects the file will be overwritten and
the deploy-name will contain module version (something like this:
<wb-module deploy-name="war-project-2.2.2">)

Is there a way to control value of deploy-name attribute?
_______________________________________________
m2e-wtp-dev mailing list

m2e-wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev



--
DI Ilko ILIEV
Fanny-Mintz-Gasse 1 / Top 221, A-1020 Wien
Tel.: +43(0)650 8910602
mailto:
ilkomiliev@xxxxxxxxx_______________________________________________
m2e-wtp-dev mailing list
m2e-wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev


_______________________________________________
m2e-wtp-dev mailing list
m2e-wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/m2e-wtp-dev




--
DI Ilko ILIEV
Fanny-Mintz-Gasse 1 / Top 221, A-1020 Wien
Tel.: +43(0)650 8910602
mailto: ilkomiliev@xxxxxxxxx

Back to the top