Hi Dimitrios, Thanks for the advise. I found the exception details on the log file. And the details solved my problem "missing folder WEB- INF/flex/classes". I don't know why I didn't check the log file before I submit my enquiry. That's an obvious step to do when debugging. In case if someone comes up with the same error. I'm building the entire web application from a project folder, where my files (Java source files, jars, mxml, as files...) are ditributed in different folders. I'm using Ant the build the project.When I run a target which copies all these files to the destination folder for ready delpoy, I'm using an instruction like: copy **/*.* to dist directory, all the folders and their files are copied. But in flex.war application theres a folder in WEB-INF/flex/classes containing a file without extension. So my copy **/*.* task didn't copy that folder because it contains a file without extension. I renamed it as myAsFile.as then this folder was copied to the right place. So flex.war application has a file structure which should be kept as is. If a folder is missing like in my case an exception will be thrown. Thank you for you help Regards Jairo --------------------------------------------------- --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote: > > Look at your tomcat log file, before that exception, you will find another exception that will explain what the real problem is. > > Dimitrios Gianninas > RIA Developer > Optimal Payments Inc. > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jairokan > Sent: Sunday, February 25, 2007 2:08 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Invalid Configuration Exception > > > > Hi all, > Just joined this group. I'm having an exception when I try to request my swf file from Tomcat container. The Web application is exactly the same as the felex.war provided with FDS. No setting changed. The only difference I'm deploying the application from deployment project directory, using a custom Ant build file. Checking the directory structure after deploying in Tomcat is as flex.war. I get this Exception: > javax.servlet.ServletException: Invalid Configuration: see previous failures. > flex2.server.j2ee.SwfServlet.init(SwfServlet.java:71) > javax.servlet.GenericServlet.init(GenericServlet.java:211) > flex2.server.j2ee.CompileAgentServlet.init (CompileAgentServlet.java:20) > flex.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) > &nbs! p;org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:118) > org.apache.coyote.tomcat5.CoyoteAdapter.service (CoyoteAdapter.java:160) > org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:799) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces sConnection(Http11Protocol.java:705) > org.apache.tomcat.util.net.TcpWorkerThread.runIt (PoolTcpEndpoint.java:577) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run (ThreadPool.java:683) > java.lang.Thread.run(Thread.java:595) > > Can please someone advise what I'm missing or doing wrong. > Thanks > Jairo > > > > -- > WARNING > ------- > This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e- mail in error, please notify the sender. > > AVIS IMPORTANT > -------------- > Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur. >