Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] dynamic weaving now possible with jBoss 5 ? Any experiences? - see EJBTHREE-572 and EclipseLink #252965

Manfred,
    Hi, we have an update on dynamic weaving on JBoss 5.0.1.
    Kevin verified that we still get the NullPointerException in their UniversalClassLoader3 described by JBoss JIRA-572 - it looks like the JEE5 specification call - PersistenceUnitInfo.getNewTempClassLoader() is still not fixed in JBoss 5.0.1 - the JIRA is still open as well.

See our workaround/log for the NPE in PersistenceUnitProcessor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227630 https://bugs.eclipse.org/bugs/attachment.cgi?id=96619&action="">
You will see the following message until JIRA-572 is fixed on their end

        } catch (NullPointerException npe) {
            // Bug 227630: If any weavable class is not found in the temporary classLoader - disable weaving
            AbstractSessionLog.getLog().log(AbstractSessionLog.WARNING, "persistence_unit_processor_error_loading_class_weaving_disabled", loader, project.getPersistenceUnitInfo().getPersistenceUnitName(), className);

{ "persistence_unit_processor_error_loading_class_weaving_disabled", "The classLoader [{0}]: for PersistenceLoadProcessor [{1}] failed to load class [{2}]. Weaving has been disabled for this session. EclipseLink may be unable to get a spec mandated temporary class loader from the server, you may be able to use static weaving as an optional workaround. "},

The tracking bug# 252965 should remain in future state for Jira 572 until it is fixed in a later JBoss release.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252965

You may vote for EJBTHREE-572 to be fixed by creating an account and voting for this JIRA.
 https://jira.jboss.org/jira/browse/EJBTHREE-572

thank you
/michael

----------1/12/2009 7:24 AM----------------------

Michael O'Brien wrote:
Manfred,
    Hi, good question.  Yes, the latest JBoss 5.0CR2 (Oct 2008) release should be fully JEE5 compliant with a temporary ClassLoader that we can use to do dynamic weaving.  This just needs to be fully tested with a possible JBoss 5 platform addition so we support users before/after 5.0CR2.  I would like to verify this asap.


    See outstanding 252965 design change to verify JBoss 5.0CR2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=252965
     You may track and/or edit this bug.


   See original workaround for JBoss 4/5.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=227630
https://jira.jboss.org/jira/browse/EJBTHREE-572

   See quickstart JBoss web tutorial.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/JBoss_Web_Tutorial

   See static weaving workaround (soon to be deprecated for 5.0CR2)
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Migration/JBoss
       
    Thank you
    /michael

----------Original Message----------

From: Manfred Schenk <Manfred.Schenk@xxxxxxxxxxxxxxxxxx>
Sent: Mon, January 12, 2009 5:38 AM
To: EclipseLink User Discussions <eclipselink-users@xxxxxxxxxxx>
Subject: [eclipselink-users] dynamic weaving now possible with jBoss 5 ? Any experiences?


Hi,

since my last question here concerning static weaving received no
answers I'll now try a second approach our problem: instead of static
weaving I'd like to use dynamic weaving with jBoss 5.

Should this be possible now with the jBoss 5 version or is it still
recommended to use the static-weaving workaraound also for jboss 5?

Any users here with experiences in this combination (ecliselink & jBoss 5) ?


Regards,
Manfred

--
Manfred Schenk, Fraunhofer IITB
Abteilung LTS
Fraunhoferstraße 1,76131 Karlsruhe, Germany
Telefon +49 721 6091-391
mailto:Manfred.Schenk@xxxxxxxxxxxxxxxxxx
http://www.iitb.fraunhofer.de
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users
  


Back to the top