Flex spring security

hi,
I need to know permision based security framwork called chimp in flex.I am using spring in backend.Any ideas?

ok.
you can use spring security as your server side security framwork. In spring there are two way security
URL blocking
method level security
As you know Chimp is a permision based security framwork.
and you can mention the
you can decelare the activities for paticular role as follows
    <!--Meta Data here-->
    <fx:Metadata>
        [Protected(permissions="admin",inPermissionAction="visible",componentId="btnAdd")]
        [Protected(permissions="admin",inPermissionAction="visible",componentId="fmAdmin")]
        [Protected(permissions="user",notInPermissionAction="enable",componentId="btnDelete")]
        [Protected(permissions="user",notInPermissionAction="removeChild",componentId="btnList")]
        [Protected(permissions="user",notInPermissionAction="removeFromLayout",componentId="btnFi nd")]
    </fx:Metadata>
you can load chimp security as follows
do this initialy
            private function create():void {
                //load the chimp
                 var perms:ArrayCollection = new ArrayCollection();
                perms.addItem("user");//load role
                perms.addItem("update");               
                Chimp.load(perms);               
do this when role change add/remove/override
            private function addPerm(event:Event):void {
                Chimp.addPerm(cmbRole.selectedItem);
            private function removePerm(event:Event):void {
                Chimp.removePerm(cmbRole.selectedItem);
            private function overwritePerms(event:Event):void {
                var perms:ArrayCollection = new ArrayCollection();
                perms.addItem(cmbRole.selectedItem);
                Chimp.updatePerms(perms);
For spring security use the link
http://www.springbyexample.org/examples/simple-spring-security-webapp-spring-config.html
thnx

Similar Messages

  • Blazeds + Spring security: fetch data based on current user

    Hi,
    I'm currently learning flex by trying to build an application with
    flex, blazeds and Spring. My application lets users log on using
    spring security (which I will probably combine with
    AcegiLogonCommand). I would like my assemblers to return different
    data based on which user is currently logged on (for instance to show
    that specific user's to-do list). To do this, I added a userId
    property to my spring security principals (by subclassing
    org.springframework.security.userdetails.User)
    and added user_id columns to user-specific data in the database. Now
    I would like to know how I can get the currently logged on user in my
    assembler so I can use its userId to fetch the user's data.
    Is the assembler the right place to decide which data to send to my
    flex application? If so, can anyone tell me how to determine which
    user is currently logged on in my assembler? If not, what would be the
    recommended way of dealing with user-specific data in my database in
    combination with blazeds?
    The only examples I have been able to find on the Internet so far only
    use different roles to determine what a user is or is not allowed to
    do, I have yet to find any examples where users store and retrieve
    user-specific data.
    Kind regards,
    Jeroen

    Hi,
    There is a field “Target Audience” in list whenever “Target Audience” is enable in “List Settings”, it accepts the name of a SharePoint group.
    For your requirement, you will need to get the name of the group which the current user belongs to. Then perform a query in a specific list to get all the items that
    contains the specific value in “Target Audience” field.
    Here is a code snippet about how to set Target Audience for an item, there are code lines about
    how to get the value of a “Target Audience” field:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/a3ac41d8-42e9-4ec7-999f-036c4b06d3e2/programatically-set-target-audience-in-list-item
    A method about checking whether the current user is a member of the specified group:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.iscurrentusermemberofgroup.aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Exception created : flex.messaging.security.SecurityException

    Hi ,
    The message below keep appearing in the systemout.log file. Any idea?
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet documents in application LiveCycleES2. Exception created : flex.messaging.security.SecurityException
        at com.adobe.workspace.users.Authentication.validateContext(Authentication.java:445)
        at com.adobe.workspace.tasks.DocumentServlet.doGet(DocumentServlet.java:166)
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[documents]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext. java:637)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1187)
    -Dhiyane

    Hello Nitin,
    i didnt say that its working fine with ATG REST. i mentioned that its working fine with 10.0.2 version of ATG but not with ATG10.1.1 . Also i am using SOAP only in both the versions. i am getting the boolean exception in the line where will i pass username, password and ispasswordEncrpted. i am passing defalut username,
    password and false(ispasswordencrypted).
    so can you help me on this.
    i am pasting my clinet program here
    public class LoginClient {
      * @param args
      * @throws RemoteException
      * @throws ServletException
      * @throws SecurityException
      * @throws ServiceException
      public static void main(String[] args) throws SecurityException, ServletException, RemoteException, ServiceException {
      /*System.getProperties().put("socksProxyHost", "172.26.183.65");
      System.getProperties().put("socksProxyPort", "8180");*/
      LoginUserSEIService loginService = new LoginUserSEIServiceLocator();
      LoginUserSEI loginStub = loginService.getLoginUserSEIPort();
      org.apache.axis.client.Stub axisStub = (org.apache.axis.client.Stub) loginStub;
      CookieContainer cookieContainer = new CookieContainer();
      axisStub.setMaintainSession(true);
      // Don't allow XML elements to reference other XML elements
      axisStub._setProperty(AxisEngine.PROP_DOMULTIREFS, new Boolean(false));
      // Push cookies onto the Stub
      cookieContainer.pushCookies(axisStub);
      String userId = loginStub.loginUser("[email protected]", " password", false);
      // Get cookies out of the Stub, and pass them to subsequent calls as needed
      cookieContainer.extractCookies(axisStub);
      System.out.println("User ID : " + userId);

  • Using existing Security Providers with Spring Security

    Has anyone successfully tied their existing WLS JAAS security providers in to the Spring Application Context? I can't seem to find any documentation on how to do this. I've got providers that work correctly in WLS 10.0 MP 1 for a Struts application and I'm developing a new application in Spring MVC and I'd like to use Spring Security (formerly acegi) but I'd like to share the security providers the other application is using since they've already been reviewed/approved by our internal security team.

    A JAAS Authentication Provider along with a JAAS Login Module
    A JAAS Identity Asserter
    A JAAS Role Mapping Provider

  • How to configure simple project JSF 2.1 with any Spring Security?

    Hi guys,
    I need something for beginning, very basic configuration for JSF 2.1 + Spring Security?
    Or may by do you know nice and simple security for JSF projects?
    Thx

    Hi,
    I rode Spring manual ;-)
    It doesn't help me to integrate JFS+SpringSecurity.
    Propably because I pretty new in security apps.
    Already, I don't know Maven :-( I've never use it.
    +"You'd have to explain what your requirements are. If it is basic user authentication only then you can just use the authentication services built into the JEE specification, which you should research."+
    I mean: User can log into service and has rights only for specific files (jsf).
    I would be grateful for any help.
    Thx
    ps.
    I can set at list basic Spring+Spring Security.
    I've tried "JDBC security realm with glassfish", it works, but setting it is nightmare for me.
    Edited by: val75 on Jan 24, 2013 1:46 PM

  • Flex encounters "Security error accessing url.Unable to load WSDL"

    i have created a flex application which connects to SAP via web service.
    when i try to run my flex application i encounter the following error.
    "Security error accessing url.Unable to load WSDL"
    i went through various posts relating a BSP application and crossdomain.xml
    i have created the crossdomain.xml file in the application and
    i tried those options and still not able to figure out the problem.
    the security error is because of the absence of the crossdomain.xml file, and in which path should i be saving the file?
    Kindly help me solve the problem.
    Thanks in advance.

    Have you seen this blog
    "Crossdomain.xml" in ABAP Web AS Server cache

  • Flex/Spring UserDetailsService issue

    I'm fairly new to both Flex and Spring.  I can get them to communicate and have no issues there, I can even authenticate a user from lines in my database.  I've implemented my own UserDetailsService which returns my own custom UserDetails object with some extra user information in it.  This is where my problem is.
    I need to login with more information than just a username and password.  I need to also check to make sure that they also put in the proper first name and last name.  I can't seem to figure out where to validate that.  I'm doing the standard:
    ro.channelSet.login(number.text, password.text)
    but I can't pass anything else into it.
    Any suggestions?

    This can be done by using <mx:Reparent/> tag.

  • Need Flex 2 security pointers

    I'm a fairly new Flex 2 developer, and I've recently read a
    number of blog posts and such that mention Flash security
    vulnerabilities.
    I know a Flex 2 application can be decompiled, and that
    basically means little or no Flex 2 client code is secure. Other
    than the obvious choices of not including passwords and secure
    information within your code, how else might this fact expose the
    security of my application?
    Are there other not-so-obvious security gotchas that every
    Flex 2 developer should know about? Some of the Flash Player
    Security Advisories are confusing. Do I need to force my users to
    download a certain minimum version of Flash to be secure?
    The application I'm building will be on the internet, and
    must be very secure. Is Flex not the right choice for an Internet
    application with tight security requirements?
    Thanks,
    Tom

    I want to apologize for soliciting the talents of Flex
    programmers in these hallowed halls.
    Would someone please direct me to more appropriate places
    where I might find developers for Flex 2.01 that are competent and
    available.
    In Regret.
    Joe Terry

  • Flex - Spring - BlazeDC

    Hello!!
    I`m develop little example with Adobe tutorial:
    http://www.adobe.com/devnet/livecycle/articles/blazeds_spring_05.html
    Deploy is Done!!!! But when applicattion started I had error
    by celling RPC:
    [FaultEvent fault=[RPC Fault faultString="Send failed"
    faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Failed: url: '
    http://localhost:8400/messagebroker/amf'"
    messageId="88205208-79EC-E149-2FE7-24D288A04302" type="fault"
    bubbles=false cancelable=true eventPhase=2]
    What is the error?

    it's a standard message if your client can't connect to the
    amf servelet.
    your amf servlet url appears to be
    http://localhost:8400/messagebroker/amf.
    is your blazeds is hosted under
    http://localhost:8400/blazeds?
    in that case, you need to go to the project property and correct
    the server configuration.

  • BlazeDS/Security/Spring/NonBlazeDS/NonSpring/Confusion Oh My

    I'm new to Flex (coming over from the pure JEE world.) One of the first things that is needed for any application is security authentication/authorization. I've been extremely disappointed, though, in the lack of good examples with best practices on how to handle this, or if there is a book that covers it well let me know and I'll purchase it.
    I'm working with BlazeDS at the moment (but not opposed to scrapping it.)
    I have managed to finally get a security setup using blazeds-spring integration working, but their forum is a ghost town so it makes me think that there aren't many people using it. The docs are also extremely vague. Had it not been for some stuff that I was able to pull from these two tutorials by the same author http://www.adobe.com/devnet/flex/articles/flex_security.html#ach-setscr  http://www.gridshore.nl/2009/05/24/integrate-flex-security-in-mate-using-the-spring-blazed s-integration-project/ I would have been completely lost. Even though it's 'mostly' working, so much is unknown to me, and because the reference doc http://static.springsource.org/spring-flex/docs/1.0.x/reference/html/index.html is so short it doesn't cover a lot of what is going on.
    I'm not even 100% certain I want to use Spring though (It seems to actually black-box too much and in some ways overcomplicate things with a lot of configuration), yet I want my application be portable across containers. Where are the examples on the best way to set things up? The blazeds reference doc chapter seems to gloss over a lot, and only confuses me a bit more. I'd like to see some real examples.
    As an example of some things that I'd like to see:
    1) When not using Spring security, where is a concrete implementation of handling authentication and authorization (with/without blazeDS - I just want a good best practice example of how things are handled)?
    2) How are people dealing with session time outs? (user clicking around in application and then they happen to make a server call but their session is gone. Do you simply poll every few minutes to keep the session alive?)
    3) Are people putting up a filter up before the blazeDS filter to check the user's session is valid? If the session isn't valid and you've set up a filter, what happens on the flex side of things if the filter finds an invalid session? It can only redirect for forward so how does it trigger the client flex app that it needs to invalidate its internal storage of an authenticated user and hence needs to redisplay the login page. I know how to set things up in a traditional java web app, but I'm a bit stumped here... I only have one main "FooBar.swf" file, so when the sesison filter realizes the user's session timed out where do I "go" - can I somehow just redirect to the same main page "FooBar.swf" and somehow Flex can be aware that "Hey ok some event happened so I need to invalidate my flex user and present the login page (login component)"
    Thanks for any suggestions/help on what to look at for best practices.

    Hi,
    Did you got any ideas on this one? As a newcomer to Flex/BlazeDS I'd like hear those?
    I'll add my thoughts to the discussion you started.
    2) How are people dealing with session time outs? (user clicking around
    in application and then they happen to make a server call but their
    session is gone. Do you simply poll every few minutes to keep the
    session alive?)
    I check the session in a filter for each request. If there's no valid session, the filter sends a response message to flex app which shows it as a Alert message.I'm not (yet) using blaze, but I don't see why it wouldn't work.
    If you want, you can configure the session timeout in the web.xml of your web app, so no need to poll. It would be nice to get asynchronous event from the server side when the session times out. This requires to use the pub/sub method of blaze or java messaging on a servlet.
    The web.xml of the blazeDS samples has the following lines
    <!-- Http Flex Session attribute and binding listener support -->
        <listener>
            <listener-class>flex.messaging.HttpFlexSession</listener-class>
        </listener>
    To me this indicates that you can define a listener for the session somehow. It would be nice to know more about this.
    3) Are people putting up a filter up before the blazeDS filter to check
    the user's session is valid? If the session isn't valid and you've set
    up a filter, what happens on the flex side of things if the filter
    finds an invalid session? It can only redirect for forward so how does
    it trigger the client flex app that it needs to invalidate its internal
    storage of an authenticated user and hence needs to redisplay the login
    page. I know how to set things up in a traditional java web app, but
    I'm a bit stumped here... I only have one main "FooBar.swf" file, so
    when the sesison filter realizes the user's session timed out where do
    I "go" - can I somehow just redirect to the same main page "FooBar.swf"
    and somehow Flex can be aware that "Hey ok some event happened so I
    need to invalidate my flex user and present the login page (login
    component)"
    Why not just have different swfs? When the session is not valid, redirect to login.html (a wrapper for login component).
    If I have understood correctly, Flex uses HTTP GET method to communicate with the browser. So it might be possible to send parameters to the app after the filter. Also, using java script and external interface might be helpful here.

  • Publishing my flex application in external server (Channel.Security.Error error Error #2048)

    when i publish my flex application in an external server i get that error if my flash builder beta 2 is closed in my system , i did configure an endpoint to the dataservice to point to the external server and if i run my flash builder and any body browser the site it open and they can access the data from my application but if i close my flash builder we have this error all of us
    Send failed
    Channel.Security.Error error Error #2048: Security sandbox violation:
    http://www.dcecrak.com/Maine.swf cannot load data from
    http://localhost:37813/flex2gateway/?hostport=www.dcecrak.com&https=N&id=-1. url:
    'http://www.dcecrak.com/flex2gateway/'
    i created a crossdomain.xml file and put it in the web root , if i try to open the link http://www.dcecrak.com/flex2gateway  it open with blank page this means that every thing is oky , my service-config file looks like that :
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
        <services>
            <service-include file-path="remoting-config.xml" />
            <service-include file-path="proxy-config.xml" />
            <service-include file-path="messaging-config.xml" />
        </services>
        <security>
            <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/>
            <!-- Uncomment the correct app server
            <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/>
            <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/>
            <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/>
            -->
            <!--
            <security-constraint id="basic-read-access">
                <auth-method>Basic</auth-method>
                <roles>
                    <role>guests</role>
                    <role>accountants</role>
                    <role>employees</role>
                    <role>managers</role>
                </roles>
            </security-constraint>
            -->
        </security>
        <channels>
            <!--  CF Based Endpoints -->
    <channel-definition id="dcecrak" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://www.dcecrak.com/flex2gateway/" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
                <properties>
                      <add-no-cache-headers>false</add-no-cache-headers>
                            <polling-interval-seconds>8</polling-interval-seconds>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                        <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <channel-definition id="cf-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling" class="coldfusion.flash.messaging.CFAMFEndPoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>8</polling-interval-seconds>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                        <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="coldfusion.flash.messaging.SecureCFAMFEndPoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                            <add-no-cache-headers>false</add-no-cache-headers>
                            <serialization>
                                  <enable-small-messages>false</enable-small-messages>
                            </serialization>
                            <coldfusion>
                                <!-- define the resolution rules and access level of the cfc being invoked -->
                                  <access>
                                        <!-- Use the ColdFusion mappings to find CFCs-->
                                        <use-mappings>true</use-mappings>
                                        <!-- allow "public and remote" or just "remote" methods to be invoked -->
                                        <method-access-level>remote</method-access-level>
                                  </access>
                                  <!-- Whether the Value Object CFC has getters and setters. Set the value of use-accessors to true if there are getters and setters in the Value Object CFC. -->
                                  <use-accessors>true</use-accessors>
                                  <!--Set the value of use-structs to true if you don't require any translation of ActionScript to CFCs. The assembler can still return structures to Flex, even if the value is false. The default value is false.-->
                                  <use-structs>false</use-structs>
                                  <property-case>
                            <!-- cfc property names -->
                            <force-cfc-lowercase>false</force-cfc-lowercase>
                            <!-- Query column names -->
                            <force-query-lowercase>false</force-query-lowercase>
                            <!-- struct keys -->
                            <force-struct-lowercase>false</force-struct-lowercase>
                        </property-case>
                            </coldfusion>
                </properties>
            </channel-definition>
            <!--  Java Based Endpoints -->
            <channel-definition id="java-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
            </channel-definition>
            <channel-definition id="java-secure-amf" class="mx.messaging.channels.SecureAMFChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            </channel-definition>
            <channel-definition id="java-polling-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>true</polling-enabled>
                    <polling-interval-seconds>8</polling-interval-seconds>
                </properties>
            </channel-definition>
            <!--
            <channel-definition id="java-http" class="mx.messaging.channels.HTTPChannel">
                <endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/http" class="flex.messaging.endpoints.HTTPEndpoint"/>
            </channel-definition>
            <channel-definition id="java-secure-http" class="mx.messaging.channels.SecureHTTPChannel">
                <endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/>
            </channel-definition>
            -->
        </channels>
        <logging>
            <target class="flex.messaging.log.ConsoleTarget" level="Error">
                <properties>
                    <prefix>[BlazeDS] </prefix>
                    <includeDate>false</includeDate>
                    <includeTime>false</includeTime>
                    <includeLevel>false</includeLevel>
                    <includeCategory>false</includeCategory>
                </properties>
                <filters>
                    <pattern>Endpoint.*</pattern>
                    <pattern>Service.*</pattern>
                    <pattern>Configuration</pattern>
                    <pattern>Message.*</pattern>
                </filters>
            </target>
        </logging>
        <system>
            <manageable>false</manageable>
            <!--
            <redeploy>
                <enabled>true</enabled>
                <watch-interval>20</watch-interval>
                <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file>
                <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file>
                <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
            </redeploy>
             -->
        </system>
    </services-config>
    and my crossdomain.xml looks like that :
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="all"/>
    <allow-access-from domain="localhost" to-ports="*" secure="false"/>
    <allow-access-from domain="*" to-ports="*" secure="false"/>
    <allow-http-request-headers-from domain="*"/>
    </cross-domain-policy>
    really its strange only the site works if my flash builder is running , please help

      Thanks all for your attention, i have solved my problem and i think its a bug in the flash builder , the problem was that when you compile the application and you enabling Network Monitoring , the communication of the AMF channels done throw the  http://localhost:37813/flex2gateway/
    and that was the problem if you close the flash builder on your system that getaway dose not exist and on the hosted server there is no such address localhost by this port also so the client application witch is catch in you system try to access your localhost and that cause a security error and the address is also not exist .
    so the solution or we have to compile the project after we disable the Network Monitoring in flash builder .

  • Security settings - Navigating flex projects locally

    I have created a navigation-project that consist of links to
    my other projects. This is meant for my own use and my own machine.
    Running it on IE gives me a 'SecurityError: Error #2148 -
    Navigator.swf cannot access local resource'
    Reading about Flex / Flash security gives me headaches so I`m
    wondering if anyone can give me a SIMPLE recipe for setting this up
    to work.

    You need to make this an AIR app. Flex cannot acces local
    hard drive, AIR (written in Flex is okay), can access local hard
    drive.

  • Deployment error in JBoss ( Flex and Spring Integration )

    The Flex- Spring Integration Application works in Tomcat but it gives the followin error when deployed in JBoss.
    11:26:58,000 INFO  [[/clv-web]] Initializing Spring root WebApplicationContext
    11:26:58,785 INFO  [[/clv-web]] Initializing Spring FrameworkServlet 'blazeds'
    11:27:02,602 ERROR [[/clv-web]] StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBrokerDefaultHandlerMapping': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:521)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
              at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
              at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
              at javax.servlet.GenericServlet.init(GenericServlet.java:212)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
              at $Proxy38.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
              at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
              at org.jboss.system.ServiceController.start(ServiceController.java:460)
              at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
              at org.jboss.Main.boot(Main.java:221)
              at org.jboss.Main$1.run(Main.java:556)
              at java.lang.Thread.run(Unknown Source)
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_messageBroker': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1403)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
              at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
              at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
              at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
              at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
              at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
              at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
              at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
              at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
              at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
              at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
              ... 85 more
    Caused by: org.springframework.beans.factory.BeanInitializationException: MessageBroker initialization failed; nested exception is java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
              at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:185)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
              ... 104 more
    Caused by: java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
              at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
              at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
              at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
              at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
              at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
              at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
              at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
              at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
              at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
              at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
              ... 106 more
    11:27:02,607 ERROR [[/clv-web]] Servlet /clv-web threw load() exception
    java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault cannot be cast to org.apache.xml.dtm.DTMManager
              at org.apache.xml.dtm.DTMManager.newInstance(DTMManager.java:137)
              at org.apache.xpath.XPathContext.<init>(XPathContext.java:102)
              at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:115)
              at org.apache.xpath.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99)
              at org.apache.xpath.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:184)
              at org.springframework.flex.config.FlexConfigurationManager$CachingXPathServerConfigurationP arser.selectSingleNode(FlexConfigurationManager.java:257)
              at flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationPa rser.java:46)
              at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 69)
              at org.springframework.flex.config.FlexConfigurationManager.getMessagingConfiguration(FlexCo nfigurationManager.java:108)
              at org.springframework.flex.core.MessageBrokerFactoryBean.afterPropertiesSet(MessageBrokerFa ctoryBean.java:128)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMe thods(AbstractAutowireCapableBeanFactory.java:1460)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1400)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
              at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFac tory.java:392)
              at org.springframework.context.support.AbstractApplicationContext.isSingleton(AbstractApplic ationContext.java:1064)
              at org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler(Abstrac tUrlHandlerMapping.java:368)
              at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandlers(SimpleUr lHandlerMapping.java:129)
              at org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.initApplicationContext(Si mpleUrlHandlerMapping.java:104)
              at org.springframework.context.support.ApplicationObjectSupport.initApplicationContext(Appli cationObjectSupport.java:119)
              at org.springframework.web.context.support.WebApplicationObjectSupport.initApplicationContex t(WebApplicationObjectSupport.java:71)
              at org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(Applic ationObjectSupport.java:73)
              at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterface s(ApplicationContextAwareProcessor.java:99)
              at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeIni tialization(ApplicationContextAwareProcessor.java:82)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPos tProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBe an(AbstractAutowireCapableBeanFactory.java:1396)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean (AbstractAutowireCapableBeanFactory.java:513)
              at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(A bstractAutowireCapableBeanFactory.java:450)
              at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFac tory.java:290)
              at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Defau ltSingletonBeanRegistry.java:222)
              at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFacto ry.java:287)
              at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory .java:189)
              at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingle tons(DefaultListableBeanFactory.java:562)
              at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitializ ation(AbstractApplicationContext.java:871)
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicatio nContext.java:423)
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:443)
              at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkSer vlet.java:459)
              at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServl et.java:340)
              at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:30 7)
              at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:127)
              at javax.servlet.GenericServlet.init(GenericServlet.java:212)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4417)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeplo yment.java:321)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.ja va:145)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
              at $Proxy38.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycle Action.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim pleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle rContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC ontextActions.java:51)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext .java:297)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
              at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
              at org.jboss.system.ServiceController.start(ServiceController.java:460)
              at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra ctSimpleRealDeployer.java:62)
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer .java:55)
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1172)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja va:1193)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeploye rAdapter.java:117)
              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDepl oyAction.java:70)
              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractP rofileAction.java:53)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(Abstract ProfileService.java:403)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext. java:348)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93 8)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1 082)
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9 88)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
              at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile( AbstractProfileService.java:308)
              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst rap.java:256)
              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
              at org.jboss.Main.boot(Main.java:221)
              at org.jboss.Main$1.run(Main.java:556)
              at java.lang.Thread.run(Unknown Source)
    Thanks.

    Hi,
    you can find deployment stack traces in the following location \ORACLE\806\opmn\logs. i think this might help u.
    I am also facing a problem like com.evermind.compiler.CompilationException: Syntax error in source,did u know cause for this.
    Thanks and Regards,
    Bala

  • Security for deployed Flex Apps

    I know that there are many decompilers available for .SWF
    files. How can you make your Flex apps secure ?
    I have seen this product, is this reccomened for flex
    http://www.amayeta.com/software/swfencrypt/

    Refer tohttp://www.oracle.com/technology/documentation/1012_solaris/install.1012/install/ports.htm

  • Securely embedding a flex application in a J2ee application

    Hello,
    I was able to embed a Flex application with blazeDS running inside TOmcat with my existing webapplication. Note: I have configured blaze DS to run withing my existing web applicaiton lets call it "MyWebApp" by just mapping the messagebroker servlet in web.xml.
    Now, MyWebApp uses form based authentication. My flex app is just a part of one of the pages in MyWebApp. The user authenticates with MyWebApp.
    Question is: In my Flex application HOW DO I ENSURE THAT THE USER HAS logged in using MyWebApp.???..
    On the same lines, how do I secure the Remoting endpoints on the server?

    Hey Thanks for replying.
    My toomcat web.xml aslready has the auth-method set to 'Form'. So I d onot understand why should I define it again in the services-config.?.. I refered to the live docs but they do not explain how this will work
    Appreciate your help!!
    <security>
        <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat">
            <per-client-authentication>false</per-client-authentication>
        </login-command>
       <security-constraint id="trusted">
            <auth-method>Basic</auth-method>
            <roles>
                <role>employees</role>
                <role>managers</role>
            </roles>
        </security-constraint>
    </security>   

Maybe you are looking for

  • Select table columns dynamically at runtime

    Hi All, I've the requirement where user wants to see report columns based on certain parameters. Report contains revenue data for range of periods for a transaction, and each period is a column in table (period starting from 01-JAN-2010 to 31-DEC-202

  • Single user mode using from laptop

    Hi, I need to booting off the CDRom Solaris to rebuilding the server. But unfortunately, I am connect the laptop into the Sunfire V240 and I do not know how to make it boot in cdroom, since the laptop doesn't have a "Stop" key as Unix keyboard. Can y

  • User/library folder moved

    The Problem is that my library folder accidentally is moved. Then mac os x made a new Library Folder. The strange think is that i can't move that folder or overwrite it with my original library folder. So how did it move in the first place? How can i

  • What word do I type in the URL window to access certain options?

    Help! My personal memory has been blanked. I recall there was something I used to type in the URL window to get Firefox into a rather advanced prefs /options page, but I cannot remember what it was.

  • Cannot change shortcut for activating app expose

    Hello, I can't seem to reassign the shortcut key for "Application windows" in exposé. I can change the key in the Exposé preference panel, which has a limited set of keys. But I cannot change it to an arbitrary shortcut (e.g. opt-s) in the keyboard p