MyEclipse Forums
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dmacpher
Post subject: Access to WAS specific feature - DistributedMap  PostPosted: Jun 27, 2008 - 04:41 PM
Registered Member
Registered Member


Joined: Jun 26, 2008
Posts: 12

Hi

With RAD, the WAS runtime seemed to be part of my build path, so it could resolve, for instance, a reference to a WAS-specific interface that comes bundled with the appserver. I want to make use of the WAS DistributedMap interface and dynamic cacheing features of WAS (com.ibm.websphere.cache.DistributedMap interface, specifically) but I can't figure out how to get Blue to resolve this reference.

Can anyone help out? I'm running WAS 6.1 locally on my Windows XP box.

Dave
 
 View user's profile Send private message  
Reply with quote Back to top
dmacpher
Post subject: Re: Access to WAS specific feature - DistributedMap  PostPosted: Jul 02, 2008 - 03:54 AM
Registered Member
Registered Member


Joined: Jun 26, 2008
Posts: 12

dmacpher wrote:
Hi

With RAD, the WAS runtime seemed to be part of my build path, so it could resolve, for instance, a reference to a WAS-specific interface that comes bundled with the appserver. I want to make use of the WAS DistributedMap interface and dynamic cacheing features of WAS (com.ibm.websphere.cache.DistributedMap interface, specifically) but I can't figure out how to get Blue to resolve this reference.

Can anyone help out? I'm running WAS 6.1 locally on my Windows XP box.



Just bumping this in the hopes that someone has been successful doing this. Has anyone been able to resolve references to WAS com.ibm.xxxxx interfaces such as DistributedMap in ME BLue?
 
 View user's profile Send private message  
Reply with quote Back to top
jandrews
Post subject: RE: Re: Access to WAS specific feature - DistributedMap  PostPosted: Jul 16, 2008 - 09:18 PM
Registered Member
Registered Member


Joined: Mar 07, 2006
Posts: 9

I have a similar problem. I use RasHelper extensively during startup. Currently, I have to include the WAS .jar containing this class in my build path (or suffer reported errors in the proejct), and when I do that, the automated build includes said .jar, at 33MB, into my .ear. Of course, it's already on the WAS system classpath, so I don't need it in my deployment package.

I finally solved the problem by:

1. Add the WAS JRE as an "installed JRE"
2. Within that JRE definition, you can define a library path. The default is the contents of {WAS install root}/java/jre/lib. I added com.ibm.jaxws.thinclient_6.1.0.jar from the "runtimes" directory in the WAS install (that, by the way, includes DistributedMap)
3. In project properties/build path, add the WAS JRE system library (and drop the default library, whatever it is).
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Re: Access to WAS specific feature - DistributedMap  PostPosted: Jul 17, 2008 - 06:41 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

jandrews,
Excellent solution to the problem, thank you for taking the time to post it. I am adding it to the FAQ with full credits.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits