06-09-2011 09:51 AM
06-09-2011 10:26 AM
06-09-2011 10:45 AM
06-11-2011 05:43 AM
-Duser.language=en -Duser.country=GB
Tomcat will pick these up from the OS environment variable "JAVA_OPTS". So on Linux using a bash shell (or similar) you would add a command something like this:
export JAVA_OPTS="$JAVA_OPTS -Duser.language=en -Duser.country=GB"
On Windows this would be done by editing the environment variables in the System control panel applet.06-13-2011 04:58 AM
09:37:31,316 INFO [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default] complete
09:37:38,174 INFO [extensions.webscripts.DeclarativeRegistry] Registered 313 Web Scripts (+0 failed), 321 URLs
09:37:38,176 INFO [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
09:37:38,176 INFO [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
09:37:38,330 INFO [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2062.2886ms)
09:37:38,374 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:37:38,428 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:37:38,695 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:37:38,699 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
09:37:38,959 INFO [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
09:37:38,962 INFO [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
WARN : org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'baseUrl' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.lang.String) throws java.net.URISyntaxException]
06-13-2011 06:29 AM
-Duser.language=en
-Duser.country=GB
06-13-2011 06:57 AM
06-13-2011 07:04 AM
import java.util.Locale;
public class OutputLocale
{
public static void main(String[] args)
{
System.out.println(Locale.getDefault());
}
}
06-13-2011 07:18 AM
06-13-2011 07:26 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.