[Seasar-user:22085] Glassfish version3へのディプロイ

Masahiro Takahashi [E-MAIL ADDRESS DELETED]
2015年 8月 7日 (金) 11:06:49 JST


Thanks for your reply, Kobayashi-san.

The part of  server.log is below;

----------------------
[2015-08-07T10:25:19.798+0900] [glassfish 4.1] [INFO] [] [] [tid:
_ThreadID=45 _ThreadName=Thread-8] [timeMillis: 1438910719798] [levelValue:
800] [[
  2015-08-07 10:25:19,798 [admin-listener(2)] INFO
 org.apache.myfaces.webapp.StartupServletContextListener - ServletContext
'C:\Work\s2jsf-example\' initialized.]]

[2015-08-07T10:25:21.106+0900] [glassfish 4.1] [SEVERE] []
[javax.enterprise.web] [tid: _ThreadID=45 _ThreadName=admin-listener(2)]
[timeMillis: 1438910721106] [levelValue: 1000] [[
  WebModule[/s2jsf-example]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</listener-class>
</listener>
--------------------

In this log I can find
"org.apache.myfaces.webapp.StartupServletContextListener".
So I think "StartupServletContextListener" is initialized properly.
But actutally GlassFish does not recognize "StartupServletContextListener".

I was serching the reason of this by looking at the the deployment process
on eclipse.
And I noticed that "getFactory(String factoryName)" in
"javax.faces.FactoryFinder" seems to have the reason why
"StartupServletContextListener" is not recognized.

Do we have to configure something in order to load class files from
application side?

Thank you.
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20150807/06165a75/attachment.html>


Seasar-user メーリングリストの案内