cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

Thank You.

I try it but when i add the deploy group command in console this message occurs:

ADD DEPLOY

There aren't commands from DEPLOY group in the CommandContext.

So the DEPLOY command is not available.

Seem that all ServerGroup are not available.

How to switch to system command group ?

I must do some others configuration ?

Former Member
0 Kudos

Sorry i have found how to Switch.

using LSC command and JUMP

)

Sorry

And Thank You!

U have resolve my problem!

Answers (0)