<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with a Web Quick Start website in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275145#M228275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been meaning to post this for quite some time ago. I would like to ask if other users of WQS have similar issues as me and if they have found a solution.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Last year I have started using Alfresco Web Quick Start as a platform for creating the website for the project I am involved with. The website can be found at &lt;/SPAN&gt;&lt;A href="http://www.dial-a-molecule.org" rel="nofollow noopener noreferrer"&gt;http://www.dial-a-molecule.org&lt;/A&gt;&lt;SPAN&gt;. My problem now is that I realized that it does not appear in any of the indexes from Google so my site does not have a PageRank and does not appear in the Google searches. And that is a bad situation to be if you have a site that you are actively promoting. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tracked the problem and it seems that when googlebot tries to access the website it gets a HTTP/1.1·500·Internal·Server·Error, error that does not appear when other user try to access the website. The problem can be replicated using Rex Swain's HTTP Viewer at &lt;/SPAN&gt;&lt;A href="http://www.rexswain.com/httpview.html" rel="nofollow noopener noreferrer"&gt;http://www.rexswain.com/httpview.html&lt;/A&gt;&lt;SPAN&gt; and inserting the URL &lt;/SPAN&gt;&lt;A href="http://www.dial-a-molecule.org" rel="nofollow noopener noreferrer"&gt;http://www.dial-a-molecule.org&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any suggestions on how to address this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 13:51:45 GMT</pubDate>
    <dc:creator>bogdan1208</dc:creator>
    <dc:date>2011-06-09T13:51:45Z</dc:date>
    <item>
      <title>Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275145#M228275</link>
      <description>I have been meaning to post this for quite some time ago. I would like to ask if other users of WQS have similar issues as me and if they have found a solution.&amp;nbsp; Last year I have started using Alfresco Web Quick Start as a platform for creating the website for the project I am involved with. The web</description>
      <pubDate>Thu, 09 Jun 2011 13:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275145#M228275</guid>
      <dc:creator>bogdan1208</dc:creator>
      <dc:date>2011-06-09T13:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275146#M228276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good to see you up and running with Web Quick Start. I've had a quick dig through some Spring and Tomcat source code, and I *think* that this looks like the Java method Locale.getDefault() must be returning null. Normally, a browser would send a header indicating which locale it would prefer, but googlebot won't send that header (and neither does the HTTP viewer you mentioned). If that header is missing then the locale resolver falls back to using the JVM's default locale. It's just that your JVM doesn't appear to have a default locale set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm right then this can be resolved by putting a call to Locale.setDefault(…) somewhere in your webapp such that it gets invoked on startup. I'll look into this a little further to see if this is a common issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 14:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275146#M228276</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-09T14:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275147#M228277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. it is good to know that a solution exists for the problem. Unfortunately I do not have the Java knowledge to start modifying Alfresco and I use it as provided with minimal modifications to the code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is possible to direct me to where exactly I should modify to solve the problem? What is the file that I should modify in the original WQS site?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 14:45:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275147#M228277</guid>
      <dc:creator>bogdan1208</dc:creator>
      <dc:date>2011-06-09T14:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275148#M228278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. I think we'll try this in two stages. If the first stage doesn't fix it then we'll try the second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like you're using Tomcat as your web container, but I'm not sure what OS it's running on. The idea of the first stage is to pass two new properties into the JVM on which Tomcat is running:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;-Duser.language=en -Duser.country=GB&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;export JAVA_OPTS="$JAVA_OPTS -Duser.language=en -Duser.country=GB"&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;On Windows this would be done by editing the environment variables in the System control panel applet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try restarting Tomcat with these properties added and let me know if that resolves the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2011 09:43:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275148#M228278</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-11T09:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275149#M228279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank's for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Tomcat runs on a Windows 7 machine. I have followed your suggestion and I have added the following system variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JAVA_OPTS="$JAVA_OPTS -Duser.language=en -Duser.country=GB"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I have tried the JAVA_OPTS = -Duser.language=en -Duser.country=GB variable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the result was a failure. It did not solve the problem. Looking through the logs from tomcat I found an error that repeats itself that I think it is related to my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;09:37:31,316&amp;nbsp; INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default] complete&lt;BR /&gt;09:37:38,174&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.DeclarativeRegistry] Registered 313 Web Scripts (+0 failed), 321 URLs&lt;BR /&gt;09:37:38,176&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed) &lt;BR /&gt;09:37:38,176&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed) &lt;BR /&gt;09:37:38,330&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 2062.2886ms)&lt;BR /&gt;09:37:38,374&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl&lt;BR /&gt;09:37:38,428&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js&lt;BR /&gt;09:37:38,695&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl&lt;BR /&gt;09:37:38,699&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js&lt;BR /&gt;09:37:38,959&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl&lt;BR /&gt;09:37:38,962&amp;nbsp; INFO&amp;nbsp; [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js&lt;BR /&gt;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]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is this &lt;/SPAN&gt;&lt;STRONG&gt;Invalid JavaBean property 'baseUrl' being accessed!&lt;/STRONG&gt;&lt;SPAN&gt; that I do not know how to solve it. On the same machine I have alfresco explorer and share installed and none of them give these errors with the HTTP viewer. Only the WQS site is the one affected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 08:58:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275149#M228279</guid>
      <dc:creator>bogdan1208</dc:creator>
      <dc:date>2011-06-13T08:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275150#M228280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That warning in the log file isn't related to the problem you're experiencing - it's just Spring complaining that there are two methods that look ambiguous to it on the WebScriptCallerImpl class. They're not really ambiguous, and Spring does work out which one to call after grumbling about it a bit. Nothing to be worried about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're on Windows, are you running Tomcat as a service or from a command prompt? If you're using it as a service then the way you set the JAVA_OPTS is a little different - I should have said before. You need to run a little configuration app that comes with Tomcat. You will find that in the "bin" folder in your Tomcat installation, and it's called "tomcat6w.exe".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Run this as an administrator, and choose the tab labelled "Java". On the panel that is displayed you should see a text entry box labelled "Java Options" with some entries already in it (all prefixed with "-D"). Add two more to the list (one per line):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;-Duser.language=en&lt;BR /&gt;-Duser.country=GB&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then click "OK" and restart your Tomcat service. Try the troublesome request from the HTTP Viewer again, and let me know what happens.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:29:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275150#M228280</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-13T10:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275151#M228281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick post and for your detailed instructions. They made their implementation so much easier but … unfortunately it does not work. Tomcat indeed is installed as a service and I have tried a couple of times setting the settings you have suggested and none of them did the trick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please tell me how to proceed forward.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:57:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275151#M228281</guid>
      <dc:creator>bogdan1208</dc:creator>
      <dc:date>2011-06-13T10:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275152#M228282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm. That's a pity. OK, to move forward we probably need to tweak some code. Have you built Alfresco from source, or did you install from the installer? Do you have any experience of writing Java code? Initially I'd like you to compile this code and run it on your server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;import java.util.Locale;&lt;BR /&gt;public class OutputLocale&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(Locale.getDefault());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;On my system that outputs "en_GB". If my assessment of your problem is correct then you should see "null" being output.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:04:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275152#M228282</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-13T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275153#M228283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco was installed from the installer and unfortunately I do not have any experience in writing Java code but … I have managed to run your code and indeed on my system it outputs "en_GB". I run it twice to be sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bogdan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:18:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275153#M228283</guid>
      <dc:creator>bogdan1208</dc:creator>
      <dc:date>2011-06-13T11:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275154#M228284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh. That's not what I was expecting. Let me have a think about this some more.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 11:26:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275154#M228284</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-13T11:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with a Web Quick Start website</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275155#M228285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Last night I looked through the relevant code again, and I still believe that the problem is that your JVM is returning a null default locale. I set up a local system so I could replicate the issue against your website by sending a request with the same headers as Rex Swain's HTTP Viewer was sending. I also saw the 500 response coming back. When I added an Accept-Language header to the request I immediately saw a 200 response (success) instead. I can't see a way that this can happen unless your JVM is reporting a null default locale. When I fire the request without the Accept-Language header at my own server I get a valid 200 response - it assumes a locale of "en". I also looked at the source code for the Locale class in Sun's Java, and I can't see how that can return a null - it should default to "en" if all else fails.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not really sure where I can take this now. The problem appears to be with your JVM. Which JVM is your Tomcat instance running on? Is it a Sun JVM? This may be a stretch, but there is one more thing we could try. It does mean you extending your Java compilation skills a little further. First, you would need to compile this code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;import java.util.Locale;&lt;BR /&gt;import javax.servlet.http.HttpServletRequest;&lt;BR /&gt;import javax.servlet.http.HttpServletResponse;&lt;BR /&gt;import org.apache.commons.logging.LogFactory;&lt;BR /&gt;import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;&lt;BR /&gt;&lt;BR /&gt;public class LocaleLoggerInterceptor extends HandlerInterceptorAdapter&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LogFactory.getLog(LocaleLoggerInterceptor.class).error("Default locale = " + Locale.getDefault());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The easiest way to do that is to copy that code into a file named "LocaleLoggerInterceptor.java" in the folder "webapps\wcmqs\WEB-INF\classes" in your server's Tomcat installation. Then open a command prompt in that folder and run this command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;javac -classpath .;..\..\..\..\lib\servlet-api.jar;..\lib\org.springframework.webmvc-3.0.0.jar;..\lib\commons-logging-1.1.1.jar LocaleLoggerInterceptor.java&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Hopefully this will compile without error or warning and you'll end up with a file named "LocaleLoggerInterceptor.class" in the same folder. The next step is to find a file named "surf-config.xml". This will be in exactly the same folder as you're currently in (&amp;lt;tomcat home&amp;gt;\webapps\wcmqs\WEB-INF\classes). Open this file in a text editor, and find this section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Override list of interceptors defined in webframeworkHandlerMappings so that we can add our own. –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="interceptors"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="requestContextInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="themeInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="previewContextInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Interceptors added to apply application-wide processing to requests. See also quickstart-request.xml –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="cmisSessionInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="applicationDataInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Add one line near the top of this section so it becomes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Override list of interceptors defined in webframeworkHandlerMappings so that we can add our own. –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="interceptors"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="LocaleLoggerInterceptor" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="requestContextInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="themeInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="previewContextInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Interceptors added to apply application-wide processing to requests. See also quickstart-request.xml –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="cmisSessionInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="applicationDataInterceptor"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Save the file and restart Tomcat. When you request a page from your site now you should see a line like this in your log file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;08:33:29,898 ERROR [LocaleLoggerInterceptor] Default locale = en_GB&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;If you get to that point then let me know what the line in your log file looks like.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 07:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-a-web-quick-start-website/m-p/275155#M228285</guid>
      <dc:creator>bremmington</dc:creator>
      <dc:date>2011-06-14T07:53:00Z</dc:date>
    </item>
  </channel>
</rss>

