on 02-17-2005 3:11 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ?
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.