You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "David Sean Taylor (JIRA)" <je...@portals.apache.org> on 2005/06/14 16:43:54 UTC

[jira] Resolved: (JS2-298) Class loading not J2EE compliant in PlutoFactoryFactoryBean

     [ http://issues.apache.org/jira/browse/JS2-298?page=all ]
     
David Sean Taylor resolved JS2-298:
-----------------------------------

    Fix Version: 2.0-M4
     Resolution: Fixed

patch applied, please test and close i

> Class loading not J2EE compliant in PlutoFactoryFactoryBean
> -----------------------------------------------------------
>
>          Key: JS2-298
>          URL: http://issues.apache.org/jira/browse/JS2-298
>      Project: Jetspeed 2
>         Type: Bug
>   Components: Other
>     Versions: 2.0-M3
>  Environment: JBoss/HSQLDB
>     Reporter: Michael Lipp
>     Assignee: David Sean Taylor
>      Fix For: 2.0-M4
>  Attachments: patch1.txt
>
> PlutoFactoryFactoryBean.java uses Class.forName to load a class. This does not work if jetspeed-cm-*.jar is not bundled in the WAR (or better: not loaded by the WAR-classloader) but available as a library in an EAR (the WAR classloader searching EAR libraries first to allow simple EJB invocation). As generally recommended, the context classloader should be used (see patch).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org