rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasha Joachimsthal <j.joachimst...@onehippo.com>
Subject Re: [WORKAROUND] RE: Problems overriding rave host configuration
Date Fri, 03 Feb 2012 19:09:25 GMT
my Tomcat is picking up the custom portal & shindig properties files by
setting the system properties, but not the container.js. The portal is
requesting the correct Shindig for metadata and then gets the incorrect
iframe url's back.

Jasha

On 3 February 2012 19:41, Carlucci, Tony <acarlucci@mitre.org> wrote:

> Hello,
>
> Until we can figure out what's going on with the Shindig code, here is a
> workaround that should allow you to access the code using a different
> host/port.  I just performed the following steps and it seemed to work ok:
>
> 1) checkout the source from trunk
>
> 2) edit: rave-portal-resources\src\main\resources\portal.properties
>   - change the portal.opensocial_engine.root property to your host:port
>
> 3) edit: rave-shindig\src\main\resources\rave.shindig.properties
>   - change shindig.host and shindig.port to your host and port
>
> 4) from the top project directory execute:
> mvn clean install
>
> 5) cd rave-portal
>
> 6) if you are behind a proxy, you'll need to add your proxy settings to
> the rave-portal pom.xml file, specifically the cargo.jvmargs CDATA section:
>
> <![CDATA[-Dhttp.proxyHost="myproxyserver.com" -Dhttp.proxyPort=80
> -Dhttp.nonProxyHosts="*.mydomain.org|127.0.0.1|localhost"
> -Dh2.bindAddress="localhost" -Xdebug
> -Xrunjdwp:transport=dt_socket,address=${cargo.debug.address},server=y,suspend=${cargo.debug.suspend}
> -noverify ${javaagent} ${cargo.args}]]>
>
> 6) mvn cargo:start
>
> That should get you up and running to use Rave on a hostname other than
> "localhost".
>
> Carl, if you need help setting up the MITRE proxy PM me.
>
> Tony
>
> ---
> Anthony Carlucci | SW App Dev Eng, Sr. | R501 / KW App Development & Maint
> e: acarlucci@mitre.org | v: 781.271.2432 | f: 781.271.3299
> The MITRE Corporation | 202 Burlington Rd | Bedford, MA 01730-1420
>
>
> >-----Original Message-----
> >From: Jasha Joachimsthal [mailto:j.joachimsthal@onehippo.com]
> >Sent: Friday, February 03, 2012 12:39 PM
> >To: rave-dev@incubator.apache.org
> >Subject: Re: Problems overriding rave host configuration
> >
> >Hi,
> >
> >Something goes wrong in the Rave-Shindig override mechanism but I haven't
> >found where yet. On startup the OverridablePropertyPlaceholderConfigurer
> >for rave-shindig says it load my custom shindig properties, but later
> >Shindig says it loads the default container.js and therefore goes to
> >localhost:8080.
> >It is probably caused by the Shindig upgrade in December 2011. I'm afraid
> I
> >won't have the time soon to dive into the code base, anyone else?
> >
> >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 3 February 2012 17:00, William Hayes
> ><William.Hayes@biogenidec.com>wrote:
> >
> >> Hi Carl,
> >>
> >> I'm having the same problem - I'm trying to override the domain name and
> >> Tomcat ports, and I have updated those files in particular with no
> >> success.  I'm getting the same error as you.
> >>
> >> Are you using the maven cargo:start to start Rave or using the binaries?
> >>
> >> I'm a bit confused as to the best approach.  Do we make the changes in
> the
> >> source and then run 'mvn install' or 'mvn -Pdist'? Or do we take the
> >> binaries and alter the Ports and Domain after they are packaged into
> >> binaries?
> >>
> >> I'm trying to test out Jasha's LDAP module, but I'm stuck on this basic
> >> issue.
> >>
> >> Wm
> >>
> >>
> >>
> >> On 2/2/12 2:33 PM, "Louton, Carl O." <clouton@mitre.org> wrote:
> >>
> >> >Hello,
> >> >
> >> >I am having some difficulty with the override portal configuration. I
> can
> >> >properly specify portal.properties, rave-shinding.properties, and my
> own
> >> >container.js file. However, when the portal loads, the gadget iframes
> are
> >> >still pointing at a url that looks like
> >> >"//locahost:8080/gadgets/ifr?url=...", which does not work when I'm
> >> >trying to access the portal from anything but the same machine.
> >> >
> >> >The override mechanism worked in the past, as of Rave 0.6, but I've
> >> >recently tried to start using 0.8 to test it out, and began having this
> >> >issue.
> >> >
> >> >Carl Louton
> >> >E543 - HIS, Visualization & Decision Support
> >> >The MITRE Corp.
> >> >781-271-5231
> >> >
> >> >
> >> >
> >>
> >>
> >>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message