0

Error with use war file-Include component

asked 2006-03-28 09:51:38 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: the-e-factory


Hello,

I have the following: I use eclipse with myeclipse and tomcat for development.
When I use a context.xml in tomcat pointing to the workspace of my zk project everything works fine. now I wanted to deploy the apllication and I made a War file. This works also fine except the following:
I use an include component with src: a jsp with an Applet. Then I get a internal server error, that I didn't had before:

11 28-mrt-2006 11:35:23 com.potix.util.logging.LogService configure:365
INFO: Opening C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\i3-log.conf.
12 28-mrt-2006 11:35:56 com.potix.zk.ui.http.DHtmlLayoutServlet getSession:294
FINE: Creating a new sess
for org.apache.catalina.session.StandardSessionFacade@1e0f2f6
12 28-mrt-2006 11:35:56 com.potix.zk.ui.http.DHtmlLayoutServlet process:351
FINE: Creates from /Layout.zul
12 28-mrt-2006 11:35:57 com.potix.zk.ui.http.DHtmlLayoutServlet getDesktop:381
FINE: Create desktop for /Layout.zul
12 28-mrt-2006 11:36:08 com.potix.zk.fn.ZkFns redraw:86
SEVERE: Failed to redraw [Include _pc43/_pc43]
>>com.potix.zk.ui.UiException: javax.servlet.ServletException
>>javax.servlet.ServletException: null
>>java.lang.ExceptionInInitializerError: null
>>java.util.MissingResourceException: Can't find bundle for base name
org.apache.jasper.resources.messages, locale nl_BE
>> at
>>java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.
>>java
:837)
>> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:727)
>> at java.util.ResourceBundle.getBundle(ResourceBundle.java:550)
>> at
>>org.apache.jasper.compiler.ErrorDispatcher.<clinit>(ErrorDispatcher.ja
>>va:4
4)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:466)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>> at
>>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
>>java
:511)

12 28-mrt-2006 11:36:08 com.potix.web.servlet.dsp.impl.ELNode interpret:52
SEVERE: >>javax.servlet.jsp.el.ELException: An error occurred while evaluating function "u:redraw"
>>com.potix.zk.ui.UiException: javax.servlet.ServletException
>>javax.servlet.ServletException: null
>>java.lang.ExceptionInInitializerError: null
>>java.util.MissingResourceException: Can't find bundle for base name
org.apache.jasper.resources.messages, locale nl_BE
>> at
>>java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.
>>java
:837)
>> at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:727)
>> at java.util.ResourceBundle.getBundle(ResourceBundle.java:550)
>> at
>>org.apache.jasper.compiler.ErrorDispatcher.<clinit>(ErrorDispatcher.ja
>>va:4
4)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:466)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>> at
>>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
>>java
:511)
>> at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>java
:295)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:522)
>> at
>>com.potix.web.servlet.dsp.impl.ActionContextImpl.include(ActionContext
>>Impl
.java:102)
>> at com.potix.web.servlet.dsp.action.Include.render(Include.java:56)
>> at com.potix.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:72)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:53)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:66)
>> at
>>com.potix.web.util.resource.ClassWebResource.web(ClassWebResource.java
>>:157
)
>> at
>>com.potix.web.util.resource.ClassWebResource.doGet(ClassWebResource.ja
>>va:1
25)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:129)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:517)
>> at com.potix.zk.ui.http.ServletExecution.include(ServletExecution.java:107)
>> at com.potix.zk.ui.AbstractComponent.redraw(AbstractComponent.java:799)
>> at com.potix.zk.fn.ZkFns.redraw(ZkFns.java:83)
>> at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
>> at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>orIm
pl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:
172)
>> at
>>org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvalu
>>ator
Impl.java:263)
>> at
>>org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvalu
>>ator
Impl.java:190)
>> at com.potix.el.EvaluatorImpl.evaluate(EvaluatorImpl.java:71)
>> at com.potix.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:47)
>> at
>>com.potix.web.servlet.dsp.impl.ActionNode.renderFragment(ActionNode.ja
>>va:9
8)
>> at
>>com.potix.web.servlet.dsp.impl.ActionContextImpl.renderFragment(Action
>>Cont
extImpl.java:94)
>> at com.potix.web.servlet.dsp.action.ForEach.renderWith(ForEach.java:145)
>> at com.potix.web.servlet.dsp.action.ForEach.render(ForEach.java:120)
>> at com.potix.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:72)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:53)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:66)
>> at
>>com.potix.web.util.resource.ClassWebResource.web(ClassWebResource.java
>>:157
)
>> at
>>com.potix.web.util.resource.ClassWebResource.doGet(ClassWebResource.ja
>>va:1
25)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:129)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:517)
>> at com.potix.zk.ui.http.ServletExecution.include(ServletExecution.java:107)
>> at com.potix.zk.ui.AbstractComponent.redraw(AbstractComponent.java:799)
>> at com.potix.zk.ui.sys.UiVisualizer.drawNew(UiVisualizer.java:718)
>> at
>>com.potix.zk.ui.sys.UiVisualizer.addResponsesForCreatedPerSiblings(UiV
>>isua
lizer.java:524)
>> at com.potix.zk.ui.sys.UiVisualizer.getResponses(UiVisualizer.java:396)
>> at com.potix.zk.ui.sys.UiEngineImpl.execUpdate(UiEngineImpl.java:442)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.jav
>>a:21
7)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:143)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
java:213)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
java:178)
>> at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>>va:1
26)
>> at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>>va:1
05)
>> at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>>e.ja
va:107)
>> at
>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>>:148
)
>> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
>> at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>>sCon
nection(Http11Protocol.java:744)
>> at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>>nt.j
ava:527)
>> at
>>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>>ower
WorkerThread.java:80)
>> at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>>ol.j
ava:684)
>> at java.lang.Thread.run(Thread.java:595)

