1 2 Previous Next 28 Replies Latest reply on Dec 12, 2007 2:52 PM by 3004

    WLS 8.1 issue with .ear deployment ....

    3004

      I think the weblogic8.1 seems to have some NEW bug now. We have a .ear file that
      works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear file our
      WLS8.1 server(via the new look and feel of WLS8.1' console)....we are getting
      the Exception like ...."pl read inline below":

      ...All i know is that WLS 8.1 has introduced something like : "single J2EEC -
      EAR compiler, replacing the separate compilers in previous releases" ........is
      it may be because of this ????

      If somebody has any idea ....please let me know asap ...and just above the EXCEPTION
      we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
      is malformed" ....what is going wrong now ?
      Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.



      Read inline for the Exception:

      ----------------------
      <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
      Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
      DTD: Element type "info" must be declared. (line 334, column 9).>
      <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
      Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
      DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
      (line 335, column 8).>
      MessageResourcesFactory.createFactory
      java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:140)
      at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
      <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
      service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

      java.lang.NullPointerException
      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
      >
      <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "service"
      failed to preload on startup in Web application: "ABL".
      javax.servlet.UnavailableException: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
      ------------------------------


      thx, sangita

        • 1. Re: WLS 8.1 issue with .ear deployment ....
          3004

          Wls6.1 supports J2EE 1.3 draft specifications & J2EE 1.2
          The 1.3 version of J2EE is added to the WebLogic Server 8.1 CLASSPATH by default.


          The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".




          "Sangita" <rucshaca@yahoo.com> wrote:
          >
          I think the weblogic8.1 seems to have some NEW bug now. We have a .ear
          file that
          works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
          file our
          WLS8.1 server(via the new look and feel of WLS8.1' console)....we are
          getting
          the Exception like ...."pl read inline below":

          ...All i know is that WLS 8.1 has introduced something like : "single
          J2EEC -
          EAR compiler, replacing the separate compilers in previous releases"
          ........is
          it may be because of this ????

          If somebody has any idea ....please let me know asap ...and just above
          the EXCEPTION
          we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
          is malformed" ....what is going wrong now ?
          Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.




          Read inline for the Exception:

          ----------------------
          <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
          Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
          the
          DTD: Element type "info" must be declared. (line 334, column 9).>
          <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
          Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
          the
          DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
          (line 335, column 8).>
          MessageResourcesFactory.createFactory
          java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

          at java.lang.ClassLoader.defineClass0(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

          at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

          at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

          at java.lang.Class.forName0(Native Method)
          at java.lang.Class.forName(Class.java:140)
          at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

          at javax.servlet.GenericServlet.init(GenericServlet.java:258)

          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

          <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
          service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

          java.lang.NullPointerException
          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

          at javax.servlet.GenericServlet.init(GenericServlet.java:258)

          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

          >
          <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
          "service"
          failed to preload on startup in Web application: "ABL".
          javax.servlet.UnavailableException: Cannot load application resources
          bundle com.ups.dfd.abl.prop.Constants

          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

          at javax.servlet.GenericServlet.init(GenericServlet.java:258)

          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

          ------------------------------


          thx, sangita
          • 2. Re: WLS 8.1 issue with .ear deployment ....
            3004

            Deepak,
            then how do i resolve this issue without changing the .ear file ...is it possible
            ?

            iam confused ....please advise ...
            thx, sangita


            "Deepak Vohra" <dvohra09@yahoo.com> wrote:
            >
            Wls6.1 supports J2EE 1.3 draft specifications & J2EE 1.2
            The 1.3 version of J2EE is added to the WebLogic Server 8.1 CLASSPATH
            by default.


            The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".




            "Sangita" <rucshaca@yahoo.com> wrote:
            I think the weblogic8.1 seems to have some NEW bug now. We have a .ear
            file that
            works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
            file our
            WLS8.1 server(via the new look and feel of WLS8.1' console)....we are
            getting
            the Exception like ...."pl read inline below":

            ...All i know is that WLS 8.1 has introduced something like : "single
            J2EEC -
            EAR compiler, replacing the separate compilers in previous releases"
            ........is
            it may be because of this ????

            If somebody has any idea ....please let me know asap ...and just above
            the EXCEPTION
            we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
            is malformed" ....what is going wrong now ?
            Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.




            Read inline for the Exception:

            ----------------------
            <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
            Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
            the
            DTD: Element type "info" must be declared. (line 334, column 9).>
            <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
            Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
            the
            DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
            (line 335, column 8).>
            MessageResourcesFactory.createFactory
            java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
            at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)

            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:140)
            at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

            at javax.servlet.GenericServlet.init(GenericServlet.java:258)

            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

            <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
            service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

            java.lang.NullPointerException
            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

            at javax.servlet.GenericServlet.init(GenericServlet.java:258)

            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

            >
            <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
            "service"
            failed to preload on startup in Web application: "ABL".
            javax.servlet.UnavailableException: Cannot load application resources
            bundle com.ups.dfd.abl.prop.Constants

            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

            at javax.servlet.GenericServlet.init(GenericServlet.java:258)

            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

            ------------------------------


            thx, sangita
            • 3. Re: WLS 8.1 issue with .ear deployment ....
              3004
              It looks like there are 2 errors.

              The first error /WEB-INF/ups-html.tld is most likely the result of WLS
              8.1 doing more validation on your tld file. If you'd show us either the
              entire ups-html.tld or just the part around line 334, then we can help.

              As for the NoClassDefFoundError, you'll have to provide some more
              details about your ear file and environment. Do you have anything in
              the $CLASSPATH on either the 6.1 or 8.1 environments?

              -- Rob


              Sangita wrote:
              I think the weblogic8.1 seems to have some NEW bug now. We have a .ear file that
              works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear file our
              WLS8.1 server(via the new look and feel of WLS8.1' console)....we are getting
              the Exception like ...."pl read inline below":

              ...All i know is that WLS 8.1 has introduced something like : "single J2EEC -
              EAR compiler, replacing the separate compilers in previous releases" ........is
              it may be because of this ????

              If somebody has any idea ....please let me know asap ...and just above the EXCEPTION
              we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
              is malformed" ....what is going wrong now ?
              Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.



              Read inline for the Exception:

              ----------------------
              <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
              Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
              DTD: Element type "info" must be declared. (line 334, column 9).>
              <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
              Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
              DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
              (line 335, column 8).>
              MessageResourcesFactory.createFactory
              java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

              at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

              at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
              at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:140)
              at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
              <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
              service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

              java.lang.NullPointerException
              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

              <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "service"
              failed to preload on startup in Web application: "ABL".
              javax.servlet.UnavailableException: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
              ------------------------------


              thx, sangita
              • 4. Re: WLS 8.1 issue with .ear deployment ....
                3004

                Rob, here is the information that you need: Please read inline:

                ---------------------------iam doing cut&paste

                <attribute>^M
                <name>styleClass</name>^M
                <required>false</required>^M
                </attribute>^M
                (this is the 334 line)<info>applys the style of the number text
                if it passes the conditional given</info>^M
                </tag>^M
                </taglib>^M


                -----------------------------
                I have an ABL.ear file and this is what it looks like:
                ABL.ear
                META-INF/
                META-INF/MANIFEST.MF
                ABL.jar
                ABL.war
                lib/
                lib/struts-util.jar
                META-INF/application.xml


                and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and when i open
                this file ...this is what it contains:

                Manifest-Version: 1.0
                Created-By: Ant 1.4.1
                Class-Path: lib/struts-util.jar

                --------------------------
                there is nothing in the CLASSPATH that contains this application's specific .jar/.war
                ...or any classes specific to this application ........BOTH IN WLS6.1(and now
                in WLS8.1)

                thx, sangita




                Rob Woollen <rob@nomail.org> wrote:
                It looks like there are 2 errors.

                The first error /WEB-INF/ups-html.tld is most likely the result of WLS

                8.1 doing more validation on your tld file. If you'd show us either
                the
                entire ups-html.tld or just the part around line 334, then we can help.

                As for the NoClassDefFoundError, you'll have to provide some more
                details about your ear file and environment. Do you have anything in

                the $CLASSPATH on either the 6.1 or 8.1 environments?

                -- Rob


                Sangita wrote:
                I think the weblogic8.1 seems to have some NEW bug now. We have a .ear
                file that
                works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
                file our
                WLS8.1 server(via the new look and feel of WLS8.1' console)....we are
                getting
                the Exception like ...."pl read inline below":

                ...All i know is that WLS 8.1 has introduced something like : "single
                J2EEC -
                EAR compiler, replacing the separate compilers in previous releases"
                ........is
                it may be because of this ????

                If somebody has any idea ....please let me know asap ...and just above
                the EXCEPTION
                we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                is malformed" ....what is going wrong now ?
                Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                Read inline for the Exception:

                ----------------------
                <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                the
                DTD: Element type "info" must be declared. (line 334, column 9).>
                <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                the
                DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                (line 335, column 8).>
                MessageResourcesFactory.createFactory
                java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                at java.lang.ClassLoader.defineClass0(Native Method)
                at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                at java.lang.Class.forName0(Native Method)
                at java.lang.Class.forName(Class.java:140)
                at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                java.lang.NullPointerException
                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                "service"
                failed to preload on startup in Web application: "ABL".
                javax.servlet.UnavailableException: Cannot load application resources
                bundle com.ups.dfd.abl.prop.Constants
                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                ------------------------------


                thx, sangita
                • 5. Re: WLS 8.1 issue with .ear deployment ....
                  3004

                  Rob, just if it makes any difference:

                  Iam having a single UNIX box ...and iam running my WLS6.1 instance along with
                  WLS8.1. Although my domains are different for WLS6.1 and WLS8.1

                  I have something like this for WLS6.1 : /yyy/bea/wlserver6.1/config/SDomain

                  and while in WLS8.1 : /aaa/bea/SMyDom

                  I don't know if it makes any difference or not ...but just am idea !

                  thanks again, sangita


                  Rob Woollen <rob@nomail.org> wrote:
                  It looks like there are 2 errors.

                  The first error /WEB-INF/ups-html.tld is most likely the result of WLS

                  8.1 doing more validation on your tld file. If you'd show us either
                  the
                  entire ups-html.tld or just the part around line 334, then we can help.

                  As for the NoClassDefFoundError, you'll have to provide some more
                  details about your ear file and environment. Do you have anything in

                  the $CLASSPATH on either the 6.1 or 8.1 environments?

                  -- Rob


                  Sangita wrote:
                  I think the weblogic8.1 seems to have some NEW bug now. We have a .ear
                  file that
                  works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
                  file our
                  WLS8.1 server(via the new look and feel of WLS8.1' console)....we are
                  getting
                  the Exception like ...."pl read inline below":

                  ...All i know is that WLS 8.1 has introduced something like : "single
                  J2EEC -
                  EAR compiler, replacing the separate compilers in previous releases"
                  ........is
                  it may be because of this ????

                  If somebody has any idea ....please let me know asap ...and just above
                  the EXCEPTION
                  we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                  is malformed" ....what is going wrong now ?
                  Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                  Read inline for the Exception:

                  ----------------------
                  <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                  Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                  the
                  DTD: Element type "info" must be declared. (line 334, column 9).>
                  <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                  Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                  the
                  DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                  (line 335, column 8).>
                  MessageResourcesFactory.createFactory
                  java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                  at java.lang.ClassLoader.defineClass0(Native Method)
                  at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                  at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                  at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                  at java.lang.Class.forName0(Native Method)
                  at java.lang.Class.forName(Class.java:140)
                  at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                  <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                  service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                  java.lang.NullPointerException
                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                  <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                  "service"
                  failed to preload on startup in Web application: "ABL".
                  javax.servlet.UnavailableException: Cannot load application resources
                  bundle com.ups.dfd.abl.prop.Constants
                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                  ------------------------------


                  thx, sangita
                  • 6. Re: WLS 8.1 issue with .ear deployment ....
                    3004
                    sangita wrote:
                    Rob, here is the information that you need: Please read inline:

                    ---------------------------iam doing cut&paste

                    <attribute>^M
                    <name>styleClass</name>^M
                    <required>false</required>^M
                    </attribute>^M
                    (this is the 334 line)<info>applys the style of the number text
                    if it passes the conditional given</info>^M
                    </tag>^M
                    </taglib>^M
                    Well, it looks like you have a JSP 1.1 tld, but it's being validated
                    against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE
                    and 6.1 defaulted to the older JSP spec.

                    Anyway, check the first line of your tld file. It should look something
                    like this:

                    <!DOCTYPE taglib
                    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                         "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                    >
                    >
                    -----------------------------
                    I have an ABL.ear file and this is what it looks like:
                    ABL.ear
                    META-INF/
                    META-INF/MANIFEST.MF
                    ABL.jar
                    ABL.war
                    lib/
                    lib/struts-util.jar
                    META-INF/application.xml


                    and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and when i open
                    this file ...this is what it contains:
                    Just to double-check, the MANIFEST.MF file is located within the
                    ABL.war, right?

                    >
                    Manifest-Version: 1.0
                    Created-By: Ant 1.4.1
                    Class-Path: lib/struts-util.jar

                    --------------------------
                    there is nothing in the CLASSPATH that contains this application's specific .jar/.war
                    ...or any classes specific to this application ........BOTH IN WLS6.1(and now
                    in WLS8.1)
                    Hmm, I'm not sure yet what the problem is here. Does it work if you
                    place the struts-util.jar in the WEB-INF/lib directory of the ABL.war
                    file? (I suspect it will.)

                    This might be a WLS bug. If you can post your ear file here (or email
                    it to me rwoollen at bea dot com), then I can dig into it more.

                    -- Rob


                    >
                    thx, sangita




                    Rob Woollen <rob@nomail.org> wrote:
                    It looks like there are 2 errors.

                    The first error /WEB-INF/ups-html.tld is most likely the result of WLS

                    8.1 doing more validation on your tld file. If you'd show us either
                    the
                    entire ups-html.tld or just the part around line 334, then we can help.

                    As for the NoClassDefFoundError, you'll have to provide some more
                    details about your ear file and environment. Do you have anything in

                    the $CLASSPATH on either the 6.1 or 8.1 environments?

                    -- Rob


                    Sangita wrote:
                    I think the weblogic8.1 seems to have some NEW bug now. We have a .ear
                    file that
                    works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
                    file our
                    WLS8.1 server(via the new look and feel of WLS8.1' console)....we are
                    getting
                    the Exception like ...."pl read inline below":

                    ...All i know is that WLS 8.1 has introduced something like : "single
                    J2EEC -
                    EAR compiler, replacing the separate compilers in previous releases"
                    ........is
                    it may be because of this ????

                    If somebody has any idea ....please let me know asap ...and just above
                    the EXCEPTION
                    we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                    is malformed" ....what is going wrong now ?
                    Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                    Read inline for the Exception:

                    ----------------------
                    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                    the
                    DTD: Element type "info" must be declared. (line 334, column 9).>
                    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against
                    the
                    DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                    (line 335, column 8).>
                    MessageResourcesFactory.createFactory
                    java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                    at java.lang.ClassLoader.defineClass0(Native Method)
                    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                    at java.lang.Class.forName0(Native Method)
                    at java.lang.Class.forName(Class.java:140)
                    at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                    service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                    java.lang.NullPointerException
                    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                    "service"
                    failed to preload on startup in Web application: "ABL".
                    javax.servlet.UnavailableException: Cannot load application resources
                    bundle com.ups.dfd.abl.prop.Constants
                    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                    ------------------------------


                    thx, sangita
                    • 7. Re: WLS 8.1 issue with .ear deployment ....
                      3004

                      1) This is how my .tld looks like:

                      <?xml version="1.0" encoding="UTF-8" ?>^M
                      <!DOCTYPE taglib^M
                      PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                      "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                      <taglib>^M
                      <tlib-version>1.0</tlib-version>^M
                      <jsp-version>1.2</jsp-version>^M
                      <short-name>html</short-name>^M

                      -------------------------------------------
                      2) the MANIFEST.MF file is located within the ABL.war.
                      -----------------
                      3) I will try placing the struts-util.jar in the WEB-INF/lib directory of the
                      ABL.war file. And I will let you if it works or not ?

                      thx, sangita



                      Rob Woollen <rwoollen@nomail.org> wrote:
                      sangita wrote:
                      Rob, here is the information that you need: Please read inline:

                      ---------------------------iam doing cut&paste

                      <attribute>^M
                      <name>styleClass</name>^M
                      <required>false</required>^M
                      </attribute>^M
                      (this is the 334 line)<info>applys the style of the
                      number text
                      if it passes the conditional given</info>^M
                      </tag>^M
                      </taglib>^M
                      Well, it looks like you have a JSP 1.1 tld, but it's being validated

                      against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE

                      and 6.1 defaulted to the older JSP spec.

                      Anyway, check the first line of your tld file. It should look something

                      like this:

                      <!DOCTYPE taglib
                      PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                           "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                      -----------------------------
                      I have an ABL.ear file and this is what it looks like:
                      ABL.ear
                      META-INF/
                      META-INF/MANIFEST.MF
                      ABL.jar
                      ABL.war
                      lib/
                      lib/struts-util.jar
                      META-INF/application.xml


                      and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and when
                      i open
                      this file ...this is what it contains:
                      Just to double-check, the MANIFEST.MF file is located within the
                      ABL.war, right?
                      Manifest-Version: 1.0
                      Created-By: Ant 1.4.1
                      Class-Path: lib/struts-util.jar

                      --------------------------
                      there is nothing in the CLASSPATH that contains this application's
                      specific .jar/.war
                      ...or any classes specific to this application ........BOTH IN WLS6.1(and
                      now
                      in WLS8.1)
                      Hmm, I'm not sure yet what the problem is here. Does it work if you

                      place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                      file? (I suspect it will.)

                      This might be a WLS bug. If you can post your ear file here (or email

                      it to me rwoollen at bea dot com), then I can dig into it more.

                      -- Rob

                      thx, sangita




                      Rob Woollen <rob@nomail.org> wrote:
                      It looks like there are 2 errors.

                      The first error /WEB-INF/ups-html.tld is most likely the result of
                      WLS
                      8.1 doing more validation on your tld file. If you'd show us either
                      the
                      entire ups-html.tld or just the part around line 334, then we can help.

                      As for the NoClassDefFoundError, you'll have to provide some more
                      details about your ear file and environment. Do you have anything
                      in
                      the $CLASSPATH on either the 6.1 or 8.1 environments?

                      -- Rob


                      Sangita wrote:
                      I think the weblogic8.1 seems to have some NEW bug now. We have a
                      .ear
                      file that
                      works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
                      file our
                      WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                      are
                      getting
                      the Exception like ...."pl read inline below":

                      ...All i know is that WLS 8.1 has introduced something like : "single
                      J2EEC -
                      EAR compiler, replacing the separate compilers in previous releases"
                      ........is
                      it may be because of this ????

                      If somebody has any idea ....please let me know asap ...and just above
                      the EXCEPTION
                      we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                      is malformed" ....what is going wrong now ?
                      Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                      Read inline for the Exception:

                      ----------------------
                      <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                      Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                      against
                      the
                      DTD: Element type "info" must be declared. (line 334, column 9).>
                      <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                      Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                      against
                      the
                      DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                      (line 335, column 8).>
                      MessageResourcesFactory.createFactory
                      java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                      at java.lang.ClassLoader.defineClass0(Native Method)
                      at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                      at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                      at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                      at java.lang.Class.forName0(Native Method)
                      at java.lang.Class.forName(Class.java:140)
                      at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                      <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                      service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                      java.lang.NullPointerException
                      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                      <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                      "service"
                      failed to preload on startup in Web application: "ABL".
                      javax.servlet.UnavailableException: Cannot load application resources
                      bundle com.ups.dfd.abl.prop.Constants
                      at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                      at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                      at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                      at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                      at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                      at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                      at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                      at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                      at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                      at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                      at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                      ------------------------------


                      thx, sangita
                      • 8. Re: WLS 8.1 issue with .ear deployment ....
                        3004

                        Rob, a quick question:

                        if you have looked at my .ear file then it contains a lib directory at the root
                        of this .ear file. While in ABL.war (which ofcourse is also at the root of this
                        .ear file) i have META-INF/MANIFEST.MF file which basically points to this ".ear"/lib/struts-util.jar
                        file as an entry in ".war"/META-INF/MANIFEST.MF like this:

                        Manifest-Version: 1.0
                        Created-By: Ant 1.4.1
                        Class-Path: lib/struts-util.jar

                        All iam asking is how can this work even in WLS6.1 ?
                        I mean, how can we point to a .jar file(which is in ".ear"/lib/struts-util.jar)
                        outside of a .war file like this ?
                        OR can we and my MANIFEST.MF is correct ?

                        I think it will be correct as it works in WLS6.1 ...........correct ?







                        "sangita" <rucshaca@yahoo.com> wrote:
                        >
                        1) This is how my .tld looks like:

                        <?xml version="1.0" encoding="UTF-8" ?>^M
                        <!DOCTYPE taglib^M
                        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                        "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                        <taglib>^M
                        <tlib-version>1.0</tlib-version>^M
                        <jsp-version>1.2</jsp-version>^M
                        <short-name>html</short-name>^M

                        -------------------------------------------
                        2) the MANIFEST.MF file is located within the ABL.war.
                        -----------------
                        3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                        of the
                        ABL.war file. And I will let you if it works or not ?

                        thx, sangita



                        Rob Woollen <rwoollen@nomail.org> wrote:
                        sangita wrote:
                        Rob, here is the information that you need: Please read inline:

                        ---------------------------iam doing cut&paste

                        <attribute>^M
                        <name>styleClass</name>^M
                        <required>false</required>^M
                        </attribute>^M
                        (this is the 334 line)<info>applys the style of the
                        number text
                        if it passes the conditional given</info>^M
                        </tag>^M
                        </taglib>^M
                        Well, it looks like you have a JSP 1.1 tld, but it's being validated

                        against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE

                        and 6.1 defaulted to the older JSP spec.

                        Anyway, check the first line of your tld file. It should look something

                        like this:

                        <!DOCTYPE taglib
                        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                             "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                        -----------------------------
                        I have an ABL.ear file and this is what it looks like:
                        ABL.ear
                        META-INF/
                        META-INF/MANIFEST.MF
                        ABL.jar
                        ABL.war
                        lib/
                        lib/struts-util.jar
                        META-INF/application.xml


                        and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                        when
                        i open
                        this file ...this is what it contains:
                        Just to double-check, the MANIFEST.MF file is located within the
                        ABL.war, right?
                        Manifest-Version: 1.0
                        Created-By: Ant 1.4.1
                        Class-Path: lib/struts-util.jar

                        --------------------------
                        there is nothing in the CLASSPATH that contains this application's
                        specific .jar/.war
                        ...or any classes specific to this application ........BOTH IN WLS6.1(and
                        now
                        in WLS8.1)
                        Hmm, I'm not sure yet what the problem is here. Does it work if you

                        place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                        file? (I suspect it will.)

                        This might be a WLS bug. If you can post your ear file here (or email

                        it to me rwoollen at bea dot com), then I can dig into it more.

                        -- Rob

                        thx, sangita




                        Rob Woollen <rob@nomail.org> wrote:
                        It looks like there are 2 errors.

                        The first error /WEB-INF/ups-html.tld is most likely the result of
                        WLS
                        8.1 doing more validation on your tld file. If you'd show us either
                        the
                        entire ups-html.tld or just the part around line 334, then we can
                        help.
                        As for the NoClassDefFoundError, you'll have to provide some more
                        details about your ear file and environment. Do you have anything
                        in
                        the $CLASSPATH on either the 6.1 or 8.1 environments?

                        -- Rob


                        Sangita wrote:
                        I think the weblogic8.1 seems to have some NEW bug now. We have a
                        .ear
                        file that
                        works just PERFECT in WLS6.1. But now when we try to DEPLOY this
                        .ear
                        file our
                        WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                        are
                        getting
                        the Exception like ...."pl read inline below":

                        ...All i know is that WLS 8.1 has introduced something like : "single
                        J2EEC -
                        EAR compiler, replacing the separate compilers in previous releases"
                        ........is
                        it may be because of this ????

                        If somebody has any idea ....please let me know asap ...and just
                        above
                        the EXCEPTION
                        we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                        is malformed" ....what is going wrong now ?
                        Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                        Read inline for the Exception:

                        ----------------------
                        <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                        Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                        against
                        the
                        DTD: Element type "info" must be declared. (line 334, column 9).>
                        <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                        Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                        against
                        the
                        DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                        (line 335, column 8).>
                        MessageResourcesFactory.createFactory
                        java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                        at java.lang.ClassLoader.defineClass0(Native Method)
                        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                        at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                        at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                        at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                        at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                        at java.lang.Class.forName0(Native Method)
                        at java.lang.Class.forName(Class.java:140)
                        at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                        at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                        at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                        at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                        at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                        at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                        at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                        at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                        at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                        <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                        service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                        java.lang.NullPointerException
                        at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                        at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                        at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                        at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                        at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                        at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                        at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                        at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                        <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                        "service"
                        failed to preload on startup in Web application: "ABL".
                        javax.servlet.UnavailableException: Cannot load application resources
                        bundle com.ups.dfd.abl.prop.Constants
                        at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                        at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                        at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                        at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                        at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                        at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                        at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                        at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                        at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                        at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                        at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                        at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                        at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                        at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                        ------------------------------


                        thx, sangita
                        • 9. Re: WLS 8.1 issue with .ear deployment ....
                          3004
                          sangita wrote:
                          1) This is how my .tld looks like:

                          <?xml version="1.0" encoding="UTF-8" ?>^M
                          <!DOCTYPE taglib^M
                          PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                          "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                          Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms
                          to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                          definition to the Taglib 1.1 DTD or change the tld file to conform to
                          the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file against
                          the DTD, but it should have, and you'll need to correct your application.
                          <taglib>^M
                          <tlib-version>1.0</tlib-version>^M
                          <jsp-version>1.2</jsp-version>^M
                          <short-name>html</short-name>^M

                          -------------------------------------------
                          2) the MANIFEST.MF file is located within the ABL.war.
                          -----------------
                          3) I will try placing the struts-util.jar in the WEB-INF/lib directory of the
                          ABL.war file. And I will let you if it works or not ?
                          Right. My guess is this is a bug in WLS 8.1. I can see no reason why
                          the manifest class-path isn't working for you. That's why I asked if
                          you could send the EAR file so I could investigate, but I understand
                          that's not always possible.

                          I suspect the WEB-INF/lib will work, but it's just a workaround. I'm
                          not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,
                          then you might consider trying that. (java weblogic.version will tell you.)

                          Otherwise, I think you should open a case with support@bea.com

                          -- Rob


                          >
                          thx, sangita



                          Rob Woollen <rwoollen@nomail.org> wrote:
                          sangita wrote:
                          Rob, here is the information that you need: Please read inline:

                          ---------------------------iam doing cut&paste

                          <attribute>^M
                          <name>styleClass</name>^M
                          <required>false</required>^M
                          </attribute>^M
                          (this is the 334 line)<info>applys the style of the
                          number text
                          if it passes the conditional given</info>^M
                          </tag>^M
                          </taglib>^M
                          Well, it looks like you have a JSP 1.1 tld, but it's being validated

                          against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE

                          and 6.1 defaulted to the older JSP spec.

                          Anyway, check the first line of your tld file. It should look something

                          like this:

                          <!DOCTYPE taglib
                          PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                               "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                          -----------------------------
                          I have an ABL.ear file and this is what it looks like:
                          ABL.ear
                          META-INF/
                          META-INF/MANIFEST.MF
                          ABL.jar
                          ABL.war
                          lib/
                          lib/struts-util.jar
                          META-INF/application.xml


                          and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and when
                          i open
                          this file ...this is what it contains:
                          Just to double-check, the MANIFEST.MF file is located within the
                          ABL.war, right?

                          Manifest-Version: 1.0
                          Created-By: Ant 1.4.1
                          Class-Path: lib/struts-util.jar

                          --------------------------
                          there is nothing in the CLASSPATH that contains this application's
                          specific .jar/.war
                          ...or any classes specific to this application ........BOTH IN WLS6.1(and
                          now
                          in WLS8.1)
                          Hmm, I'm not sure yet what the problem is here. Does it work if you

                          place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                          file? (I suspect it will.)

                          This might be a WLS bug. If you can post your ear file here (or email

                          it to me rwoollen at bea dot com), then I can dig into it more.

                          -- Rob


                          thx, sangita




                          Rob Woollen <rob@nomail.org> wrote:

                          It looks like there are 2 errors.

                          The first error /WEB-INF/ups-html.tld is most likely the result of
                          WLS
                          8.1 doing more validation on your tld file. If you'd show us either
                          the
                          entire ups-html.tld or just the part around line 334, then we can help.

                          As for the NoClassDefFoundError, you'll have to provide some more
                          details about your ear file and environment. Do you have anything
                          in
                          the $CLASSPATH on either the 6.1 or 8.1 environments?

                          -- Rob


                          Sangita wrote:

                          I think the weblogic8.1 seems to have some NEW bug now. We have a
                          .ear
                          file that

                          works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear
                          file our

                          WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                          are
                          getting

                          the Exception like ...."pl read inline below":

                          ...All i know is that WLS 8.1 has introduced something like : "single
                          J2EEC -

                          EAR compiler, replacing the separate compilers in previous releases"
                          ........is

                          it may be because of this ????

                          If somebody has any idea ....please let me know asap ...and just above
                          the EXCEPTION

                          we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                          is malformed" ....what is going wrong now ?
                          Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                          Read inline for the Exception:

                          ----------------------
                          <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                          Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                          against
                          the

                          DTD: Element type "info" must be declared. (line 334, column 9).>
                          <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                          Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                          against
                          the

                          DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                          (line 335, column 8).>
                          MessageResourcesFactory.createFactory
                          java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                          at java.lang.ClassLoader.defineClass0(Native Method)
                          at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                          at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                          at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                          at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                          at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                          at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                          at java.lang.Class.forName0(Native Method)
                          at java.lang.Class.forName(Class.java:140)
                          at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                          at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                          <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                          service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                          java.lang.NullPointerException
                          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                          at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                          <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                          "service"

                          failed to preload on startup in Web application: "ABL".
                          javax.servlet.UnavailableException: Cannot load application resources
                          bundle com.ups.dfd.abl.prop.Constants

                          at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                          at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                          at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                          at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                          at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                          at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                          at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                          at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                          at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                          at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                          at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                          at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                          at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                          at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                          at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                          at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                          at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                          at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                          ------------------------------


                          thx, sangita
                          • 10. Re: WLS 8.1 issue with .ear deployment ....
                            3004

                            Rob,
                            Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                            to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                            definition to the Taglib 1.1 DTD or change the tld file to conform to

                            the 1.2 DTD.
                            how do i do either of the 2 options ?

                            Iam just guessing here, is it may be due to this DTD/.tld issue that iam not been
                            able to DEPLOY the .ear file(now that wls8.1 checks the validity before deloying
                            the app)....are the 2 errors that iam getting, in any ways inter-related ?
                            i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
                            ??

                            JUST CURIOUS ???


                            WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !

                            Regards, sangita





                            Rob Woollen <rwoollen@nomail.org> wrote:
                            sangita wrote:
                            1) This is how my .tld looks like:

                            <?xml version="1.0" encoding="UTF-8" ?>^M
                            <!DOCTYPE taglib^M
                            PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                            "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                            Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                            to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                            definition to the Taglib 1.1 DTD or change the tld file to conform to

                            the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file against

                            the DTD, but it should have, and you'll need to correct your application.
                            <taglib>^M
                            <tlib-version>1.0</tlib-version>^M
                            <jsp-version>1.2</jsp-version>^M
                            <short-name>html</short-name>^M

                            -------------------------------------------
                            2) the MANIFEST.MF file is located within the ABL.war.
                            -----------------
                            3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                            of the
                            ABL.war file. And I will let you if it works or not ?
                            Right. My guess is this is a bug in WLS 8.1. I can see no reason why

                            the manifest class-path isn't working for you. That's why I asked if

                            you could send the EAR file so I could investigate, but I understand

                            that's not always possible.

                            I suspect the WEB-INF/lib will work, but it's just a workaround. I'm

                            not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,

                            then you might consider trying that. (java weblogic.version will tell
                            you.)

                            Otherwise, I think you should open a case with support@bea.com

                            -- Rob

                            thx, sangita



                            Rob Woollen <rwoollen@nomail.org> wrote:
                            sangita wrote:
                            Rob, here is the information that you need: Please read inline:

                            ---------------------------iam doing cut&paste

                            <attribute>^M
                            <name>styleClass</name>^M
                            <required>false</required>^M
                            </attribute>^M
                            (this is the 334 line)<info>applys the style of the
                            number text
                            if it passes the conditional given</info>^M
                            </tag>^M
                            </taglib>^M
                            Well, it looks like you have a JSP 1.1 tld, but it's being validated

                            against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE

                            and 6.1 defaulted to the older JSP spec.

                            Anyway, check the first line of your tld file. It should look something

                            like this:

                            <!DOCTYPE taglib
                            PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                 "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                            -----------------------------
                            I have an ABL.ear file and this is what it looks like:
                            ABL.ear
                            META-INF/
                            META-INF/MANIFEST.MF
                            ABL.jar
                            ABL.war
                            lib/
                            lib/struts-util.jar
                            META-INF/application.xml


                            and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                            when
                            i open
                            this file ...this is what it contains:
                            Just to double-check, the MANIFEST.MF file is located within the
                            ABL.war, right?

                            Manifest-Version: 1.0
                            Created-By: Ant 1.4.1
                            Class-Path: lib/struts-util.jar

                            --------------------------
                            there is nothing in the CLASSPATH that contains this application's
                            specific .jar/.war
                            ...or any classes specific to this application ........BOTH IN WLS6.1(and
                            now
                            in WLS8.1)
                            Hmm, I'm not sure yet what the problem is here. Does it work if you

                            place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                            file? (I suspect it will.)

                            This might be a WLS bug. If you can post your ear file here (or email

                            it to me rwoollen at bea dot com), then I can dig into it more.

                            -- Rob


                            thx, sangita




                            Rob Woollen <rob@nomail.org> wrote:

                            It looks like there are 2 errors.

                            The first error /WEB-INF/ups-html.tld is most likely the result of
                            WLS
                            8.1 doing more validation on your tld file. If you'd show us either
                            the
                            entire ups-html.tld or just the part around line 334, then we can
                            help.
                            As for the NoClassDefFoundError, you'll have to provide some more
                            details about your ear file and environment. Do you have anything
                            in
                            the $CLASSPATH on either the 6.1 or 8.1 environments?

                            -- Rob


                            Sangita wrote:

                            I think the weblogic8.1 seems to have some NEW bug now. We have
                            a
                            .ear
                            file that

                            works just PERFECT in WLS6.1. But now when we try to DEPLOY this
                            .ear
                            file our

                            WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                            are
                            getting

                            the Exception like ...."pl read inline below":

                            ...All i know is that WLS 8.1 has introduced something like : "single
                            J2EEC -

                            EAR compiler, replacing the separate compilers in previous releases"
                            ........is

                            it may be because of this ????

                            If somebody has any idea ....please let me know asap ...and just
                            above
                            the EXCEPTION

                            we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                            is malformed" ....what is going wrong now ?
                            Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                            Read inline for the Exception:

                            ----------------------
                            <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                            Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                            against
                            the

                            DTD: Element type "info" must be declared. (line 334, column 9).>
                            <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                            Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                            against
                            the

                            DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                            (line 335, column 8).>
                            MessageResourcesFactory.createFactory
                            java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                            at java.lang.ClassLoader.defineClass0(Native Method)
                            at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                            at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                            at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                            at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                            at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                            at java.lang.Class.forName0(Native Method)
                            at java.lang.Class.forName(Class.java:140)
                            at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                            at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                            <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                            service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                            java.lang.NullPointerException
                            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                            at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                            at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                            <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                            "service"

                            failed to preload on startup in Web application: "ABL".
                            javax.servlet.UnavailableException: Cannot load application resources
                            bundle com.ups.dfd.abl.prop.Constants

                            at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                            at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                            at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                            at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                            at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                            at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                            at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                            at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                            at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                            at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                            at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                            at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                            at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                            at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                            at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                            at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                            at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                            at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                            at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                            ------------------------------


                            thx, sangita
                            • 11. Re: WLS 8.1 issue with .ear deployment ....
                              3004
                              sangita wrote:
                              Rob,
                              Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                              to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                              definition to the Taglib 1.1 DTD or change the tld file to conform to

                              the 1.2 DTD.
                              how do i do either of the 2 options ?
                              To change your taglib to be the 1.1 DTD you just need to change the
                              DOCTYPE header to be

                              <!DOCTYPE taglib
                              PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                              "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

                              Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.
                              If you post your tld file here, then I can help.

                              >
                              Iam just guessing here, is it may be due to this DTD/.tld issue that iam not been
                              able to DEPLOY the .ear file(now that wls8.1 checks the validity before deloying
                              the app)....are the 2 errors that iam getting, in any ways inter-related ?
                              I'm not sure they're related. It is possible.
                              i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
                              ??

                              JUST CURIOUS ???


                              WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
                              No problem.

                              -- Rob
                              Regards, sangita





                              Rob Woollen <rwoollen@nomail.org> wrote:
                              sangita wrote:
                              1) This is how my .tld looks like:

                              <?xml version="1.0" encoding="UTF-8" ?>^M
                              <!DOCTYPE taglib^M
                              PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                              "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                              Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                              to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                              definition to the Taglib 1.1 DTD or change the tld file to conform to

                              the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file against

                              the DTD, but it should have, and you'll need to correct your application.

                              <taglib>^M
                              <tlib-version>1.0</tlib-version>^M
                              <jsp-version>1.2</jsp-version>^M
                              <short-name>html</short-name>^M

                              -------------------------------------------
                              2) the MANIFEST.MF file is located within the ABL.war.
                              -----------------
                              3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                              of the
                              ABL.war file. And I will let you if it works or not ?
                              Right. My guess is this is a bug in WLS 8.1. I can see no reason why

                              the manifest class-path isn't working for you. That's why I asked if

                              you could send the EAR file so I could investigate, but I understand

                              that's not always possible.

                              I suspect the WEB-INF/lib will work, but it's just a workaround. I'm

                              not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,

                              then you might consider trying that. (java weblogic.version will tell
                              you.)

                              Otherwise, I think you should open a case with support@bea.com

                              -- Rob


                              thx, sangita



                              Rob Woollen <rwoollen@nomail.org> wrote:

                              sangita wrote:

                              Rob, here is the information that you need: Please read inline:

                              ---------------------------iam doing cut&paste

                              <attribute>^M
                              <name>styleClass</name>^M
                              <required>false</required>^M
                              </attribute>^M
                              (this is the 334 line)<info>applys the style of the
                              number text

                              if it passes the conditional given</info>^M
                              </tag>^M
                              </taglib>^M
                              Well, it looks like you have a JSP 1.1 tld, but it's being validated

                              against the JSP 1.2 tld. I suspect that you have not declared a DOCTYPE

                              and 6.1 defaulted to the older JSP spec.

                              Anyway, check the first line of your tld file. It should look something

                              like this:

                              <!DOCTYPE taglib
                              PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                   "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                              -----------------------------
                              I have an ABL.ear file and this is what it looks like:
                              ABL.ear
                              META-INF/
                              META-INF/MANIFEST.MF
                              ABL.jar
                              ABL.war
                              lib/
                              lib/struts-util.jar
                              META-INF/application.xml


                              and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                              when
                              i open

                              this file ...this is what it contains:
                              Just to double-check, the MANIFEST.MF file is located within the
                              ABL.war, right?


                              Manifest-Version: 1.0
                              Created-By: Ant 1.4.1
                              Class-Path: lib/struts-util.jar

                              --------------------------
                              there is nothing in the CLASSPATH that contains this application's
                              specific .jar/.war

                              ...or any classes specific to this application ........BOTH IN WLS6.1(and
                              now

                              in WLS8.1)
                              Hmm, I'm not sure yet what the problem is here. Does it work if you

                              place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                              file? (I suspect it will.)

                              This might be a WLS bug. If you can post your ear file here (or email

                              it to me rwoollen at bea dot com), then I can dig into it more.

                              -- Rob



                              thx, sangita




                              Rob Woollen <rob@nomail.org> wrote:


                              It looks like there are 2 errors.

                              The first error /WEB-INF/ups-html.tld is most likely the result of
                              WLS

                              8.1 doing more validation on your tld file. If you'd show us either
                              the
                              entire ups-html.tld or just the part around line 334, then we can
                              help.
                              As for the NoClassDefFoundError, you'll have to provide some more
                              details about your ear file and environment. Do you have anything
                              in

                              the $CLASSPATH on either the 6.1 or 8.1 environments?

                              -- Rob


                              Sangita wrote:


                              I think the weblogic8.1 seems to have some NEW bug now. We have
                              a
                              .ear

                              file that


                              works just PERFECT in WLS6.1. But now when we try to DEPLOY this
                              .ear
                              file our


                              WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                              are

                              getting


                              the Exception like ...."pl read inline below":

                              ...All i know is that WLS 8.1 has introduced something like : "single
                              J2EEC -


                              EAR compiler, replacing the separate compilers in previous releases"
                              ........is


                              it may be because of this ????

                              If somebody has any idea ....please let me know asap ...and just
                              above
                              the EXCEPTION


                              we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
                              is malformed" ....what is going wrong now ?
                              Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                              Read inline for the Exception:

                              ----------------------
                              <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                              Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                              against

                              the


                              DTD: Element type "info" must be declared. (line 334, column 9).>
                              <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                              Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                              against

                              the


                              DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                              (line 335, column 8).>
                              MessageResourcesFactory.createFactory
                              java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                              at java.lang.ClassLoader.defineClass0(Native Method)
                              at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                              at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                              at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                              at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                              at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                              at java.lang.Class.forName0(Native Method)
                              at java.lang.Class.forName(Class.java:140)
                              at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                              <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                              service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                              java.lang.NullPointerException
                              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                              <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                              "service"


                              failed to preload on startup in Web application: "ABL".
                              javax.servlet.UnavailableException: Cannot load application resources
                              bundle com.ups.dfd.abl.prop.Constants


                              at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                              at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                              at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                              at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                              at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                              at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                              at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                              at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                              at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                              at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                              at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                              at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                              at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                              at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                              at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                              ------------------------------


                              thx, sangita
                              • 12. Re: WLS 8.1 issue with .ear deployment ....
                                3004

                                Thanks Rob, I understood changing the DOCTYPE ...and i will give it a try.
                                And iam assuming you might have read my previous response in this chain, Iam using
                                WLS6.1 & WLS8.1 BOTH on the same hardware unix server....iam just wondering if
                                there is any CLASSPATH issue that might have been causing this NoClassDefFoundError......?

                                just wanted to let you know that iam running WLS6.1 + WLS8.1 on the same BOX.

                                I will try other options that you have suggested ....thanks again !

                                Rob Woollen <rob@nomail.org> wrote:
                                sangita wrote:
                                Rob,
                                Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                definition to the Taglib 1.1 DTD or change the tld file to conform
                                to
                                the 1.2 DTD.
                                how do i do either of the 2 options ?
                                To change your taglib to be the 1.1 DTD you just need to change the
                                DOCTYPE header to be

                                <!DOCTYPE taglib
                                PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

                                Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.

                                If you post your tld file here, then I can help.
                                Iam just guessing here, is it may be due to this DTD/.tld issue that
                                iam not been
                                able to DEPLOY the .ear file(now that wls8.1 checks the validity before
                                deloying
                                the app)....are the 2 errors that iam getting, in any ways inter-related
                                ?

                                I'm not sure they're related. It is possible.
                                i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
                                ??

                                JUST CURIOUS ???


                                WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
                                No problem.

                                -- Rob
                                Regards, sangita





                                Rob Woollen <rwoollen@nomail.org> wrote:
                                sangita wrote:
                                1) This is how my .tld looks like:

                                <?xml version="1.0" encoding="UTF-8" ?>^M
                                <!DOCTYPE taglib^M
                                PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                                "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                                Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                definition to the Taglib 1.1 DTD or change the tld file to conform
                                to
                                the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file against

                                the DTD, but it should have, and you'll need to correct your application.

                                <taglib>^M
                                <tlib-version>1.0</tlib-version>^M
                                <jsp-version>1.2</jsp-version>^M
                                <short-name>html</short-name>^M

                                -------------------------------------------
                                2) the MANIFEST.MF file is located within the ABL.war.
                                -----------------
                                3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                                of the
                                ABL.war file. And I will let you if it works or not ?
                                Right. My guess is this is a bug in WLS 8.1. I can see no reason
                                why
                                the manifest class-path isn't working for you. That's why I asked
                                if
                                you could send the EAR file so I could investigate, but I understand

                                that's not always possible.

                                I suspect the WEB-INF/lib will work, but it's just a workaround. I'm

                                not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,

                                then you might consider trying that. (java weblogic.version will tell
                                you.)

                                Otherwise, I think you should open a case with support@bea.com

                                -- Rob


                                thx, sangita



                                Rob Woollen <rwoollen@nomail.org> wrote:

                                sangita wrote:

                                Rob, here is the information that you need: Please read inline:

                                ---------------------------iam doing cut&paste

                                <attribute>^M
                                <name>styleClass</name>^M
                                <required>false</required>^M
                                </attribute>^M
                                (this is the 334 line)<info>applys the style of the
                                number text

                                if it passes the conditional given</info>^M
                                </tag>^M
                                </taglib>^M
                                Well, it looks like you have a JSP 1.1 tld, but it's being validated

                                against the JSP 1.2 tld. I suspect that you have not declared a
                                DOCTYPE
                                and 6.1 defaulted to the older JSP spec.

                                Anyway, check the first line of your tld file. It should look something

                                like this:

                                <!DOCTYPE taglib
                                PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                     "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                                -----------------------------
                                I have an ABL.ear file and this is what it looks like:
                                ABL.ear
                                META-INF/
                                META-INF/MANIFEST.MF
                                ABL.jar
                                ABL.war
                                lib/
                                lib/struts-util.jar
                                META-INF/application.xml


                                and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                                when
                                i open

                                this file ...this is what it contains:
                                Just to double-check, the MANIFEST.MF file is located within the
                                ABL.war, right?


                                Manifest-Version: 1.0
                                Created-By: Ant 1.4.1
                                Class-Path: lib/struts-util.jar

                                --------------------------
                                there is nothing in the CLASSPATH that contains this application's
                                specific .jar/.war

                                ...or any classes specific to this application ........BOTH IN WLS6.1(and
                                now

                                in WLS8.1)
                                Hmm, I'm not sure yet what the problem is here. Does it work if
                                you
                                place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                                file? (I suspect it will.)

                                This might be a WLS bug. If you can post your ear file here (or
                                email
                                it to me rwoollen at bea dot com), then I can dig into it more.

                                -- Rob



                                thx, sangita




                                Rob Woollen <rob@nomail.org> wrote:


                                It looks like there are 2 errors.

                                The first error /WEB-INF/ups-html.tld is most likely the result
                                of
                                WLS

                                8.1 doing more validation on your tld file. If you'd show us either
                                the
                                entire ups-html.tld or just the part around line 334, then we can
                                help.
                                As for the NoClassDefFoundError, you'll have to provide some more
                                details about your ear file and environment. Do you have anything
                                in

                                the $CLASSPATH on either the 6.1 or 8.1 environments?

                                -- Rob


                                Sangita wrote:


                                I think the weblogic8.1 seems to have some NEW bug now. We have
                                a
                                .ear

                                file that


                                works just PERFECT in WLS6.1. But now when we try to DEPLOY this
                                .ear
                                file our


                                WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                                are

                                getting


                                the Exception like ...."pl read inline below":

                                ...All i know is that WLS 8.1 has introduced something like :
                                "single
                                J2EEC -


                                EAR compiler, replacing the separate compilers in previous releases"
                                ........is


                                it may be because of this ????

                                If somebody has any idea ....please let me know asap ...and just
                                above
                                the EXCEPTION


                                we are also getting something like ...."Deployment descriptor
                                "/WEB-INF/ups-html.tld"
                                is malformed" ....what is going wrong now ?
                                Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                                Read inline for the Exception:

                                ----------------------
                                <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                                against

                                the


                                DTD: Element type "info" must be declared. (line 334, column 9).>
                                <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                                against

                                the


                                DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                                (line 335, column 8).>
                                MessageResourcesFactory.createFactory
                                java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                                at java.lang.ClassLoader.defineClass0(Native Method)
                                at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                                at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                                at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                                at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                                at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                                at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                                at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                                at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                                at java.lang.Class.forName0(Native Method)
                                at java.lang.Class.forName(Class.java:140)
                                at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                                <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                                service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                                java.lang.NullPointerException
                                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                                <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                                "service"


                                failed to preload on startup in Web application: "ABL".
                                javax.servlet.UnavailableException: Cannot load application resources
                                bundle com.ups.dfd.abl.prop.Constants


                                at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                                at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                ------------------------------


                                thx, sangita
                                • 13. Re: WLS 8.1 issue with .ear deployment ....
                                  3004
                                  Yes, your $CLASSPATH could be the issue. Can you show me the $CLASSPATH
                                  used in each version of the server?

                                  -- Rob

                                  sangita wrote:
                                  Thanks Rob, I understood changing the DOCTYPE ...and i will give it a try.
                                  And iam assuming you might have read my previous response in this chain, Iam using
                                  WLS6.1 & WLS8.1 BOTH on the same hardware unix server....iam just wondering if
                                  there is any CLASSPATH issue that might have been causing this NoClassDefFoundError......?

                                  just wanted to let you know that iam running WLS6.1 + WLS8.1 on the same BOX.

                                  I will try other options that you have suggested ....thanks again !

                                  Rob Woollen <rob@nomail.org> wrote:
                                  sangita wrote:
                                  Rob,

                                  Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                  to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                  definition to the Taglib 1.1 DTD or change the tld file to conform
                                  to
                                  the 1.2 DTD.
                                  how do i do either of the 2 options ?
                                  To change your taglib to be the 1.1 DTD you just need to change the
                                  DOCTYPE header to be

                                  <!DOCTYPE taglib
                                  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

                                  Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.

                                  If you post your tld file here, then I can help.

                                  Iam just guessing here, is it may be due to this DTD/.tld issue that
                                  iam not been
                                  able to DEPLOY the .ear file(now that wls8.1 checks the validity before
                                  deloying
                                  the app)....are the 2 errors that iam getting, in any ways inter-related
                                  ?

                                  I'm not sure they're related. It is possible.

                                  i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
                                  ??

                                  JUST CURIOUS ???


                                  WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
                                  No problem.

                                  -- Rob

                                  Regards, sangita





                                  Rob Woollen <rwoollen@nomail.org> wrote:

                                  sangita wrote:

                                  1) This is how my .tld looks like:

                                  <?xml version="1.0" encoding="UTF-8" ?>^M
                                  <!DOCTYPE taglib^M
                                  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                                  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                                  Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                  to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                  definition to the Taglib 1.1 DTD or change the tld file to conform
                                  to
                                  the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file against

                                  the DTD, but it should have, and you'll need to correct your application.


                                  <taglib>^M
                                  <tlib-version>1.0</tlib-version>^M
                                  <jsp-version>1.2</jsp-version>^M
                                  <short-name>html</short-name>^M

                                  -------------------------------------------
                                  2) the MANIFEST.MF file is located within the ABL.war.
                                  -----------------
                                  3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                                  of the

                                  ABL.war file. And I will let you if it works or not ?
                                  Right. My guess is this is a bug in WLS 8.1. I can see no reason
                                  why
                                  the manifest class-path isn't working for you. That's why I asked
                                  if
                                  you could send the EAR file so I could investigate, but I understand

                                  that's not always possible.

                                  I suspect the WEB-INF/lib will work, but it's just a workaround. I'm

                                  not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,

                                  then you might consider trying that. (java weblogic.version will tell
                                  you.)

                                  Otherwise, I think you should open a case with support@bea.com

                                  -- Rob



                                  thx, sangita



                                  Rob Woollen <rwoollen@nomail.org> wrote:


                                  sangita wrote:


                                  Rob, here is the information that you need: Please read inline:

                                  ---------------------------iam doing cut&paste

                                  <attribute>^M
                                  <name>styleClass</name>^M
                                  <required>false</required>^M
                                  </attribute>^M
                                  (this is the 334 line)<info>applys the style of the
                                  number text


                                  if it passes the conditional given</info>^M
                                  </tag>^M
                                  </taglib>^M
                                  Well, it looks like you have a JSP 1.1 tld, but it's being validated

                                  against the JSP 1.2 tld. I suspect that you have not declared a
                                  DOCTYPE
                                  and 6.1 defaulted to the older JSP spec.

                                  Anyway, check the first line of your tld file. It should look something

                                  like this:

                                  <!DOCTYPE taglib
                                  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                       "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                                  -----------------------------
                                  I have an ABL.ear file and this is what it looks like:
                                  ABL.ear
                                  META-INF/
                                  META-INF/MANIFEST.MF
                                  ABL.jar
                                  ABL.war
                                  lib/
                                  lib/struts-util.jar
                                  META-INF/application.xml


                                  and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                                  when

                                  i open


                                  this file ...this is what it contains:
                                  Just to double-check, the MANIFEST.MF file is located within the
                                  ABL.war, right?



                                  Manifest-Version: 1.0
                                  Created-By: Ant 1.4.1
                                  Class-Path: lib/struts-util.jar

                                  --------------------------
                                  there is nothing in the CLASSPATH that contains this application's
                                  specific .jar/.war


                                  ...or any classes specific to this application ........BOTH IN WLS6.1(and
                                  now


                                  in WLS8.1)
                                  Hmm, I'm not sure yet what the problem is here. Does it work if
                                  you
                                  place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                                  file? (I suspect it will.)

                                  This might be a WLS bug. If you can post your ear file here (or
                                  email
                                  it to me rwoollen at bea dot com), then I can dig into it more.

                                  -- Rob




                                  thx, sangita




                                  Rob Woollen <rob@nomail.org> wrote:



                                  It looks like there are 2 errors.

                                  The first error /WEB-INF/ups-html.tld is most likely the result
                                  of
                                  WLS


                                  8.1 doing more validation on your tld file. If you'd show us either
                                  the
                                  entire ups-html.tld or just the part around line 334, then we can
                                  help.

                                  As for the NoClassDefFoundError, you'll have to provide some more
                                  details about your ear file and environment. Do you have anything
                                  in


                                  the $CLASSPATH on either the 6.1 or 8.1 environments?

                                  -- Rob


                                  Sangita wrote:



                                  I think the weblogic8.1 seems to have some NEW bug now. We have
                                  a

                                  .ear


                                  file that



                                  works just PERFECT in WLS6.1. But now when we try to DEPLOY this
                                  .ear

                                  file our



                                  WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                                  are


                                  getting



                                  the Exception like ...."pl read inline below":

                                  ...All i know is that WLS 8.1 has introduced something like :
                                  "single
                                  J2EEC -



                                  EAR compiler, replacing the separate compilers in previous releases"
                                  ........is



                                  it may be because of this ????

                                  If somebody has any idea ....please let me know asap ...and just
                                  above

                                  the EXCEPTION



                                  we are also getting something like ...."Deployment descriptor
                                  "/WEB-INF/ups-html.tld"
                                  is malformed" ....what is going wrong now ?
                                  Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                                  Read inline for the Exception:

                                  ----------------------
                                  <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                  Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                                  against


                                  the



                                  DTD: Element type "info" must be declared. (line 334, column 9).>
                                  <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                  Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check
                                  against


                                  the



                                  DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                                  (line 335, column 8).>
                                  MessageResourcesFactory.createFactory
                                  java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                                  at java.lang.ClassLoader.defineClass0(Native Method)
                                  at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                                  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                                  at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                                  at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                                  at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                                  at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                                  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                                  at java.lang.Class.forName0(Native Method)
                                  at java.lang.Class.forName(Class.java:140)
                                  at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                                  <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                                  service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                                  java.lang.NullPointerException
                                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                  at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                                  <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet:
                                  "service"



                                  failed to preload on startup in Web application: "ABL".
                                  javax.servlet.UnavailableException: Cannot load application resources
                                  bundle com.ups.dfd.abl.prop.Constants



                                  at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)

                                  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                  at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                  at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                  at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                  at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                  at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                  at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                  at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                  at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                  at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                  at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                  at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                  ------------------------------


                                  thx, sangita
                                  • 14. Re: WLS 8.1 issue with .ear deployment ....
                                    3004

                                    Rob,
                                    These are the 3 files that you need:

                                    1) wlstart_cap (this is the start up script that we use to start the Managed server
                                    while on WLS6.1) ....please read inline:
                                    -----------Inline 1-----------------
                                    #!/bin/ksh
                                    #
                                    # BEA WebLogic Start Script - Version 1.1
                                    #
                                    # Add support for STARTMODE MKG 03/08/2002
                                    #
                                    # Set user specified variables
                                    JAVA_HOME=/usr/j2sdk1_3_1_01
                                    JAVA_OPTIONS="-D$1 -ms128m -mx128m -noclassgc"
                                    BEA_HOME=/opt/bea
                                    WL_HOME=$BEA_HOME/wlserver6.1
                                    WL_SCRIPT=$WL_HOME/config/Subsidiary
                                    export WL_SCRIPT
                                    EXPORT_LIB=$WL_HOME/lib

                                    ###########################
                                    #### Set locale to US English MKG 2003/01/16
                                    ###########################
                                    LC_MESSAGES=C
                                    LC_TIME=en_US.ISO8859-1
                                    LC_NUMERIC=en_US.ISO8859-1
                                    LC_MONETARY=en_US.ISO8859-1
                                    LC_COLLATE=en_US.ISO8859-1
                                    LC_CTYPE=en_US.ISO8859-1
                                    export LC_MESSAGES LC_TIME LC_NUMERIC LC_MONETARY LC_COLLATE LC_CTYPE
                                    ###########################
                                    #### End locale settings
                                    ###########################

                                    ###########################
                                    #### UPSCAP-clientmanger App settings --- Begin
                                    ###########################
                                    # workaround for strange bug in code that requires an x-server
                                    # to be present when graph code is initialized.
                                    # Note that this is my sun workstation. MKG 05/16/2002
                                    DISPLAY=bluewolf.telecom.ups.com:0.0
                                    export DISPLAY
                                    ###########################
                                    #### UPSCAP-clientmanger App settings --- End
                                    ###########################

                                    ###########################
                                    #### EUP App settings --- Begin
                                    ###########################
                                    VANAPI_HOME=/opt/vanapi
                                    VANPATH=$VANPATH:$VANAPI_HOME/vanapi/share
                                    LD_LIBRARY_PATH=$VANAPI_HOME/vanapi:$VANAPI_HOME/vanapi/vanjavi:$LD_LIBRARY_PATH
                                    PATH=$VANAPI_HOME/perl_dir/bin:$PATH
                                    EUP_CLASSPATH=$WL_HOME/config/Subsidiary/serverclasses
                                    export VANPATH LD_LIBRARY_PATH VANAPI_HOME PATH EUP_CLASSPATH
                                    ###########################
                                    #### EUP App settings --- End
                                    ###########################

                                    CLASSPATH=$WL_HOME/lib/CR061106_61sp2.jar:$WL_HOME/lib/CR072612_61sp2.jar:$WL_HOME/lib/CR071109_610sp2.jar:$WL_
                                    HOME/lib/CR058352_61sp2.jar:$WL_HOME/lib/weblogic.jar:$BEA_HOME:$EUP_CLASSPATH
                                    if [ -n "$LD_LIBRARY_PATH" ]; then
                                    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/solaris:
                                    else
                                    LD_LIBRARY_PATH=$WL_HOME/lib/solaris:
                                    fi
                                    export LD_LIBRARY_PATH
                                    ADMIN_URL=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerURL|awk '{print  $2}')
                                    ADMIN_SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerName|awk '{print
                                    $2}')
                                    DOMAIN_NAME=$(cat $WL_SCRIPT/config.weblogic|grep Domain|awk '{print  $2}')
                                    PATH=$WL_HOME/bin:$JAVA_HOME/bin:$PATH
                                    export PATH

                                    WLS_PW=$(cat $WL_SCRIPT/bea.check | awk '{print $1}')
                                    export $WLS_PW

                                    #################################export LOG_HOME=/export/bea/netsite/ext-admin/logs/bea
                                    export LOG_HOME=/export/bea/logs

                                    # echo all of the variable settings
                                    #echo
                                    #echo "BEA_HOME=$BEA_HOME"
                                    #echo "WL_HOME=$WL_HOME"
                                    echo "EXPORT_HOME=$EXPORT_HOME"
                                    echo "CLASSPATH=$CLASSPATH"
                                    #echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
                                    #echo "PATH=$PATH"
                                    #echo "JAVA_OPTIONS=$JAVA_OPTIONS"
                                    #echo "DOMAIN_NAME=$DOMAIN_NAME"
                                    #echo "ADMIN_URL=$ADMIN_URL"
                                    #echo "ADMIN_SERVER_NAME=$ADMIN_SERVER_NAME"
                                    #java -fullversion
                                    #echo
                                    #echo

                                    # Grab some file descriptors.
                                    maxfiles='ulimit -H -n'
                                    if [ ! $? -a "$maxfiles" != 1024 ]; then
                                    if [ "$maxfiles" = "unlimited" ]; then
                                    maxfiles=1025
                                    fi
                                    if [ "$maxfiles" -lt 1024 ]; then
                                    ulimit -n $maxfiles
                                    else
                                    ulimit -n 1024
                                    fi
                                    fi

                                    # Set Production Mode. When set to true, the server starts up
                                    # in production mode. When set to false, the server starts up
                                    # in development mode. The default is false.
                                    STARTMODE=true
                                    if [[ -n $1 ]]; then
                                    if [[ $1 = "admin" ]]; then
                                    echo "Starting admin server...."
                                    ###### echo "See /export/netsite/ext-admin/logs/bea/admin.start for more info"
                                    # Change to the WebLogic directory
                                    cd $WL_HOME
                                    echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
                                    -Dweblogic.Name=$ADM
                                    IN_SERVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
                                    -Dweblogic.Production
                                    ModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
                                    -Dweblogic.ma
                                    nagement.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
                                    nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
                                    -Dweblogic.Name=$ADMIN_SE
                                    RVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
                                    -Dweblogic.ProductionModeE
                                    nabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
                                    -Dweblogic.managem
                                    ent.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
                                    $LOG_HOME/admin.start 2>&1
                                    &
                                    echo
                                    shift
                                    # Change back to the domain directory
                                    cd config/$DOMAIN_NAME
                                    echo $! > admin.pid
                                    else
                                    while [[ $# -gt 0 ]];do
                                    SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep $1|awk '{print $2}')
                                    if [[ $SERVER_NAME = "" ]]; then
                                    echo "ERROR: unable to locate an entry for "$1" in config file"
                                    shift
                                    else
                                    echo "Starting server: "$SERVER_NAME
                                    ######### echo "See /export/netsite/ext-admin/logs/bea/$SERVER_NAME.start
                                    for more info"
                                    # Change to the WebLogic directory
                                    cd $WL_HOME
                                    echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
                                    -Dweblogic.Nam
                                    e=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
                                    -Dw
                                    eblogic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW
                                    weblogic.Server
                                    nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
                                    -Dweblogic.Name=$SE
                                    RVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
                                    -Dweblog
                                    ic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW weblogic.Server
                                    $LOG_HOME/$SERVER
                                    _NAME.start 2>&1 &
                                    shift
                                    # Change back to the domain directory
                                    cd config/$DOMAIN_NAME
                                    echo $! > $SERVER_NAME".pid"
                                    fi
                                    done
                                    fi
                                    else
                                    echo ""
                                    echo ""
                                    echo "FATAL ERROR: You must specify the server to start. Either 'admin' or
                                    the server token"
                                    echo ""
                                    fi
                                    -----------Inline 1 ends-----------------


                                    2) startManagedWebLogic.sh(this is the Managed server start up script at wls8.1)
                                    ---------Inline 2 starts---------
                                    #!/bin/sh
                                    # ****************************************************************************
                                    # This script is used to start a managed WebLogic Server for the domain in the

                                    # current working directory. This script reads in the SERVER_NAME and
                                    # ADMIN_URL as positional parameters, sets the SERVER_NAME variable, then
                                    # starts the server.
                                    #
                                    # Other variables that startWLS takes are:
                                    #
                                    # WLS_USER - cleartext user for server startup
                                    # WLS_PW - cleartext password for server startup
                                    # PRODUCTION_MODE - Set to true for production mode servers, false for
                                    # development mode
                                    # JAVA_OPTIONS - Java command-line options for running the server. (These
                                    # will be tagged on to the end of the JAVA_VM and MEM_ARGS)
                                    # JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
                                    # -hotspot, etc.)
                                    # MEM_ARGS - The variable to override the standard memory arguments
                                    # passed to java
                                    #
                                    # For additional information, refer to the WebLogic Server Administration Guide
                                    # (http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html).
                                    # ****************************************************************************

                                    #Set the New Java Path
                                    PATH=/opt/bea/jdk141_02/bin:$PATH

                                    # set up WL_HOME, the root directory of your WebLogic installation
                                    WL_HOME="/opt/bea/weblogic81"

                                    # set up common environment
                                    # Set Production Mode. When this is set to true, the server starts up in
                                    # production mode. When set to false, the server starts up in development
                                    # mode. If it is not set, it will default to false.
                                    PRODUCTION_MODE="true"

                                    # Set JAVA_VENDOR to java virtual machine you want to run on server side.
                                    JAVA_VENDOR="Sun"

                                    # Set JAVA_HOME to java virtual machine you want to run on server side.
                                    JAVA_HOME="/opt/bea/jdk141_02"

                                    set USE_CURRENT_JAVA_HOME "$@"
                                    . "${WL_HOME}/common/bin/commEnv.sh"
                                    shift 1

                                    # Set SERVER_NAME to the name of the server you wish to start up.
                                    ADMIN_URL=http://153.2.255.51:8001
                                    SERVER_NAME=

                                    # Set WLS_USER equal to your system username and WLS_PW equal
                                    # to your system password for no username and password prompt
                                    # during server startup. Both are required to bypass the startup
                                    # prompt.
                                    WLS_USER=
                                    WLS_PW=

                                    # Set JAVA_VM to java virtual machine you want to run on server side.
                                    # JAVA_VM="-server"

                                    # Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
                                    # are more than one, include quotes around them. For instance:
                                    # JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"

                                    usage()
                                    {
                                    echo "Need to set SERVER_NAME and ADMIN_URL environment variables or specify"
                                    echo "them in command line:"
                                    echo 'Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]'
                                    echo "for example:"
                                    echo './startManagedWebLogic.sh managedserver1 http://localhost:7001'
                                    exit 1
                                    }

                                    # Check for variables SERVER_NAME and ADMIN_URL
                                    # SERVER_NAME and ADMIN_URL must by specified before starting a managed server,
                                    # detailed information can be found at http://e-docs.bea.com/wls/docs81/adminguide/startstop.html.
                                    if [ ${#} = 0 ]; then
                                    if [ "x${SERVER_NAME}" = "x" -o "x${ADMIN_URL}" = "x" ]; then
                                    usage
                                    fi
                                    elif [ ${#} = 1 ]; then
                                    SERVER_NAME=${1}
                                    if [ "x${ADMIN_URL}" = "x" ]; then
                                    usage
                                    fi
                                    elif [ ${#} = 2 ]; then
                                    SERVER_NAME=${1}
                                    ADMIN_URL=${2}
                                    else
                                    usage
                                    fi

                                    # Start WebLogic server
                                    # Reset number of open file descriptors in the current process
                                    # This function is defined in commEnv.sh
                                    resetFd

                                    CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
                                    export CLASSPATH

                                    # Start WebLogic server
                                    echo CLASSPATH="${CLASSPATH}"
                                    echo
                                    echo PATH="${PATH}"
                                    echo
                                    echo "***************************************************"
                                    echo "* To start WebLogic Server, use a username and *"
                                    echo "* password assigned to an admin-level user. For *"
                                    echo "* server administration, use the WebLogic Server *"
                                    echo "* console at http://<hostname>:<port>/console *"
                                    echo "***************************************************"

                                    "$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} \
                                    -Dweblogic.Name=${SERVER_NAME} \
                                    -Dweblogic.management.username=${WLS_USER} \
                                    -Dweblogic.management.password=${WLS_PW} \
                                    -Dweblogic.management.server=${ADMIN_URL} \
                                    -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
                                    weblogic.Server
                                    -------Inline 2 ends----------




                                    3) startWebLogic.sh(this is the Admin start up script at wls8.1)
                                    ---------Inline 3 starts-------

                                    #!/bin/sh
                                    # ****************************************************************************
                                    # This script is used to start WebLogic Server for the domain in the current
                                    # working directory. This script simply sets the SERVER_NAME variable
                                    # and calls the startWLS.sh script under ${WL_HOME}/server/bin.
                                    #
                                    # To create your own start script for your domain, all you need to set is
                                    # SERVER_NAME, then starts server.
                                    #
                                    # Other variables that startWLS takes are:
                                    #
                                    # WLS_USER - cleartext user for server startup
                                    # WLS_PW - cleartext password for server startup
                                    # PRODUCTION_MODE - Set to true for production mode servers, false for
                                    # development mode
                                    # JAVA_OPTIONS - Java command-line options for running the server. (These
                                    # will be tagged on to the end of the JAVA_VM and MEM_ARGS)
                                    # JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
                                    # -hotspot, etc.)
                                    # MEM_ARGS - The variable to override the standard memory arguments
                                    # passed to java
                                    #
                                    # For additional information, refer to the WebLogic Server Administration
                                    # Console Online Help(http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html)
                                    # ****************************************************************************

                                    #Set the New Java Path
                                    PATH=/opt/bea/jdk141_02/bin:$PATH

                                    # set up WL_HOME, the root directory of your WebLogic installation
                                    WL_HOME="/opt/bea/weblogic81"

                                    # set up common environment
                                    # Set Production Mode. When this is set to true, the server starts up in
                                    # production mode. When set to false, the server starts up in development
                                    # mode. If it is not set, it will default to false.
                                    PRODUCTION_MODE="true"

                                    # Set JAVA_VENDOR to java virtual machine you want to run on server side.
                                    JAVA_VENDOR="Sun"

                                    # Set JAVA_HOME to java virtual machine you want to run on server side.
                                    JAVA_HOME="/opt/bea/jdk141_02"

                                    set USE_CURRENT_JAVA_HOME "$@"
                                    . "${WL_HOME}/common/bin/commEnv.sh"
                                    shift 1

                                    # Set SERVER_NAME to the name of the server you wish to start up.
                                    SERVER_NAME=Admin

                                    # Set WLS_USER equal to your system username and WLS_PW equal
                                    # to your system password for no username and password prompt
                                    # during server startup. Both are required to bypass the startup
                                    # prompt.
                                    WLS_USER=
                                    WLS_PW=

                                    # Set JAVA_VM to java virtual machine you want to run on server side.
                                    # JAVA_VM="-server"

                                    # Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
                                    # are more than one, include quotes around them. For instance:
                                    # JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"

                                    # Reset number of open file descriptors in the current process
                                    # This function is defined in commEnv.sh
                                    resetFd

                                    # Start WebLogic server
                                    CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
                                    export CLASSPATH

                                    "$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME}
                                    -Dweblogic.management.username=${WLS_USER} -Dweblogic.management.password=${WLS_PW}
                                    -Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
                                    weblogic.Server

                                    --------Inline 3 ends---------


                                    I think we are getting closer to a solution !
                                    thanks rob,




                                    Rob Woollen <rwoollen@nomail.org> wrote:
                                    Yes, your $CLASSPATH could be the issue. Can you show me the $CLASSPATH

                                    used in each version of the server?

                                    -- Rob

                                    sangita wrote:
                                    Thanks Rob, I understood changing the DOCTYPE ...and i will give it
                                    a try.
                                    And iam assuming you might have read my previous response in this chain,
                                    Iam using
                                    WLS6.1 & WLS8.1 BOTH on the same hardware unix server....iam just wondering
                                    if
                                    there is any CLASSPATH issue that might have been causing this NoClassDefFoundError......?

                                    just wanted to let you know that iam running WLS6.1 + WLS8.1 on the
                                    same BOX.
                                    I will try other options that you have suggested ....thanks again !

                                    Rob Woollen <rob@nomail.org> wrote:
                                    sangita wrote:
                                    Rob,

                                    Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                    to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                    definition to the Taglib 1.1 DTD or change the tld file to conform
                                    to
                                    the 1.2 DTD.
                                    how do i do either of the 2 options ?
                                    To change your taglib to be the 1.1 DTD you just need to change the
                                    DOCTYPE header to be

                                    <!DOCTYPE taglib
                                    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

                                    Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.

                                    If you post your tld file here, then I can help.

                                    Iam just guessing here, is it may be due to this DTD/.tld issue that
                                    iam not been
                                    able to DEPLOY the .ear file(now that wls8.1 checks the validity before
                                    deloying
                                    the app)....are the 2 errors that iam getting, in any ways inter-related
                                    ?

                                    I'm not sure they're related. It is possible.

                                    i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
                                    ??

                                    JUST CURIOUS ???


                                    WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
                                    No problem.

                                    -- Rob

                                    Regards, sangita





                                    Rob Woollen <rwoollen@nomail.org> wrote:

                                    sangita wrote:

                                    1) This is how my .tld looks like:

                                    <?xml version="1.0" encoding="UTF-8" ?>^M
                                    <!DOCTYPE taglib^M
                                    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
                                    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
                                    Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms

                                    to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
                                    definition to the Taglib 1.1 DTD or change the tld file to conform
                                    to
                                    the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file
                                    against
                                    the DTD, but it should have, and you'll need to correct your application.


                                    <taglib>^M
                                    <tlib-version>1.0</tlib-version>^M
                                    <jsp-version>1.2</jsp-version>^M
                                    <short-name>html</short-name>^M

                                    -------------------------------------------
                                    2) the MANIFEST.MF file is located within the ABL.war.
                                    -----------------
                                    3) I will try placing the struts-util.jar in the WEB-INF/lib directory
                                    of the

                                    ABL.war file. And I will let you if it works or not ?
                                    Right. My guess is this is a bug in WLS 8.1. I can see no reason
                                    why
                                    the manifest class-path isn't working for you. That's why I asked
                                    if
                                    you could send the EAR file so I could investigate, but I understand

                                    that's not always possible.

                                    I suspect the WEB-INF/lib will work, but it's just a workaround.
                                    I'm
                                    not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,

                                    then you might consider trying that. (java weblogic.version will
                                    tell
                                    you.)

                                    Otherwise, I think you should open a case with support@bea.com

                                    -- Rob



                                    thx, sangita



                                    Rob Woollen <rwoollen@nomail.org> wrote:


                                    sangita wrote:


                                    Rob, here is the information that you need: Please read inline:

                                    ---------------------------iam doing cut&paste

                                    <attribute>^M
                                    <name>styleClass</name>^M
                                    <required>false</required>^M
                                    </attribute>^M
                                    (this is the 334 line)<info>applys the style of
                                    the
                                    number text


                                    if it passes the conditional given</info>^M
                                    </tag>^M
                                    </taglib>^M
                                    Well, it looks like you have a JSP 1.1 tld, but it's being validated

                                    against the JSP 1.2 tld. I suspect that you have not declared
                                    a
                                    DOCTYPE
                                    and 6.1 defaulted to the older JSP spec.

                                    Anyway, check the first line of your tld file. It should look
                                    something
                                    like this:

                                    <!DOCTYPE taglib
                                    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
                                         "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
                                    -----------------------------
                                    I have an ABL.ear file and this is what it looks like:
                                    ABL.ear
                                    META-INF/
                                    META-INF/MANIFEST.MF
                                    ABL.jar
                                    ABL.war
                                    lib/
                                    lib/struts-util.jar
                                    META-INF/application.xml


                                    and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
                                    when

                                    i open


                                    this file ...this is what it contains:
                                    Just to double-check, the MANIFEST.MF file is located within the
                                    ABL.war, right?



                                    Manifest-Version: 1.0
                                    Created-By: Ant 1.4.1
                                    Class-Path: lib/struts-util.jar

                                    --------------------------
                                    there is nothing in the CLASSPATH that contains this application's
                                    specific .jar/.war


                                    ...or any classes specific to this application ........BOTH IN
                                    WLS6.1(and
                                    now


                                    in WLS8.1)
                                    Hmm, I'm not sure yet what the problem is here. Does it work if
                                    you
                                    place the struts-util.jar in the WEB-INF/lib directory of the ABL.war

                                    file? (I suspect it will.)

                                    This might be a WLS bug. If you can post your ear file here (or
                                    email
                                    it to me rwoollen at bea dot com), then I can dig into it more.

                                    -- Rob




                                    thx, sangita




                                    Rob Woollen <rob@nomail.org> wrote:



                                    It looks like there are 2 errors.

                                    The first error /WEB-INF/ups-html.tld is most likely the result
                                    of
                                    WLS


                                    8.1 doing more validation on your tld file. If you'd show us
                                    either
                                    the
                                    entire ups-html.tld or just the part around line 334, then we
                                    can
                                    help.

                                    As for the NoClassDefFoundError, you'll have to provide some
                                    more
                                    details about your ear file and environment. Do you have anything
                                    in


                                    the $CLASSPATH on either the 6.1 or 8.1 environments?

                                    -- Rob


                                    Sangita wrote:



                                    I think the weblogic8.1 seems to have some NEW bug now. We have
                                    a

                                    .ear


                                    file that



                                    works just PERFECT in WLS6.1. But now when we try to DEPLOY
                                    this
                                    .ear

                                    file our



                                    WLS8.1 server(via the new look and feel of WLS8.1' console)....we
                                    are


                                    getting



                                    the Exception like ...."pl read inline below":

                                    ...All i know is that WLS 8.1 has introduced something like
                                    :
                                    "single
                                    J2EEC -



                                    EAR compiler, replacing the separate compilers in previous releases"
                                    ........is



                                    it may be because of this ????

                                    If somebody has any idea ....please let me know asap ...and
                                    just
                                    above

                                    the EXCEPTION



                                    we are also getting something like ...."Deployment descriptor
                                    "/WEB-INF/ups-html.tld"
                                    is malformed" ....what is going wrong now ?
                                    Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
                                    Read inline for the Exception:

                                    ----------------------
                                    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248>
                                    <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.
                                    Check
                                    against


                                    the



                                    DTD: Element type "info" must be declared. (line 334, column
                                    9).>
                                    <Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248>
                                    <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
                                    Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.
                                    Check
                                    against


                                    the



                                    DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
                                    (line 335, column 8).>
                                    MessageResourcesFactory.createFactory
                                    java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory

                                    at java.lang.ClassLoader.defineClass0(Native Method)
                                    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
                                    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

                                    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)

                                    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)

                                    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
                                    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
                                    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
                                    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)

                                    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
                                    at java.lang.Class.forName0(Native Method)
                                    at java.lang.Class.forName(Class.java:140)
                                    at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)

                                    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)

                                    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)

                                    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)

                                    at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)

                                    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)

                                    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)

                                    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)

                                    at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)

                                    at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)

                                    at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)

                                    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
                                    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
                                    <Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
                                    service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants

                                    java.lang.NullPointerException
                                    at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)

                                    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)

                                    at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                                    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)

                                    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

                                    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)

                                    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)

                                    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)

                                    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)

                                    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)

                                    at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.
                                    1 2 Previous Next