You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Michael Young <mi...@liferay.com> on 2010/10/01 19:43:29 UTC

Re: aKey in web.xml

Thanks for the explanation. Duh.. a "key". I guess I thought it had more meaning since it has what looks like a meaningful value set to it. 

- Mike
--
Liferay Europe Symposium
October 12-13, 2010
Frankfurt, Germany
www.Liferay.com/EuropeSymposium2010
--
Follow us on Twitter: liferay

On Sep 30, 2010, at 2:06 PM, Han Nguyen wrote:

> Hi Michael,
> aKey is a key of any value that you want to inject to the System 
> properties via System.setProperty(aKey,value) for your application, then 
> accessing it using System.getProperty(aKey); in your server side code.
> Shindig has a couple of properties that can be preset such as 
> shindig.host, shindig.port either via the JVM argument, or the web.xml ... 
> which is just a convenient way to set them.
> It'd be best to be able to set the values dynamically as discussed here 
> http://www.mail-archive.com/dev@shindig.apache.org/msg02280.html
> 
> Thanks Chirag for forwarding the message, I missed it somehow.
> Han
> 
> 
> 
> From:   Chirag Shah <ch...@gmail.com>
> To:     dev@shindig.apache.org, Han Nguyen/Charlotte/IBM@IBMUS
> Date:   09/30/2010 03:36 PM
> Subject:        Re: aKey in web.xml
> 
> 
> 
> Hey Michael,
> 
> Hm good question. I tracked the origin of aKey down to this change
> http://svn.apache.org/viewvc/shindig/trunk/java/server/src/main/webapp/WEB-INF/web.xml?r1=957770&r2=990263
> 
> but I'm not sure how it's used.
> 
> 
> On Fri, Sep 24, 2010 at 3:07 PM, Michael Young
> <mi...@liferay.com> wrote:
>> What is aKey used for? What are we supposed to specify in there?
>> 
>>  <context-param>
>>       <param-name>system.properties</param-name>
>>    <param-value>
>>       shindig.host=localhost
>> 
>>       aKey=/shindig/gadgets/proxy?container=default&amp;url=
>>       shindig.port=
>> 
>>    </param-value>
>> </context-param>
>> 
>> 
>> 
>> - Mike
>> --
>> Liferay Europe Symposium
>> October 12-13, 2010
>> Frankfurt, Germany
>> www.Liferay.com/EuropeSymposium2010
>> --
>> Follow us on Twitter: liferay
>> 
>> 
>