Hi,
I use the common schema "WebDynpro --> SessionBean --> JDO --> ext. DB". My problem concerns the access of the xternal DB with JDO. Following the instructions in the documentation of training JA320, I have defined a connector named "kddvisPMF" in visual admin under "Connector Container / Connector 1.0 / sap.com/com.sap.jdo". I think here my problem begins. Following the doc the name should be "jdo/kddvisPMF", but visual admin does not allow to use the "/" in a name.
In my SessionBean I tried the following lookup-commands, but nothing works:
pmf = (PersistenceManagerFactory) ctx.lookup("java:comp/env/kddvisPMF");
==> "Path to object does not exist"
pmf = (PersistenceManagerFactory) ctx.lookup("java:comp/env/jdo/kddvisPMF");
==> "Cannot resolve object reference"
pmf = (PersistenceManagerFactory) ctx.lookup("jdo/kddvisPMF");
==> "Path to object does not exist"
What's the problem?
Further info:
- sap.com/com.sap.jdo is running
- using "java:comp/env/jdo/defaultPMF" works fine
Thanks for help,
Christoph