For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 2 voices, and was last updated 14 years, 8 months ago by
anyz.
-
AuthorPosts
-
anyzMemberI have followed the steps at https://www.genuitec.com/forums/topic/ear-deploying-module-library-dependency/ to create and configure EAR module. T
There are lots of frameworks related jar (Spring, hibernate, XML parsin, logging etc) that i placed in simple java proeject and EAR proejct reference it. On buildign EAR file all these jars are exported in lib folder or EAR. I assume the manifest files for each Web Module should have entries for all these jars, so i tried creating menifest files as given in URL above. The manifest files are created by MyElipse but these do not have entreis of any jar from EAR lib. Am i missing something?
January 6, 2011 at 4:03 am #313568
support-swapnaModeratoranyz,
Please paste your installation details here from the menu MyEclipse > Installation Summary > Installation Details.
Are the EAR and the java projects based on 1.4 or 5.0 specification?
If they are with 5.0 specification , can you check if the same issue exists with 1.4 specification?
Are you able to deploy the application without errors?Let us know how it works for you.
January 6, 2011 at 4:49 am #313569
anyzMemberInstallation summary is:
*** Date:
Thursday, January 6, 2011 3:44:45 PM PKT** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100723*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.6
Build id: 8.6-20100723Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\username\AppData\Local\Genuitec\MyEclipse-8.6\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Users\username\AppData\Local\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
-startup
C:\Users\username\AppData\Local\Genuitec\MyEclipse-8.6\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-install
C:/Users/username/AppData/Local/Genuitec/MyEclipse-8.6
-configuration
configuration
-launcher
C:\Users\username\AppData\Local\Genuitec\MyEclipse-8.6\myeclipse.exe
-install
C:/Users/username/AppData/Local/Genuitec/MyEclipse-8.6
-configuration
configuration
-data
D:\work\Projects\MyProj
-launcher
C:\Users\username\AppData\Local\Genuitec\MyEclipse-8.6\myeclipse.exe
-install
C:/Users/username/AppData/Local/Genuitec/MyEclipse-8.6
-configuration
configuration
-vm
C:/Users/username/AppData/Local/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dllMy modules uses JDK 1.6.
January 11, 2011 at 5:26 am #313629
support-swapnaModeratoranyz,
What is the J2EE specification for EAR project?
Are you able to deploy the application without errors?Can you please answer the above questions?
January 11, 2011 at 8:53 am #313633
anyzMemberWhat is the J2EE specification for EAR project?
Are you able to deploy the application without errors?It has J2EE 5.0 version
I can’t go back to JDK 1.4, so could not test it as suggested. With 5.0 its not working.January 12, 2011 at 12:00 am #313648
support-swapnaModeratoranyz,
With Java EE 5, any library required by an EAR’s module should go into the EAR/lib dir, then the application server automatically exploded that to the class path of the EAR’s modules, you don’t need to update the manifests.
Also the application.xml file has become optional, more information here:
http://java.sun.com/developer/technicalArticles/J2EE/intro_ee5/Let us know how it works for you.
January 12, 2011 at 2:09 am #313650
anyzMemberThanks a lot for clearing things. Application.xml is also optional though its properly updated by MyEclipse. I will give the generated EAR a go.
-
AuthorPosts