on 05-16-2005 9:52 PM
What jars do I need to connect thru JNDI on a THIN CLIENT?
Without a jar, the program is giving me a "noClassFound" exception, saying it cant find the
<b>com.sap.engine.services.jndi.InitialContextFactoryImp</b>
class
Well, it depends on what your client program is trying to do, but the minimum required are sapj2eeclient.jar, exception.jar, and logging.jar - you need to have these in the classpath. If you want to lookup e.g. an EJB or a JMS object you'll also have to put ejb20.jar and the jar file containing the remote interfaces of your EJB, or jms.jar respectively, in the classpath.
Hope that helps,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.