Skip to Content
author's profile photo Former Member
Former Member

Flight Demo

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2005 at 09:44 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2005 at 09:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.