on 09-04-2006 9:42 AM
hi everyone,
I am getting the following error while migrating an application from Websphere to SAP Web AS.
I am trying to used XSD(ejb-jar_2_1.xsd) instead of DTD(ejb-jar_2_0.dtd).
The error is --
Cannot parse persistent.xml or storage.xml
Reason: com.sap.engine.services.deploy.exceptions.BaseWrongStructureException: <b>Incorrect element. Expected: entity | session, found: message-driven..</b>
It seems it is not expecting a message-driven tag.
Why is this happening?
Can anyone please help..
thanks in advance,
Abhijit
Hi,
There is no specific document, but if you check out help.sap.com documents you will see WEBAS Java is J2EE 1.3 compliant, this specification includes support only for DTD-s.
Regards, Myriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I checked again and indeed for NW 6.40 and NW04s deployment is supported only with DTD-s, but not XSD-s.
Regards, Myriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The exception you are getting seems very strange, because persistent.xml is relevant only for entity beans.
Can you give some more information on the ejb-s that the application contains.
For tips on migrating ejb applications check out
http://help.sap.com/saphelp_nw2004s/helpdata/en/ff/dd813e77d46245e10000000a114084/content.htm
Greetings, Myriana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Myriana,
Thanks for your response..
Yes it is a strange error.
It seems it is not able to recognise the "message-driven" error. Looking at the error it also seems that it is able to find and parse the XSD.
When i tried with DTD it works fine.
Is it so that SAP WebAS that comes with with Netweaver 4 does not support message-driven beans while using XSD?
From this error i think it is so..
Also I got some similar problem while using <local> and <local-home> tags.
regards,
Abhi
User | Count |
---|---|
85 | |
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.