Expand my Community achievements bar.

Mxml Servlet initialisation problem

Avatar

Level 1
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 Replies

Avatar

Former Community Member
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?

>





Avatar

Level 1
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