- This topic has 7 replies, 3 voices, and was last updated 12 years, 5 months ago by
support-piotr.
-
AuthorPosts
-
gemuserMemberI have a meven Web project. If i create the war file with a maven command everything is fine.
But i want to deploy it directly on websphere in Myeclipse enviroment. I tried it with “Add Deployment” on Server Tab. Without success. It does not add the dependent projects into war file. All 3rd part libraries are included. But my libraries..What can i do?
support-swapnaModeratorgemuser,
Sorry that you are seeing this issue.
Can you answer some more questions for us ?
1. Can you please share the Installation Details from MyEclipse > Installation Summary > Installation Details ?
2. Which version of Websphere are you working with ?
3. How are you setting the dependent projects ? Is it using the pom dependencies?
4. The deployment of dependencies is controlled through preferences. Right click on the web project and select Properties. Now go to the MyEclipse->Web page and the Deployment tab. You can modify how dependent projects are deployed from there. You can also modify the library deployment policies at the same place.
5. Go to “Project properties -> Deployment Assembly page”. This page describes how your app will be packaged for deployment or export.Can you see ‘Maven Dependencies’? Is its deploy path ‘WEB-INF/lib’?
6. Do you see any errors during the deployment to Websphere ? Please attach the deployment log for websphere to help us investigate the issue. Before sending the deployment.log, clear the contents of the deployment.log, replicate the issue and attach the file.
gemuserMember1. Installation Details
*** Date:
Dienstag, 28. August 2012 12:01 Uhr MESZ*** System properties:
OS=WindowsVista
OS version=6.1.0
OS arch=x86
Profile arch=x86
Window system=win32
Java version=1.6.0_13
Workspace=file:/D:/gem_current/
VM Args=-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-Djava.class.path=D:\MYECLI~1\MYECLI~1\../Common/plugins/ORB7B5~1.JAR*** Subscription information
Product Id: E3MB (MyEclipse Blue Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20130822
Number of users: 6*** Eclipse details:
MyEclipse Blue EditionVersion: 10.5 Blue
Build id: 10.5-Blue-20120615Blueprint: MyEclipse Blue Edition 10
com.genuitec.myeclipse.blue.feature – 10.5.0.me201206141911
com.genuitec.myeclipse.database – 10.5.0.me201206141911
com.genuitec.myeclipse.db2 – 10.5.0.me201206141911
com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
com.genuitec.myeclipse.editor – 10.5.0.me201206141911
com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
com.genuitec.myeclipse.iedebugger – 10.5.0.me201206141911
com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
com.genuitec.myeclipse.maven – 10.5.0.me201206141911
com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
com.genuitec.myeclipse.orion – 10.5.0.me201206141911
com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
com.genuitec.myeclipse.reports – 10.5.0.me201206141911
com.genuitec.myeclipse.resin – 10.5.0.me201206141911
com.genuitec.myeclipse.struts – 10.5.0.me201206141911
com.genuitec.myeclipse.sun – 10.5.0.me201206141911
com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
com.genuitec.myeclipse.ws – 10.5.0.me201206141911
com.genuitec.myeclipse.ws.blue – 10.5.0.me201206141911
org.eclipse.birt – 2.6.1.me201206141911
org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
org.eclipse.emf – 2.7.0.v20110606-0949
org.eclipse.gef – 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
org.eclipse.graphiti.feature – 0.8.0.v20110607-1252
org.eclipse.jpt.jpa.feature – 3.0.0.me201206141911
org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
org.eclipse.m2e.feature – 1.0.0.me201206141911
org.eclipse.sapphire.platform – 0.3.0.201106221325
org.eclipse.wst.common.fproj – 3.3.0.me201206141911
org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.xsd – 2.7.0.v20110606-0949
org.springframework.ide.eclipse.feature – 2.9.1.me201206141911com.intland.hgmylyn – 1.1.0.v201105181349
com.mapquest.selenium.SeleniumFullFeature – 0.0.2
fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
net.sourceforge.pmd.eclipse – 3.2.4.v200804111600
org.codebeamer.eclipse.mylyn_feature – 3.1.1.v201205111222
org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
org.eclipse.draw2d – 3.7.0.v20110425-2050-46-7w3122153603161
org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
org.eclipse.jsf.feature – 3.3.0.me201206141911
org.eclipse.ocl – 3.1.0.v20110606-1427
org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
org.sonar.ide.eclipse.feature – 2.3.0.20111209-1529
org.sonar.ide.eclipse.mylyn.feature – 2.3.0.20111209-1529Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\MyEclipse\MyEclipse Blue Edition 10\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
D:\MyEclipse\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
-startup
D:\MyEclipse\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-install
D:/MyEclipse/MyEclipse Blue Edition 10
-vm
D:/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll2. Websphere 8
3. The dependencies are manages with pom
<dependency>
<groupId>com.mycompnay</groupId>
<artifactId>modul_Basic</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
4. See Image50.png
5. Yes “Maven Depencies” is there.
6.see deployment.logAttachments:
You must be logged in to view attached files.
gemuserMember@gemuser wrote:
1. Installation Details
*** Date:
Dienstag, 28. August 2012 12:01 Uhr MESZ*** System properties:
OS=WindowsVista
OS version=6.1.0
OS arch=x86
Profile arch=x86
Window system=win32
Java version=1.6.0_13
Workspace=file:/D:/gem_current/
VM Args=-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-Djava.class.path=D:\MYECLI~1\MYECLI~1\../Common/plugins/ORB7B5~1.JAR*** Subscription information
Product Id: E3MB (MyEclipse Blue Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20130822
Number of users: 6*** Eclipse details:
MyEclipse Blue EditionVersion: 10.5 Blue
Build id: 10.5-Blue-20120615Blueprint: MyEclipse Blue Edition 10
com.genuitec.myeclipse.blue.feature – 10.5.0.me201206141911
com.genuitec.myeclipse.database – 10.5.0.me201206141911
com.genuitec.myeclipse.db2 – 10.5.0.me201206141911
com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
com.genuitec.myeclipse.editor – 10.5.0.me201206141911
com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
com.genuitec.myeclipse.iedebugger – 10.5.0.me201206141911
com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
com.genuitec.myeclipse.maven – 10.5.0.me201206141911
com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
com.genuitec.myeclipse.orion – 10.5.0.me201206141911
com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
com.genuitec.myeclipse.reports – 10.5.0.me201206141911
com.genuitec.myeclipse.resin – 10.5.0.me201206141911
com.genuitec.myeclipse.struts – 10.5.0.me201206141911
com.genuitec.myeclipse.sun – 10.5.0.me201206141911
com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
com.genuitec.myeclipse.ws – 10.5.0.me201206141911
com.genuitec.myeclipse.ws.blue – 10.5.0.me201206141911
org.eclipse.birt – 2.6.1.me201206141911
org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
org.eclipse.emf – 2.7.0.v20110606-0949
org.eclipse.gef – 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
org.eclipse.graphiti.feature – 0.8.0.v20110607-1252
org.eclipse.jpt.jpa.feature – 3.0.0.me201206141911
org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
org.eclipse.m2e.feature – 1.0.0.me201206141911
org.eclipse.sapphire.platform – 0.3.0.201106221325
org.eclipse.wst.common.fproj – 3.3.0.me201206141911
org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
org.eclipse.xsd – 2.7.0.v20110606-0949
org.springframework.ide.eclipse.feature – 2.9.1.me201206141911com.intland.hgmylyn – 1.1.0.v201105181349
com.mapquest.selenium.SeleniumFullFeature – 0.0.2
fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
net.sourceforge.pmd.eclipse – 3.2.4.v200804111600
org.codebeamer.eclipse.mylyn_feature – 3.1.1.v201205111222
org.eclipse.cvs – 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
org.eclipse.draw2d – 3.7.0.v20110425-2050-46-7w3122153603161
org.eclipse.equinox.p2.core.feature – 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
org.eclipse.equinox.p2.extras.feature – 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
org.eclipse.equinox.p2.rcp.feature – 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
org.eclipse.equinox.p2.user.ui – 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
org.eclipse.help – 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
org.eclipse.jdt – 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
org.eclipse.jsf.feature – 3.3.0.me201206141911
org.eclipse.ocl – 3.1.0.v20110606-1427
org.eclipse.pde – 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E–0
org.eclipse.platform – 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
org.eclipse.rcp – 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
org.sonar.ide.eclipse.feature – 2.3.0.20111209-1529
org.sonar.ide.eclipse.mylyn.feature – 2.3.0.20111209-1529Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
D:\MyEclipse\MyEclipse Blue Edition 10\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
D:\MyEclipse\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
-startup
D:\MyEclipse\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-install
D:/MyEclipse/MyEclipse Blue Edition 10
-vm
D:/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll2. Websphere 8
3. The dependencies are manages with pom
<dependency>
<groupId>com.mycompnay</groupId>
<artifactId>modul_Basic</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
4. See Image50.png
5. Yes “Maven Depencies” is there.
6.see deployment.logAttachments:
You must be logged in to view attached files.
gemuserMemberI antworted the questions
@support-swapna wrote:gemuser,
Sorry that you are seeing this issue.
Can you answer some more questions for us ?
1. Can you please share the Installation Details from MyEclipse > Installation Summary > Installation Details ?
2. Which version of Websphere are you working with ?
3. How are you setting the dependent projects ? Is it using the pom dependencies?
4. The deployment of dependencies is controlled through preferences. Right click on the web project and select Properties. Now go to the MyEclipse->Web page and the Deployment tab. You can modify how dependent projects are deployed from there. You can also modify the library deployment policies at the same place.
5. Go to “Project properties -> Deployment Assembly page”. This page describes how your app will be packaged for deployment or export.Can you see ‘Maven Dependencies’? Is its deploy path ‘WEB-INF/lib’?
6. Do you see any errors during the deployment to Websphere ? Please attach the deployment log for websphere to help us investigate the issue. Before sending the deployment.log, clear the contents of the deployment.log, replicate the issue and attach the file.
support-swapnaModeratorgemuser,
Thank you for the details. I could not replicate the issue at my end using simple Maven web project and one dependent maven java project.
1. Can you recheck the workspace deployment policies ? Since your project is set to use the default workspace settings, please recheck the deployment policies for workspace. Attached is the screenshot for your reference.
2. Are you using the exploded deployment mode ?
3. Can you check if the same project deploys fine on any other server ? You can check with MyEclipse Tomcat and see if the issue exists ?
4. To rule out any issues with your project, can you try with a simple maven web project and one dependent project to see how it works ?
Attachments:
You must be logged in to view attached files.
gemuserMemberHallo,
I upload the project. You can try it with that project…
Attachments:
You must be logged in to view attached files.
support-piotrParticipantGemuser,
I think you should deploy an EAR project instead of a WEB one (note that your EAR pom.xml configuration is missing dependency on Module_Business EJB project). EAR project will contain EJB projects and Web project. Unfortunately, our deployment engine will not pack any EJB projects into lib folder of a WEB project. In ME11 we will provide more flexible deployment engine.
Let us know how it works for you!
-
AuthorPosts