[EMAIL PROTECTED] Tue Apr 13 07:04:42 2004
Return-Path: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Apparently-To: [email protected]
Received: (qmail 5427 invoked from network); 13 Apr 2004 14:04:41 -0000
Received: from unknown (66.218.66.166)
  by m23.grp.scd.yahoo.com with QMQP; 13 Apr 2004 14:04:41 -0000
Received: from unknown (HELO p01mgw01.macromedia.com) (216.104.212.90)
  by mta5.grp.scd.yahoo.com with SMTP; 13 Apr 2004 14:04:41 -0000
Received: from S1001EXM02.macromedia.com ([10.4.48.132])
  by p01mgw01.macromedia.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id 
i3DE4coH009998
  for <[email protected]>; Tue, 13 Apr 2004 07:04:39 -0700 (PDT)
Received: by S1001EXM02.macromedia.com with Internet Mail Service (5.5.2657.72)
  id <G3CST06F>; Tue, 13 Apr 2004 10:04:38 -0400
Message-ID: <[EMAIL PROTECTED]>
To: Brandon Purcell <[EMAIL PROTECTED]>,
  "''[email protected]' '" <[email protected]>
Date: Tue, 13 Apr 2004 10:04:38 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2657.72)
List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
X-Apparently-To: [EMAIL PROTECTED]
X-Mailer: [EMAIL PROTECTED]
X-eGroups-Remote-IP: [EMAIL PROTECTED]
Content-Type: text/plain;
  charset="iso-8859-1"
X-eGroups-Remote-IP: 216.104.212.90
From: Eric Anderson <[EMAIL PROTECTED]>
Subject: RE: [flexcoders] How to add deploy Application to FLEX?
X-Yahoo-Group-Post: member; u=181569521
X-Yahoo-Profile: eric_david_anderson

One more way to deploy this to make it really an 'official' J2EE app is to
include Flex in an EAR file. In the defaul JRun installation you would put
flex-war in the following location:

/opt/jrun4/servers/default/default-ear/flex-war

You would then edit the application.xml to include the Flex web application.
Note, the application.xml is located in here:

/opt/jrun4/servers/default/default-ear/META-INF/application.xml

You would edit the file as follows to include Flex:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd";>
<application>
<display-name>default-ear</display-name>
<module>
<web>
<web-uri>default-war</web-uri>
<context-root></context-root>
</web>
</module>
<module>
<web>
<web-uri>flex-war</web-uri>
<context-root>/flex</context-root>
</web>
</module>
<module>
<ejb>default-ejb</ejb>
</module>
</application> 

If you have hot deloy enabled the default application should redeploy. If
not, just restart JRun and you should now have Flex included in the default
ear.

Eric


-----Original Message-----
From: Brandon Purcell
T

o: '[email protected]'
Sent: 4/13/2004 6:36 AM
Subject: RE: [flexcoders] How to add deploy Application to FLEX?

You cannot simply copy the samples folder to the aashu folder as that
directory structure is not a valid J2EE application. You would need to
copy the contents of the /samples folder and copy it to /aashu so that
the directory structure would be as follows.

file:/D:/Program Files/Macromedia/Flex/jrun4/servers/default/aashu/

../aashu/WEB-INF/
........................./flex
../aashu/allsamplefolders....

Brandon

<mailto:[EMAIL PROTECTED]> 
-----Original Message-----
From: Ashvin Savani (arckid) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 13, 2004 5:17 AM
To: [email protected]
Subject: RE: [flexcoders] How to add deploy Application to FLEX?



Yeah I did ... I could only copied once I stopped the server ... as some
files were in use ... should I have to modify any other files as now
name become "aashu" instead of "samples"? or I have to add in some
server file that new application with name "aashu" added at some path?



Regards,

Ashvin Savani (arckid) 

Team Macromedian
("Flash" + (" MX" || "Com" || " Remoting")) && (PHP && MySQL) Developer


_____ 


From: Steven Webster [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 13, 2004 2:28 PM
To: [email protected]
Subject: RE: [flexcoders] How to add deploy Application to FLEX?



What I did ... just copied whole samples folder to new name called aashu
and the are in default folder. 



Did you restart JRun ? It has to be restarted to read in the web.xml,
flex-config.xml ,etc....



Steven




_____ 

Yahoo! Groups Links


*       To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<http://groups.yahoo.com/group/flexcoders/> 


*       To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 


*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 



Reply via email to