something to do with the locale ? I don't see any difference between the war and workspace at first sight, maybe I missed something here?

Thanks


delete flag offensive retag edit

13 Replies

Sort by ยป oldest newest

answered 2006-03-28 14:34:48 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

Looks like Jasper Compiler failed to compile JSP.

Does it work if you load the JSP directly?

link publish delete flag offensive edit

answered 2006-03-28 14:55:14 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: nobody


I tried to load it directly and I get the same error !
I changed the locale and I have the following:

13 28-mrt-2006 16:45:15 com.potix.zk.ui.http.DHtmlLayoutServlet process:351
FINE: Creates from /Layout.zul
13 28-mrt-2006 16:45:15 com.potix.zk.ui.http.DHtmlLayoutServlet getDesktop:381
FINE: Create desktop for /Layout.zul
13 28-mrt-2006 16:45:24 com.potix.zk.fn.ZkFns redraw:86
SEVERE: Failed to redraw [Include _pc43/_pc43]
>>com.potix.zk.ui.UiException: javax.servlet.ServletException
>>javax.servlet.ServletException: null
>>java.lang.NoClassDefFoundError
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:466)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>> at
>>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
>>java
:511)
>> at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>java
:295)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

13 28-mrt-2006 16:45:24 com.potix.web.servlet.dsp.impl.ELNode interpret:52
SEVERE: >>javax.servlet.jsp.el.ELException: An error occurred while evaluating function "u:redraw"
>>com.potix.zk.ui.UiException: javax.servlet.ServletException
>>javax.servlet.ServletException: null
>>java.lang.NoClassDefFoundError
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:466)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
>> at
>>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.
>>java
:511)
>> at
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>>java
:295)
>> at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:522)
>> at
>>com.potix.web.servlet.dsp.impl.ActionContextImpl.include(ActionContext
>>Impl
.java:102)
>> at com.potix.web.servlet.dsp.action.Include.render(Include.java:56)
>> at com.potix.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:72)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:53)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:66)
>> at
>>com.potix.web.util.resource.ClassWebResource.web(ClassWebResource.java
>>:157
)
>> at
>>com.potix.web.util.resource.ClassWebResource.doGet(ClassWebResource.ja
>>va:1
25)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:129)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:517)
>> at com.potix.zk.ui.http.ServletExecution.include(ServletExecution.java:107)
>> at com.potix.zk.ui.AbstractComponent.redraw(AbstractComponent.java:799)
>> at com.potix.zk.fn.ZkFns.redraw(ZkFns.java:83)
>> at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
>> at
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>>orIm
pl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:
172)
>> at
>>org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvalu
>>ator
Impl.java:263)
>> at
>>org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvalu
>>ator
Impl.java:190)
>> at com.potix.el.EvaluatorImpl.evaluate(EvaluatorImpl.java:71)
>> at com.potix.web.servlet.dsp.impl.ELNode.interpret(ELNode.java:47)
>> at
>>com.potix.web.servlet.dsp.impl.ActionNode.renderFragment(ActionNode.ja
>>va:9
8)
>> at
>>com.potix.web.servlet.dsp.impl.ActionContextImpl.renderFragment(Action
>>Cont
extImpl.java:94)
>> at com.potix.web.servlet.dsp.action.ForEach.renderWith(ForEach.java:145)
>> at com.potix.web.servlet.dsp.action.ForEach.render(ForEach.java:120)
>> at com.potix.web.servlet.dsp.impl.ActionNode.interpret(ActionNode.java:72)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:53)
>> at com.potix.web.servlet.dsp.impl.RootNode.interpret(RootNode.java:66)
>> at
>>com.potix.web.util.resource.ClassWebResource.web(ClassWebResource.java
>>:157
)
>> at
>>com.potix.web.util.resource.ClassWebResource.doGet(ClassWebResource.ja
>>va:1
25)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:129)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>>tche
r.java:672)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>>spat
cher.java:574)
>> at
>>org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>>atch
er.java:499)
>> at com.potix.web.servlet.Servlets.include(Servlets.java:517)
>> at com.potix.zk.ui.http.ServletExecution.include(ServletExecution.java:107)
>> at com.potix.zk.ui.AbstractComponent.redraw(AbstractComponent.java:799)
>> at com.potix.zk.ui.sys.UiVisualizer.drawNew(UiVisualizer.java:718)
>> at
>>com.potix.zk.ui.sys.UiVisualizer.addResponsesForCreatedPerSiblings(UiV
>>isua
lizer.java:524)
>> at com.potix.zk.ui.sys.UiVisualizer.getResponses(UiVisualizer.java:396)
>> at com.potix.zk.ui.sys.UiEngineImpl.execUpdate(UiEngineImpl.java:442)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.jav
>>a:21
7)
>> at com.potix.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:143)
>> at
>>com.potix.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java
>>:152
)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>>cati
onFilterChain.java:252)
>> at
>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
>>lter
Chain.java:173)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.
java:213)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.
java:178)
>> at
>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>>va:1
26)
>> at
>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>>va:1
05)
>> at
>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>>e.ja
va:107)
>> at
>>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>>:148
)
>> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
>> at
>>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>>sCon
nection(Http11Protocol.java:744)
>> at
>>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>>nt.j
ava:527)
>> at
>>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>>ower
WorkerThread.java:80)
>> at
>>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>>ol.j
ava:684)
>> at java.lang.Thread.run(Thread.java:595)


