Hi,

Are the requests for the gadget rendering going to hostname:8080 or
localhost:8080? If they're still going to localhost, then configure the
opensocial container as described on [1].
You also seem to have an issue with the rave.database.location not being
replaced during the build. Does your root pom contain a property with the
path where the H2 database can store its file?

[1] http://incubator.apache.org/rave/documentation/host-configuration.html

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 22 November 2011 16:58, Louton, Carl O. <[email protected]> wrote:

> Hello,
>
> When I deploy and startup Rave 0.6, I can access it just fine from the
> workstation that I run it on (http://locahost:8080/portal), but it does
> not fully function when I access it from another machine (
> http://hostname:8080/portal). The portal loads and I can login, but none
> of the default widgets load and most of the interface is non-responsive.
>
> I am behind an http proxy, though I have already altered my Tomcat
> startup.bat script to apply the proxy. The widgets do load external content
> properly when accessed locally.
>
> I have also tried following the instructions for setting a hostname, but
> the webapp doesn't fully start up when I have this in place (I have pasted
> the log output I get below). I made copies of the portal.properties,
> container.js, and rave-shinding.properties files. I placed them all in a
> separate directory, change, then altered my startup.bat script to set
> system properties to point to them.
>
> Thanks
>
> Carl Louton
> E543 - HIS, Visualization & Decision Support
> The MITRE Corp.
> 781-271-5231
>
>
>
>
> Nov 22, 2011 10:44:40 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring root WebApplicationContext
> Nov 22, 2011 10:44:41 AM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.springframework.web.context.ContextLoaderListener
> org.springframework.beans.factory.BeanDefinitionStoreException: Invalid
> bean definition with name 'dataSource' defined in URL
> [jar:file:/C:/Users/clouton/Documents/Projects/EP&R%20Viz/Rave/raveDeploy/apache-rave-0.6-incubating-SNAPSHOT/webapps/portal/WEB-INF/lib/rave-core-0.6-incubating-SNAPSHOT.jar!/org/apache/rave/core-applicationContext.xml]:
> Could not resolve placeholder 'rave.database.location'
>                at
> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:287)
>                at
> org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
>                at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:663)
>                at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:638)
>                at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
>                at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
>                at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
>                at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>                at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
>                at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
>                at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>                at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>                at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>                at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
>                at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
>                at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
>                at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
>                at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>                at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>                at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
>                at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>                at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>                at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>                at
> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>                at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>                at
> org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>                at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>                at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>                at java.lang.reflect.Method.invoke(Method.java:601)
>                at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>                at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
> Nov 22, 2011 10:44:41 AM org.apache.catalina.core.ApplicationContext log
> INFO: Closing Spring root WebApplicationContext
> Nov 22, 2011 10:44:41 AM org.apache.catalina.core.ApplicationContext log
> INFO: Initializing Spring root WebApplicationContext
> Nov 22, 2011 10:44:43 AM org.apache.catalina.core.StandardContext
> listenerStart
> SEVERE: Exception sending context initialized event to listener instance
> of class org.apache.rave.inject.GuiceBindingSpringContextLoaderListener
> org.springframework.beans.factory.BeanDefinitionStoreException: Invalid
> bean definition with name 'dataSource' defined in class path resource
> [rave-shindig-applicationContext.xml]: Could not resolve placeholder
> 'rave.database.location'
>                at
> org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:287)
>                at
> org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:75)
>                at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:663)
>                at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:638)
>                at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:407)
>                at
> org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
>                at
> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
>                at
> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
>                at
> org.apache.rave.inject.GuiceBindingSpringContextLoaderListener.contextInitialized(GuiceBindingSpringContextLoaderListener.java:41)
>                at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
>                at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
>                at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>                at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>                at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>                at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
>                at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
>                at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
>                at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
>                at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>                at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>                at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
>                at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>                at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>                at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>                at
> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>                at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>                at
> org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>                at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>                at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>                at java.lang.reflect.Method.invoke(Method.java:601)
>                at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>                at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>
> Nov 22, 2011 10:44:43 AM org.apache.catalina.core.ApplicationContext log
> INFO: Closing Spring root WebApplicationContext
>

Reply via email to