dev@grizzly.java.net

Re: problems setting root for GWS

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 6 Apr 2009 21:36:43 -0400

one more.. it theses settings are only used for Comet.. if the use want to
deploy multiplewar in the same time.. but only one of them is Comet.. why
that will work out ?



2009/4/6 Survivant 00 <survivant00_at_gmail.com>

> when do we have to call --startAdapter ? we wanted to ask that option..
> but I thought is was for Comet.. I'm lost if it's not needed
>
> 2009/4/6 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>
>
> Salut,
>>
>> Survivant 00 wrote:
>>
>>> big question for you guys.
>>>
>>> I have a struts war. That I want to deploy.
>>>
>>> I add theses params on the command line : --startAdapter
>>> --startAsyncFilter
>>>
>>> here the appropriate code
>>>
>>> if(startAsyncFilter){
>>> SelectorThread st = ws.getSelectorThread();
>>> AsyncHandler asyncHandler = new
>>> DefaultAsyncHandler();
>>> asyncHandler.addAsyncFilter(new CometAsyncFilter());
>>> st.setAsyncHandler(asyncHandler);
>>> st.setEnableAsyncExecution(true);
>>> }
>>> if(startAdapter){
>>> sa.start();
>>> }
>>>
>>> and here the code for the root
>>>
>>> sa.setHandleStaticResources(true);
>>> if (logger.isLoggable(Level.FINEST)) {
>>> logger.log(Level.FINEST, "sa context=" +
>>> sa.getContextPath());
>>> logger.log(Level.FINEST, "sa servletPath=" +
>>> sa.getServletPath());
>>> logger.log(Level.FINEST, "sa alias=" + contextPath);
>>> logger.log(Level.FINEST, "sa rootFolder=" +
>>> sa.getRootFolder());
>>> }
>>> SelectorThread.setWebAppRootPath(rootFolder);
>>>
>>>
>>> I obtain the stacktrace at the end.. Any idea ? and the Spring config
>>> look like it's loaded twice.. is it because I call start ? maybe I have to
>>> do that only for comet application..
>>>
>>
>> With Comet you just need to add the AsyncFilter (take a look at the
>> bundles/comet main classes). In both case, you should not call
>> Adapter.start() as as you noted, it will get started twice.
>>
>> Does that help?
>>
>> A+
>>
>> -- Jeanfrancois
>>
>>
>>
>>
>>>
>>>
>>> [main] Mon Apr 06 21:15:52 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> launch:Application Found =C:/temp/MultipleWarFolder
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/antlr-2.7.2.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/aopalliance-1.0.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-beanutils-1.7.0.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-chain-1.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-codec-1.3.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-collections-3.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-digester-1.6.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-el-1.0.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-fileupload-1.1.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-io-1.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-lang-2.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-logging-1.0.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-logging-api-1.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/commons-validator-1.3.0.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/dwr-1.1-beta-3.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/freemarker-2.3.8.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/jstl-1.1.0.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/log4j-1.2.9.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/myfaces-api-1.1.2.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/myfaces-impl-1.1.2.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/ognl-2.6.11.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/oro-2.0.8.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/sitemesh-2.2.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/spring-beans-2.0.5.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/spring-context-2.0.5.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/spring-core-2.0.5.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/spring-web-2.0.5.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts-core-1.3.5.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-codebehind-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-config-browser-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-core-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-jsf-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-sitemesh-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-spring-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-struts1-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/struts2-tiles-plugin-2.0.12.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/tiles-api-2.0.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/tiles-core-2.0.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/tiles-jsp-2.0.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/velocity-1.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/velocity-dep-1.4.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/velocity-tools-1.1.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/d:/Temp/tmp/struts2-showcase-2.0.12/WEB-INF/lib/xwork-2.0.6.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/ant-launcher.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/ant.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/el-api.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/jasper-el.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/jasper-jdt.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/jasper.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/jsp-api.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/servlet-api.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:/C:/sources/grizzly/code/modules/http-servlet-deployer/lib/tomcat-juli.jar!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:C:\temp\MultipleWarFolder\struts2-showcase-2.0.12.war!/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> appendWarContentToClassPath:Classpath
>>> contains=jar:file:C:\temp\MultipleWarFolder\struts2-showcase-2.0.12.war!/WEB-INF/classes/
>>>
>>> [main] Mon Apr 06 21:15:53 EDT 2009 [INFO]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer
>>> deploy:deployed application
>>> path=d:\Temp\tmp\struts2-showcase-2.0.12\WEB-INF\web.xml
>>>
>>> [main] Mon Apr 06 21:15:54 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.webxml.WebappLoader load:Version found=web-app_2_4.xsd
>>>
>>>
>>> [main] Mon Apr 06 21:15:54 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> context=/struts2-showcase-2.0.12
>>>
>>> [main] Mon Apr 06 21:15:54 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> servletPath=/*.action
>>>
>>> [main] Mon Apr 06 21:15:54 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> alias=/struts2-showcase-2.0.12/*.action
>>>
>>> [main] Mon Apr 06 21:15:54 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> rootFolder=d:/Temp/tmp/struts2-showcase-2.0.12
>>>
>>> [main] Mon Apr 06 21:15:58 EDT 2009 [INFO]
>>> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing Spring root
>>> WebApplicationContext
>>>
>>> 2009-04-06 21:15:58,000 INFO
>>> (org.springframework.web.context.ContextLoader:177) - Root
>>> WebApplicationContext: initialization started
>>> 2009-04-06 21:15:58,062 INFO
>>> (org.springframework.web.context.support.XmlWebApplicationContext:378) -
>>> Refreshing
>>> org.springframework.web.context.support.XmlWebApplicationContext_at_174219d:
>>> display name [Root WebApplicationContext]; startup date [Mon Apr 06 21:15:58
>>> EDT 2009]; root of context hierarchy
>>> 2009-04-06 21:15:58,234 INFO
>>> (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:293) -
>>> Loading XML bean definitions from ServletContext resource
>>> [/WEB-INF/applicationContext.xml]
>>> 2009-04-06 21:15:58,390 INFO
>>> (org.springframework.web.context.support.XmlWebApplicationContext:393) -
>>> Bean factory for application context
>>> [org.springframework.web.context.support.XmlWebApplicationContext_at_174219d]:
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1f54c5f
>>> 2009-04-06 21:15:58,531 INFO
>>> (org.springframework.beans.factory.support.DefaultListableBeanFactory:275) -
>>> Pre-instantiating singletons in
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1f54c5f:
>>> defining beans
>>> [storage,testDataProvider,skillDao,employeeDao,personManager,customFreemarkerManager,customFreemarkerManagerUtil,chatService,chatLoginAction,chatLogoutAction,usersAvailableAction,roomsAvailableAction,crudRoomAction,enterRoomAction,messagesAvailableInRoomAction,sendMessageToRoomAction,usersAvailableInRoomAction,exitRoomAction,hangmanService,startHangmanAction,guessCharacterAction,getUpdatedHangmanAction];
>>> root of factory hierarchy
>>> 2009-04-06 21:15:58,671 INFO
>>> (org.apache.struts2.showcase.application.TestDataProvider:89) -
>>> TestDataProvider - [addTestSkills]: Added test skill data.
>>> 2009-04-06 21:15:58,671 INFO
>>> (org.apache.struts2.showcase.application.TestDataProvider:102) -
>>> TestDataProvider - [addTestEmployees]: Added test employee data.
>>> 2009-04-06 21:15:58,828 INFO
>>> (org.springframework.web.context.ContextLoader:197) - Root
>>> WebApplicationContext: initialization completed in 828 ms
>>> 2009-04-06 21:15:59,109 WARN
>>> (org.apache.myfaces.shared_impl.util.LocaleUtils:52) - Locale name in
>>> faces-config.xml null or empty, setting locale to default locale : fr_CA
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> context=/struts2-showcase-2.0.12
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> servletPath=/*
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> alias=/struts2-showcase-2.0.12/dwr/*
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [LE PLUS FIN]
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer deploy:sa
>>> rootFolder=d:/Temp/tmp/struts2-showcase-2.0.12
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [INFO]
>>> com.sun.grizzly.http.servlet.ServletContextImpl log:Initializing Spring root
>>> WebApplicationContext
>>>
>>> 2009-04-06 21:15:59,468 INFO
>>> (org.springframework.web.context.ContextLoader:177) - Root
>>> WebApplicationContext: initialization started
>>> 2009-04-06 21:15:59,468 INFO
>>> (org.springframework.web.context.support.XmlWebApplicationContext:378) -
>>> Refreshing
>>> org.springframework.web.context.support.XmlWebApplicationContext_at_9fe84e:
>>> display name [Root WebApplicationContext]; startup date [Mon Apr 06 21:15:59
>>> EDT 2009]; root of context hierarchy
>>> 2009-04-06 21:15:59,484 INFO
>>> (org.springframework.beans.factory.xml.XmlBeanDefinitionReader:293) -
>>> Loading XML bean definitions from ServletContext resource
>>> [/WEB-INF/applicationContext.xml]
>>> 2009-04-06 21:15:59,531 INFO
>>> (org.springframework.web.context.support.XmlWebApplicationContext:393) -
>>> Bean factory for application context
>>> [org.springframework.web.context.support.XmlWebApplicationContext_at_9fe84e]:
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1642bd6
>>> 2009-04-06 21:15:59,546 INFO
>>> (org.springframework.beans.factory.support.DefaultListableBeanFactory:275) -
>>> Pre-instantiating singletons in
>>> org.springframework.beans.factory.support.DefaultListableBeanFactory_at_1642bd6:
>>> defining beans
>>> [storage,testDataProvider,skillDao,employeeDao,personManager,customFreemarkerManager,customFreemarkerManagerUtil,chatService,chatLoginAction,chatLogoutAction,usersAvailableAction,roomsAvailableAction,crudRoomAction,enterRoomAction,messagesAvailableInRoomAction,sendMessageToRoomAction,usersAvailableInRoomAction,exitRoomAction,hangmanService,startHangmanAction,guessCharacterAction,getUpdatedHangmanAction];
>>> root of factory hierarchy
>>> 2009-04-06 21:15:59,546 INFO
>>> (org.apache.struts2.showcase.application.TestDataProvider:89) -
>>> TestDataProvider - [addTestSkills]: Added test skill data.
>>> 2009-04-06 21:15:59,546 INFO
>>> (org.apache.struts2.showcase.application.TestDataProvider:102) -
>>> TestDataProvider - [addTestEmployees]: Added test employee data.
>>> 2009-04-06 21:15:59,546 INFO
>>> (org.springframework.web.context.ContextLoader:197) - Root
>>> WebApplicationContext: initialization completed in 78 ms
>>> 2009-04-06 21:15:59,609 WARN
>>> (org.apache.myfaces.shared_impl.util.LocaleUtils:52) - Locale name in
>>> faces-config.xml null or empty, setting locale to default locale : fr_CA
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [FIN]
>>> com.sun.grizzly.http.SelectorThread initAlgorithm:Using Algorithm:
>>> com.sun.grizzly.http.algorithms.NoParsingAlgorithm
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [GRAVE]
>>> com.sun.grizzly.http.servlet.ServletContextImpl initListeners:
>>> java.lang.IllegalStateException: Cannot initialize context because there
>>> is already a root application context present - check whether you have
>>> multiple ContextLoader* definitions in your web.xml!
>>> at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:170)
>>> at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>>> at
>>> com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(ServletContextImpl.java:151)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(ServletAdapter.java:362)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.start(ServletAdapter.java:208)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(GrizzlyAdapterChain.java:123)
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:1056)
>>> at
>>> com.sun.grizzly.http.SelectorThread.listen(SelectorThread.java:1107)
>>> at
>>> com.sun.grizzly.http.embed.GrizzlyWebServer.start(GrizzlyWebServer.java:585)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(GrizzlyWebServerDeployer.java:736)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.main(GrizzlyWebServerDeployer.java:784)
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [GRAVE]
>>> com.sun.grizzly.http.servlet.ServletContextImpl initListeners:
>>> java.lang.IllegalStateException: Cannot initialize context because there
>>> is already a root application context present - check whether you have
>>> multiple ContextLoader* definitions in your web.xml!
>>> at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:170)
>>> at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>>> at
>>> com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(ServletContextImpl.java:151)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(ServletAdapter.java:362)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.start(ServletAdapter.java:208)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(GrizzlyAdapterChain.java:123)
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:1056)
>>> at
>>> com.sun.grizzly.http.SelectorThread.listen(SelectorThread.java:1107)
>>> at
>>> com.sun.grizzly.http.embed.GrizzlyWebServer.start(GrizzlyWebServer.java:585)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(GrizzlyWebServerDeployer.java:736)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.main(GrizzlyWebServerDeployer.java:784)
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [GRAVE]
>>> com.sun.grizzly.http.servlet.ServletContextImpl initListeners:
>>> java.lang.IllegalStateException: Cannot initialize context because there
>>> is already a root application context present - check whether you have
>>> multiple ContextLoader* definitions in your web.xml!
>>> at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:170)
>>> at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>>> at
>>> com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(ServletContextImpl.java:151)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(ServletAdapter.java:362)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.start(ServletAdapter.java:208)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(GrizzlyAdapterChain.java:123)
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:1056)
>>> at
>>> com.sun.grizzly.http.SelectorThread.listen(SelectorThread.java:1107)
>>> at
>>> com.sun.grizzly.http.embed.GrizzlyWebServer.start(GrizzlyWebServer.java:585)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(GrizzlyWebServerDeployer.java:736)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.main(GrizzlyWebServerDeployer.java:784)
>>>
>>> [main] Mon Apr 06 21:15:59 EDT 2009 [GRAVE]
>>> com.sun.grizzly.http.servlet.ServletContextImpl initListeners:
>>> java.lang.IllegalStateException: Cannot initialize context because there
>>> is already a root application context present - check whether you have
>>> multiple ContextLoader* definitions in your web.xml!
>>> at
>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:170)
>>> at
>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>>> at
>>> com.sun.grizzly.http.servlet.ServletContextImpl.initListeners(ServletContextImpl.java:151)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.configureServletEnv(ServletAdapter.java:362)
>>> at
>>> com.sun.grizzly.http.servlet.ServletAdapter.start(ServletAdapter.java:208)
>>> at
>>> com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.start(GrizzlyAdapterChain.java:123)
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:1056)
>>> at
>>> com.sun.grizzly.http.SelectorThread.listen(SelectorThread.java:1107)
>>> at
>>> com.sun.grizzly.http.embed.GrizzlyWebServer.start(GrizzlyWebServer.java:585)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.launch(GrizzlyWebServerDeployer.java:736)
>>> at
>>> com.sun.grizzly.http.servlet.deployer.GrizzlyWebServerDeployer.main(GrizzlyWebServerDeployer.java:784)
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>