Roberto, I'm using artifacts on the server (in the workspace won't work for some things, like security) and am having the same sort of issue.
Art Kaufmann Chief Architect, IRIS (Traceability Server) "The life so short, the craft so long to learn" "By hammer and hand do all things stand" 3960 Fabian Way Palo Alto, CA 94303 art.kaufm...@frequentz.com www.frequentz.com O: (650)397-2553 M: (310)418-8410 *This E-mail and its attachments may contain proprietary and/or confidential information belonging to Frequentz, LLC. Dissemination and copying of this E-mail is strictly prohibited. This E-mail is intended solely for the use of the individual and entity to which it is addressed. If you have received this E-mail in error, please notify the sender immediately and delete the original and any copies.* On Tue, Feb 16, 2016 at 12:23 PM, Roberto Sanchez Herrera < rsanc...@mx1.ibm.com> wrote: > Eric, > You can publish to WebSphere using resources from workspace or resources > from server (more information in this link: > http://www-01.ibm.com/support/knowledgecenter/was_beta/com.ibm.websphere.wdt.doc/topics/tpublishv6.htm?cp=was_beta_devtools > ) > > Which one are you using? Resources from workspace? If yes, could you try > switching to resources from server and see if things improve? > > > Regards. > > Roberto Sánchez Herrera > > > > From: Eric B <ebenza...@gmail.com> > To: Maven Integration for Eclipse users mailing list < > m2e-users@eclipse.org> > Date: 02/16/2016 11:55 AM > Subject: Re: [m2e-users] EAR Deployment Assembly structure not > same as actually deployed to server > Sent by: m2e-users-boun...@eclipse.org > ------------------------------ > > > > This is driving me insane. I've deleted the EAR from the server several > times and redeploy it. If I expand the EAR (in the server view), I see my > modules listed there. But when I look at the classloader viewer, there is > are no target folders for the modules added/listed! > > The only thing I haven't tried was to recreate a new WAS profile and use > that, but I don't see/understand how that could make a difference. > > This whole ordeal is starting to be significantly frustrating. > > Thanks, > > Eric > > > On Tue, Feb 16, 2016 at 12:12 PM, Art Kaufmann < > *art.kaufm...@frequentz.com* <art.kaufm...@frequentz.com>> wrote: > In the "Servers" view I remove the application from the server, then > Publish (I have things set to manually publish); then add it back and > publish again. In fact, I was doing that very thing when I saw your first > e-mail. > > Cheers, > > Art > > Art Kaufmann > Chief Architect, IRIS (Traceability Server) > "The life so short, the craft so long to learn" > "By hammer and hand do all things stand" > > 3960 Fabian Way > Palo Alto, CA 94303 > *art.kaufm...@frequentz.com* <art.kaufm...@frequentz.com> > *www.frequentz.com* <http://www.frequentz.com/> > O: *(650)397-2553* <%28650%29397-2553> > M: *(310)418-8410* <%28310%29418-8410> > *This E-mail and its attachments may contain proprietary and/or > confidential information belonging to Frequentz, LLC. Dissemination and > copying of this E-mail is strictly prohibited. This E-mail is intended > solely for the use of the individual and entity to which it is addressed. > If you have received this E-mail in error, please notify the sender > immediately and delete the original and any copies.* > > On Tue, Feb 16, 2016 at 9:09 AM, Eric B <*ebenza...@gmail.com* > <ebenza...@gmail.com>> wrote: > Art, > > Thanks for confirming that I'm not going nuts. What/where/how do you have > to delete and reinstall? The Eclipse project? The entry in the POM file? > This is a major stumbling block for me and has caused me hours of grief > already chasing ClassLoading ghosts. > > Thanks, > > Eric > > On Tue, Feb 16, 2016 at 12:05 PM, Art Kaufmann < > *art.kaufm...@frequentz.com* <art.kaufm...@frequentz.com>> wrote: > I've experienced the same thing publishing from Eclipse Mars with the WAS > 8.5 tooling. I, too, suspect the tooling. Some of the time, when I add a > Module or Utility JAR to the application, I have to delete and reinstall > it. > > Cheers, > Art > > Art Kaufmann > Chief Architect, IRIS (Traceability Server) > "The life so short, the craft so long to learn" > "By hammer and hand do all things stand" > > 3960 Fabian Way > Palo Alto, CA 94303 > *art.kaufm...@frequentz.com* <art.kaufm...@frequentz.com> > *www.frequentz.com* <http://www.frequentz.com/> > O: *(650)397-2553* <%28650%29397-2553> > M: *(310)418-8410* <%28310%29418-8410> > *This E-mail and its attachments may contain proprietary and/or > confidential information belonging to Frequentz, LLC. Dissemination and > copying of this E-mail is strictly prohibited. This E-mail is intended > solely for the use of the individual and entity to which it is addressed. > If you have received this E-mail in error, please notify the sender > immediately and delete the original and any copies.* > > On Tue, Feb 16, 2016 at 8:57 AM, Eric B <*ebenza...@gmail.com* > <ebenza...@gmail.com>> wrote: > I don't know exactly where the issue lies for my problem; if it is a > problem with the way I am attempting to use m2e-wtp, the maven-ear-plugin, > or something with the connector that publishes my Eclipse project to the > server. I am hoping someone could at least point me in the right direction. > > I have an EAR that I am trying to build and deploy to WebSphere. In my > pom, my configuration is as follows: > > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-ear-plugin</artifactId> > <version>2.10.1</version> > <configuration> > <version>5</version> > <defaultLibBundleDir>lib/</defaultLibBundleDir> > <modules> > > <webModule> > <groupId>com.ics.strongauth</groupId> > <artifactId>AuthRenfClientWeb</artifactId> > <contextRoot>strongauth</contextRoot> > </webModule> > <jarModule> > <groupId>${project.groupId}</groupId> > <artifactId>ComCommons</artifactId> > <bundleDir>/lib</bundleDir> > </jarModule> > <jarModule> > <groupId>${project.groupId}</groupId> > <artifactId>ComConfiguration</artifactId> > <bundleDir>/lib</bundleDir> > </jarModule> > </modules> > </configuration> > </plugin> > </plugins> > </build> > > > Each of the listed modules are listed as dependencies in the pom.xml file. > > If I check the deployment assembly for my project, I see things > appropriately structured. A bunch of files have been added to the EAR's > /lib folder (dependencies from AuthRenfClientWeb) as well as the my two > projects ComCommons and ComConfiguration. > > If I right-click my project and Export -> Ear, I find a ComCommons.jar and > ComConfiguration.jar in my /lib folder. > > However, if I try to publish my project to my WebSphere server, it > ignores/skips the jarModules. There are no entries in any Classloader > pointing to the classpaths for ComCommons/target and > ComConfiguration/target, as I would expect. > > If I close the projects, then it publishes the actual ComCommon.jar and > ComConfiguration.jar files to the /lib folder (as expected). > > So the problem only occurs if the projects are opened, as it is supposed > to just add an entry to the target folder in the classpath. > > Is this an m2e-wtp integration issue? Is this a WebSphere Developer Tools > error? I tend to believe it is a problem with the WebSphere connector, but > not sure. > > Thanks! > > Eric > > > > > However > > _______________________________________________ > m2e-users mailing list > *m2e-users@eclipse.org* <m2e-users@eclipse.org> > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > *https://dev.eclipse.org/mailman/listinfo/m2e-users* > <https://dev.eclipse.org/mailman/listinfo/m2e-users> > > > _______________________________________________ > m2e-users mailing list > *m2e-users@eclipse.org* <m2e-users@eclipse.org> > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > *https://dev.eclipse.org/mailman/listinfo/m2e-users* > <https://dev.eclipse.org/mailman/listinfo/m2e-users> > > > _______________________________________________ > m2e-users mailing list > *m2e-users@eclipse.org* <m2e-users@eclipse.org> > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > *https://dev.eclipse.org/mailman/listinfo/m2e-users* > <https://dev.eclipse.org/mailman/listinfo/m2e-users> > > > _______________________________________________ > m2e-users mailing list > *m2e-users@eclipse.org* <m2e-users@eclipse.org> > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > *https://dev.eclipse.org/mailman/listinfo/m2e-users* > <https://dev.eclipse.org/mailman/listinfo/m2e-users> > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users >
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users