[Building Sakai] Change wicket from development mode to production mode
Adrian Fish
a.fish at lancaster.ac.uk
Thu Jul 23 06:20:14 PDT 2009
The context param method never seemed to work for me. The override
always does though.
Adrian.
Steve Swinsburg wrote:
> There are two ways to do this:
>
> 1. In your web.xml set a context-param:
> <context-param>
> <param-name>configuration</param-name>
> <!-- <param-value>development</param-value> -->
> <param-value>deployment</param-value>
> </context-param>
>
> 2. In your Application class override getConfigurationType():
>
> public String getConfigurationType()
> {
> return Application.DEPLOYMENT;
> }
>
> cheers,
> Steve
>
> p.s. upgrade Wicket from 1.3.0 to 1.3.6
>
> On 23 Jul 2009, at 06:59, Neeru Joshi wrote:
>
>>
>> Hi,
>>
>> I am using sakai-wicket 1.3.0 in sakai 2.5.4. I have noticed the warning
>> wicket gives on initialization
>>
>> ********************************************************************
>> *** WARNING: Wicket is running in DEVELOPMENT mode. ***
>> *** ^^^^^^^^^^^ ***
>> *** Do NOT deploy to your live server(s) without changing this. ***
>> *** See Application#getConfigurationType() for more information. ***
>> ********************************************************************
>>
>> How to ensure that wicket runs in production mode??
>>
>> Thanks,
>> Neeru
>> --
>> View this message in context:
>> http://www.nabble.com/Change-wicket-from-development-mode-to-production-mode-tp24619745p24619745.html
>> Sent from the Sakai - Development mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> <mailto:sakai-dev at collab.sakaiproject.org>
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
--
==================================
Adrian Fish
Software Engineer
Centre for e-Science
Bowland Tower South C Floor
Lancaster University
Lancaster
LA1 4YW
email: a.fish at lancaster.ac.uk
web: http://agora.lancs.ac.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a_fish.vcf
Type: text/x-vcard
Size: 289 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090723/55b690c8/attachment.vcf
More information about the sakai-dev
mailing list