java.lang.NoClassDefFoundError = what class? the zk and zul jars etc are in the war and why does it work perfect when I point to de workspace directory with te context.xml?, do you have a clue were I have to look?

link publish delete flag offensive edit

answered 2006-03-28 15:11:37 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: the-e-factory


I tried to load the applet itself and there is no problem so it has to be the jsp itself ?

link publish delete flag offensive edit

answered 2006-03-28 15:35:28 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

Yes, it's JSP compiler issue. You might take a look at Jasper's source codes.

link publish delete flag offensive edit

answered 2006-03-28 15:45:02 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

You might check whether Tomcat's JVM is using J2SE (not J2RE), because the Jasper compiler needs Java Compiler. Execute tomcat5w.exe if Windows.

link publish delete flag offensive edit

answered 2006-03-29 10:51:55 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: the-e-factory

I use : C:\Program Files\Java\jdk1.5.0_04\jre\bin\client\jvm.dll

So it schould be okAc ?

But why everything works fine when I use the contect.xml ? I am still searching to locate the difference, if you have some more checking idees :-)

link publish delete flag offensive edit

answered 2006-03-29 11:07:25 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

To compile JSP (via Java Compiler), you need tools.jar which is not available in J2RE.

I guessed it works under Eclipse because the class path has been set up correctly.

link publish delete flag offensive edit

answered 2006-04-01 09:50:07 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: the-e-factory


The classpath things are solved :))

now I made the appl the root application and it is working fine at my local tomcat.
I host the appl (vhost, with private tomcat) and made the deployment. I have the following things:
-I use index.zul as a welcome file: I get the message that index.jsp is not available

-Actually the application gets deployed, I can acces the jsp's that are also in the apllication and I don't see any errors in the logs when I startup the server.

- when I try to load the index.zul: I get a blanc page, no error telling me that the resource isn't available.

I know, maybe it is a tomcat issue but I hope you can give me a direction :) Do I have to tell the host company they have to do some configuration with the .zul extension/mime types. I use the same configurations at home as at the vhost:
maybe this is too simplistic and there is a big difference ?!
Many thanks in advance !!
Greetings
Eduard




link publish delete flag offensive edit

answered 2006-04-01 12:13:12 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: the-e-factory


:-)
Yes I have to aske them too map the .zul to my application, they use apache that forwards the request to my private tomcat server !
And so we keep on learning !

link publish delete flag offensive edit

answered 2006-04-03 02:47:33 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


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

By: tomyeh

Did you solve the issue? I used to map the whole path (from Apache) to tomcat, and then tomcat takes everything from there (so the configuration is the same, such as defining index.zul as the welcome files in web.xml).

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: 2006-03-28 09:51:38 +0800

Seen: 379 times

Last updated: Apr 04 '06

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