Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error in deployment descriptor

843830Feb 21 2007
Hi all ,

I developed a EJB(session bean) program using Netbeans (5.5) for JOnAS (4.8.4 ) and i also deployed it successfully but i can't able to run it by invoking through client program.

I don't have good clue where the problem is but when i validate JOnAS specific deployment descriptor i'm getting the following error message.

Error Message :
============
XML validation started.

Checking file:/C:/Parthi/learning/SimpleSessionApp/SimpleSessionApp-ejb/build/jar/META-INF/jonas-ejb-jar.xml...
cvc-elt.1: Cannot find the declaration of element 'jonas-ejb-jar'. [2] 
XML validation finished.
and here is the auto generated deployment descriptor created by Netbeans

Auto Generated Deployement descriptor :
================================
<?xml version="1.0" encoding="UTF-8"?>
<jonas-ejb-jar xmlns="http://www.objectweb.org/jonas/ns">
  <jonas-session>
    <ejb-name>MysessionbeanBean</ejb-name>
    <jndi-name>MysessionbeanBean</jndi-name>
  </jonas-session>
</jonas-ejb-jar>
Please tell is this the cause for problem and if so how to rectify it ?
if not means where may the problem ?

Thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2007
Added on Feb 21 2007
0 comments
122 views