Hi,
In order for mxml to work properly, you have to put it under a flex
"enabled" web app. If http://localhost:8200/samples/ brings up your flex
sample, that means you have deploy the sample to
D:\JRun4\servers\flex\samples. Now, if you want to deploy the flex.war, then
you should extract the flex.war into D:\JRun4\servers\flex\flex. 
Here, the first flex is your server name, the second flex is the flex app
name. flex.war should be deploy under the server root, which is
D:\JRun4\servers\flex, not under 
D:\JRun4\servers\flex\default-ear\default-war

Now if you put the hello.mxml to D:\JRun4\servers\flex\flex\hello.mxml, then
you can access it via http://localhost:8200/flex/hell.mxml (if the port is
8101, then use that port). 

-lin

-----Original Message-----
From: Bradley [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 11, 2005 9:38 AM
To: [email protected]
Subject: [flexcoders] Flex Samples running, but nothing else works??



Alright, I got FLEX installed on IIS over JRun. Now I created a new
Server via the JRun Management Console and called it 'Flex', on port 8101.

When I browse to http://localhost:8200/samples/ however is when the
Flex samples appear. And they appear to run just fine. However if I
create my OWN hello.mxml file and place it here (where i have the
'Flex' server referenced)

D:\JRun4\servers\flex\default-ear\default-war


Then I get all the contents of the hello.mxml file rendered out as xml
in the browser.... no error or anything, just xml text.

So I must have some sort of pathing problem on the server setup,
strange this is that I never meant to install the Flex samples, all I
extracted was the Flex.war in the
D:\JRun4\servers\flex\default-ear\default-war folder.

So with all that said here area few notables..... yes JRun is running
properly, flex appears to render fine when running the samples,
therefore its not a MIME type issue.

Oh god ANY help would be great and really appreciated, I am just
trying to learn all this and its turning out to be a nightmare!

Please feel free to IM me on Yahoo! @ [EMAIL PROTECTED] if you have the
time, I always like to chat with fellow developers/geeks!!!!

Thanks all.






Yahoo! Groups Links








Reply via email to