Re: [flexcoders] Re: Muliple flex apps on tomcat
Thanks for all the suggestions. We are not precompiling. I will look at that. I have to be gone for today on a business trip, but will give this a try tomorrow. The two different apps are for backend issues. Nothing different in flex. For example production does validation of account number against great plains. In test we don't do that. Little things like that. Thanks Jeff - Original Message From: Dave Wolf [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, March 15, 2006 10:29:05 PMSubject: [flexcoders] Re: Muliple flex apps on tomcatYep pretty much our deal here too. We couldn't do fastmxmlc though,so we stick with old standby. We have some pretty kickin ANT scriptsthat build the whole deal, including Tomcat.-- Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partnerhttp://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Clint Modien" [EMAIL PROTECTED] wrote: Yep... daily... I use it for dev and running test harnesses... butit's a combination of both JIT and precompiling with ant and fastmxmlc. And your right... it leaks like a sieve.. gotta bounce it once aday (that's right i can spell sieve.. *thank you google!* lol). On 3/15/06, Dave Wolf [EMAIL PROTECTED] wrote: Clint, Do you do JIT compiling? I do agree. Tomcat is *the* workhorse Flex server... -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, "Clint Modien" cmodien@ wrote: I've seen tomcat handle some pretty monstrous flex apps and I'veused it daily for like 2 years now. It should in theory run all way up too that 1.5GB of ram you have allocated and them some. (swap space... asuming your on windows of course.) Watch your ram usage while it's compiling. Is it coming anywhere near that? Can you give us more info. How many mxml/as files are wetalking about? Your sure you have the vm mem config setup right? Tomcat'sdefault is something silly like 128 Megs max. On 3/15/06, Jeff Krueger powellbullfrog@ wrote: All, I am trying to run basically the same web app as two instances on the same server. So I have the same wars but with differentweb.xml forconfig and different db connections. But only one of the apps will start,and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]: Servlet.service()for servlet FlexMxmlServlet threw exceptionjava.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to-Xms512m-Xmx1536m It won't even create the generated files? Can you run two flex apps onone server? Should they share cache? Should I not dup all the flex parts for each app. Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff --Flexcoders Mailing ListFAQ:http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKSWeb site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQComputersoftware development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHwSoftwaredesign and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQMacromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjwSoftwaredevelopment best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw --YAHOO! GROUPS LINKS - Visit your group "flexcodershttp://groups.yahoo.com/group/flexcoders"on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService
RE: [flexcoders] Re: Muliple flex apps on tomcat
I second Daves recommendation regarding pre-compilation. Our team ran into the same issues with OutOfMemoryErrors thrown on our linux servers (never on any of the Windows machines). The solution was to deploy pre-compiled SWFs. tony pujals| senior engineer | Yahoo! SiteBuilder Express p. 408.349.6284 |e. tonyp * yahoo-inc * com| y!id tonypujals From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf Sent: Wednesday, March 15, 2006 8:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Muliple flex apps on tomcat You can run many web apps that serve SWF content. However, I would seriously avoid the JIT compilation in favor of pre-compiling your SWF files. That SWF compiler leaks pretty heavily in 1.5. In nay case, you should be able to do what you are trying here. I am curious why you want to run these as seperate web apps? Whats the value? I would really encourage you to look into pre-compiling the SWFs. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Jeff Krueger [EMAIL PROTECTED] wrote: All, I am trying to run basically the same web app as two instances on the same server. So I have the same wars but with different web.xml for config and different db connections. But only one of the apps will start, and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]: Servlet.service() for servlet FlexMxmlServlet threw exception java.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to -Xms512m -Xmx1536m It won't even create the generated files? Can you run two flex apps on one server? Should they share cache? Should I not dup all the flex parts for each app. Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[flexcoders] Re: Muliple flex apps on tomcat
You can run many web apps that serve SWF content. However, I would seriously avoid the JIT compilation in favor of pre-compiling your SWF files. That SWF compiler leaks pretty heavily in 1.5. In nay case, you should be able to do what you are trying here. I am curious why you want to run these as seperate web apps? Whats the value? I would really encourage you to look into pre-compiling the SWFs. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Jeff Krueger [EMAIL PROTECTED] wrote: All, I am trying to run basically the same web app as two instances on the same server. So I have the same wars but with different web.xml for config and different db connections. But only one of the apps will start, and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]: Servlet.service() for servlet FlexMxmlServlet threw exception java.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to -Xms512m -Xmx1536m It won't even create the generated files? Can you run two flex apps on one server? Should they share cache? Should I not dup all the flex parts for each app. Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff -- 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/ * 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/
[flexcoders] Re: Muliple flex apps on tomcat
Clint, Do you do JIT compiling? I do agree. Tomcat is *the* workhorse Flex server... -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: I've seen tomcat handle some pretty monstrous flex apps and I've used it daily for like 2 years now. It should in theory run all way up too that 1.5GB of ram you have allocated and them some. (swap space... asuming your on windows of course.) Watch your ram usage while it's compiling. Is it coming any where near that? Can you give us more info. How many mxml/as files are we talking about? Your sure you have the vm mem config setup right? Tomcat's default is something silly like 128 Megs max. On 3/15/06, Jeff Krueger [EMAIL PROTECTED] wrote: All, I am trying to run basically the same web app as two instances on the same server. So I have the same wars but with different web.xml for config and different db connections. But only one of the apps will start, and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]: Servlet.service() for servlet FlexMxmlServlet threw exception java.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to -Xms512m -Xmx1536m It won't even create the generated files? Can you run two flex apps on one server? Should they share cache? Should I not dup all the flex parts for each app. Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design developmenthttp://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software developmenthttp://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and developmenthttp://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flexhttp://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practicehttp://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- 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/ * 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/
Re: [flexcoders] Re: Muliple flex apps on tomcat
Yep... daily... I use it for dev and running test harnesses... but it's a combination of both JIT and precompiling with ant and fastmxmlc.And your right... it leaks like a sieve.. gotta bounce it once a day (that's right i can spell sieve.. *thank you google!* lol). On 3/15/06, Dave Wolf [EMAIL PROTECTED] wrote: Clint,Do you do JIT compiling?I do agree.Tomcat is *the* workhorse Flex server...--Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partner http://www.cynergysystems.comEmail:[EMAIL PROTECTED]Office: 866-CYNERGY--- In flexcoders@yahoogroups.com , Clint Modien [EMAIL PROTECTED] wrote: I've seen tomcat handle some pretty monstrous flex apps and I've used it daily for like 2 years now.It should in theory run all way up too that 1.5GB of ram you have allocated and them some. (swap space... asuming your on windows of course.) Watch your ram usage while it's compiling.Is it coming any where near that? Can you give us more info.How many mxml/as files are we talking about? Your sure you have the vm mem config setup right?Tomcat's default is something silly like 128 Megs max. On 3/15/06, Jeff Krueger [EMAIL PROTECTED] wrote: All, I am trying to run basically the same web app as two instanceson the same server.So I have the same wars but with different web.xml for config and different db connections.But only one of the appswill start, and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]:Servlet.service() for servlet FlexMxmlServlet threw exception java.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to -Xms512m -Xmx1536m It won't even create the generated files?Can you run two flexapps on one server?Should they share cache?Should I not dup all the flex parts for each app.Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comSPONSORED LINKS Web site designdevelopment http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer softwaredevelopment http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design anddevelopment http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development bestpractice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS -Visit your groupflexcoders http://groups.yahoo.com/group/flexcoders on the web. -To unsubscribe from this group, send an email to: [EMAIL PROTECTED][EMAIL PROTECTED] -Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ * 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/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group
[flexcoders] Re: Muliple flex apps on tomcat
Yep pretty much our deal here too. We couldn't do fastmxmlc though, so we stick with old standby. We have some pretty kickin ANT scripts that build the whole deal, including Tomcat. -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Clint Modien [EMAIL PROTECTED] wrote: Yep... daily... I use it for dev and running test harnesses... but it's a combination of both JIT and precompiling with ant and fastmxmlc. And your right... it leaks like a sieve.. gotta bounce it once a day (that's right i can spell sieve.. *thank you google!* lol). On 3/15/06, Dave Wolf [EMAIL PROTECTED] wrote: Clint, Do you do JIT compiling? I do agree. Tomcat is *the* workhorse Flex server... -- Dave Wolf Cynergy Systems, Inc. Macromedia Flex Alliance Partner http://www.cynergysystems.com Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, Clint Modien cmodien@ wrote: I've seen tomcat handle some pretty monstrous flex apps and I've used it daily for like 2 years now. It should in theory run all way up too that 1.5GB of ram you have allocated and them some. (swap space... asuming your on windows of course.) Watch your ram usage while it's compiling. Is it coming any where near that? Can you give us more info. How many mxml/as files are we talking about? Your sure you have the vm mem config setup right? Tomcat's default is something silly like 128 Megs max. On 3/15/06, Jeff Krueger powellbullfrog@ wrote: All, I am trying to run basically the same web app as two instances on the same server. So I have the same wars but with different web.xml for config and different db connections. But only one of the apps will start, and when the other web is hit for the first time I get a out of memory error 2006-03-15 19:30:28 StandardWrapperValve[FlexMxmlServlet]: Servlet.service() for servlet FlexMxmlServlet threw exception java.lang.OutOfMemoryError This is on tomcat 5 and I have the mem config for it set to -Xms512m -Xmx1536m It won't even create the generated files? Can you run two flex apps on one server? Should they share cache? Should I not dup all the flex parts for each app. Both are are 100% complete. Any thoughts or help would be helpful. Thanks Jeff -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ Computer software development http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw Software design and development http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ Macromedia flex http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw Software development best practice http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw -- YAHOO! GROUPS LINKS - Visit your group flexcodershttp://groups.yahoo.com/group/flexcoders on the web. - To unsubscribe from this group, send an email to: [EMAIL PROTECTED] [EMAIL PROTECTED] - Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/. -- -- 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 -- Flexcoders Mailing List FAQ: