- This topic has 5 replies, 2 voices, and was last updated 12 years, 8 months ago by
support-swapna.
-
AuthorPosts
-
meetsbsMemberHi,
I am unable to reference the JARs in EAR/lib at runtime. I am using in-workspace mode. Can you please suggest what should be my settings in the EJB project and the EAR project so that the EJBs can refer the JARs from EAR at runtime.
Regards,
Saurabh Shah
support-swapnaModeratorSaurabh,
Sorry that you are seeing this issue.
Can you answer some more questions for us ?
1. Can you please copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?
2. Which version of Websphere server are you working with?
3. Did you make an entry in the EJB’s MANIFEST.MF file ?.Any module that wants to use a jar from EAR’s libraries needs to reference the jar in module MANIFEST.MF like:
Class-Path: lib/TheJarNameHere.jar
4. If you are still seeing issues, please prepare a sample project with minimum files which exhibits the behavior and send it to us for further investigation.
meetsbsMember*** Date:
Wednesday, June 13, 2012 2:07:32 PM IST** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Blue Edition
Version: 9.1 Blue
Build id: 9.1-Blue-20110701*** Eclipse details:
MyEclipse Blue EditionVersion: 9.1 Blue
Build id: 9.1-Blue-20110701Eclipse Platform
Version: 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
Build id: M20100909-0800Eclipse Java Development Tools
Version: 3.6.1.r361_v20100714-0800-7z8XFUSFLFlmgLc5z-Bvrt8-HVkH
Build id: M20100909-0800Eclipse Plug-in Development Environment
Version: 3.6.1.r361_v20100727-7b7mFL-FET3dhESDgE5_bkJ
Build id: M20100909-0800Eclipse Graphical Editing Framework GEF
Version: 3.6.1.v20100908-1100-777B181A3Bz-6B663E7974242
Build id: 201009132020Eclipse RCP
Version: 3.6.1.r361_v20100827-9OArFLdFjY-ThSQXmKvKz0_T
Build id: M20100909-0800Eclipse startup command=-os
win32
-ws
win32
-arch
x86_64
-showsplash
-launcher
C:\Proj-StateOfMontana\EclipseBlue\MyEclipse Blue Edition 9\myeclipse-blue.exe
-name
Myeclipse-blue
–launcher.library
C:\Proj-StateOfMontana\EclipseBlue\MyEclipse Blue Edition 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\Proj-StateOfMontana\EclipseBlue\MyEclipse Blue Edition 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-exitdata
fac_5c
-install
C:\Proj-StateOfMontana\EclipseBlue\MyEclipse Blue Edition 9
-configuration
C:\Proj-StateOfMontana\EclipseBlue\MyEclipse Blue Edition 9\configuration
-vm
C:\Proj-StateOfMontana\EclipseBlue\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exeI am using Websphere 7.0
EJB’s Manifest contains the jar entries
support-swapnaModeratorSaurabh,
Thank you for the details.
1. Can you please share with us the JEE version of your project ?
2. Also paste the contents of the MANIFEST.MF file here for us to investigate further ?
meetsbsMemberHi,
I made changes to the EJB and EAR settings. Now i am able to reference the required JARs at runtime.
Regards,
Saurabh Shah
support-swapnaModeratorSaurabh,
Glad that the issue is resolved.
Do let us know if you have any issues. -
AuthorPosts