[flexcoders] Muliple flex apps on tomcat

2006-03-15 Thread Jeff Krueger


All,

 I am trying to run basically the same web app as two instances on the same server. So I have the same warsbutwith 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 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 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] Muliple flex apps on tomcat

2006-03-15 Thread Jeff Krueger


All,

 I am trying to run basically the same web app as two instances on the same server. So I have the same warsbutwith 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 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 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.



  








Re: [flexcoders] Muliple flex apps on tomcat

2006-03-15 Thread Clint Modien



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.5 GB 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 warsbutwith 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 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 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 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.