0

Error after upgrading ZK CE 5.0.5 to ZK CE 5.0.9

asked 2011-11-23 00:44:45 +0800

zknewbie1 gravatar image zknewbie1
370 4

Hi, after upgrading ZK CE 5.05 to ZK CE 5.0.9, my app works fine locally, but returns an error when deployed to the development server. I copied all the new jar files, and the tld and xsd folders under WEB-INF. I leave my web.xml intact. And I don't use the zk.xml. Below is the exception and Tomcat log. From the message, I guess something to do with the /metainfo/zk/config.xml unmatched version. But the weird thing is that the new ZK version runs fine on my local machine! Any insight is greatly appreciated. Thanks..

Exception:
========

>>org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found: xul/html
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.lookup(LanguageDefinition.java:221)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:246)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:194)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:146)
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:313)
>>...


Tomcat log:
=========
Nov 22, 2011 6:25:18 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context 
Nov 22, 2011 6:25:53 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:26:19 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context 
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.http.WebManager <init>:114
INFO: Starting ZK 5.0.9 CE (build: 2011110711)
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:160
INFO: Loading system default
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zk.jar!/metainfo/zk/config.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zhtml.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zul.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders load0:196
SEVERE: Failed to load jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/fckez.jar!/metainfo/zk/lang-addon.xml
>>org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found: xul/html
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.lookup(LanguageDefinition.java:221)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:246)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:194)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:146)
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:313)
>>...
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zkplus.jar!/metainfo/zk/lang-addon.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:54 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:28:07 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:29:50 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:39:57 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:39:58 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:39:59 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:01 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:02 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:03 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:04 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:05 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:05 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:06 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.http.WebManager <init>:114
INFO: Starting ZK 5.0.9 CE (build: 2011110711)
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:160
INFO: Loading system default
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zk.jar!/metainfo/zk/config.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zhtml.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zul.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders load0:196
SEVERE: Failed to load jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/fckez.jar!/metainfo/zk/lang-addon.xml
>>org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found: xul/html
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.lookup(LanguageDefinition.java:221)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:246)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:194)
>>	at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:146)
>>	at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:313)
>>...
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zkplus.jar!/metainfo/zk/lang-addon.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:24 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:25 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:25 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:26 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:34 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:48 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2011-11-23 00:48:03 +0800

zknewbie1 gravatar image zknewbie1
370 4

Somehow, the lines on the Tomcat log were cut off at the end. Here's the log again...

Nov 22, 2011 6:25:18 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context
Nov 22, 2011 6:25:53 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:26:19 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.http.WebManager <init>:114
INFO: Starting ZK 5.0.9 CE (build: 2011110711)
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:160
INFO: Loading system default
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zk.jar!/metainfo/zk/config.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zhtml.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zul.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders load0:196
SEVERE: Failed to load jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/fckez.jar!/metainfo/zk/lang-addon.xml
>>org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found: xul/html
>> at org.zkoss.zk.ui.metainfo.LanguageDefinition.lookup(LanguageDefinition.java:221)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:246)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:194)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:146)
>> at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:313)
>>...
Nov 22, 2011 6:26:28 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zkplus.jar!/metainfo/zk/lang-addon.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:26:54 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:28:07 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:29:50 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Applying SybPwd on leh
After SybPwd was run
Nov 22, 2011 6:39:57 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:39:58 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:39:59 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:01 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:02 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:03 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:04 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:05 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:05 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:06 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase... has not been started
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.http.WebManager <init>:114
INFO: Starting ZK 5.0.9 CE (build: 2011110711)
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser parseConfigXml:160
INFO: Loading system default
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zk.jar!/metainfo/zk/config.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zhtml.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zul.jar!/metainfo/zk/lang.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders load0:196
SEVERE: Failed to load jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/fckez.jar!/metainfo/zk/lang-addon.xml
>>org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found: xul/html
>> at org.zkoss.zk.ui.metainfo.LanguageDefinition.lookup(LanguageDefinition.java:221)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:246)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load0(DefinitionLoaders.java:194)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:146)
>> at org.zkoss.zk.ui.metainfo.LanguageDefinition.init(LanguageDefinition.java:313)
>>...
Nov 22, 2011 6:40:21 PM org.zkoss.zk.ui.sys.ConfigParser checkVersion:126
INFO: Ignore jar:file:/dev_apps/webservers/ITReporting/tomcat6_0/catalinaBase/webapps/GcmScLaunch/WEB-INF/lib/zkplus.jar!/metainfo/zk/lang-addon.xml
Cause: version not matched; expected=5.0.9, xml=5.0.5
Nov 22, 2011 6:40:24 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:25 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:25 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:26 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:34 PM org.apache.catalina.core.StandardContext start
INFO: Container org.apache.catalina.core.ContainerBase... has already been started
Nov 22, 2011 6:40:48 PM GcmScLaunch.AuthorizationFilter doFilter
WARNING: Inside doFilter()
Exception in thread "http-9080-6" Exception in thread "http-9080-2" java.lang.OutOfMemoryError: PermGen space

link publish delete flag offensive edit

answered 2011-11-23 09:31:10 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Have you clean up the work directory.

link publish delete flag offensive edit

answered 2011-11-23 13:50:15 +0800

zknewbie1 gravatar image zknewbie1
370 4

Thanks for the quick response Terry. I replaced all jar files and the tld and xsd folders, but keep web.xml. Is there any other files I need to clean up?

link publish delete flag offensive edit

answered 2011-11-23 20:29:38 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2011-11-23 20:29:58 +0800

Have a look at the Tomcat directories and delete the tmp folders for the web app.
If the error occurs by starting it in the eclipse ide, there is a menu point in the tomcat server : 'Clean Tomcat Work Directory...'

link publish delete flag offensive edit

answered 2011-11-23 21:07:04 +0800

zknewbie1 gravatar image zknewbie1
370 4

Thanks much Terry..

link publish delete flag offensive edit

answered 2011-11-24 18:23:49 +0800

zippy gravatar image zippy
504 2

in eclipse, menu Project/Clean

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: 2011-11-23 00:44:45 +0800

Seen: 494 times

Last updated: Nov 24 '11

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