Hi Seth, Thanks for responding.......... :)
I have copied all CLASSEs and JARs from flex.war folder to my existing project.war folder.... and thereafter I have made the all entries from flex.war's web.xml to exisiting project's web.xml. Though I havent changed anything in any file, it was showing the exception on console: SEVERE: Allocate exception for servlet FlexMxmlServlet java.lang.NullPointerException Thereafter I have done some RnDs and I found this problem was just because of JBOSS_web.xml which lied under existing project's war folder. JBOSS_web.xml has the following tags: <?xml version='1.0' encoding='ISO-8859-1'?> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd"> <jboss-web> <class-loading> <loader-repository> smartpredictloader:loader=swallowtech.war <loader-repository-config> java2ParentDelegaton=false </loader-repository-config> </loader-repository> </class-loading> </jboss-web> I have deleted\renamed it... now my flex 2 is working fine for my exsiting web project. Suggest something, If I have done something wrong... Thanks...... :) Sanjay --- In [email protected], "Seth Hodgson" <[EMAIL PROTECTED]> wrote: > > Hi Sanjay, > > The doc team is working on an updated technote for Flex 2 for this issue now. It should be posted soon. > > Best, > Seth > > ________________________________________ > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg > Sent: Monday, November 27, 2006 9:23 PM > To: [email protected] > Subject: [flexcoders] Re: FLEX.war and PROJECT.war > > Thanks for your quick response... > > I have tried it but after integrating it when I start my exisiting > application, It is failed to load even the first page. > > I am sure, I am doing some mistakes while making entries in web.xml. > > Could you please help me out which entries should I make for this > integration? > > I have got the integration with Flex 1.5 from: > > http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/co > mmon/html/wwhelp.htm?context=Flex_Documentation&file=00000903.htm > > but didnt get for flex 2. > > Pleease help. > > Thanks > Sanjay > > --- In [email protected], "Matt Chotin" <mchotin@> wrote: > > > > It's usually better to have the WARs combined if you can. Make > sure > > that the web.xml from the flex.war gets integrated correctly. > > > > > > > > ________________________________ > > > > From: [email protected] > [mailto:[EMAIL PROTECTED] On > > Behalf Of sanjaypmg > > Sent: Monday, November 27, 2006 4:51 AM > > To: [email protected] > > Subject: [flexcoders] FLEX.war and PROJECT.war > > > > > > > > Hey.. > > > > I have my flex project under Flex.war folder and another java > project > > under Project.war folder. while I am trying to call my mxml file > from > > my java project I am facing an error.. > > > > could anyone please help me? > > > > Thanks > > Sanjay > > >

