I second Dave’s 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:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolf
Sent: Wednesday, March 15, 2006
8:24 PM
To: [email protected]
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 [email protected], 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
YAHOO! GROUPS LINKS
|