0

org.zkoss.mesg.Messages.getNotFound - org.zkoss.util.resource.impl.LabelLoader.loadLabels Loading labels for en_US

asked 2019-09-21 13:08:27 +0800

rukutuk gravatar image rukutuk
0

Hi all,

I want to ask about this error message, why every i load the zul page, always appear this message repeatedly, so the time for load 1 page is increate quite long.

21-Sep-2019 00:59:18.915 SEVERE [http-nio-8080-exec-72] org.zkoss.mesg.Messages.getNotFound Message code not found: 27112050 not in en_US:[org.zkoss.zul.mesg.MZul, /metainfo/mesg/msgzul] 21-Sep-2019 00:59:18.915 INFO [http-nio-8080-exec-72] org.zkoss.util.resource.impl.LabelLoader.loadLabels Loading labels for en_US 21-Sep-2019 00:59:18.916 SEVERE [http-nio-8080-exec-72] org.zkoss.mesg.Messages.getNotFound java.lang.IllegalStateException: The resources may not be accessed if they are not currently started at org.apache.catalina.webresources.StandardRoot.validate(StandardRoot.java:245) at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:212) at org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:206) at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:533) at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:199) at org.zkoss.web.util.resource.ServletLabelLocator.locate0(ServletLabelLocator.java:90) at org.zkoss.web.util.resource.ServletLabelLocator.locate(ServletLabelLocator.java:75) at org.zkoss.util.resource.impl.LabelLoader.loadLabels(LabelLoader.java:254) at org.zkoss.util.resource.impl.LabelLoader.getLabel(LabelLoader.java:112) at org.zkoss.util.resource.impl.LabelLoader.getLabel(LabelLoader.java:103) at org.zkoss.util.resource.Labels.getLabel(Labels.java:44) at org.zkoss.mesg.Messages.getFromBundle(Messages.java:81) at org.zkoss.mesg.Messages.getNotFound(Messages.java:105) at org.zkoss.mesg.Messages.get(Messages.java:157) at org.zkoss.mesg.Messages.get(Messages.java:52) at org.zkoss.zul.impl.Utils.addLocaleJS(Utils.java:267) at org.zkoss.zul.impl.Utils.outLocaleJavaScript(Utils.java:257) at org.zkoss.zul.impl.ZulMessageLoader.load(ZulMessageLoader.java:34) at org.zkoss.zk.ui.http.Wpds.outLocaleJavaScript(Wpds.java:283) at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.zkoss.zk.ui.http.AbstractExtendlet.invoke(AbstractExtendlet.java:137) at org.zkoss.zk.ui.http.WpdExtendlet.write(WpdExtendlet.java:450) at org.zkoss.zk.ui.http.WpdExtendlet.access$1700(WpdExtendlet.java:83) at org.zkoss.zk.ui.http.WpdExtendlet$WpdContent.toByteArray(WpdExtendlet.java:692) at org.zkoss.zk.ui.http.WpdExtendlet$WpdContent.access$400(WpdExtendlet.java:657) at org.zkoss.zk.ui.http.WpdExtendlet.retrieve(WpdExtendlet.java:149) at org.zkoss.zk.ui.http.WpdExtendlet.service(WpdExtendlet.java:94) at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585) at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571) at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427) at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

Best Regards, Tata. K

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-09-23 14:59:24 +0800

hawk gravatar image hawk
2455 1 5
http://hawkphoenix.blogsp... ZK Team

updated 2019-09-23 15:02:38 +0800

It looks like org.zkoss.mesg.Messages.getNotFound - org.zkoss.util.resource.impl.LabelLoader.loadLabels Loading labels for en_US is the key error message. It hints the root cause.

From the people who have the same errors, you might include an extra servlet-api.jar in your class path. Then, should remove it.

Reference

another possibility

According to this tracker, It also could be a Tomcat 7 bug.

If these suggestions doesn't help, please provide more details including:

  • zk & zk calendar version
  • a reproducible example
  • tomcat version
link publish delete flag offensive edit
0

answered 2019-09-23 15:35:31 +0800

rukutuk gravatar image rukutuk
0

Hi,

I have found the root cause, there is calendar.jar last time i add which causing this.

BR, Tata. K

link publish delete flag offensive edit

Comments

do you mean there is a duplicate calendar.jar?

hawk ( 2019-09-25 11:11:05 +0800 )edit
Your answer
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
1 follower

RSS

Stats

Asked: 2019-09-21 13:08:27 +0800

Seen: 6 times

Last updated: Sep 23

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