You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Aaron Evans <aa...@yahoo.ca> on 2005/10/07 15:58:57 UTC
M4-SNAPSHOT Build Still Broken
Doug Bateman <doug <at> dougbateman.net> writes:
> M4 still has a legit bug though, where the jetspeed-spring.xml is
> incompatible with the latest class files (missing constructor arguments).
> This was documented in my earlier post.
>
> Doug
>
This still seems to be a problem. I tried to build M4 this morning using the
jetspeed maven plugin and I followed my build recipe *very* closely and I am
getting the exact error Doug has mentioned.
Can we get an estimate of when this might be fixed? I really was hoping to move
forward with an M4 build...
cheers,
aaron
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: M4-SNAPSHOT Build Still Broken
Posted by Aaron Evans <aa...@yahoo.ca>.
Doug Bateman <doug <at> dougbateman.net> writes:
>
> Randy Wrote:
> > Not to be lame... but what was the error? I have seen no such error over
> the last month or so.
>
> Randy, he's referring to the problem I reported last week, where the
> jetspeed-spring.xml isn't in sync with the java class files. Here's a
> forward of my email with all the details.
>
That is the one. Note this is when you do a build of M4 using the maven plugin.
Also, it should be noted I did a build of M4 with the maven plugin that worked.
Thus, something has changed with M4 and/or the plugin since then.
In fact, there is a second sync problem with the jetspeed-spring.xml and the
class files. I managed to get by the first one by patching with some M3 class
files and then I ran into a second problem. It is with the PageAggregator. In
the spring configuration, it passes a List as the second argument to the
constructor while running javap on the PageAggregatorImpl shows that it expects
a ContentServerAdapter instead.
This is wonky though because I looked at CVS head and the source code there
seems to be compatible with the jetspeed-spring.xml in both instances. I am
now going to try compiling the necessary classes from head and jamming them in
the WEB-INF/classes of jetpseed and see if that works. All problems seem to
be with the org.apache.jetspeed.aggregator.impl package.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: M4-SNAPSHOT Build Still Broken
Posted by Aaron Evans <aa...@yahoo.ca>.
Doug Bateman <doug <at> dougbateman.net> writes:
>
> Randy Wrote:
> > Not to be lame... but what was the error? I have seen no such error over
> the last month or so.
>
> Randy, he's referring to the problem I reported last week, where the
> jetspeed-spring.xml isn't in sync with the java class files. Here's a
> forward of my email with all the details.
>
As Ryan Moquin has pointed out in another thread, this problem has been fixed.
Not sure who or when, but seems like probably over the weekend.
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
RE: M4-SNAPSHOT Build Still Broken
Posted by Doug Bateman <do...@dougbateman.net>.
Randy Wrote:
> Not to be lame... but what was the error? I have seen no such error over
the last month or so.
Randy, he's referring to the problem I reported last week, where the
jetspeed-spring.xml isn't in sync with the java class files. Here's a
forward of my email with all the details.
-----Original Message-----
From: Doug Bateman [mailto:doug@dougbateman.net]
Sent: Tuesday, October 04, 2005 12:06 AM
To: 'jetspeed-user@portals.apache.org'
Subject: Re: Errors during getting started
Joining the thread...
I just installed JetSpeed tonight, following the instructions at
http://portals.apache.org/jetspeed-2/getting-started.html (track 4, using
the Maven-Plugin). And I get the same error. Tracking the spew of log
error messages, it boils down to this error in jetspeed.log:
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException:
Error creating bean with name
'org.apache.jetspeed.aggregator.PortletRenderer' defined in ServletContext
resource [/WEB-INF/assembly/jetspeed-spring.xml]: Unsatisfied dependency
expressed through constructor argument with index 2 of type
[org.apache.jetspeed.aggregator.WorkerMonitor]: Did you specify the correct
bean references as generic constructor arguments?
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createArgumentArray(AbstractAutowireCapableBeanFactory.java:629)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.autowireConstructor(AbstractAutowireCapableBeanFactory.java:502)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:306)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:260)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:221)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:145)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.resolveReference(AbstractAutowireCapableBeanFactory.java:980)
... 47 more
I track this error down to the jetspeed-spring.xml line:
<!-- Portlet Renderer -->
<bean id="org.apache.jetspeed.aggregator.PortletRenderer"
class="org.apache.jetspeed.aggregator.impl.PortletRendererImpl"
init-method="start"
destroy-method="stop">
<constructor-arg>
<ref bean="org.apache.pluto.PortletContainer" />
</constructor-arg>
<constructor-arg>
<ref
bean="org.apache.jetspeed.container.window.PortletWindowAccessor" />
</constructor-arg>
</bean>
I then run javap on org.apache.jetspeed.aggregator.impl.PortletRendererImpl
to see what the constructor requires...
package org.apache.jetspeed.aggregator.impl;
public class org.apache.jetspeed.aggregator.impl.PortletRendererImpl
implements org.apache.jetspeed.aggregator.PortletRenderer
{
public PortletRendererImpl(org.apache.pluto.PortletContainer,
org.apache.jetspeed.container.window.PortletWindowAccessor,
org.apache.jetspeed.aggregator.WorkerMonitor);
//...
}
It appears there has been a new constructor argument added to
PortletRendererImpl that isn't being set in jetspeed-spring.xml. I dug
further, looking for something in the jetspeed-spring.xml that might work,
and there isn't a WorkerMonitor object being initialized in the
jetspeed-spring.xml at all.
Bottom line... The latest version of the Maven-Plugin is broken. To clarify
what I mean by latest version, I mean the version installed by "maven
-DartifactId=maven-jetspeed2-plugin -DgroupId=jetspeed2
-Dversion=2.0-M4-SNAPSHOT plugin:download" as given in the instructions.
Should be using a different version perhaps?
Looking at the rest of this thread, it appears people were able to download
a working binary install of JetSpeed. So that's where I'm going to go next.
Doug
-----Original Message-----
From: Randy Watler [mailto:watler@wispertel.net]
Sent: Friday, October 07, 2005 4:30 PM
To: Jetspeed Users List
Subject: Re: M4-SNAPSHOT Build Still Broken
Aaron,
Not to be lame... but what was the error? I have seen no such error over the
last month or so.
Randy
Aaron Evans wrote:
>Doug Bateman <doug <at> dougbateman.net> writes:
>
>
>
>>M4 still has a legit bug though, where the jetspeed-spring.xml is
>>incompatible with the latest class files (missing constructor arguments).
>>This was documented in my earlier post.
>>
>>Doug
>>
>>
>>
>
>This still seems to be a problem. I tried to build M4 this morning
>using the jetspeed maven plugin and I followed my build recipe *very*
>closely and I am getting the exact error Doug has mentioned.
>
>Can we get an estimate of when this might be fixed? I really was hoping
>to move forward with an M4 build...
>
>cheers,
>aaron
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: M4-SNAPSHOT Build Still Broken
Posted by Randy Watler <wa...@wispertel.net>.
Aaron,
Not to be lame... but what was the error? I have seen no such error over
the last month or so.
Randy
Aaron Evans wrote:
>Doug Bateman <doug <at> dougbateman.net> writes:
>
>
>
>>M4 still has a legit bug though, where the jetspeed-spring.xml is
>>incompatible with the latest class files (missing constructor arguments).
>>This was documented in my earlier post.
>>
>>Doug
>>
>>
>>
>
>This still seems to be a problem. I tried to build M4 this morning using the
>jetspeed maven plugin and I followed my build recipe *very* closely and I am
>getting the exact error Doug has mentioned.
>
>Can we get an estimate of when this might be fixed? I really was hoping to move
>forward with an M4 build...
>
>cheers,
>aaron
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org