[Seasar-user:22083] S2JSF and Glassfish
[E-MAIL ADDRESS DELETED]
[E-MAIL ADDRESS DELETED]
2015年 8月 5日 (水) 10:46:56 JST
Hello, I need a help for migration project.
Currently, we use S2JSF which is old framework.
It uses "myfaces-1.0.9.jar" for JSF.
When I deployed application on Glassfish v3, Exception is happened as below.
I wrote about listener configuration in web.xml.
I wrote JSF configuration in glassfish-web.xml
However, glassfish said that a context listener is not set up.
Why? I can not find the reason.
I wrote listener configuration on web.xml but Glassfish does not recognize listener configuration.
Could you guys help me?
Plus,
When I deployed an application on WebLogic12C and Tomcat7, The application can be deployed on both of them.
*Configuration
JDK1.7
Windows Server 2012
Oracle12C
*Web site for 2SJSF
http://s2jsf.seasar.org/en/
*web.xml (Listener configuration)
<!-- Listener, that does all the startup work (configuration, init). -->
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>
*glassfish-web.xml configuration
<!DOCTYPE glassfish-web-app PUBLIC
"-//GlassFish.org//DTD GlassFish Application Server 3.1 Servlet 3.0//EN"
"http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app error-url="">
<class-loader delegate="false"/>
<property name="useBundledJsf" value="true" />
</glassfish-web-app>
*Server.log
[#|2015-07-31T11:18:18.189+0900|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=86;_ThreadName=Thread-2;|ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: 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>
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20150805/7f162cad/attachment.html>
Seasar-user メーリングリストの案内