cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@dslextreme.com>
Subject Re: 2.1 portal won't compile in jdk 1.3
Date Fri, 03 Feb 2006 07:00:19 GMT
Nope. WSRPException does a super on Exception(String message, Throwable 
t) which is only available in JDK 1.4 So either this class needs to be 
modified or the doc at 
http://portals.apache.org/wsrp4j/gettingstarted/installation.html is 
wrong and wsrp4j requires JDK 1.4.  The subversion history indicates 
this class has been this way since it was created in December 2003.

Ralph Goers wrote:

> OK.  So I was able to compile it with the updated bridges jar.  Now it 
> dies when I log in to the portal.  My guess is that WSRP4J requires 
> servlet 2.3?
>
> 22:17:43.283 WARN!! Error for /samples/blocks/portal/auth?resource=portal
> java.lang.NoSuchMethodError
>        at 
> org.apache.wsrp4j.exception.WSRPException.<init>(WSRPException.java:73)
>        at 
> org.apache.wsrp4j.exception.WSRPXHelper.getException(WSRPXHelper.java:737) 
>
>        at 
> org.apache.wsrp4j.exception.WSRPXHelper.throwX(WSRPXHelper.java:138)
>        at 
> org.apache.wsrp4j.exception.WSRPXHelper.handleWSRPFault(WSRPXHelper.java:682) 
>
>        at 
> org.apache.wsrp4j.consumer.driver.ProducerImpl.getServiceDescription(ProducerImpl.java:493)

>
>        at 
> org.apache.wsrp4j.consumer.driver.ProducerImpl.getServiceDescription(ProducerImpl.java:414)

>
>        at 
> org.apache.wsrp4j.consumer.driver.ProducerImpl.getPortletDescription(ProducerImpl.java:521)

>
>        at 
> org.apache.cocoon.portal.wsrp.adapter.WSRPAdapter.getSimplePortletWindowSession(WSRPAdapter.java:522)

>
>        at 
> org.apache.cocoon.portal.wsrp.adapter.WSRPAdapter.login(WSRPAdapter.java:369) 
>
>        at 
> org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager.prepareObject(GroupBasedProfileManager.java:206)

>
>        at 
> org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager.getCopletInstanceDatas(GroupBasedProfileManager.java:527)

>
>        at 
> org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager.loadProfile(GroupBasedProfileManager.java:411)

>
>        at 
> org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager.getPortalLayout(GroupBasedProfileManager.java:354)

>
>        at 
> org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager.login(GroupBasedProfileManager.java:229)

>
>        at 
> org.osoco.cowarp.portal.StandardPortalApplication.userDidLogin(StandardPortalApplication.java:71)

>
>        at java.lang.reflect.Method.invoke(Native Method)
>        at 
> org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)

>
>        at $Proxy20.userDidLogin(Unknown Source)
>        at 
> org.osoco.cowarp.impl.StandardApplicationManager.login(StandardApplicationManager.java:219)

>
>        at java.lang.reflect.Method.invoke(Native Method)
>        at 
> org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)

>
>        at $Proxy18.login(Unknown Source)
>        at org.osoco.cowarp.acting.LoginAction.act(LoginAction.java:61)
>
>

Mime
View raw message