Both files contain errors. How was I able to spot these errors? Because I 
am using a proper XML editor which validates against the DTD. It reported 
and highlighted these errors as soon as I opened your files. I strongly 
recommend you do the same. Chuck away your copy of 
notepad/emacs/vi/whatever and download one. I use: 
 http://www.alphaworks.ibm.com/tech/xeena

It really is very nice! (and is pure Java). The UI is similar to Windows 
regedit (i.e. tree-based). And it won't let you make these mistakes *ever* 
again!

So the errors are:

"container-transaction" in ejb-jar.xml is missing the 
"trans-attribute:Required" attribute.

And in jonas-ejb-jar.xml you have mistakenly put several finder methods 
under "finder-method-jdbc-mapping". Each finder method should be put within 
separate "finder-method-jdbc-mapping" tags.

Joe



-----Original Message-----
From:   Pellerano Sandro [SMTP:[EMAIL PROTECTED]]
Sent:   Thursday, September 14, 2000 3:33 PM
To:     [EMAIL PROTECTED]
Subject:        Problem with GenIC

Hi,

J use Jonas 2 on Windows NT with jdk 1.3.

When j want to generate the container classes with the GenIC tool this
message is come back:

D:\jonas_jdk1.2\classes>java -Dinstall.root=d:\jonas_jdk1.2
org.objectweb.jonas.tools.GenIC -d d:\jonas_jdk1.2\classes ejb-jar.xml
"descriptor is null
ERROR: Invalid XML in ejb-jar.xml:
GenIC ERROR: When reading the Deployment Descriptors for ejb-jar.xml"

Here add the xml descriptors

Thank you  Sandro Pellerano

 << File: ejb-jar.xml >>  << File: jonas-ejb-jar.xml >> 

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to