Re: [flexcoders] Installing Flex under a full Jrun

2005-02-15 Thread Ketan R Bengali
Content-type: text/plain;
format=flowed
Content-Disposition: inline


hello,

we have done the same thing but for the sample.war
and path is
http://localhost:8100/

but in samples session code is not working .
what will be the problem.
Asking for whitelist error
path
http://localhost:8100/explorer/misc/ServerSessionDemo.mxml


Sagar




RE: [flexcoders] Installing Flex under a full Jrun

2005-02-15 Thread Abdul Qabiz



Hi Sagar,If you install samples 
at http://localhost:8100/samples/, you won't 
get an error because, by default Samples/WEB-INF/flex/flex-config.xml comeswith 
pre-defined whitelist.If you open "WEB-INF/flex/flex-config.xml" and 
lookfor followingxml node:

remote-objects 
!-- all locations may be specified as a URL relative to the web server 
document 
root, 
or a complete http URL; to specify relative to the context root, 
please 
include 
{context.root} 
NOTE: do not use a leading slash with {context.root} 
-- !-- The location of 
the AMF Gateway. The value below is 
used 
when calling a page over http or when protocol is specified as http 
-- 
amf-gateway{context.root}/amfgateway/amf-gateway 
!-- The location of the AMF Gateway to use when calling a page over 
https 
or when protocol is specified as https 
-- 
amf-https-gateway{context.root}/amfgateway/amf-https-gateway 
!-- use proxy specified via flashvars or query parameter ?remoteURL=XXX 
-- 
allow-url-overridefalse/allow-url-override 
!-- a list of urls accessible via this remote objects proxy 
-- 
whitelist 
!-- whitelist config for unnamed objects 
-- 
unnamed 
sourcesamples.*/source 
sourcesamples/source 
!-- 
Uncomment the source element below to enable access to all 
classes 
during 
development. 
We strongly recommend not allowing access to all source 
files 
in production, since this exposes Java and Flex system 
classes. 
source*/source 
-- 
/unnamed 
!-- whitelist config for named objects 
-- 
named 
object 
name="SampleEmployeeRO" 
sourcesamples.explorer.EmployeeManager/source 
typestateful-class/type 
allow-unnamed-accesstrue/allow-unnamed-access 
/object 
/named 
/whitelist 
/remote-objects
See the highlighted section, it needs to be changed to 
accoringly if you want to access the service. You can also read the 
comments below those red lines, which says, if you do

source*/source, you would be able to access 
all the classesWhich is indeed not a recommended for production 
environment.


So you can now change sourcesamples.*/source 
to source*/source, to make your application work.

Please look at the Flex docs for more: http://livedocs.macromedia.com/flex/15/flex_docs_en/0786.htm. Please go through the documentation for guidelines and best 
practices to avoid any mistake or problems at later times.


Hope that helps,

-abdul


-Original Message-From: Ketan R Bengali [mailto:[EMAIL PROTECTED]]Sent: Tuesday, February 15, 2005 2:53 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Installing Flex under a 
full JrunContent-type: 
text/plain; 
format=flowedContent-Disposition: inlinehello,we have 
done the same thing but for the sample.war and path is http://localhost:8100/but in 
samples session code is not working .what will be the problem.Asking for 
whitelist errorpathhttp://localhost:8100/explorer/misc/ServerSessionDemo.mxmlSagar


Installing Flex under a full Jrun

2005-02-07 Thread greenfishinwater

I have been successfully using Flex with the integrated Jrun
enviroment. I am now setting up a new Jrun environment on a different
box, on top of which I will install Flex.

I notice that after installing Jrun, there are 2 servers running,
Admin and default. Do I need the admin server? Should I install Flex
under default, or should I create a new server?

I have briefly browsed the Macromedia site for Jrun and cannot find
any documentation about the admin server, or default server, can
anybody point me in the right direction.

Thank you








RE: [flexcoders] Installing Flex under a full Jrun

2005-02-07 Thread Benoit Hediard
No need to create a new server.
Just create a flex folder under default server and unzip flex.war in it.
Start Jrun default server.
  
You should then be able to access mxml files.
Ex. : http://localhost:8100/flex/SomeApp.mxml


Benoit Hediard

