When i am deploying My EJB Application, it is giving MissingSubstitutionException exception. I have created one Session bean for business logic of the app. and Entity bean for Database access.
Error is :
Execution of deployment action for "EMPEJB_APP" aborted:
Caught exception during application deployment from SAP J2EE Engine's deploy API:
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
When i deployed this same app. in another J2EE server its giving me RMI.EXCEPTION
Error is :
Execution of deployment action for "EMPEJB_APP" may require some post-treatment:
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application sap.com/EMPEJB_APP and wait. Reason: Complex error : server ID 5596650:Application sap.com/EMPEJB_APP cannot be started, because it has hard reference to resource UserList_pool with type javax.sql.DataSource, but it is not active on the server.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Where EMPEJB_APP is my EJB application name and USERLIST_POOL is the datasource name in my persistant.xml file in EJB.
If any one can know about this problem then please help me....