on 05-05-2005 10:36 PM
hi,
i have an EAR with a WAR and an EJB jar. i only have session beans. no entity beans. my EJB jar does not have a persistent.xml or storage.xml. i build my EAR using ant and deploy using visual administrator (thanks to Vladimir Pavlov). i get this huge stack that says
"com.sap.engine.deploy.exceptions.BaseIOException: Cannot parse persistent.xml or storage.xml for JAR F:\usr\sap\J2E\JC00\j2ee\admin\.\temp\deploying\deploy_temp\reader1115328611113\tap-ejb.jar.
Reason: java.lang.NullPointerException."
i get this only when i have <security-permission> in the ejb-j2ee-engine.xml. does this tag need one of these files. the application deploys just fine if i dont have the <security-permission>. i need to map the users to the roles in the application for EJBs.
can someone please tell me what is happening here.
thanks
- RD
Hi RD,
I guess this is kind of a strange behavior with the Deploy Tool and Visual Admin tool, you could report an OSS message for that. But you definitely don't need persistent.xml or storage.xml in this case. These descriptors are only for the O/R mapping of CMP entity beans in Web AS Java 6.40 and 6.20, respectively.
Hope this clarifies your issues!
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not only with Deploy tool and visual admin tool. i tried the console too. gave me an error saying "cannot parse ejb-j2ee-engine.xml". it did not mention the persistent.xml or storage.xml though.
i checked the validity of the xml with the dtd using altova xml spy. it passed.
can you please tell me how I report an OSS message?
thanks
- RD
Hi RD,
If you're an SAP customer, you can report an OSS message to SAP support. See http://service.sap.com/message.
Best regards,
Vladimir
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.