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

[E-MAIL ADDRESS DELETED] [E-MAIL ADDRESS DELETED]
2015年 7月 30日 (木) 10:12:34 JST


こんにちは、

takaといいます。

前回は、weblogicの件で大変お世話になりました。




今回ご教授願いたい問題は下記のようなものです。
よろしくお願いします。










既存のアプリケーションをGlassFishのVersion3に乗せようと思っていますが

FacesServletの初期化時にエラーが発生しています。

どなたか、s2JSFを用いたアプリケーションを、GlassFish version3で稼働する方法を

指南して頂けないでしょうか?




※WebLogic12CとTomcat7ではアプリケーションが正常に稼働したことは確認済みです。







公式サイトに記述しているsun-web.xmlの設定もしましたが、

GlassFishのServer.logにリスナーが設定されていないとログが出力されていました。

参照サイト:http://teeda.seasar.org/ja/deploy.html

※本設定は、teeda用でしたが、S2JSF用に使用しました。







■設定ファイル(sun-web.xml)

★Seasar2公式サイトに載っていた方法。

Teeda用の設定だが、s2JSFの為に設定。

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE sun-web-app 

    PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Servlet 2.5//EN" 

    "http://www.sun.com/software/appserver/dtds/sun-web-app_2_5-0.dtd">

<sun-web-app error-url="">

    <class-loader delegate="false" />

    <property name="useMyFaces" value="true" />

</sun-web-app>







★Glass Fish v3からproperty名が、"useMyFaces"から"useBundledJsf"に変更とネットに

書いてあったので、それに合わせて設定。

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd">

<sun-web-app>

<class-loader delegate="false"/>

<property name="useBundledJsf" value="true"/>

</sun-web-app>




※同様の設定をglassfish-web.xmlに記述してディプロイを実施しましたが、

同様のエラーが発生しました。










■設定ファイル(web.xml)

抜粋

    <listener>

        <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

    </listener>







    <!-- Faces Servlet -->

    <servlet>

        <servlet-name>Faces Servlet</servlet-name>

        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

        <load-on-startup>2</load-on-startup>

    </servlet>




    <servlet>

        <servlet-name>s2servlet</servlet-name>

        <servlet-class>org.seasar.framework.container.servlet.S2ContainerServlet</servlet-class>

        <init-param>

            <param-name>debug</param-name>

            <param-value>false</param-value>

        </init-param>

        <load-on-startup>1</load-on-startup>

    </servlet>




    <!-- Faces Servlet Mapping -->




    <!-- virtual path mapping -->




    <servlet-mapping>

        <servlet-name>Faces Servlet</servlet-name>

        <url-pattern>/faces/*</url-pattern>

    </servlet-mapping>

    <servlet-mapping>

        <servlet-name>s2servlet</servlet-name>

        <url-pattern>/s2servlet</url-pattern>

    </servlet-mapping>




    <session-config>

        <session-timeout>60</session-timeout>

    </session-config>







★フレームワーク

s2jsf 1.0.28

2Container 2.3.4







★環境

Windows Server2012

Oracle 12C

GlassFish v3

JDK 1.7







★GlassFishのServer.logの抜粋

[#|2015-07-29T12:14:13.078+0900|SEVERE|glassfish3.1.2|org.apache.catalina.core.ContainerBase|_ThreadID=96;_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>




	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5389)

	at com.sun.enterprise.web.WebModule.start(WebModule.java:498)

	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)

	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)

	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)

	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)

	at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at java.lang.reflect.Method.invoke(Method.java:606)

	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)

	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)

	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)

	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)

	at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)

	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)

	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

	at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)

	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

	at java.lang.Thread.run(Thread.java:745)

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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>




	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5103)

	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5380)

	... 62 more

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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>




	at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:101)

	at javax.faces.webapp.FacesServlet.init(FacesServlet.java:88)

	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1453)

	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1250)

	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5093)

	... 63 more

|#]




[#|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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>




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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>




	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:921)

	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)

	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)

	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)

	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)

	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)

	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)

	at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at java.lang.reflect.Method.invoke(Method.java:606)

	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)

	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)

	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)

	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)

	at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)

	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)

	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

	at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)

	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

	at java.lang.Thread.run(Thread.java:745)

|#]




[#|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

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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>




	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:138)

	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)

	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)

	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)

	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)

	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)

	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)

	at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)

	at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

	at java.lang.reflect.Method.invoke(Method.java:606)

	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)

	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)

	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)

	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)

	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)

	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)

	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)

	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)

	at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)

	at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)

	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)

	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)

	at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)

	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)

	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)

	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)

	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)

	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)

	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)

	at java.lang.Thread.run(Thread.java:745)

|#]




[#|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|#]




[#|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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>

|#]




[#|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.

A typical config looks like this;

<listener>

  <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>

</listener>

. Please see server.log for more details.|#]




-------------------------

以上です。
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20150730/e9bbcf49/attachment.html>


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