I had the same thought, here’s how we’re loading it :

 

<mm:mxml id="raven" source="raven.mxml" border="0">

<mm:param name="domainStr" value="<%= domainStr%>" />

</mm:mxml>

 

So I had tried removing that variable (although I thought it would be passed in via flashvars and not force re-compile) and the result was the same.

 

-Stace

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Friday, August 05, 2005 1:02 PM
To: [email protected]
Subject: RE: [flexcoders] Loading MXML via JSP on WebLogic

 

You gotta imagine there’s some cache setting that just isn’t up to snuff.  I’m assuming the JSP isn’t injecting anything into to the MXML file itself.  What if you pre-compiled the JSP maybe (I assume weblogic has a way of letting you do that)?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Stacy Young
Sent: Friday, August 05, 2005 9:51 AM
To: [email protected]
Subject: RE: [flexcoders] Loading MXML via JSP on WebLogic

 

Ok we’ve made some progress. We’ve resolved the warnings that were coming up on the screen (even though all settings are in production mode)…and load time is down to 12 secs. On our local machines running XP the app loads in just over 4 secs.

 

It appears it’s still recompiling on every request, CPU spikes to about 40% each time we reload.

 

-Stace

 


From: [email protected] [mailto:[email protected]] On Behalf Of Dimitrios Gianninas
Sent: Friday, August 05, 2005 8:02 AM
To: [email protected]
Subject: RE: [flexcoders] Loading MXML via JSP on WebLogic

 

hi Matt,

 

The Flex app is not slow, it just takes long to load everytime. It takes about 45 secs to load everytime and yes CPU usage is high at that time. So it seems to be re-compiling itself everytime? I have modified several options in the flex-config but this has not helped, we are continuing to investigate today. If there is something specific we need to look at, just point it out!

 

Thanks!

 

Dimitrios "Jimmy" Gianninas

RIA Developer

Optimal Payments Inc.

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Matt Chotin
Sent: Thursday, August 04, 2005 12:09 AM
To: [email protected]
Subject: RE: [flexcoders] Loading MXML via JSP on WebLogic

Is the flex app itself slow or does it just seem like it’s taking forever to compile?  What’s the CPU like on the WebLogic machine?  Maybe the JSP is somehow re-generating each time and not caching the MXML?

 


From: [email protected] [mailto:[email protected]] On Behalf Of Dimitrios Gianninas
Sent: Wednesday, August 03, 2005 11:32 AM
To: [email protected]
Subject: [flexcoders] Loading MXML via JSP on WebLogic

 

Hi guys,

 

We are just getting ready to deploy a new Flex app and we encountered something we did not in our previous endeavors. This new Flex app is located inside a JSP page and seems to take a good 45 secs to load, if you access the MXML directly it comes up in 4 secs or so.

 

In a previous app, we had the same setup but it loads quickly. The only difference here is the new app is running on WebLogic 8.1 SP3 and existing Flex app runs on JRun 4 SP5. Anyone else encounter this problem? It is a two server cluster.

 

On local PCs this works fine... Occurs for both Flash Player 7 and 8 beta.

 

Thanks for any help!

 

Dimitrios "Jimmy" Gianninas

RIA Developer

Optimal Payments Inc.

 

 






--
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




Reply via email to