ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | September 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Update JOnAS 3.3.6 to EE 6.0


<This email has been sent to JOnAS community as well>

Hi community,

I actually just finished my upgrade from JOnAS 3.1 to 3.3.6 without
problem. But then I saw that Enhydra Enterprise 6.0 is released! So, I'm
updating EJOSA and OpenUSS again to EE 6.0 (EE 6 uses JOnAS 4.1.2)
before I'm updating my production server.

I found following problem converting my EJBs to 4.1.2:

1. GenIC works just fine. I can compile my EJBs with the new GenIC.

2. Running: I updated every single conf files but I always get an error:

      [java] 06:56:26,515 : EJBServiceImpl.createContainer : Cannot read
the deployment descriptors
'/H:/LDaten/LArbeit/ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate/business/resource/jonas/ejb-jar.xml':
org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Cannot
read the XML deployment descriptors for
/H:/LDaten/LArbeit/ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate/business/bin/jonas/../../../business/bin/jonas/work/ejbjars/jonas/ejb-jar_2004.04.22-16.34.12.jar:java.util.zip.ZipException:
error in opening zip file
      [java] 06:56:26,515 : EJBServiceImpl.doStart : Cannot create
container for ../../resource/jonas/ejb-jar.xml because of Exception :
org.objectweb.jonas.service.ServiceException : Cannot read the XML
deployment descriptors for
/H:/LDaten/LArbeit/ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate/business/bin/jonas/../../../business/bin/jonas/work/ejbjars/jonas/ejb-jar_2004.04.22-16.34.12.jar:java.util.zip.ZipException:
error in opening zip file:
org.objectweb.jonas_lib.deployment.api.DeploymentDescException: Cannot
read the XML deployment descriptors for
/H:/LDaten/LArbeit/ejosa-revo/dev-piggybank-swing-enhydra-ejb-hibernate/business/bin/jonas/../../../business/bin/jonas/work/ejbjars/jonas/ejb-jar_2004.04.22-16.34.12.jar:java.util.zip.ZipException:
error in opening zip file

I actually use this following line to add my DD:
jonas.service.ejb.descriptors           ../../resource/jonas/ejb-jar.xml

And I use the "naked" deployment... It's wyrd that JOnAS thinks that the
descriptor should be a ZIP file? Is this a bug. Again in JOnAS 3.3.6
this worked just fine...

3. Question about GenIC: JOnAS 4.1.2 changed the GenIC command to be
executed with the bootstrap first, something like:

java org.objectweb.jonas.server.Bootstrap
org.objectweb.jonas_ejb.genic.GenIC ...

My question: as I write my own GenIC from <java> Ant task, it is wyrd
that now I need to add those j2ee*.jar files in my classpath (In JOnAS
3.3.6, I did not need to do this). I mean, after adding those jars in my
classpath this works just fine but I thought I use a bootstrap, so that
I don't need to add those classpaths...? If I don't add those j2ee*.jar
files I get following error:

Error during execution of org.objectweb.jonas_ejb.genic.GenIC :
javax/ejb/EJBHome
      [java] java.lang.NoClassDefFoundError: javax/ejb/EJBHome

4. Is there actually any GenIC Ant task, which does not create those
jars automatically for you? I don't use the <ejbtask> because:
- It always creates the jar file (in development it takes too long, see
"naked" version).
- It need bcel.jar in Ant installation? If you don't add this, it won't
work (so, in my IDE it never works...).


It would be great if someone can help me :-)

Thanks a lot!
--
---------------------------------------------------
Blasius Lofi Dewanto
---------------------------------------------------
OpenUSS - Open University Support System
http://openuss.sourceforge.net
---------------------------------------------------
E-Mail   : dewanto@xxxxxxxxxxxxxxx
ICQ      : 39343280
---------------------------------------------------






<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.