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

Cannot parse persistent.xml or storage.xml.... NullPointerException

I have created an EAR with one WAR file and 3 EJB JAR.

in every ejb jar i have add the ejb-j2ee-engine.xml and in the war the web-j2ee-engine.xml

all the ejb are only BMP (bean persistent)

When i open the deploy tool, create a new project and try to load this ear, this error occurs reading the first ejb jar.

"

Error occured while trying to load ear fiel - incorrect EAR!

com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse persistent.xml or storage.xml for JAR E:\sapproject\sapabs\deployer\temp\reader1108653530265\ABSEJBSRuntime.jar

Reason: java.lang.NullPointerException

"

why?

I get a lok to persistent.dtd and seem for only CMP entity.

I try to insert in every ejb jar a empty persistent.xml file, but nothing change.

Any idea ?

Thank You

Message was edited by: roberto roberto

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Feb 17, 2005 at 03:42 PM

    Hi Roberto,

    You are absolutely right - persistent.xml describes the O/R mapping and some other properties of CMP entity beans, it is not used for BMP.

    Instead of using the deploy tool, I would suggest to deploy your application with the Shell console administrator or the Visual Administrator tool. Have a look at

    http://help.sap.com/saphelp_nw04/helpdata/en/cb/6acf38422f0244b960236643e3cc46/frameset.htm

    Server Administration -> J2EE Engine Administration Tools -> Shell Console Administrator

    If you want not only to deploy your app but also to further develop it, it's better to use the NW Developer Studio - it is more sophisticated and provides more useful features than deploy tool.

    Hope this helps,

    Vladimir

    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.