[JONAS-EJB]Probleme avec la commande GenIC -d

Fermé
khaled001 Messages postés 156 Date d'inscription mardi 19 août 2008 Statut Membre Dernière intervention 8 août 2016 - 5 févr. 2013 à 21:09
Salut

Voila je suis sous ubuntu 12.04 j'ai installé jonas en suivant ce toto : http://doc.ubuntu-fr.org/jonas

je veux résliser ce TP : http://marilleauni.free.fr/cours/ejb/Tp1.html

le problème c'est que je bloque dans la partie ou je dois exécuté cette commande :

GenIC -d /usr/share/jonas/examples/classes sb.xml


j'ai cette erreur la :

JONAS_BASE set to /usr/share/jonas
GenIC fatal error: Cannot read the Deployment Descriptors from sb.xml: Home class not found for bean HelloWorld: sb.HelloWorldHome
Exception during execution of org.objectweb.jonas_ejb.genic.GenIC : Cannot read the Deployment Descriptors from sb.xml:
java.lang.RuntimeException: Cannot read the Deployment Descriptors from sb.xml:
at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:1247)
at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:453)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)

d'après l'erreur il ne trouve pas la classe HelloWorldHome mais c'est pas normal car la commande avant GenIC -d ...qui est javac -d ... qui compile les classes java avait bien fonctionné vu qu'elle a envoyé les fichiers compilés dans le dossier usr/share/jonas/examples/classes/sb

bref avez vous une idée d'ou peut provenir le problème ?

Cordialement