on 01-19-2013 5:14 AM
Hi,
We have a EJB built on 7.0 which was working fine. After migrating to 7.3 when I run the application it is throwing the below exception;
javax.naming.NamingException: Exception during lookup operation of object with name ejbContexts/.........../JDODataManagerBean/java:comp/env/jdo/defaultPMF, cannot resolve object reference. [Root exception is com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "" does not exist. Possible reasons: the adapter in which ConnectionFactory "" is defined is not deployed or not started.]
The status of below in NWA are green;
1) JDBC data source alias
2) jdo/defaultPMF-com.sap.jdo.jca.spi.SAPJDOManagedConnectionFactory (JCA managed connection factory)
3) jdo/defaultPMF (Resource)
Code:
Context ctx = new InitialContext(); | |||
PersistenceManagerFactory pmf = (PersistenceManagerFactory) ctx.lookup("java:comp/env/jdo/defaultPMF"); | |||
pm = pmf.getPersistenceManager(); |
Apparently in the above error message, it is not showing which ConnectionFactory it is looking for (it just says "") so i can check the connection factory as well as the adapter in which the connection factory it is defined.
Can anyone please advise?
Any thoughts ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.