944,027 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3248
  • Java RSS
Mar 22nd, 2007
0

Problem with Deployment Descriptor

Expand Post »
Hi all ,

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)
  1.  
  2. XML validation started.
  3.  
  4. Checking file:/G:/my_prgs/Xml/learning/Store_Data/build/jar/META-INF/jonas-ejb-jar.xml...
  5. Referenced entity at "<a rel="nofollow" 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>".
  6. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  7. cvc-elt.1: Cannot find the declaration of element 'jonas-ejb-jar'. [5]
  8. Referenced entity at "<a rel="nofollow" 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>".
  9. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  10. Referenced entity at "<a rel="nofollow" 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>".
  11. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  12. Referenced entity at "<a rel="nofollow" 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>".
  13. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  14. Referenced entity at "<a rel="nofollow" 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>".
  15. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  16. Referenced entity at "<a rel="nofollow" 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>".
  17. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  18. Referenced entity at "<a rel="nofollow" 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>".
  19. schema_reference.4: Failed to read schema document '<a rel="nofollow" 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]
  20. XML validation finished.
  21.  
Deployment Descriptor :
==============

Java Syntax (Toggle Plain Text)
  1.  
  2. <?xml version="1.0" encoding="ISO-8859-1"?>
  3. <jonas-ejb-jar xmlns="<a rel="nofollow" href="http://www.objectweb.org/jonas/ns" target="_blank">http://www.objectweb.org/jonas/ns</a>"
  4. xmlns:xsi="<a rel="nofollow" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"
  5. xsi:schemaLocation="<a rel="nofollow" href="http://www.objectweb.org/jonas/ns" target="_blank">http://www.objectweb.org/jonas/ns</a>
  6. <a rel="nofollow" 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>" >
  7. <jonas-entity>
  8. <ejb-name>Store_DataBean</ejb-name>
  9. <jndi-name>Store_DataBean</jndi-name>
  10. <jonas-resource>
  11. <res-ref-name>connect</res-ref-name>
  12. <jndi-name>connect</jndi-name>
  13. </jonas-resource>
  14. </jonas-entity>
  15. </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
Reputation Points: 10
Solved Threads: 6
Junior Poster in Training
parthiban is offline Offline
80 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: EventListener for sequence of events
Next Thread in Java Forum Timeline: interface listening for loading file in textcomponent





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC