i'm moving our turbine web application from a standalone exploded app to be an
exploded app within a ear file (coupled with ejb's). turbine seems to init ok, and
some pages can display ok, which shows me that velocity is in the classpath and
generating the template output. for some reason, it's unable to find the velocity
context class (that class is in the velocity-1.3.jar Here's the error I am seeing
trying to load a page which accesses the Context from a screen class. i have action
classes that access the Velocity context just fine, but the screen classes seem to
have troubles. any ideas why i might see this behavior? (i'm on turbine 2.1/wls 6.1)
2003-12-29 10:28:25,468 [ExecuteThread: '10' for queue: 'default'] ERROR system -
java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
at com.cbc.isac.toolkit.ContextManager.getManager(ContextManager.java:164)
at com.cbc.isac.toolkit.ContextManager.getManager(ContextManager.java:145)
at
com.cbc.codi.modules.actions.disclosure.EventMaintenanceAction.doAdd(EventMaintenanceActi
on.java:75)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.turbine.util.velocity.VelocityActionEvent.executeEvents(Unknown
Source)
at org.apache.turbine.util.velocity.VelocityActionEvent.perform(Unknown Source)
at org.apache.turbine.modules.actions.VelocityAction.perform(Unknown Source)
at org.apache.turbine.modules.actions.VelocitySecureAction.perform(Unknown
Source)
at org.apache.turbine.modules.ActionLoader.exec(Unknown Source)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(Unknown Source)
at org.apache.turbine.modules.Page.build(Unknown Source)
at org.apache.turbine.modules.PageLoader.exec(Unknown Source)
at org.apache.turbine.Turbine.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:24
95)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.553 / Virus Database: 345 - Release Date: 12/18/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]