Eclipse - LOMBOZ

Eclipse - LOMBOZ - Java - Programmation

Marsh Posté le 23-03-2004 à 09:32:55    

Bonjour,
 
Je suis en train de tester le plugin lomboz avec eclipse qui permet de faire des projet J2EE. J'ai bien tout configuré comme expliqué dans la doc lomboz, je fais donc un premier essai "Simple EJB" (http://www.objectlearn.com/support/docs/firstEJB.jsp), c'est un helloworld basic... toutes les etapes se passent bien jusqu'a la numéro 20, et c'est la 21, au niveau "deploy" qui foire.
 
Je travail avec JOnAS 3.3.6 et Tomcat 4.1.30 et le dernier eclipse.
 
Voici l'erreur :
 
Buildfile: C:\eclipse\workspace\MyFirstEJBProject\mybeans\META-INF\build.xml
init:
ejb-jar:
      [jar] Building jar: C:\eclipse\workspace\MyFirstEJBProject\mybeans\META-INF\mybeans.jar
deploy:
     [copy] Copying 1 file to C:\java\platform\jonas\ejbjars
   [delete] Deleting: C:\eclipse\workspace\MyFirstEJBProject\mybeans\META-INF\mybeans.jar
deployTool:
jonas-jar:
   [delete] Deleting directory C:\java\platform\jonas\ejbjars\mybeans_jonas
    [unjar] Expanding: C:\java\platform\jonas\ejbjars\mybeans.jar into C:\java\platform\jonas\ejbjars\mybeans_jonas
   [delete] Deleting: C:\java\platform\jonas\ejbjars\mybeans.jar
[jonasEjbJjar] building mybeans.jar with 17 files
    [genic] 2004-03-23 09:27:04,703 : SessionDesc.checkTxAttribute : trans-attribute missing for method public abstract java.lang.String com.testing.session.TestSession.helloWorld() throws java.rmi.RemoteException in session bean TestSession (set to the default value Supports)
    [genic] GenIC for JOnAS 3.3.6: Beans 'TestSession' generation ...
    [genic] 2004-03-23 09:27:05,468 : Cmd.run : exception
    [genic] java.io.IOException: CreateProcess: "C:\Program Files\Java\j2re1.4.2_04\..\bin\javac" -classpath C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\genic34822.tmp;C:\java\platform\jonas\ejbjars\mybeans-generic.jar;.;C:\java\platform\jonas\ejbjars\mybeans_jonas;C:\java\platform\jonas\lib\common\ow_jonas_bootstrap.jar;C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\genic34822.tmp;C:\java\platform\jonas\lib\common\j2ee\mail\mail.jar;C:\java\platform\jonas\lib\common\j2ee\activation\activation.jar;C:\java\platform\jonas\lib\jonas.jar;C:\java\platform\jonas\lib\ext\mysql-connector-java-3.0.11-stable-bin.jar;C:\java\platform\jonas\lib\common\jmx\jmx\jmxri.jar;C:\java\platform\jonas\lib\common\jmx\jmx\jmxtools.jar;C:\java\platform\jonas\lib\web_catalina.jar;C:\java\platform\jonas\lib\webservices_axis.jar;C:\java\platform\jonas\lib\common\ws\jsse\jsse.jar;C:\java\platform\jonas\lib\common\ws\jnet\jnet.jar;C:\java\platform\jonas\lib\common\ws\jcert\jcert.jar;C:\java\platform\jonas\lib\common\jakarta\commons-modeler\commons-modeler.jar -d C:\DOCUME~1\ADMINI~1\LOCALS~1?
    [genic] at java.lang.Win32Process.create(Native Method)
    [genic] GenIC fatal error:
    [genic] Failed when compiling the generated classes via java compiler
    [genic] org.objectweb.jonas_ejb.genic.GenIC error: java.lang.reflect.InvocationTargetException
    [genic] java.lang.reflect.InvocationTargetException
    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [genic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [genic] at java.lang.reflect.Method.invoke(Unknown Source)
    [genic] at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:398)
    [genic] Caused by: java.lang.RuntimeException: Failed when compiling the generated classes via java compiler
    [genic] at org.objectweb.jonas_ejb.genic.GenIC.fatalError(GenIC.java:896)
    [genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:426)
    [genic] ... 5 more
    [genic] at java.lang.Win32Process.<init>(Unknown Source)
    [genic] at java.lang.Runtime.execInternal(Native Method)
    [genic] at java.lang.Runtime.exec(Unknown Source)
    [genic] at java.lang.Runtime.exec(Unknown Source)
    [genic] at org.objectweb.common.Cmd.run(Cmd.java:137)
    [genic] at org.objectweb.jonas_ejb.genic.GenIC.compilClasses(GenIC.java:607)
    [genic] at org.objectweb.jonas_ejb.genic.GenIC.main(GenIC.java:410)
    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [genic] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [genic] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [genic] at java.lang.reflect.Method.invoke(Unknown Source)
    [genic] at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:398)
    [genic] Failed when compiling the generated classes via java compiler
BUILD FAILED: C:\eclipse\workspace\MyFirstEJBProject\mybeans\META-INF\build.xml:64: Following error occured while executing this line
C:\eclipse\workspace\MyFirstEJBProject\mybeans\META-INF\deploy.xml:36: GenIC reported an error.
Total time: 5 seconds
 
 
Merci pour votre aide!!!

Reply

Marsh Posté le 23-03-2004 à 09:32:55   

Reply

Marsh Posté le 23-03-2004 à 16:12:15    

qqun a t'il trouvé???

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed