Kumaran, I have FDS running with integrated JRun on another machine. Just tested on that machine and the same thing happens. The CRM sample breaks if I set production-mode to true. Perhaps this is a bug and happens in all cases. This would be reassuring as my main goal is to make sure that my server is set up correctly... :-)
Douglas Kumaran Nallore wrote: > > Hi, > > > > Which version of JVM are you using? > > > > Are you able to compile the CRM app with production-mode set to false > and run it with production-mode set to true? > > > > Thanks > > Kumaran > > > > ------------------------------------------------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Douglas McCarroll > *Sent:* Tuesday, October 10, 2006 8:27 PM > *To:* flexcoders post > *Subject:* [flexcoders] 2 FDS Samples break when production-mode is > set to true > > > > Hi All, > > I'm running into a problem with running the CRM sample and the FlexCab > Dispatcher sample with production-mode set to true. > > I'm running FDS on Tomcat on Windows 2000 Server. > > All sample apps work fine if I set production-mode=false. > > When I set it to true and try to run CRM I get this message: > > Compilation Results > > Errors, warnings or exceptions were found while compiling > /dataservice/crm/companyapp.mxml. Visit the online Flex documentation > or API > reference for further information. > > 1 Exception found. > > Exception java.lang.NullPointerException > > Output from flex.log is below... > > The FlexCab Dispatcher sample starts to run, then gets stuck. No error > message, > just freezes. > > Any thoughts? > > Douglas > > Output in flex.log after running CRM: > > 10/10 20:08:48 ERROR Exception(s) generated while compiling C:\Program > Files\Apache Software Foundation\Tomcat > 5.5\webapps\samples\dataservice\crm\companyapp.mxml > java.lang.NullPointerException > at flex2.compiler.API.checkDeep(API.java:826) > at flex2.compiler.API.checkDeep(API.java:836) > at flex2.compiler.API.nextSource(API.java:457) > at flex2.compiler.API.batch2(API.java:263) > at flex2.compiler.API.batch(API.java:901) > at flex2.compiler.API.compile(API.java:1110) > at flex2.compiler.API.compile(API.java:1022) > at > flex2.server.j2ee.IncrementalCompileFilter.fullCompile(IncrementalCompileFilter.java:201) > at > flex2.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:113) > at > flex2.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:286) > at flex2.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:72) > at flex2.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:38) > at flex2.server.j2ee.AboutFilter.invoke(AboutFilter.java:48) > at flex2.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:159) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:85) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833) > at > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639) > at > org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285) > at java.lang.Thread.run(Unknown Source) > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/