You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by he...@dnbnor.no on 2006/12/20 10:53:53 UTC

RE: Re[10]: Problems with example war

Hi

The problem seems to be related to Tomcat versions above 5.5.16. I have 4 clean Tomcat 5.5 installations (5.5.9 5.5.12 5.5.16 and 5.5.20) and the same sample runs non 5.5.9, 5.5.12 and 5.5.16 but fails on 5.5.20 with:

[10           2006-12-20 10:37:06,010](org.apache.catalina.core.ContainerBase.[C
atalina].[localhost].[/shaletest])**ERROR**{org.apache.catalina.core.Application
Context.log:675} User: ->StandardWrapper.Throwable
java.lang.IllegalStateException: No Factories configured for this Application -
typically this is because a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</liste
ner-class>
</listener>

Having spaces in the Tomcat installation name does not seem to matter. I don't know if there are ant 3.party libaries that changed between these two, or if this is a change internally in Tomcat. I am leaning towards this being a locale problem, since this works on US locale workstations, but not on DE or NO.

When running on 5.5.9, 5.5.12, and 5.5.16 I get a message during startup that might lead us somewhere:

[0            2006-12-20 10:47:48,835](org.apache.myfaces.util.LocaleUtils)**ERR
OR**{org.apache.myfaces.util.LocaleUtils.toLocale:50} User: ->Locale name null o
r empty, ignoring

Hermod

-----Original Message-----
From: Thomas Walland [mailto:office@walland.net]
Sent: Monday, October 30, 2006 10:04 AM
To: Craig McClanahan
Subject: Re[10]: Problems with example war


I solved the problem!

I don't know if this is only a problem on my machine. I used a german
windows xp professional edition and installed tomcat in de suggested
default path unter c:\programms\apache software foundation\tomcat
5.5\...

Seems this is a too long name for shale or something other or some
part of the framework or something other is not able to handle blanks
in directory names.

Now i have reinstalled tomcat under c:\tomcat55. A very short
directory name without blanks. After putting the war to this directory
and starting the server the example works well.

maybe this is only a problem with windows users or with german windows
users? i don't know. But the default path to install doesn't work
well.

Thank's for your help :-)

Thomas



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *