Crossdomain.xml Not Working

Ok, so first off, my environment. I'm working on a flash
application that resides on the web server (192.168.1.74) and the
data its pulling is from a device (192.168.1.77).
On .77 I have a crossdomain.xml. I have attached the
crossdomain.xml file.
The problem I'm having is that while watching the data
communication in a network sniffer, after the GET for
/crossdomain.xml happens, about 75% of the time, nothing gets
returned. When the XML file DOES get returned, there's a HTTP OK
message... and then that's it. None of the communication between
the app and the server happens.
Now, when I run this application in the Flash developer
program thing, it works fine (I'm on .64) so I know the flash code
works. So its either a Browser issue or my crossdomain.xml file is
wrong in some way.

Try adding security="false" inside the next line:
<allow-access-from domain="*"/>
so it would look something like
<allow-access-from domain="*" security="false" />
It fixed the problem for me.

Similar Messages

  • Apache proxypass and crossdomain.xml not working

    Hi everyone,
    I have the following problem. I have set up jboss on a Linux server connecting to local port 8080 (localhost:8080).
    I have opened the application on port 80 with Apache ( www.myDomain.com) and set up a virtual host that proxies
    this connection to localhost:8080 where jboss is listening.
    <VirtualHost *:80>
        DocumentRoot /var/www/nyDomain
        ServerName myDomain.com
        Alias /crossdomain.xml /var/www/html/crossdomain.xml
        # proxy pass to the jboss server
        <IfModule mod_proxy.c>
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Deny from all
            Allow from all
        </Proxy>
        ProxyPass /Stylect http://127.0.0.1:8081/Stylect
        ProxyPassReverse /Stylect http://127.0.0.1:8081/Stylect
        # ProxyPreserveHost on
        </IfModule>
    </VirtualHost>
    The crossdomain.xml file is at the root of the server and can be accessed with www.mydomain.com/crossdomain.xml
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="*" to-ports="*" secure="false"/>
    <allow-http-request-headers-from domain="*" headers="*"/>
    </cross-domain-policy>
    I can see in firebug that it's being downloaded when I first request the page - this is the response:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
      <title>Software as a Service Development. </title>
      <META name="description" content="Description here"><META name="keywords" content="Saas, fashion design, plm, production, nutrition, food, orders">
    </head>
    <frameset rows="100%,*" border="0">
      <frame src="http://xxx.xxx.xxx.xx/crossdomain.xml" frameborder="0" />
      <frame frameborder="0" noresize />
    </frameset>
    <!-- pageok -->
    <!-- 04 -->
    <!-- -->
    </html>
    Yet I still get a 2048 sandbox violation error.
    The crossdomain is needed because the proxied request
    appears to be coming from the public ip while jboss
    is bound to the local host.
    If I expose Jboss directly to the web all works well but there
    are too many security issues in that setup. Apache as a front is
    much better.
    The question is: is this the correct response I should be getting
    (or should it be directly the xml file) and why is it not working?
    How can I fix this?
    Any help much appreciated. I'm stuck.
    Dahn 

    Try adding security="false" inside the next line:
    <allow-access-from domain="*"/>
    so it would look something like
    <allow-access-from domain="*" security="false" />
    It fixed the problem for me.

  • Sidecar.xml not working with smoothScrolling

    Hi everybody!
    I am struggling with a big problem with the sidecar.xml file because it does not load the <smoothScrolling>always</smooothScolling> instruction.
    I have created a very simple "test" folio with only two articles each made of two pages either in horizontal and vertical, so I have the followinf structure:
    <FOLIO> (main folder)
    sidecar.xml
    <001> (first stack)
    001_v.indd (an indesign file with 1 page 768x1024)
    001_h.indd (an indesign file with 1 page 1024x768)
    <002> (second stack)
    002_v.indd (an indesign file with 2 pages 768x1024)
    002_h.indd (an indesign file with 2 pages 1024x768)
    I have created the sidecar using the utility of Johannes Henseler so I am sure it is correct and here it is (I have just removed the link section which was very long):
    <?xml version="1.0" encoding="UTF-8" standalone="true" ?>
    <sidecar>
              <!--
    sidecar.xml generator by Johannes Henseler
    http://projects.nordsueddesign.de/sidecarxml
    -->
              <!-- article #0 -->
              <entry>
                        <folderName>001</folderName>
                        <articleTitle>Test</articleTitle>
                        <author>Puzzle</author>
                        <kicker>Pilly</kicker>
                        <description>Cover</description>
                        <tags></tags>
                        <isAd>false</isAd>
                        <smoothScrolling>never</smoothScrolling>
                        <isFlattenedStack>false</isFlattenedStack>
              </entry>
              <!-- article #1 -->
              <entry>
                        <folderName>002</folderName>
                        <articleTitle>Test</articleTitle>
                        <author>Puzzle</author>
                        <kicker>Pilly</kicker>
                        <description>First Article</description>
                        <tags></tags>
                        <isAd>false</isAd>
                        <smoothScrolling>always</smoothScrolling>
                        <isFlattenedStack>false</isFlattenedStack>
              </entry>
    </sidecar>
    Well.. what it happens now is that I create a new folio with the Folio Builder Panel and then I import using the multiple article option. Everything seems ok (the two articles are imported and the description, article title, author, kicker are correct) but the "smoothScrolling" results to be deactivated! (in my Italian version I have the following text "Scorrimento uniforme: disattivato (allinea a pagina)" (that I translate as "never") instead I was expecting to have "Scorrimento uniforme: entrambe le direzioni" (that I translate as "always").
    And what is worse is that if I try to modify the property in Indesign using the Folio Builder Panel I get this error message:
    Errore di generazione contenuto.
    [Errore: Gli articoli con scorrimento uniforme devono contenere almeno una pagina singola. Aprite la finestra di dialogo Proprietà per modificare le opzioni di scorrimento uniforme.]
    I try to translate:
    Generating content error.
    Error: the articles with smoothScrolling must contains at least a single page. Open the dialogue window Property to modify the options for the smoothScrolling.
    Actually the Indesign source files 002_v.indd and 002_h.indd have already two pages so I do not understand what the error means. It just says to modify the property, but this means I can not have the smoothScrolling on "always" and I do not understand why!
    I just would like to have a "smoothScrolling" effect between two pages of various articles using the sidecar.xml file!
    Please someone can help me?

    Smooth scrolling and flattenig does not work in combination. I think there
    is no way to enable that.
    —Johannes
    (mobil gesendet)
    Am 01.03.2012 17:19 schrieb "Bob Levine" <[email protected]>:
       Re: Sidecar.xml not working with smoothScrolling  created by Bob Levine<http://forums.adobe.com/people/BobLevine>in
    Digital Publishing Suite - View the full discussion<http://forums.adobe.com/message/4239654#4239654>

  • Crossdomain policy not working with AMF

    <?xml version="1.0"?> 
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy> 
      <allow-access-from domain="*" /> 
    </cross-domain-policy>              
    Attached is the crossdomian file I placed in WebContent folder. Below is the action script code I am using to set the policy file and send an AMF call.
                      private function init():void
                            var hostPath:String=HTTPUtil.getProtocol()+"//"+HTTPUtil.getHostName()+":"+HTTPUtil.getPort();
                            var policyFile:String=hostPath+"/Reports/crossdomain.xml";                            
                            Security.loadPolicyFile(policyFile);
                            Alert.show(policyFile);
                            var cs:ChannelSet = new ChannelSet();
                            var customChannel:Channel = new AMFChannel("my-amf","http://localhost:9081/Reports/messagebroker/amf");
                            cs.addChannel(customChannel);
                            divisionStrategiesRO.channelSet = cs;                      
                            divisionStrategiesRO.viewDivisionStrategies();                   
    When tried loading the page I get the below error.
                    Channel.Security.Error error Error #2048: Security sandbox violation: http://ffrtp1s.dist.abc.com:9081/Reports/flex/swf/svp/DivsionDrop.swf cannot load data from http://localhost:9081/Reports/messagebroker/amf. url: 'http://localhost:9081/Reports/messagebroker/amf'
                    Let me know if we can get some help to fix this issue.
    I am trying to load the JSP using spring-BlazeDS and I get the above error. My url in the browser is http://ffrtp1s.dist.abc.com:9081/Reportshttp://ffrtp1s.dist.abc.com:9081/Reports/showreports.jsp/showreports.jsp
    both ffrtp1s.dist.abc.com and localhost point to the same machine and I am launching the browser in the same machine. If I use localhost in place of ffrtp1s.dist.abc.com then it is working fine.We will be deploying the application in remote server in few days and the dns is mmapped to hide the port and hostname and we are sure we will face the same error above.
       Let me know if we can get some help to fix this issue.

    Hi Colin,
    Thank you for your reply.
    Because of the certificate chrome is not trusting. I have imported the certificate from CX module and added the same certificate in google chrome browser, then it is working fine.  
    Thanks and regards,
    Ashok Kumar S.

  • Import metadata xml not working

    Import metadata as Xml Datasource with network files(using url) not working and giving a message cannot connect - invalid url.
    but the same url can be run from a browser.
    What can be the problem?

    Hi Radosla,
    Yep, thx for the hint.
    Looks like i put it on th test server in compatibility mode, but not on the real server.
    Changing this with F12 to IE 8 did the trick!
    Regards
    Frederik

  • Premiere Markers export and import: Roundtrip via FCP XML not working

    The objective of my project is to create a sports app that records markers and saves it in different formats of XML / CSV that I can then import in different NLE packages.
    I have already succeeded with Vegas Pro but also want to support NLEs for MAC-OS.
    In order to approach this analytically I have exported a very simple project with 1 sequence including 1 clip and 3 markers (with length zero and length > 0) and exported it
    in FCP XML from Adobe Premiere CC and do a round-trip import it via FCP import into Adobe Premiere CC.
    This round-trip does not work. Any insight why or any support what other mechanism will work?
    Thanks
    Thomas

    let's go back to the purpose:
    I have written a mobile app on which people can during a sports match capture the time of the important moments by pressing buttons.
    I then convert the time information into an XML or CSV file that can be read by the different NLE. Given that Sony Vegas allows to import
    markers independently from a sequence. Now I look at the same things for Premiere. This allows to edit the highlights very quickly vs watching
    the entire match coverage again.
    I try to replicate that on Premiere through the FCP XML, but now that the roundtrip works, the issue is that FCP XML in its structure wants a sequence.
    I could imagine to provide a dummy sequence that can be overlayed by the real content just to preserve the markers. Any ideas?
    Regards,
    TK

  • Crossdomain.xml Not Loading

    This may be a newb question. I’m trying to figure out why my swf file, running from localhost, is bypassing the crossdomain.xml when loading a xml file from a remote domain.
    I stored the crossdomain.xml at the root of the domain.
    http://www.mydomain.com/crossdomain.xml
    When I checked the HTTP headers, there’s no request sent out to get the crossdomain.xml file.
    Another issue is that the Security.sandboxType is always localTruested. Could that be the reason that the swf file is not checking the crossdomain.xml? If so, how can i change the sandboxType.
    Any help is appreciated!
    Thanks

    Can you look at the name of the file you're loading before you load it? So, if it contains .swf don't load? Aside from that, you can get the content type before the image/file is finished loading. You do it with the LoaderInfo object... something like this:
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
    function initHandler(event:Event):void {
        var loader:Loader = Loader(event.target.loader);
        var info:LoaderInfo = LoaderInfo(loader.contentLoaderInfo);
        trace(info.contentType);
    If you load a jpeg you will see: image/jpeg
    If you load a .swf you will see: application/x-shockwave-flash

  • Cross Domain XML not working

    Greetings,
    I recently obtained two different domains that point to a subdirectory of another domain server. The swf file I created does not show up when I use the domains that are pointing to the subdirectory of the original domain.
    I placed an xml file into the root directory that contains the following code:
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
        <allow-access-from domain="*.newdomainname1.com"/>
        <allow-access-from domain="*.newdomainame2.com"/>
    </cross-domain-policy>
    Nothing shows up. Is there something else I need to do make this work? I created the swf file using CS3 - Action Script 2. I tried searching everywhere to see if I'm missing a step, but cannot find anything. Any help would be greatly appreciated.

    I'm still not entirely clear what the problem is.
    Those links to the other domain show 404 errors, which is related to how things are set up on your hosting server for those domains, and nothing to do with flash.
    Are you trying to get the swf at http://www.searecovery.com/ to load data from the other domains? (I can't see it trying to do that, so perhaps not)
    If so you need to add *.searecovery.com to the crossdomain files at the other domains.
    Crossdomain files give flash content (swfs) hosted at one domain access to load data (or grant access to the data of loaded assets) from another domain.
    So you need crossdomain permission if you want a swf hosted at www.danfoss-searecovery.com to load xml data from www.danfosssearecovery.com for example, or to get at the bitmapdata of jpgs loaded from www.danfosssearecovery.com.
    If you just want to host the swf at the other domain, and if it's not loading data from external domains, then you pretty much just need to move copies of the html and swf there along with any external assets it loads (so long as you have used relative urls for loaded assets from within the swf) . If that's what you're trying to do then the issue here is likely to be simply how your hosting environment is set up for the other domains.

  • XML not working in remote host

    Dear colleagues, I've a JSP successfully running locally with J2SE1.4.2 and Tomcat5.
    The problem is it won't run when uploaded in the remote host. I've spent hours in vain, please help.
    The program should load an XML file located in the application folder (same path as the JSP), parse it into
    a DOM tree and retrieve some values.
    I'm getting NullPointerException.
    My import statements:
    <%@ page import="java.io.*" %>
    <%@ page import="org.w3c.dom.*" %>
    <%@ page import="org.xml.sax.*" %>
    <%@ page import="javax.xml.parsers.*" %>
    The code I'm using to get the real path of xml file from JSP scriptlet is:
    String filepath = application.getRealPath(filename);
    However, I also tried and failed with the hard-coded pathname like this:
    String filepath ="/var/tomcat/webapps/babyuniverse/myxmlfile.xml";
    Upon checking the Java version of remote host, I found that it is 1.2.2
    Now I guess, some of the packages I'm importing may not exist in the remote host, especially
    the org.w3c.dom and/or org.xml.sax.
    Upon checking the tomcat/lib folder in the remote host, I found it contains the following jar files:
    ant.jar; commons-fileupload-1.0.jar; jasper.jar; jaxp.jar; parser.jar; servlet.jar; webserver.jar
    Are those packages sufficient to handle my program. If not, which extra packages are needed and where
    they can be found? I've permission to upload files to tomcat/lib and also to restart tomcat if needed.
    But I cannot update classpath.
    Thank you for the help.

    Hi, I found out where to find those jars you mentioned.
    But unfortunately, I was wrong in stating that I'm allowed to upload files to
    tomcat/lib. When I tried, I couldn't. I could only upload them to
    my app's WEB-INF/lib. And this isn't working. Any ideas to solve my problem?
    I'm sure the line I'm getting the NullPointerException is at
    Document mydoc = myparser.parse(new File(xml_file_name));
    My assumption is that it is not able to find a parser.
    Please help someone.

  • Weblogic.servlet.reloadCheckSecs in web.xml not working

    Given the following web.xml file:
              <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
              1.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <context-param>
              <param-name>weblogic.servlet.reloadCheckSecs</param-name>
              <param-value>100</param-value>
              </context-param>
              <servlet>
              <servlet-name>CookieCounter</servlet-name>
              <servlet-class>servlets.CookieCounter</servlet-class>
              </servlet>
              <servlet-mapping>
              <servlet-name>CookieCounter</servlet-name>
              <url-pattern>monster</url-pattern>
              </servlet-mapping>
              <welcome-file-list>
              <welcome-file>hello.html</welcome-file>
              </welcome-file-list>
              <error-page>
              <error-code>404</error-code>
              <location>/error.jsp</location>
              </error-page>
              </web-app>
              It seems the weblogic.servlet.reloadCheckSecs property is not taking effect.
              The
              default value of -1 is always used. I did stop and restart weblogic.
              I also trid to set the servlet classpath in the web.xml file with
              weblogic.servlet.classpath
              property and it did not change the classpath for the servlet. It seems that
              other
              items are working such as adding new servletrs to the web application. Note
              that
              this is the cookie sample application that installes with the beta 2
              download.
              Thanks,
              Dan.
              

    Hi All:
    Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
    Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
    Could you please help and can you point me to any specific link.
    Thanks & Regards
    Sridhar Doki

  • error-page in web.xml not working

    In my web.xml I have
    <error-page>
    <exception-type>java.lang.NullPointerException</exception-type>
    <location>/error.jsp</location>
    </error-page>
    I checked the page works by doing a /context/error.jsp and
    the page displays fine (it is a simple jsp page).
    I hit a struts action that gives me this in the std output.
    06/29 10:48:24 error
    [1]java.lang.NullPointerException
    at
    com.pearson.gs.cms.business.LoginService.verifyPassword(LoginService.java:232)
    at
    com.pearson.gs.cms.action.LoginAction.performCMSAction(LoginAction.java:92)
    at
    com.pearson.gs.cms.action.BaseCMSAction.execute(BaseCMSAction.java:48)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    [0]javax.servlet.ServletException
    at
    org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
    at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
    at
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at
    org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I get a 500 error page instead of my /error.jsp page.
    I tried adding
    <error-page>
    <error-code>500</error-code>
    <location>/error.jsp</location>
    </error-page>
    but that doesn't work either.
    JRun 4.0
    Updater 6
    JDK 1.4.2
    Struts 1.2.8
    Any ideas what to try?

    a. Override your skeletons error.jsp to forward/redirect to your page.
    or
    b. If you primarily use pageflow portlets Define a shared flow which has an exception handling method and direct it to your page. Reference the shared flow in each of your controllers (i think global.app is deprecated in 10 otherwise you could do this there). this lets you log some additional information, plus gives you the added flexibility of dealing with different exception types
    or
    c. Override the path to error.jsp in your portlets properties (havent tested)
    Note if you are using servlets etc you still need your web.xml java.lang.Exception entry. The reason it doesnt get picked up is because the portal framework is handling the exception
    Edited by: deepshet on Dec 22, 2008 8:12 PM

  • Mime mapping in web.xml not working for csv/excel

    I am using the weblogic 8.1 app server. I want to serve up some static content
    from an "exploded" web application (dir structure instead of a war file). This
    static content includes html files and csv files that cause the browser to give
    an option to the user to open the file in excel or download to disk. I have inserted
    the following mapping inside web.xml in the exploded directory structure...
    <web-app>
    <mime-mapping>
    <extension>csv</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    </web-app>
    I redeployed the "web application". When I try to access a csv file, instead of
    giving me the save/open dialog, the browser displays the ASCII contents of the
    csv in the browser like an HTML file. Am I missing a step? Is the xml above not
    for the functionality that I am trying to implement here?
    Thanks.

    Hi All:
    Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
    Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
    Could you please help and can you point me to any specific link.
    Thanks & Regards
    Sridhar Doki

  • Success_URL in web.xml not working - Need help

    Hi:
    I developed my whole application in Jdeveloper 10.1.3.2 and all the security are done through custom module. Everything is working fine except one of the part that is success_url in web.xml.
    1. There are total 10 pages in my application independent of each other.
    2. I configured the custom login procedure and it is working fine.
    3. From Jdeveloper if I run any page (i.e. one of 10 pages) it is prompting me to login and after login it is redirecting to the page I ran.
    My issue is that after the login is completed as in step 3, I want the page to be redirected to predefined page called UserResp.jspx. I don't want to redirect to the page from where the login page was called. As per the notes in the ADF document, I configured the success_url in the adfAuthentication servlet as below. But after login it is not redirecting to the success_url but it is redirecting to the page from where the login was prompted.
    Do I need to perform any other step for this success_url to work. Could you please guide.
    Below is the details of my web.xml.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/efile-faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>userinterface.DataBindings</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>faces/app/user/UserResp.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>UploadMultiFileServlet</servlet-name>
    <servlet-class>oracle.apps.xxcust.servlet.UploadMultiFileServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>UploadMultiFileServlet</servlet-name>
    <url-pattern>/UploadMultiFileServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <jsp-config/>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>All Pages</web-resource-name>
    <url-pattern>faces/app/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ADMIN</role-name>
    <role-name>MANAGER</role-name>
    <role-name>USER</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/Login.jsp</form-login-page>
    <form-error-page>/Login.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>ADMIN</role-name>
    </security-role>
    <security-role>
    <role-name>MANAGER</role-name>
    </security-role>
    <security-role>
    <role-name>USER</role-name>
    </security-role>
    </web-app>

    Hi All:
    Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
    Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
    Could you please help and can you point me to any specific link.
    Thanks & Regards
    Sridhar Doki

  • Bindable XML not working consistently...

    Hi,
    I've started on an element for a game I'm developing, and I encountered a problem: JavaScript was not gonna get the job done, so I went for Flex.
    The element in question consists of boxes with items in. Kind of like a storage area. Each box is an mx:Panel element with an mx:Grid inside for the slots.
    The mx:Panel's title is bound to boxes..name, where boxes is an XML object loaded from http://pokefarm.adamhaskell.net/boxtest.xml. This works.
    What doesn't work is the mx:Image elements in each mx:GridItem. The image's source (for Item 1 in Box 0) is bound to boxes..box0.pkmn1.img. When compiling, I am told that the 'src' attribute could not be resolved.
    Any idea what's happening?
    Thanks.

    mx:Image has a "source" attribute, not "src"
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Unattend.xml Not Working

    Hi,
    I built a VM template with SCVMM 2012 R2 and subsequently an unatend.xml file from the Windows System Image Manager. The unattend.xml passes verification without any issues in WSIM but when I deploy the file along with my template the settings do not apply.
    I need the unattend to be completely automated, but I still get prompted to click "Next" for Regional Settings , "Next" for EULA, and I must enter the built-in Administrator Password then click "Next" to complete installation.
    The built-in local administrator password is set in the guest OS profile, the Regional Settings and Ignore EULA are specified in my unattend.xml file. I used the install.wim file from the same OS media that I created the template from.
    Any ideas why my settings are not being applied to the virtual machines I create from this template that has the guest OS profile and unattend.xml file applied to it? Unattend.xml is below:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <NetworkLocation>Work</NetworkLocation>
                </OOBE>
                <RegisteredOwner>COMPANY</RegisteredOwner>
                <RegisteredOrganization>COMPANY</RegisteredOrganization>
                <ShowWindowsLive>false</ShowWindowsLive>
                <ShowPowerButtonOnStartScreen>true</ShowPowerButtonOnStartScreen>
                <TimeZone>GMT Standard Time</TimeZone>
            </component>
            <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <InputLocale>en-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
                <UILanguageFallback>en-US</UILanguageFallback>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:c:/users/admin/documents/install.wim#Windows Server 2012 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    Microsoft Partner

    Anyone that comes across this later, I ended up resolving my issue. I went back over everything and ended up following a recommendation on another forum (can't seem to find the page in my history atm, sorry). The details on that page recommended multiple
    unattend.xml files split between the images, the server, and the client itself. All regional data for WDS gets detailed in the initial unattend which I attach at a server level, then I attach a pass 4 unattend.xml to the actual image, and then again to the
    client device that I've pre-staged in the server. When WDS loads up the client, it uses it's initial unattend to set the parameters, and then the referenced client/image unattend to set the install details. After I did that, it all worked fine and runs end
    to end without any prompts or intervention. 

Maybe you are looking for