2 Replies Latest reply on Oct 23, 2007 7:00 PM by Jendi09

    Mxml Servlet initialisation problem

    Tomsky01
      Having installed the flex data services express edition with tomcat5.5, the following exception occurs every time I attempt a *.mxml request:

      java.lang.NoClassDefFoundError
      flex.webtier.util.ServiceUtil.setupFlexService(ServiceUtil.java:63)
      flex.webtier.server.j2ee.MxmlServlet.init(MxmlServlet.java:57)
      flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:87)

      It might help in tracing the problem to know what class is being referred to that cannot be found. Any ideas?
        • 1. Re: Mxml Servlet initialisation problem
          Level 7
          It sounds like you don't have the webtier correctly installed... the /WEB-INF/flex-bootstrap.jar
          looks for classes in the /WEB-INF/flex/jars/... folder. Did you perhaps try
          to upgrade and old Flex application and only copied /WEB-INF/lib?


          Hello Tomsky01,

          > Having installed the flex data services express edition with
          > tomcat5.5, the following exception occurs every time I attempt a
          > *.mxml request:
          >
          > java.lang.NoClassDefFoundError
          > flex.webtier.util.ServiceUtil.setupFlexService(ServiceUtil.java:63)
          > flex.webtier.server.j2ee.MxmlServlet.init(MxmlServlet.java:57)
          > flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:87)
          > It might help in tracing the problem to know what class is being
          > referred to that cannot be found. Any ideas?
          >


          • 2. Re: Mxml Servlet initialisation problem
            Jendi09
            I had this problem; it turned out to be because I'd configured my Tomcat server by default with unpackWARs="false".
            You might want to take a look at the "Running from a compressed WAR" section of the install notes at:

            http://help.adobe.com/en_US/livecycle/es/lcds_installation.html

            This solved my problem - note how the sample is trying to access .mxml files directly.
            Hope that helps.
            - Jen