0

Language not found for extension zul

asked 2005-12-18 17:54:30 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3481907

By: nobody

Hey,

Really like the look of ZK but have hit a brick wall when trying to deploy it in Tomcat. I get the error message -

"com.potix.lang.SystemException:
com.potix.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension zul"

Any ideas what im doing wrong? I even tried to reinstall Tomcat but still no joy. I'm using the latest version of ZK and Tomcat 5.5. Any help greatly appreciated!

Cheers,
Mike

delete flag offensive retag edit

10 Replies

Sort by ยป oldest newest

answered 2005-12-19 02:22:35 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3482490

By: tomyeh

Did you copy zul.jar (with zk.jar) into the class path?

Did it happen when you tried the demo (/zkdemo/userguide)?

Did it happen all the time or just after re-deploying?

link publish delete flag offensive edit

answered 2005-12-19 11:26:51 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3483005

By: nobody

Sorry, yes it happens when i try to run the demo /zkdemo/userguide. And i have copied the jar files into Tomcat 5.5\shared\lib as directed.

It deploys fine and happens every time the demo is run. I followed the quick-start instructions exactly and it all works fine up until the point i try running the demo. Will have

link publish delete flag offensive edit

answered 2005-12-19 13:13:13 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3483142

By: tomyeh

Could you send me the log (/logs)?

link publish delete flag offensive edit

answered 2005-12-19 15:11:16 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3483337

By: nobody

19-Dec-2005 15:12:48 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
19-Dec-2005 15:12:48 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
19-Dec-2005 15:12:48 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
19-Dec-2005 15:12:49 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
19-Dec-2005 15:12:49 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
19-Dec-2005 15:13:34 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet zkLoader threw exception
java.lang.NoClassDefFoundError: bsh/UtilEvalError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.potix.lang.Classes.forNameByThread(Classes.java:158)
at com.potix.zk.ui.metainfo.DefinitionLoaders.locateClass(DefinitionLoaders.jav
a:131)
at com.potix.zk.ui.metainfo.DefinitionLoaders.parse(DefinitionLoaders.java:124)
at com.potix.zk.ui.metainfo.DefinitionLoaders.load(DefinitionLoaders.java:67)
at com.potix.zk.ui.metainfo.LanguageDefinition.lookupByExtension(LanguageDefini
tion.java:128)
at com.potix.zk.ui.sys.AbstractParser.parse(AbstractParser.java:172)
at com.potix.zk.ui.sys.AbstractParser.parse(AbstractParser.java:68)
at com.potix.zk.ui.http.Definitions$MyLoader.parse(Definitions.java:136)
at com.potix.web.util.resource.ResourceLoader.load(ResourceLoader.java:78)
at com.potix.util.resource.ResourceCache$ResourceInfo.load(ResourceCache.java:2
10)
at com.potix.util.resource.ResourceCache$ResourceInfo.<init>(ResourceCache.java
:183)
at com.potix.util.resource.ResourceCache.get(ResourceCache.java:122)
at com.potix.web.util.resource.ResourceCaches.get(ResourceCaches.java:117)
at com.potix.zk.ui.http.Definitions.getPageDefinition(Definitions.java:54)
at com.potix.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:264)
at com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:244)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:
831)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(H
ttp11AprProtocol.java:652)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1203)
at java.lang.Thread.run(Thread.java:595)


link publish delete flag offensive edit

answered 2005-12-19 15:42:25 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3483380

By: tomyeh

Looks like you forgot to copy lib/ext/*.jar to shared/lib (step 3).

link publish delete flag offensive edit

answered 2005-12-19 17:39:07 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3483554

By: nobody

OOps sorry wrong log entry! That was the problem yep and fixed that one. Here's the log entry for the "language" problem that has me stumped.

com.potix.lang.SystemException: com.potix.zk.ui.metainfo.DefinitionNotFoundException:
Language not found for extension zul
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor
Impl.java:39)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
AccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
com.potix.lang.Classes.newInstance(Classes.java:79)
com.potix.lang.Exceptions.wrap(Exceptions.java:159)
com.potix.lang.SystemException$Aide.wrap(SystemException.java:47)
com.potix.util.resource.ResourceCache.get(ResourceCache.java:137)
com.potix.web.util.resource.ResourceCaches.get(ResourceCaches.java:117)
com.potix.zk.ui.http.Definitions.getPageDefinition(Definitions.java:54)
com.potix.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:264)
com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

link publish delete flag offensive edit

answered 2005-12-20 01:10:01 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3484836

By: tomyeh

Could you post the whole log? The stack trace shown here is only a wrapper, not real cause.

link publish delete flag offensive edit

answered 2005-12-20 11:14:03 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3485344

By: nobody

For some reason it's now working fine. No idea what was wrong! Thanks for the advice and help anyway, look forward to playing with this today :)

link publish delete flag offensive edit

answered 2005-12-29 15:05:03 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3497029

By: nobody

It made me the same thing ,but after many tries it works;I dont know exactly why .
Try to deploy by Tomcat Manager,shutdown tomcat and reboot your computer.
Hope you enjoy when zkdemo will run !

link publish delete flag offensive edit

answered 2014-05-23 09:50:34 +0800

sysmat gravatar image sysmat
72

I'm using glassfish v 4, jee7, maven zk v 7.0.1

I have simple zul file : hello world

and getting error: StandardWrapperValve[zkLoader]: Servlet.service() for servlet zkLoader threw exception org.zkoss.zk.ui.metainfo.DefinitionNotFoundException: Language not found for extension zul

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: 2005-12-18 17:54:30 +0800

Seen: 2,645 times

Last updated: May 23 '14

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