| | |
Problem with Deployment Descriptor
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Hi all ,
I developed Entity Bean(BMP) and i created Deployment Descriptor in NetBeans 5.5. I'm getting following error .
Error:
===
Deployment Descriptor :
==============
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
I developed Entity Bean(BMP) and i created Deployment Descriptor in NetBeans 5.5. I'm getting following error .
Error:
===
Java Syntax (Toggle Plain Text)
XML validation started. Checking file:/G:/my_prgs/Xml/learning/Store_Data/build/jar/META-INF/jonas-ejb-jar.xml... Referenced entity at "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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 "<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>". schema_reference.4: Failed to read schema document '<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd'" target="_blank">http://www.objectweb.org/jonas/ns/jo...r_4_0.xsd'</a>, 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.
==============
Java Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="ISO-8859-1"?> <jonas-ejb-jar xmlns="<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns" target="_blank">http://www.objectweb.org/jonas/ns</a>" xmlns:xsi="<a rel="nofollow" class="t" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns" target="_blank">http://www.objectweb.org/jonas/ns</a> <a rel="nofollow" class="t" href="http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd" target="_blank">http://www.objectweb.org/jonas/ns/jonas-ejb-jar_4_0.xsd</a>" > <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
![]() |
Similar Threads
- netbeans problem (Java)
- Error: 500 on Apache SOAP Admin page (RSS, Web Services and SOAP)
- y we can not initialize the fields in the construtor in the servlet? (Java)
- In about Jboss.xml (Java)
- How to send an action to servlet through hyperlink and display the data on to jsp. (JSP)
- what is significane of deployment desciptor (Java)
- Linux Shell Piping Problem (C)
- Problem deserializing objects from multiple classes (C#)
Other Threads in the Java Forum
- Previous Thread: i want problem for practic.
- Next Thread: interface listening for loading file in textcomponent
| Thread Tools | Search this Thread |
Tag cloud for Java
actionlistener android api apple applet application apps arguments array arrays automation balls binary bluetooth card chat class classes clear client code component consumer database draw eclipse ee error event exception fractal free game gameprogramming gis givemetehcodez graphics gui html ide image input integer j2me j2seprojects java javaprojects jni jpanel julia jvm key linux list loop machine map method methods migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie nextline nls notdisplaying number oracle output print problem program programming project recursion recursive scanner screen security server set size sms socket sort spamblocker sql sqlite string sun swing terminal test threads time tree trolltech windows





