Revision history [back]

click to hide/show revision 1
initial version

asked 2012-07-22 15:12:17 +0800

nmpallas gravatar image nmpallas

http://nmpallas.wordpress...

ZK 6.0.1 CE and jboss 7.1.1 problems

Dear all, I have been silently using the framework and I find it really good.Currently I have my project where I have upgraded from 5 to 6 version without many problems. Now that 6.0.1 is out I would like it to use because I get more capabilities over the client side development,i.e. Clients* api/class.I use maven to build my projects of course so i simply changed the version frmo 6.0.0 to 6.0.1 and also remove zcommons-el.jar to zel.jar and i use the 2.2 zel.jar.Now really strange, I have been using the same zel from version 6.0.0 but know my project won't load and I have exception regarding El.

The code of my first page for the redirection:

<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" ?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?page title="${c:l('mcube.console.login.page.header')}" contentType="text/html;charset=UTF-8"?>
<zk>
    <?forward uri="pages/index.zul"?>
</zk>

my login page

<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" ?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?page title="${c:l('mcube.console.login.page.header')}" contentType="text/html;charset=UTF-8"?>
<zk>
<style src="${sessionScope['context']}/css/mcube_css.css"></style>
<style src="${sessionScope['context']}/css/bootstrap.css" ></style>
<style src="${sessionScope['context']}/css/bootstrap.min.css"></style>
<window sclass="ef_form form-horizontal"  style="margin-left:auto;margin-right:auto;padding-top:10%;" apply="org.zkoss.bind.BindComposer"  viewModel="@id('loginAdminBean')  @init(loginAdminBean)" width="50%" border="none">
    <div class="ef_box ef_box_bordered">
        <div class="ef_title">
            <label sclass="h1" style="font-size:18px;" value="${c:l('mcube.console.login.window.header')}" ></label>
        </div>      
        <div class="control-group" style="padding-top:15px;">
            <label sclass="control-label" value="${c:l('mcube.console.login.window.user')}" ></label>
            <div class="controls">
                <textbox  type="text"  value="@bind(loginAdminBean.entity.username)" ></textbox> *
            </div>  
        </div>
        <div class="control-group">
            <label sclass="control-label" value="${c:l('mcube.console.login.window.password')}" ></label>
            <div class="controls">
                <textbox type="password" value="@bind(loginAdminBean.entity.password)" ></textbox> *
            </div>
        </div>
        <div class="control-group">
            <label class="control-label" value="" ></label>
                <div class="controls">
                    <button sclass="btn btn-primary btn-medium" onClick="@command('login')"  label="${c:l('mcube.console.login.window.button.enter')}" ></button>
                </div>
        </div>
        <div class="control-group">
            <label sclass="control-label" value="" ></label>
            <div class="controls">
                <checkbox label="${c:l('mcube.console.login.window.remember.me') }"   id="checked"  ></checkbox>
            </div>
        </div>
        <separator width="100%" bar="true" style="color:white;"  ></separator>
        <div class="well">
             Fields with asterisk (*) are mandatory
        </div>
    </div>
</window>
</zk>

And this is the error in jboss logs:

17:05:51,576 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/web-console].[DHtmlLayoutServlet]] (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet DHtmlLayoutServlet threw exception: java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:85) [rt.jar:1.6.0_32]
    at java.util.Stack.pop(Stack.java:67) [rt.jar:1.6.0_32]
    at org.zkoss.bind.xel.zel.PathELResolver.getValue(PathELResolver.java:54) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) [zcommon-6.0.1.jar:6.0.1]
    at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:75) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) [zcommon-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:42) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:58) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1865) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1847) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:138) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:529) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:824) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:741) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:701) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:394) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) [zk-6.0.1.jar:6.0.1]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.13.Final.jar:]
    at org.zkoss.web.servlet.Servlets.forward(Servlets.java:825) [zweb-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:277) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:286) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:392) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) [zk-6.0.1.jar:6.0.1]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

17:05:51,592 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/mcube-console].[DHtmlLayoutServlet]] (http-localhost-127.0.0.1-8080-1) Servlet.service() for servlet DHtmlLayoutServlet threw exception: java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:85) [rt.jar:1.6.0_32]
    at java.util.Stack.pop(Stack.java:67) [rt.jar:1.6.0_32]
    at org.zkoss.bind.xel.zel.PathELResolver.getValue(PathELResolver.java:54) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) [zcommon-6.0.1.jar:6.0.1]
    at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:75) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:179) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) [zel-2.2.1.jar:2.2.1]
    at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) [zcommon-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:42) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:58) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1865) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1847) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1849) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:138) [zkbind-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:529) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:824) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:741) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:701) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:643) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:394) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) [zk-6.0.1.jar:6.0.1]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:840) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:622) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:560) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:488) [jbossweb-7.0.13.Final.jar:]
    at org.zkoss.web.servlet.Servlets.forward(Servlets.java:825) [zweb-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:277) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.ExecutionImpl.forward(ExecutionImpl.java:286) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:392) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) [zk-6.0.1.jar:6.0.1]
    at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) [zk-6.0.1.jar:6.0.1]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
    at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]

Any leads????

[/code]

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