cancel
Showing results for 
Search instead for 
Did you mean: 

Errors in console when running WQS

keanesf
Champ in-the-making
Champ in-the-making
I get the following errors every time I run my WQS.

WARN : org.apache.myfaces.shared_impl.util.LocaleUtils - Locale name in faces-config.xml null or empty, setting locale to default locale : en_US

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.lang.String) throws java.net.URISyntaxException]: [public void org.alfresco.wcm.client.impl.WebScriptCallerImpl.setBaseUrl(java.net.URI)]

WARN : net.sf.ehcache.config.ConfigurationFactory - No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:/home/sean/.m2/repository/net/sf/ehcache/ehcache-core/2.0.0/ehcache-core-2.0.0.jar!/ehcache-failsafe.xml

What can  I do to fix these?
1 REPLY 1

bremmington
Champ on-the-rise
Champ on-the-rise
Those are warnings rather than errors. I'm not sure what the cause of the first one is. There is no use of Java Faces in WQS. Could it be your Tomcat config?

The second is Spring grumbling because the setBaseUrl operation on the WebScriptCallerImpl class comes in two flavours: one that accepts a String object and one that accepts a URI object. Spring is able to auto-convert a property value from String to URI and from URI to String, so it's just indicating that it's picking one of the options (the one that takes a String).

The third is odd - you shouldn't be seeing it, and I don't see it when I run WQS here. It suggests that the file "ehcache.xml" is missing from the WQS sample webapp. That file should be in the WEB-INF/classes directory of the wcmqs WAR file. I'll double-check the latest build and fix it if I see the problem.