What error do you have when referencing the opened project? (workspace
resolution must be turned on on the main web project)


On Wed, Nov 27, 2013 at 1:07 AM, Gaythwaite, James <james.gaythwa...@adp.com
> wrote:

> Thanks for the reply. I've tried different combinations of open projects
> with no luck.
>
> -James
>
> On Nov 26, 2013, at 6:16 PM, "Fred Bricon" <fbri...@gmail.com<mailto:
> fbri...@gmail.com>> wrote:
>
> This looks like an incompatibility between m2e-wtp's war overlays
> implementation and the Websphere server adapter.
> I can't debug / test Websphere stuff so this is gonna be tricky :-)
>
> From my limited understanding of the error, there's a chance m2e-wtp 's
> overlay component doesn't behave as expected, being used in a different way
> it has been tested so far (with JBoss / Tomcat / Glassfish). So if anyone
> (hello IBM!)  could help me figure out what's expected from
> https://github.com/eclipse/m2e.wtp/blob/master/org.eclipse.m2e.wtp.overlay/src/org/eclipse/m2e/wtp/overlay/internal/modulecore/OverlayVirtualArchiveComponent.javaplease
>  chime in!
>
> As for the error you see,
> m2e-wtp/overlays/web-resources-6.0.0.5-SNAPSHOT.war tells me you're
> depending on a war archive. As a workaround, you can try having
> web-resources-6.0.0.5-SNAPSHOT opened as a project in your workspace, it
> may work, or not.
>
> Fred
>
>
> On Tue, Nov 26, 2013 at 10:23 PM, Gaythwaite, James <
> james.gaythwa...@adp.com<mailto:james.gaythwa...@adp.com>> wrote:
> I am using Eclipse Juno and the latest m2e and wtp plugins for that
> version.  We recently started using war overlays in my project and are
> having a lot of difficulty within the workspace.  If I do a maven update,
> project clean, and start from scratch, the app will start up fine.  After
> that, if I try to publish any changes (doesn't need to be related to the
> overlay projects), I get the following error.  The only way I have gotten
> rid of it is by going back through the update+clean rain dance and then
> doing a server clean.
>
>
> Any clue as to what is going wrong?  Thanks!
>
>
>
>
>
>
> The publish encountered some problems and the application may not have
> been installed or it may have been successfully installed but was unable to
> start. View the Details to display the exceptions and server logs that
> occurred during the publish.
>
>
> ========web-ear ========
>
>
> The application did not update:
>
> The application did not update:
>
> For details about the failure, refer to the Console view to see the log
> output of the server. .
>
> [11/26/13 16:14:23:633 EST] 0000021f annotations   I
> AroundInvokeMergeAction mergeMethodTarget Could not locate an EJB reference
> for Interceptor  [ com.adp.wfn.system.service.impl.WFNInterceptor ]
>
> [11/26/13 16:14:26:750 EST] 00000223 annotations   I
> AroundInvokeMergeAction mergeMethodTarget Could not locate an EJB reference
> for Interceptor  [ com.adp.wfn.system.service.impl.WFNInterceptor ]
>
> [11/26/13 16:14:30:112 EST] 00000223 annotations   I
> AroundInvokeMergeAction mergeMethodTarget Could not locate an EJB reference
> for Interceptor  [ com.adp.wfn.system.service.impl.WFNInterceptor ]
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R
> org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException:
> m2e-wtp/overlays/web-resources-6.0.0.5-SNAPSHOT.war
>
> Stack trace of nested exception:
>
> java.io.FileNotFoundException: File [
> m2e-wtp/overlays/web-resources-6.0.0.5-SNAPSHOT.war ] not found in archive
> [web-process-6.0.0.5-SNAPSHOT.war ] at [
> /home/dev/WAS7.0.0.27/WebSphere70b32/AppServer/profiles/TEST/wstemp/wstemp/app_14296435c35/mrg/web-process-6.0.0.5-SNAPSHOT.war]
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl.basicGetInputStream(DirectoryLoadStrategyImpl.java:1009)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl.getInputStream(DirectoryLoadStrategyImpl.java:923)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ContainerImpl.primGetInputStream(ContainerImpl.java:599)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.primGetInputStream(ArchiveImpl.java:2022)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl.getInputStream(FileImpl.java:179)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.FileIteratorImpl.getInputStream(FileIteratorImpl.java:77)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:540)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:505)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:235)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:2696)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:507)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:603)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStreamSaveStrategyImpl.save(ZipStreamSaveStrategyImpl.java:231)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:525)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:505)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:235)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:2696)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:507)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:2916)
>
> at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveAs(ArchiveImpl.java:2736)
>
> at
> com.ibm.ws.management.application.task.FileMergeTask.update(FileMergeTask.java:343)
>
> at
> com.ibm.ws.management.application.task.FileMergeTask.performTask(FileMergeTask.java:148)
>
> at
> com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:294)
>
> at java.lang.Thread.run(Thread.java:738)
>
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R Stack trace of nested
> exception:
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R
> java.io.FileNotFoundException: File [
> m2e-wtp/overlays/web-resources-6.0.0.5-SNAPSHOT.war ] not found in archive
> [web-process-6.0.0.5-SNAPSHOT.war ] at [
> /home/dev/WAS7.0.0.27/WebSphere70b32/AppServer/profiles/TEST/wstemp/wstemp/app_14296435c35/mrg/web-process-6.0.0.5-SNAPSHOT.war]
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl.basicGetInputStream(DirectoryLoadStrategyImpl.java:1009)
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.DirectoryLoadStrategyImpl.getInputStream(DirectoryLoadStrategyImpl.java:923)
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ContainerImpl.primGetInputStream(ContainerImpl.java:599)
>
> [11/26/13 16:14:32:376 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.primGetInputStream(ArchiveImpl.java:2022)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl.getInputStream(FileImpl.java:179)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.FileIteratorImpl.getInputStream(FileIteratorImpl.java:77)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:540)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:505)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:235)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:2696)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:507)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:603)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.ZipStreamSaveStrategyImpl.save(ZipStreamSaveStrategyImpl.java:231)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:525)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.saveFiles(SaveStrategyImpl.java:505)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.SaveStrategyImpl.save(SaveStrategyImpl.java:235)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.save(ArchiveImpl.java:2696)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.save(ModuleFileImpl.java:507)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveAsNoReopen(ArchiveImpl.java:2916)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.saveAs(ArchiveImpl.java:2736)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> com.ibm.ws.management.application.task.FileMergeTask.update(FileMergeTask.java:343)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> com.ibm.ws.management.application.task.FileMergeTask.performTask(FileMergeTask.java:148)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:294)
>
> [11/26/13 16:14:32:377 EST] 00000223 SystemErr     R at
> java.lang.Thread.run(Thread.java:738)
>
>
> -James
>
> ----------------------------------------------------------------------
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, notify the sender immediately by
> return email and delete the message and any attachments from your system.
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org<mailto:m2e-users@eclipse.org>
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
>
>
> --
> "Have you tried turning it off and on again" - The IT Crowd
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org<mailto:m2e-users@eclipse.org>
> https://dev.eclipse.org/mailman/listinfo/m2e-users
> _______________________________________________
> m2e-users mailing list
> m2e-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>



-- 
"Have you tried turning it off and on again" - The IT Crowd
_______________________________________________
m2e-users mailing list
m2e-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to