1 Reply Latest reply: Jan 15, 2013 3:49 AM by 941893 RSS

    Error while deploying in web.xml with web-app_2_5.xsd

    941893
      Weblogic version 10.3.5 and java is 1.6.0_31

      context root is - "/" (slash)

      Web.xml - old

      has following declaration and works fine

      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
      <web-app>


      i am trying to change web.xml's web-app definition as below

      Web.xml - new


      <web-app xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
           version="2.5">

      and to accommodate above change i enclosed all "tag libs" inside <jsp-config> tag which is as per 2.5

      when i try to deploy with above changes, i am getting following error but with old definition i am not getting any error.


      <Error> <Deployer> <clbblr-4423> <StoreFront> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1358234763292> <BEA-149205> <Failed to initialize the application 'shopstr' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
      weblogic.application.ModuleException: Failed to load webapp: '/'
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)

      Caused By: java.lang.ClassNotFoundException: atg.web.tagsupport.CollectionTagSupport
           at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
           at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
           at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
           at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
           at java.lang.ClassLoader.defineClass1(Native Method)

      Would appreciate suggestions. Thanks