| Author |
wsad 5 - initial context from client module
|
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
I am trying to access the initial context from a client module in WSAD 5.1. I get an initial context, but when I try to get the datasource from it, I get: NoClassDefFoundError Invalid Implementation Key, com.ibm.ws.transaction.TXCurrent I also get this error if I call an access bean from the client. Any ideas of where this file is or what else could be causing the error? My code is: Also, are there any tricks about running from the client in 5.1. Like in 4.0, we had to change the JRE for the client project. [ April 20, 2004: Message edited by: Jeanne Boyarsky ]
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
|
|
There is a trick or two. It's documented in the InfoCenter. Look for "Configuring data access for application clients" or "Application Client Resource Configuration Tool" for the reference. Or alternatively, look in the EJB client chapter of my book. Kyle
|
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
|
The main problem was that I was running as a junit test and not as a client program. Thanks for the help references.
|
 |
 |
|
|
subject: wsad 5 - initial context from client module
|
|
|