-Message d'origine-
De : greenfishinwater [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 7 février 2005 13:11
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Installing Flex under a full Jrun



I have been successfully using Flex with the integrated Jrun enviroment. I
am now setting up a new Jrun environment on a different box, on top of which
I will install Flex.

I notice that after installing Jrun, there are 2 servers running, Admin and
default. Do I need the admin server? Should I install Flex under default, or
should I create a new server?

I have briefly browsed the Macromedia site for Jrun and cannot find any
documentation about the admin server, or default server, can anybody point
me in the right direction.

Thank you






 
Yahoo! Groups Links



 










RE: [flexcoders] Installing Flex under a full Jrun

2005-02-07 Thread Allen Manning



Matt,

Thanks for clearing up my ambiguity...

Rather -Disabling the admin service does notprevent 
you from running another JRUN server on a different port. The Admin 
service running is not required to run other servers from other 
ports.

I think that is clearer...

Allen


From: Matt Horn [mailto:[EMAIL PROTECTED] 
Sent: 07 February 2005 15:37To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Installing Flex 
under a full Jrun

Note that you can have any number of Jrun servers running. 
You don't have to disable the Admin server to run a new one. The limitationis 
that each server requires a unique port. 

There's extensive JRun documentation about installing, 
configuring,and using JRun servers in the JRun Administrator's Guide 
here:

http://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/contents.htm

hth,

matt h



From: Allen Manning [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 07, 2005 7:17 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] InstallingFlex 
under a full Jrun

Hello,

The Admin Server is only for the JRUN Administrator Web 
Application. You can disable that to run another server 
instance.

HTH,
Allen








Allen 
Manning, Technical Director 

Prismix 
Ltd t: +44 (0)870 749 1100 f: 
+44 (0)870 749 1200 w: www.prismix.com 









From: greenfishinwater 
[mailto:[EMAIL PROTECTED] Sent: 07 February 2005 
12:11To: flexcoders@yahoogroups.comSubject: [flexcoders] 
Installing Flex under a full Jrun
I have been successfully using Flex with the integrated 
Jrunenviroment. I am now setting up a new Jrun environment on a 
differentbox, on top of which I will install Flex.I notice that 
after installing Jrun, there are 2 servers running,Admin and default.Do I 
need the admin server? Should I install Flexunder default, or should I 
create a new server?I have briefly browsed the Macromedia site for 
Jrun and cannot findany documentation about the admin server, or default 
server, cananybody point me in the right direction.Thank 
you


Re: Installing Flex under a full Jrun

2005-02-07 Thread greenfishinwater

Matt,

Thanks for the link.

--- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:
 Note that you can have any number of Jrun servers running. You don't
have to
 disable the Admin server to run a new one. The limitation is that each
 server requires a unique port. 
 
 There's extensive JRun documentation about installing, configuring, and
 using JRun servers in the JRun Administrator's Guide here:
 

http://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/contents.htm

http://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/contents.ht
 m 
 
 hth,
 
 matt h 
 
 
 _ 
 
 From: Allen Manning [mailto:[EMAIL PROTECTED] 
 Sent: Monday, February 07, 2005 7:17 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Installing Flex under a full Jrun
 
 
 Hello,
 
 The Admin Server is only for the JRUN Administrator Web Application.
You
 can disable that to run another server instance.
 
 HTH,
 Allen
 
 
 
 
 Allen Manning, Technical Director 
 Prismix Ltd t: +44 (0)870 749 1100 f: +44 (0)870 749 1200 w:
www.prismix.com
 http://www.prismix.com 
 
 
 
 
 
 
 _ 
 
 From: greenfishinwater [mailto:[EMAIL PROTECTED] 
 Sent: 07 February 2005 12:11
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Installing Flex under a full Jrun
 
 
 
 I have been successfully using Flex with the integrated Jrun
 enviroment. I am now setting up a new Jrun environment on a different
 box, on top of which I will install Flex.
 
 I notice that after installing Jrun, there are 2 servers running,
 Admin and default. Do I need the admin server? Should I install Flex
 under default, or should I create a new server?
 
 I have briefly browsed the Macromedia site for Jrun and cannot find
 any documentation about the admin server, or default server, can
 anybody point me in the right direction.
 
 Thank you
 
 
 
 
 
 
 _ 
 
 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/ .







RE: [flexcoders] Installing Flex under a full Jrun

2005-02-07 Thread Tracy Spratt
If you set your server up to run as a service, do not use the Admin
tool to stop/start the server. It will cause all kinds of strange
behavior.

Tracy

-Original Message-
From: greenfishinwater [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 07, 2005 7:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Installing Flex under a full Jrun



I have been successfully using Flex with the integrated Jrun
enviroment. I am now setting up a new Jrun environment on a different
box, on top of which I will install Flex.

I notice that after installing Jrun, there are 2 servers running,
Admin and default. Do I need the admin server? Should I install Flex
under default, or should I create a new server?

I have briefly browsed the Macromedia site for Jrun and cannot find
any documentation about the admin server, or default server, can
anybody point me in the right direction.

Thank you






 
Yahoo! Groups Links