There were some changes to rave-shindig.  Did you mvn install at the project 
dir?



Sent via a mobile device. Please excuse typos or brevity.

 -----Original Message-----
From:   Ross Gardler [mailto:[email protected]]
Sent:   Sunday, July 17, 2011 11:47 AM Eastern Standard Time
To:     [email protected]
Subject:        Re: Head broken?

There's definitely something weird going on here. I'm getting a 404 on
calls to http://localhost:8080/rpc (full breakdown below)

The output reports:
[WARNING] [talledLocalContainer] SEVERE: Error configuring application
listener of class
org.apache.shindig.common.servlet.GuiceServletContextListener
[WARNING] [talledLocalContainer] java.lang.ClassNotFoundException:
org.apache.shindig.common.servlet.GuiceServletContextListener
[WARNING] [talledLocalContainer]        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

My actions to resolve/reproduce are:

cd rave-project

$ svn up
At revision 1147620.

$ svn st
M       
rave-portal/src/test/java/org/apache/rave/portal/repository/JpaWidgetRepositoryTest.java
M       
rave-portal/src/test/java/org/apache/rave/provider/w3c/web/renderer/W3cWidgetRendererTest.java
?       rave-portal/src/main/java/org/apache/wookie
M       
rave-portal/src/main/java/org/apache/rave/provider/w3c/service/impl/WookieWidgetService.java
M       
rave-portal/src/main/java/org/apache/rave/provider/w3c/web/renderer/W3cWidgetRenderer.java
M       rave-portal/src/main/resources/initial_data.sql

$ mvn clean install
[.... Build Success ...]

$ cd rave-portal
$ mvn cargo:start
....
[WARNING] [talledLocalContainer] SEVERE: Error configuring application
listener of class
org.apache.shindig.common.servlet.GuiceServletContextListener
[WARNING] [talledLocalContainer] java.lang.ClassNotFoundException:
org.apache.shindig.common.servlet.GuiceServletContextListener
[WARNING] [talledLocalContainer]        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
[WARNING] [talledLocalContainer]        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
....

Log in as Caonical user

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing
JSP page /WEB-INF/views/home.jsp at line 85

82:         --%>
83:         <c:forEach var="region" items="${defaultPage.regions}">
84:         <c:forEach var="regionWidget" items="${region.regionWidgets}">
85:         <portal:render-widget regionWidget="${regionWidget}" />
86:         </c:forEach>
87:         </c:forEach>

Stacktrace

...

root cause

org.springframework.web.client.HttpClientErrorException: 404 Not Found
        
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:75)
        
org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:486)
        
org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:443)
        
org.springframework.web.client.RestTemplate.execute(RestTemplate.java:401)
        
org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:279)
        
org.apache.rave.provider.opensocial.repository.impl.ShindigGadgetMetadataRepository.getGadgetMetadata(ShindigGadgetMetadataRepository.java:88)


This is a call to http://localhost:8080/rpc

Any ideas?

Ross



On 17 July 2011 11:46, Ross Gardler <[email protected]> wrote:
> Thanks for the sanity check. I was seeing some strange and
> inconsistent behaviour  and my VM was having lots of memory issues so
> might have been as simple as needing to reboot everything. I'll check
> I again this evening and hopefully have the Wookie integration
> committed then.
>
> Ross
>
> On Sunday, 17 July 2011, Jasha Joachimsthal <[email protected]> 
> wrote:
>> Did an svn up and it still works fine on my machine. I even get to see why
>> the Wikipedia gadget isn't rendering.
>>
>> Jasha Joachimsthal
>>
>> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
>> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
>>
>> www.onehippo.com
>>
>>
>> On 17 July 2011 05:09, Marlon Pierce <[email protected]> wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> I just svn updated and built.  It is all ok for me.
>>>
>>>
>>> Marlon
>>>
>>>
>>> On 7/16/11 9:12 PM, Ross Gardler wrote:
>>> > I just merged the changes from Trunk into my local copy in preparation
>>> > for committing the Wookie integration code. Unfortunately it's not
>>> > working for me now, not just Wookie widgets, but open social widgets
>>> > too. The frame for the widget is displayed but no content is present.
>>> >
>>> > I've looked over my diff and see nothing that might be causing this.
>>> > I'm off to bed right now, hopefully I'll pick this up tomorrow night.
>>> > If anyone is working on head in the meantime perhaps you can
>>> > confirm/deny that this is a problem in SVN code rather than my code.
>>> >
>>> > Thanks,
>>> > Ross
>>> >
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>
>>> iQEcBAEBAgAGBQJOIlJnAAoJEOEgD2XReDo5V6YH/12VPhTOsNohVPuUVm+KWeCR
>>> T7IN+D4xrSCeoRJjwmR5woyuwZb93AwwRIcM7C70hTt23ZaOLVn4w2S+WXeJ7wqq
>>> ykzRy9F7hhZWiqPQoZ2/ARfuDA2IcDk9XBM/c9yPdMUHGschsFr4XRlHhctTtJQa
>>> 8l7/dD3vsmUioUB86pOk9EstOdTFn+pRxTOc+fd2Gp0Wm38D8FNkP3J9Xb8+x9bR
>>> VbYOSSkeIp3kMw1x8NS+miC511WlkbiIwjmyIBL2q70g+W9i7UDx95+mGEAbUnhV
>>> It5FRx2159yMputgBP6A+X2nDPIDlOe9MdSOs2x9SrXp0stdO9yw50wbJjpw09I=
>>> =AaLY
>>> -----END PGP SIGNATURE-----
>>>
>>
>
> --
> Ross Gardler (@rgardler)
> Programme Leader (Open Development)
> OpenDirective http://opendirective.com
>



-- 
Ross Gardler (@rgardler)
Programme Leader (Open Development)
OpenDirective http://opendirective.com

Reply via email to