on 02-12-2005 8:33 PM
Hi,
I have downloaded flightdemo.zip from http://www.sappro.com/download03.html,
when I deploy the above FlightApp Example I got got the following error::
<b>Application cannot be started!</b>
Details: com.sap.engine.services.ejb.exceptions.deployment.ORMappingVerificationException: According to the O/R mapping described in /META-INF/persistent.xml, a CMPBean intends to store its persistent information in table SBOOK_CMP. Such table does not exist in the database. Create it before trying to start the application.
at com.sap.engine.services.ejb.deploy.orMappingVerifier.CMPEntityVerifier.getCatalogTable(CMPEntityVerifier.java:104)
at com.sap.engine.services.ejb.deploy.orMappingVerifier.CMPEntityVerifier.check(CMPEntityVerifier.java:82)
at com.sap.engine.services.ejb.deploy.orMappingVerifier.AbstractSchemaVerifier.check(AbstractSchemaVerifier.java:83)
at com.sap.engine.services.ejb.EJBAdmin.prepareStart(EJBAdmin.java:2381)
at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:342)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:309)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:308)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:113)
at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:219)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4434)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4341)
at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4314)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1119)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:286)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:172)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:104)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
Any help would be appriciated, thanks in advance.
With regards
Sreenivas
Hi,
Before deploing the app (.ear archive)from FlightApp you should deploy
.sda archive from FlightDB project.
The sda archive contains database table definitions reqired for FlightApp.
The deployment process is exactly the same.
Hope it helps.
Victor.
Sorry for collision, Stefan, it looks like we are replying in parallel
Message was edited by: Victor Shafran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sreenivas,
looking at the download page, there are multiple projects included in the zip. The CMP entity verifier checks for a table SBOOK_CMP, which should be defined in the FlighDB project (FlightDB is probably a dictionary project, so switch to the Dictionary perspective in the Developer Studio). You have to build and deploy FlightDB before FlightEJB, then the needed tables will have been created in the database.
Hope that helps.
Regards, Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.