Hi all ,
I developed Entity Bean(BMP) and i created Deployment Descriptor in NetBeans 5.5. I'm getting following error .
Error:
===
XML validation started.
Checking file:/G:/my_prgs/Xml/learning/Store_Data/build/jar/META-INF/jonas-ejb-jar.xml...
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [5]
cvc-elt.1: Cannot find the declaration of element 'jonas-ejb-jar'. [5]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [6]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [7]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [8]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [9]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [10]
Referenced entity at "[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]".
schema_reference.4: Failed to read schema document '[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'[/URL], because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. [11]
XML validation finished.
Deployment Descriptor :
==============
<?xml version="1.0" encoding="ISO-8859-1"?>
<jonas-ejb-jar xmlns="[URL]http://www.objectweb.org/jonas/ns[/URL]"
xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]"
xsi:schemaLocation="[URL]http://www.objectweb.org/jonas/ns[/URL]
[URL]http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd[/URL]" >
<jonas-entity>
<ejb-name>Store_DataBean</ejb-name>
<jndi-name>Store_DataBean</jndi-name>
<jonas-resource>
<res-ref-name>connect</res-ref-name>
<jndi-name>connect</jndi-name>
</jonas-resource>
</jonas-entity>
</jonas-ejb-jar>
I'm not good in XML . So i don't know what's the problem .
Please tell me what are the changes i have to do to correct this problem .
Thanks in advance