On 7/21/06, Mahbub Rahman <[EMAIL PROTECTED]> wrote:
Thanks Craig. I think shale was working for me on servlet 2.3 / JSP 1.2 environment with a nightly build I took couple months ago. I am having this required depandency error after upgrading to latest nightly. Shale site says: ----------------------- (*) Although the sample applications shipped with Shale are configured for these Servlet and JSP versions, at the time of this writing Shale itself does not rely on them; you can successfully run Shale based applications on a Servlet 2.3 / JSP 1.2 platform by using the appropriate syntax in deployment descriptors and JSP pages, and substituting a JSTL 1.0 library for the JSTL 1.1 library listed above. This is not a committed feature for a 1.0 release, unless discussion on the development and user mailing lists indicates that it is important to a significant number of users. -----------------------
I see the text needs to be updated. At the time this was written it was not clear that we would need Servlet 2.4 for the core. Since then, it has been determined that this is indeed required -- principally to allow us to use a ServletRequestListener and a ServletRequestAttributesListener to deal with the per-request lifecycle event callbacks, plus the ability to impose filters on a RequestDispatcher.forward() call if you want them. Any suggestion on making latest nightly workable with servlet 2.3 / JSP
1.2 platforms?
It *might* be technically feasible to mimic some of the functionality using a filter in a 2.3 environment, but it is not technically possible to support everything. Therefore, this combination (Shale and Servlet 2.3) is not going to be supported. Mahbub Craig Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 7/21/06, Mahbub Rahman wrote: > > Hello all, > > Is Servlet 2.4 / JSP 2.0 platform is required now to use shale? Yes. Mininimum platform requirements (including these two) are listed on the Shale website home page (http://shale.apache.org/). Craig I am getting following exception during deployment on WebLogic 8.1 sp4 > server: > > [java] java.lang.NoClassDefFoundError: > javax/servlet/ServletRequestAttributeListener > [java] at java.lang.ClassLoader.defineClass0(Native Method) > [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:539) > [java] at java.security.SecureClassLoader.defineClass( > SecureClassLoader.java:123) > [java] at > weblogic.utils.classloaders.GenericClassLoader.findLocalClass( > GenericClassLoader.java:480) > [java] at > weblogic.utils.classloaders.GenericClassLoader.findClass( > GenericClassLoader.java:182) > [java] at > weblogic.utils.classloaders.ChangeAwareClassLoader.findClass( > ChangeAwareClassLoader.java:61) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > [java] at > weblogic.utils.classloaders.GenericClassLoader.loadClass( > GenericClassLoader.java:224) > [java] at > weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass( > ChangeAwareClassLoader.java:41) > [java] at > weblogic.servlet.internal.WebAppServletContext.loadClass( > WebAppServletContext.java:5868) > [java] at > weblogic.servlet.internal.WebAppServletContext.registerEventListener( > WebAppServletContext.java:2882) > [java] at > weblogic.servlet.internal.WebAppHelper.parseAndRegisterListeners( > WebAppHelper.java:394) > [java] at > weblogic.servlet.internal.WebAppHelper.registerImplicitTagLibListeners( > WebAppHelper.java:359) > [java] at > weblogic.servlet.internal.WebAppServletContext.activateFromDescriptors( > WebAppServletContext.java:2434) > [java] at weblogic.servlet.internal.WebAppServletContext.activate > (WebAppServletContext.java:5904) > [java] at > weblogic.servlet.internal.WebAppServletContext.setActive( > WebAppServletContext.java:5882) > [java] at weblogic.servlet.internal.WebAppModule.activate( > WebAppModule.java:834) > [java] at weblogic.j2ee.J2EEApplicationContainer.activateModule( > J2EEApplicationContainer.java:3315) > [java] at weblogic.j2ee.J2EEApplicationContainer.activate( > J2EEApplicationContainer.java:2194) > [java] at weblogic.j2ee.J2EEApplicationContainer.activate( > J2EEApplicationContainer.java:2167) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer > (SlaveDeployer.java:2503) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit( > SlaveDeployer.java:2421) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$Task.commit( > SlaveDeployer.java:2138) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit( > SlaveDeployer.java:2237) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$Task.prepare( > SlaveDeployer.java:2132) > [java] at > weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare( > SlaveDeployer.java:2384) > [java] at > weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask( > SlaveDeployer.java:866) > [java] at > weblogic.management.deploy.slave.SlaveDeployer.prepareDelta( > SlaveDeployer.java:594) > [java] at > weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate( > SlaveDeployer.java:508) > [java] at weblogic.drs.internal.SlaveCallbackHandler$1.execute( > SlaveCallbackHandler.java:25) > [java] at weblogic.kernel.ExecuteThread.execute( > ExecuteThread.java:219) > [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java > :178) > [java] > [java] > > > WebLogic 8.1 sp4 is a Servlet 2.3 / JSP 1.2 environmet. > > Thanks, > Mahbub > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
