portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Reopened: (JS2-688) Unable to use Jetspeed services
Date Thu, 10 May 2007 00:19:15 GMT

     [ https://issues.apache.org/jira/browse/JS2-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ate Douma reopened JS2-688:


The build for the jetspeed-api is broken as result of adding the new o.a.j.layout.JetspeedPowerToolFactory
It depends on the jetspeedPowerTool interface which still is defined in the jetspeed-portal
Although moving that interface to the jetspeed-api would seem easy enough the do, there is
a caveat: it exposes the commons-configuration Configuration class.
And because the jetspeed-api needs to be deployed in the shared/lib context, it would pull
in the commons-configuration there too, which we definitely don't want (not even can).

So, this solution more or less isn't going to work out and we need to think of some workaround
for it.
Changing the JetspeedPowerTool interface to not expose commons-configuration might be a way
to do it, but I'm not sure that's feasible.

I've scanned the (Java) code for usage of the specific method: Configuration getTypeConfiguration(String
type, String name, String location), and have found none, but maybe there are extensions out
there which might use it?
If not, we could opt for changing the interface and return a Properties object instead.


> Unable to use Jetspeed services
> -------------------------------
>                 Key: JS2-688
>                 URL: https://issues.apache.org/jira/browse/JS2-688
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Assembly/Configuration
>    Affects Versions: 2.2
>         Environment: WINXP
> Jetspeed-2.2-dev
>            Reporter: Vivek
>         Assigned To: David Sean Taylor
>             Fix For: 2.1.1
> Hi 
> I am unable to use the "CommonPortletServices.CPS_JETSPEED_POWERTOOL_FACTORY"
> When ever i try to use this service Class cast exception occurred.
> I have already made a entry in jetspeed-portlet.xml as <js:service name='Powertools'/>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message