<html>
<head>
<meta name="generator" content="Windows Mail 17.5.9600.20911">
<style data-externalstyle="true"><!--
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
}
p.MsoNormal, li.MsoNormal, div.MsoNormal {
margin:0in;
margin-bottom:.0001pt;
}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, 
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, 
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast {
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
line-height:115%;
}
--></style></head>
<body dir="ltr">
<div data-externalstyle="false" dir="ltr" style="font-family: 'Meiryo', 'Calibri', 'Segoe UI', 'Microsoft YaHei UI', 'Microsoft JhengHei UI', 'Malgun Gothic', 'sans-serif';font-size:11.4975pt;">
<div>こんにちは、</div><div>takaといいます。</div><div>前回は、weblogicの件で大変お世話になりました。</div><div><br></div><div>今回ご教授願いたい問題は下記のようなものです。<br>よろしくお願いします。<br><br></div><div dir=""><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><br></div><div>既存のアプリケーションをGlassFishのVersion3に乗せようと思っていますが</div><div>FacesServletの初期化時にエラーが発生しています。</div><div>どなたか、s2JSFを用いたアプリケーションを、GlassFish version3で稼働する方法を</div><div>指南して頂けないでしょうか?</div><div><br></div><div>※WebLogic12CとTomcat7ではアプリケーションが正常に稼働したことは確認済みです。</div><div><br></div><div><br></div><div>公式サイトに記述しているsun-web.xmlの設定もしましたが、</div><div>GlassFishのServer.logにリスナーが設定されていないとログが出力されていました。</div><div>参照サイト:<a href="http://teeda.seasar.org/ja/deploy.html" target="_parent">http://teeda.seasar.org/ja/deploy.html</a></div><div>※本設定は、teeda用でしたが、S2JSF用に使用しました。</div><div><br></div><div><br></div><div>■設定ファイル(sun-web.xml)</div><div>★Seasar2公式サイトに載っていた方法。</div><div>Teeda用の設定だが、s2JSFの為に設定。</div><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div><div>&lt;!DOCTYPE sun-web-app&nbsp;</div><div>&nbsp; &nbsp; PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN"&nbsp;</div><div>&nbsp; &nbsp; "<a href="http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd" target="_parent">http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd</a>"&gt;</div><div>&lt;sun-web-app error-url=""&gt;</div><div>&nbsp; &nbsp; &lt;class-loader delegate="false" /&gt;</div><div>&nbsp; &nbsp; &lt;property name="useMyFaces" value="true" /&gt;</div><div>&lt;/sun-web-app&gt;</div><div><br></div><div><br></div><div>★Glass Fish v3からproperty名が、"useMyFaces"から"useBundledJsf"に変更とネットに</div><div>書いてあったので、それに合わせて設定。</div><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div><div>&lt;!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN" "<a href="http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd" target="_parent">http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd</a>"&gt;</div><div>&lt;sun-web-app&gt;</div><div>&lt;class-loader delegate="false"/&gt;</div><div>&lt;property name="useBundledJsf" value="true"/&gt;</div><div>&lt;/sun-web-app&gt;</div><div><br></div><div>※同様の設定をglassfish-web.xmlに記述してディプロイを実施しましたが、</div><div>同様のエラーが発生しました。</div><div><br></div><div><br></div><div><br></div><div>■設定ファイル(web.xml)</div><div>抜粋</div><div>&nbsp; &nbsp; &lt;listener&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&nbsp; &nbsp; &lt;/listener&gt;</div><div><br></div><div><br></div><div>&nbsp; &nbsp; &lt;!-- Faces Servlet --&gt;</div><div>&nbsp; &nbsp; &lt;servlet&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;load-on-startup&gt;2&lt;/load-on-startup&gt;</div><div>&nbsp; &nbsp; &lt;/servlet&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;servlet&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-name&gt;s2servlet&lt;/servlet-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-class&gt;org.seasar.framework.container.servlet.S2ContainerServlet&lt;/servlet-class&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;init-param&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param-name&gt;debug&lt;/param-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;param-value&gt;false&lt;/param-value&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/init-param&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;</div><div>&nbsp; &nbsp; &lt;/servlet&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;!-- Faces Servlet Mapping --&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;!-- virtual path mapping --&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;servlet-mapping&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;url-pattern&gt;/faces/*&lt;/url-pattern&gt;</div><div>&nbsp; &nbsp; &lt;/servlet-mapping&gt;</div><div>&nbsp; &nbsp; &lt;servlet-mapping&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;servlet-name&gt;s2servlet&lt;/servlet-name&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;url-pattern&gt;/s2servlet&lt;/url-pattern&gt;</div><div>&nbsp; &nbsp; &lt;/servlet-mapping&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;session-config&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;session-timeout&gt;60&lt;/session-timeout&gt;</div><div>&nbsp; &nbsp; &lt;/session-config&gt;</div><div><br></div><div><br></div><div>★フレームワーク</div><div>s2jsf 1.0.28</div><div>2Container 2.3.4</div><div><br></div><div><br></div><div>★環境</div><div>Windows Server2012</div><div>Oracle 12C</div><div>GlassFish v3</div><div>JDK 1.7</div><div><br></div><div><br></div><div>★GlassFishのServer.logの抜粋</div><div>[#|2015-07-29T12:14:13.078+0900|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=96;_ThreadName=Thread-2;|ContainerBase.addChild: start:&nbsp;</div><div>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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:5389)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebModule.start(WebModule.java:498)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.reflect.Method.invoke(Method.java:606)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ContextTask.run(ContextTask.java:71)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.Thread.run(Thread.java:745)</div><div>Caused by: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5103)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardContext.start(StandardContext.java:5380)</div><div><span style="white-space: pre-wrap;">        </span>... 62 more</div><div>Caused by: java.lang.IllegalStateException: No Factories configured for this Application - typically this is because a context listener is not setup in your web.xml.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div><span style="white-space: pre-wrap;">        </span>at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)</div><div><span style="white-space: pre-wrap;">        </span>at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1453)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1250)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5093)</div><div><span style="white-space: pre-wrap;">        </span>... 63 more</div><div>|#]</div><div><br></div><div>[#|2015-07-29T12:14:13.094+0900|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=96;_ThreadName=Thread-2;|java.lang.IllegalStateException: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div>java.lang.IllegalStateException: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)</div><div><span style="white-space: pre-wrap;">        </span>at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.reflect.Method.invoke(Method.java:606)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ContextTask.run(ContextTask.java:71)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.Thread.run(Thread.java:745)</div><div>|#]</div><div><br></div><div>[#|2015-07-29T12:14:13.094+0900|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=96;_ThreadName=Thread-2;|Exception while invoking class com.sun.enterprise.web.WebApplication start method</div><div>java.lang.Exception: java.lang.IllegalStateException: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div><br></div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.web.WebApplication.start(WebApplication.java:138)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div><div><span style="white-space: pre-wrap;">        </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.reflect.Method.invoke(Method.java:606)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)</div><div><span style="white-space: pre-wrap;">        </span>at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.ContextTask.run(ContextTask.java:71)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)</div><div><span style="white-space: pre-wrap;">        </span>at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)</div><div><span style="white-space: pre-wrap;">        </span>at java.lang.Thread.run(Thread.java:745)</div><div>|#]</div><div><br></div><div>[#|2015-07-29T12:14:13.094+0900|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=96;_ThreadName=Thread-2;|Exception while loading the app|#]</div><div><br></div><div>[#|2015-07-29T12:14:14.265+0900|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=96;_ThreadName=Thread-2;|Exception while loading the app : java.lang.IllegalStateException: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div>|#]</div><div><br></div><div>[#|2015-07-29T12:14:14.281+0900|INFO|glassfish3.1.2|org.glassfish.admingui|_ThreadID=45;_ThreadName=Thread-2;|Exception Occurred :Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: 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.</div><div>A typical config looks like this;</div><div>&lt;listener&gt;</div><div>&nbsp; &lt;listener-class&gt;org.apache.myfaces.webapp.StartupServletContextListener&lt;/listener-class&gt;</div><div>&lt;/listener&gt;</div><div>. Please see server.log for more details.|#]</div><div><br></div><div>-------------------------</div><div>以上です。</div><div><br></div></div>
</div><br></div>
</div>


</div>
</body>
</html>