Boa tarde a todos.
Tenho uma aplicação web usando JSF com MyFaces 1.1.5 e tomahawk 1.1.3.
Ao fazer o deploy da aplicação para o servidor, no caso um WebSphere Application Server v6.1, o console começa a exibir as mensagens abaixo durante muito tempo e a aplicação não é startada.
Segue o log do servidor :
...
[3/19/07 12:45:08:497 GMT-03:00] 00000014 WebGroup A SRVE0169I: Loading Web Module: ContatoWeb.war.
[3/19/07 12:45:11:011 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (StartupServletContextListener.java:62) - Initializing MyFaces
[3/19/07 12:45:11:361 GMT-03:00] 00000014 SystemOut O INFO [ORB.thread.pool : 2] (FacesConfigurator.java:159) - Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
[3/19/07 12:45:11:451 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1180) - setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@38ac38ac)
[3/19/07 12:45:11:531 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1214) - startDocument()
[3/19/07 12:45:11:611 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1316) - startPrefixMapping(,http://java.sun.com/JSF/Configuration)
[3/19/07 12:45:11:682 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1243) - startElement(http://java.sun.com/JSF/Configuration,faces-config,faces-config)
[3/19/07 12:45:11:752 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1250) - Pushing body text ''
[3/19/07 12:45:11:822 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1269) - New match='faces-config'
[3/19/07 12:45:11:892 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1284) - Fire begin() for ObjectCreateRule[className=org.apache.myfaces.config.impl.digester.elements.FacesConfig, attributeName=null]
[3/19/07 12:45:11:962 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (ObjectCreateRule.java:199) - [ObjectCreateRule]{faces-config}New org.apache.myfaces.config.impl.digester.elements.FacesConfig
[3/19/07 12:45:12:022 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1132) - ignorableWhitespace(
)
[3/19/07 12:45:12:092 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1132) - ignorableWhitespace(
)
[3/19/07 12:45:12:162 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1243) - startElement(http://java.sun.com/JSF/Configuration,application,application)
[3/19/07 12:45:12:232 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1250) - Pushing body text ''
[3/19/07 12:45:12:292 GMT-03:00] 00000014 SystemOut O DEBUG [ORB.thread.pool : 2] (Digester.java:1269) - New match='faces-config/application' ...
Deste ponto em diante se repetem os “O DEBUG [ORB.thread.pool :2] …”, e o servidor pára de responder, não executando a aplicação.
Já procurei referências para o problema e não encontrei. Aparentemente o problema passou a ocorrer depois que mudei a estrutura de diretórios onde estão minhas jsp. Já retornei as páginas ao local anterior, porém não funciona.
A aplicação está na seguinda estrutura, em WebContent :
|-- WebContent
|— contatos (neste diretório estão as JSP´s)
|— css (folha de estilos)
|— META-INF
|— WEB-INF
|— faces-config.xml
|— web.xml
|— LIB
|— (.jars …)
index.jsp
Pela mensagem inicial do log - “Reading standard config org/apache/myfaces/resource/standard-faces-config.xml”, imaginei que o servidor não estivesse encontrando o arquivo faces-config.xml, porque ele diz estar carregando o standard-faces-config.xml.
Já tentei muitas soluções, mas até agora não houve sucesso.
Se alguém puder me ajudar, serei muito grato.
Obrigado.