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 "Michael Lipp (JIRA)" <je...@portals.apache.org> on 2005/06/14 14:44:47 UTC

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

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
 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


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

Posted by "Michael Lipp (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-298?page=comments#action_12320138 ] 

Michael Lipp commented on JS2-298:
----------------------------------

OK. Please close (I don't have permissions to do so).

> 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


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

Posted by "Michael Lipp (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-298?page=all ]

Michael Lipp updated JS2-298:
-----------------------------

    Attachment: patch1.txt

> 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
>  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


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

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-298?page=all ]
     
David Sean Taylor closed JS2-298:
---------------------------------


patched tested by Michael Lipp

> 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


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

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-298?page=all ]

David Sean Taylor reassigned JS2-298:
-------------------------------------

    Assign To: David Sean Taylor

> 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


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

Posted by "David Sean Taylor (JIRA)" <je...@portals.apache.org>.
     [ 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