0

New Warning After Upgrading to 6.0.1 - WebManager not initialized. Please check if HttpSessionListen

asked 2012-05-08 13:05:16 +0800

ansancle gravatar image ansancle
317 9

updated 2012-05-08 13:05:45 +0800

After upgrading to ZK 6.0.1 from 6.0 I started getting the following in my log file (I am running Jboss 7.11) :

08:59:15,358 WARNING [org.zkoss] (MSC service thread 1-4) WebManager not initialized. Please check if HttpSessionListener is configured properly.
08:59:15,517 WARNING [org.zkoss] (MSC service thread 1-2) WebManager not initialized. Please check if HttpSessionListener is configured properly.
08:59:19,499 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015951: Admin console listening on http://127.0.0.1:9990
08:59:19,499 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 12004ms - Started 974 of 1083 services (105 services are passive or on-demand)

I am using the web.xml from ZK with the exception of my welcome file. Any ideas what is causing this?

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> 


	<description><![CDATA[DH Ipad UI]]></description>
	<display-name>DH Ipad UI</display-name>
    <listener>
        <description>ZK listener for cleanup when a session is destroyed</description>
        <listener-class>org.zkoss.zk.ui.http.HttpSessionListener</listener-class>
    </listener>
    <servlet>
        <description>ZK loader for evaluating ZUML pages</description>
        <servlet-name>zkLoader</servlet-name>
        <servlet-class>org.zkoss.zk.ui.http.DHtmlLayoutServlet</servlet-class>
        <!--
            Must. Specifies URI of the update engine (DHtmlUpdateServlet). It
            must be the same as <url-pattern> for the update engine.
        -->
        <init-param>
            <param-name>update-uri</param-name>
            <param-value>/zkau</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup><!-- MUST -->
    </servlet>
    <servlet-mapping>
        <servlet-name>zkLoader</servlet-name>
        <url-pattern>*.zul</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <servlet-name>zkLoader</servlet-name>
        <url-pattern>*.zhtml</url-pattern>
    </servlet-mapping>
    <servlet>
        <description>The asynchronous update engine for ZK</description>
        <servlet-name>auEngine</servlet-name>
        <servlet-class>org.zkoss.zk.au.http.DHtmlUpdateServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>auEngine</servlet-name>
        <url-pattern>/zkau/*</url-pattern>
    </servlet-mapping>
     <!-- //// -->
 
     <!-- MIME mapping -->
    <mime-mapping>
        <extension>gif</extension>
        <mime-type>image/gif</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>html</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>htm</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>jad</extension>
        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>jpeg</extension>
        <mime-type>image/jpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>jpg</extension>
        <mime-type>image/jpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>js</extension>
        <mime-type>application/x-javascript</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>png</extension>
        <mime-type>image/png</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>txt</extension>
        <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>xml</extension>
        <mime-type>text/xml</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>zhtml</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
        <extension>zul</extension>
        <mime-type>text/html</mime-type>
    </mime-mapping>

	<welcome-file-list>
			<welcome-file>/windows/DHzHomeWindow.zul</welcome-file> 
	</welcome-file-list>
	
		<!-- Miscellaneous -->
	<session-config>
		<session-timeout>-1</session-timeout>
	</session-config>       	
       	  
</web-app>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2012-05-24 09:26:28 +0800

vincentjian gravatar image vincentjian
2245 6

Hi ansancle,

I deployed a simple hello world zk 6.0.1 war file in Jboss 7.1.1 and it works fine, could you provide more detailed information? Such as steps you deploy a war file.

link publish delete flag offensive edit

answered 2012-05-30 16:14:12 +0800

ansancle gravatar image ansancle
317 9

Sorry for the late response, was traveling,we have a very large complicated application and deployment procedure, I will have to go back and see what may be interacting with ZK to cause this, thanks for the response though. At least I now know it's not supposed to be there.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-05-08 13:05:16 +0800

Seen: 198 times

Last updated: May 30 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More