Mail Archive Home | enhydra List | April 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi JOnAS and Enhydra community, I tried to upgrade EJOSA with JOnAS 3.3.6 and Enhydra 5.1.7. Everything seems to be ok except my written JOnAS service for Enhydra. I wrote a JOnAS service to run Enhydra within the JOnAS container (I just drop the Tomcat service and run the Enhydra as service). With the older JOnAS 3.1 and Enhydra 5.0, I had no problem running this service. But now I always get this exception:[java] org.objectweb.jonas.server.Server error: java.lang.reflect.InvocationTargetException
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at
org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:398)
[java] Caused by: java.lang.NoSuchMethodError:
org.apache.log4j.spi.LoggingEvent.getLevel()Lorg/apache/log4j/Level;
[java] at
org.objectweb.util.monolog.wrapper.log4j.MonologCategory.callAppenders(MonologCategory.java:227)
[java] at
org.objectweb.util.monolog.wrapper.log4j.MonologCategory.callAppenders(MonologCategory.java:200)
[java] at org.apache.log4j.Category.forcedLog(Category.java:372)
[java] at
org.objectweb.util.monolog.wrapper.log4j.MonologCategory.log(MonologCategory.java:316)
[java] at
org.objectweb.carol.util.configuration.TraceCarol.infoCarol(TraceCarol.java:190)
[java] at
org.objectweb.carol.jndi.ns.NameServiceManager.startNonStartedNS(NameServiceManager.java:130)
[java] at
org.objectweb.jonas.registry.RegistryServiceImpl.doStart(RegistryServiceImpl.java:90)
[java] at
org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:67)
[java] at
org.objectweb.jonas.service.ServiceManager.startRegistry(ServiceManager.java:270)
[java] at org.objectweb.jonas.server.Server.start(Server.java:153)
[java] at org.objectweb.jonas.server.Server.main(Server.java:311)
[java] ... 5 more
Simply adding enhydra.jar (5.1.7) in the classpath of JOnAS (3.3.6)
will show me the same exception. It seems that enhydra.jar has a
conflict with JOnAS libraries. Any ideas?
I really need your help as I need to have this service to show the
integration between Enhydra and JOnAS.
Thanks and greets,
BTW 1. I almost finish the EJOSA 2.0 which now added a "model" layer
(use AndroMDA for Model Driven Architecture). Now, you can draw some
simple UML diagrams and you get:
1. Interfaces for the "specification". Support on "standard
Java interfaces" and also EJB interfaces.
2. First implementation of the "business" layer. This supports
EJB, DTO, Hibernate. I also plan to add JDO.
3. Pesentation Layer "presentation" using Enhydra Framework -
EAF - Presentation Objects.
The JOnAS example "Alarm" is already added with the model layer,
so you can generate the whole EJB interfaces through the UML model.
Very nice :-) If you are interested to play:
1. Checkout the code "ejosa-revo" from ejosa/ejosa-revo/* CVS.
2. Download and install the ext-libs (external libraries incl.
everything, no need to download anything else) into ejosa-revo/ext-libs.
Download:
http://prdownloads.sourceforge.net/ejosa/ejosa-revo-ext-libs.zip?download
3. Run dev-all/build/build-all-components.xml to compile the whole
examples.
I will update the manual and put the new version in the download page as
soon as I get rid the JOnAS service problem.
BTW 2. Alfred, when will you release the Enhydra 4 (with JOnAS
included)?
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail : dewanto@xxxxxxxxxxxxxxx
ICQ : 39343280
---------------------------------------------------
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.