Security error accessing url with crossdomain.xml in InDesign FlexUI

I'm evaluating Flex as a UI component in an InDesign script. Part of what it needs to do involves retrieving some data from a web server to be displayed in a datagrid. I've written a server running on localhost that will provide this data. Everything works fine when I run the component from Flash Builder or from the HTML wrapper page that is generated during the release build, but once I copy the .swf to the InDesign scripts folder and load it as part of a ScriptUI component, I get a fault response ("security error accessing url") when connecting to the server. I'm running this bit of code in from my Flex client:
var h:HTTPService = new HTTPService();
h.url = "http://localhost:8080/elements";
h.method = "GET";
h.addEventListener("result", getElementsResult);
h.addEventListener("fault", getElementsFault);
h.send();
From what I've read, I may need a crossdomain.xml file at the root of my host, so I've added that to the server and can see that it is being accessed whenever the flex component attempts to connect to the service.
My crossdomain.xml file is:
<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM 'http://www.adobe.com/xml/dtds/cross-domain-policy.dtd'>
<cross-domain-policy>
    <allow-access-from domain="*"/>
</cross-domain-policy>
which seems to be correct, from what I understand. I've also tried quite a few other variations (setting explicit site-control policies, etc.). I'm quite new to Flex/Flash and I'm basically stuck at this point. Where might I be going wrong?

I think sleeping on this one helped... I found that if I serve the .swf from my web server then everything works out fine. Loading it from the local filesystem seems to have been the problem.

Similar Messages

  • "Security error accessing url" only in Internet Explorer

    I'm running Flex 4 with Flash 11.1.102.55. Here is my crossdomain.xml.
    <cross-domain-policy>
        <allow-access-from domain="*"/>
        <allow-http-request-headers-from domain="*" headers="SOAPAction"/>
    </cross-domain-policy>
    Chrome and Firefox are fine loading the web services. However, all versions of IE (7, 8 and 9) return this error:
    [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://api.example.com/Service/Service.asmx?WSDL)"]

    I just downloaded IE 10 (I was running IE9) and the error message doesn't pop up. Go figure. Though the Audio player is positioned differently in every browser.

  • 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

  • Security error accessing url (Unable to load WSDL)

    Hi folks.
    I have a Flex project that use a WCF webservice. In my localhost everything is allright, but I want to upload my flex project to a web host (http://www.dorj.ir) and upload my WCF webservice to a server that has a valid IP...
    After going to http://www.dorj.ir, you can see this error
    Security error accessing url
    Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://ip/service.svc?wsdl)
    I put the crossdomain.xml file in the root of my server:
    <?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="http://www.dorj.ir" />
         <allow-http-request-headers-from domain="http://www.dorj.ir" headers="SOAPAction"/>
    </cross-domain-policy>
    But I have the same error, yet...!
    what should I do?!

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

  • Urgent requirement : security error accessing url and http error: standalone flex

    Hi,
    I have a requirement to create record from standalone flex. I am using Flex builder 3.
    I used Flex-force toolkit to login  to salesforce. The swf file generated when used internal to salesforce it works great.
    But my requirement is to run it from public sites page / standalone pages. How will I configure it? I am getting error 'security error accessing url', default HTTP
    The requirement is on priority, please help me to resolve this issue.
    The login code is also furnished below. please help.
    Full error details:
    (com.salesforce.events::ApexFaultEvent)#0
      bubbles = false
      cancelable = true
      context = (null)
      currentTarget = (null)
      eventPhase = 2
      fault = (mx.rpc::Fault)#1
        content = (null)
        errorID = 0
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        message = "faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'"
        name = "Error"
        rootCause = (flash.events::SecurityErrorEvent)#2
          bubbles = false
          cancelable = false
          currentTarget = (flash.net::URLLoader)#3
            bytesLoaded = 0
            bytesTotal = 0
            data = (null)
            dataFormat = "text"
          eventPhase = 2
          target = (flash.net::URLLoader)#3
          text = "Error #2170: Security sandbox violation: file:///C|/Users/R/DOCUME%7E1/FLEXBU%7E1/TESTLO%7E1/BIN%2DRE%7E1/TESTLO%7E1.SWF cannot send HTTP headers to https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829."
          type = "securityError"
      headers = (null)
      message = (mx.messaging.messages::ErrorMessage)#4
        body = (null)
        clientId = "DirectHTTPChannel0"
        correlationId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
        destination = ""
        extendedData = (null)
        faultCode = "Channel.Security.Error"
        faultDetail = "Destination: DefaultHTTP"
        faultString = "Security error accessing url"
        headers = (Object)#5
          DSStatusCode = 0
        messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
        rootCause = (flash.events::SecurityErrorEvent)#2
        timestamp = 0
        timeToLive = 0
      messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
      statusCode = 0
      target = (null)
      token = (mx.rpc::AsyncToken)#6
        message = (mx.messaging.messages::HTTPRequestMessage)#7
          body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>uname</username><password>pwdandsec token</password></login></se:Body></se:Envelope>"
          clientId = (null)
          contentType = "text/xml; charset=UTF-8"
          destination = "DefaultHTTP"
          headers = (Object)#8
            DSEndpoint = "direct_http_channel"
          httpHeaders = (Object)#9
            Accept = "text/xml"
            SOAPAction = """"
            X-Salesforce-No-500-SC = "true"
          messageId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
          method = "POST"
          recordHeaders = false
          timestamp = 0
          timeToLive = 0
          url = "https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829"
        responders = (Array)#10
          [0] (::SalesForceResponder)#11
        result = (null)
      type = "fault"
    Login code:
    [Bindable] public var sfdc:Connection = new Connection();
    private function login():void {
    Security.loadPolicyFile("http://salesforce.com/services/crossdomain.xml");
    var lr:LoginRequest = new LoginRequest();
    lr.username = "uname";
    lr.password = "pwdtoken";
    sfdc.protocol = "https";
    sfdc.serverUrl = "https://login.salesforce.com/services/Soap/u/14.0";
    lr.callback = new AsyncResponder(loginSuccess, loginFault);
    sfdc.login(lr);

    This is resolved.
    I have copied the crossdomain.xml file to tomcat Root folder
    and the issue is resolved.

  • "Security error accessing url" error in Intranet Flex Development

    Hi,
    I have a simple Flex application with a Tree control that load data from a XML file on my intranet site using HTTPService. The Tree control pull in data without any problem if I ran the Flex app locally, however I would get "Security error accessing url" if I copied the Flex application to my intranet server and access it. The Flex SWF files and the XML file are in the same directory.
    I thought there shouldn't be any cross domain security issue since both files are in the same domain/directory.
    Any idea what is going on?
    Thanks
    xkxTnT

    Thanks Guys for trying..
    I figured out the problem -  I initially create the project without server configuration, so the SWF  runs off my local file system, I later set the server to local  ColdFusion MX 7 server, the SWF still ran without problem, I then copied  them to the production server and got the security error message.
    Yes, I am pretty sure they are the same domain - the SWF files in in http://intranet/Flex and the url for HTTPService is http://intranet/Flex/data.xml.
    I later solved the problem by creating a new project with server set to local ColdFusion server, copied the exact same code and data file, it ran find on http://localhost/Flex, and again ran without problem after deploying to the intranet server http://intranet/Flex.
    I guessed Flash Builder compiled the code a little differently depending on the project configuration (server or no-server)? Not know the detail, or why does it even matter..
    xkxTnT

  • "Security error accessing url" - Accessing HTTP service   running on another machine

    Flex app is hosted as web service and is trying t access data
    from HTTP Service
    running on different machine. It throws following error
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    at
    mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler
    at mx.rpc::Responder/fault()
    at mx.rpc::AsyncRequest/fault()
    at ::DirectHTTPMessageResponder/securityErrorHandler()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
    n()
    at flash.events::EventDispatcher/dispatchEvent()
    But when I run the HTTP Services (data provider) on same
    machine application
    works fine.
    Already used crossdomain.xml

    Sorted the cross domain problem by using mx:Webservice rather
    than an httpservice.

  • Security error accessing url  ???

    I built the BlogReader, the second "lesson" in the help where
    you read Matt
    Chotin's blog on Adobe's site. It works great when I tested
    it locally with
    Flex Builder. When I copy it to my server and then run it, it
    gives a
    security error.
    Here's the rss url
    http://weblogs.macromedia.com/mchotin/index.xml
    There's a crossdomain on the root:
    http://weblogs.macromedia.com/crossdomain.xml
    <?xml version="1.0" ?>
    <!DOCTYPE cross-domain-policy (View Source for full
    doctype...)>
    - <cross-domain-policy>
    <allow-access-from domain="*" secure="true" />
    </cross-domain-policy>
    Is it because of the secure="true" ? Then why did it work on
    my local
    computer?

    The crossdomain file should go in the folder that is pointed
    to by: "
    http://www.entegdt21.com:8000".
    This is called the web server root.
    Flex Builder installs into a trusted sandbox, which allows it
    to access most any thing. When you run the app from a web server,
    it must find the crossdomian file.
    Tracy

  • Please HELP with CrossDomain.xml problem

    I'm using Flex2 with Java as the backend. On my local machine
    everything works fine. When I deployed the Java war file to the
    hosting server and moved the swf there as well I keep getting the
    following error "Security error accessing url"
    faultCode="Channel.Security.Error". After reading on this it says I
    need a crossdomain.xml file put at the root of my server.
    I have placed a crossdomain.xml file at the following areas.
    C:\Inetpub\wwwroot\crossdomain.xml
    C:\Inetpub\vhosts\mysite.com\crossdomain.xml
    C:\Inetpub\vhosts\mysite.com\httpdocs\crossdomain.xml
    C:\Program
    Files\SWsoft\Plesk\Additional\Tomcat\webapps\crossdomain.xml
    the following is in the crossdomain.xml
    <?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="*" to-ports="*" secure="true"
    />
    </cross-domain-policy>
    the war file is deployed here:
    C:\Program
    Files\SWsoft\Plesk\Additional\Tomcat\psa-webapps\mysite.com\testjava.war
    and the swf file is located here:
    C:\Inetpub\vhosts\mysite.com\httpdocs\test.swf
    I don't know what I'm missing. Please someone help me.

    daperk,
    You should post this to board "Smartphones, Nseries and Eseries Devices".

  • Httpservice to localhost doesn't work in Flex4... Even with crossdomain.xml

    So, this was working before I recompiled with Flex4, (In Flex 3.5) and now I can't get the following to work....
    Story:
    I'm using httpservice in flex like:
    <mx:HTTPService id="getConfig" url="http://localhost/parser.php" method="POST" showBusyCursor="true" resultFormat="e4x" result="xmlresultHandler(event)" fault="faultHandler(event)" />
    Everything is in my root directory on my web server. When run in debug or directly from flashbuilder, the call works fine. If I run a release build, and FTP the release to /var/www (my root), and try to browse to the server, the website pulls up, and the swf file runs, but I always get a
    Fault:Channel.Security.Error
    FaultString:'Security error accessing url'
    faultDetail:'Destination:DefaultHTTP'
    when it trys to read the httpservice.
    I do have a crossdomain.xml file in my /var/www (webroot) folder with what I see as super permissive settings.... Below:
    <?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="*" to-ports="*" />
    <site-control permitted-cross-domain-policies="all" />
    <allow-http-request-headers-from domain="*" headers="*" />
    </cross-domain-policy>
    Any help would be GREATLY appreciated.

    Thanks for the info Flex harUI,
    So I tried bringing up the 3 files (crossdomain.xml, main.swf, and parser.php) from a browser and they call exist and are reachable.
    So I get the localhost vs. absolute address this. That makes sense. So I recoded the httpservice call to url="http://10.101.50.60/parser.php". Which is the actual fully qualified address in this case (There is no DNS server), and what I'm pulling up in the browser is "http://10.101.50.60/index.html". So after making this change, I can still access and have everything working in Flash builder, but again, when I standalone compile and upload the main.swf to the var/www directory and pull it up in the browser via http://10.101.50.60/main.swf. I get "Security error accessing URL". So basiclly, same thing.
    Spent two days on it now.....

  • Security error accessing ur unable to load wsdl

    HI
    I am using a webservice(.net webservice) that is on my
    localhost and using it in flex application that is also on my
    system. Means both the webservice and flex application are on the
    same system.
    But when i gives the reference of the webservice using the
    system ip and run the application by the flex builder it generates
    the error as:
    mx.messaging.messages::ErrorMessage)#0
    body = (Object)#1
    clientId = "DirectHTTPChannel0"
    correlationId = "24CD6542-F141-1A05-BA35-00A108CB30A0"
    destination = ""
    extendedData = (null)
    faultCode = "Channel.Security.Error"
    faultDetail = "Destination: DefaultHTTP"
    faultString = "Security error accessing url"
    headers = (Object)#2
    messageId = "CC123DF0-0E6C-05FF-7894-00A109676283"
    rootCause = (flash.events::SecurityErrorEvent)#3
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#4
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#4
    text = "Error #2170: Security sandbox violation:
    http://localhost:3000/MYCIMS/flex_bin/Design.swf
    cannot send HTTP headers to
    http://myip/MyServer/AdminWS.asmx."
    type = "securityError"
    timestamp = 0
    timeToLive = 0
    I have put crossdomain.xml file in the root of the localhost
    and made every changes possible in the crossdomain.xml file but the
    application is not running.
    Please somebody provide an effective solution, I have spend
    lots of time to resolve the problem but its not being....
    Thanks in advance
    Gopi Saini

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

  • Generating Access URL with Mac OS X

    OK, I'm really stumped here, and Apple Support has been completely unhelpful. For the life of me I can't generate the access URL in OS X. I can do it fine on a PC (where I had to set the class path in Java), but I can't figure out what's going on with the Mac. Here's what I've done:
    % javac /pathto/ItunesU.java
    % java /pathto/ItunesU.class >access.html
    The resulting HTML file I get merely opens up iTunes and goes to the Music Store. There is no lengthy URL string embedded in it anywhere. My computer has all the necessary software updates, including Java. The ItunesU.java file is IDENTICAL to the one we compiled on the PC (the one that worked), so I know all the shared keys, etc. are correct. What am I doing wrong?

    I am with TaishoB.
    Here are links to our applets. They aren't actually finished because in the middle of development we decided to use perl instead. It's a bit shoddy. Basically the Applet gets the results from the ITunesU class, creates the html file on the users HDD, and then opens that file.
    Here are the links to our source (please be kind, my account onlt gets so much bandwidth per month):
    http://robinson.hopto.org/ITunesU.java
    http://robinson.hopto.org/ITunesUApplet.java
    Look at our version of ITunesU.java also, because we added one small method to make life easier.
    But that shoddy code (once you add your own information - I marked that with "YOUR OWN INFO") will only get you so far. you need to pack them into a jar file and then sign it. Then point the applet code on the html file to use the jar archive that you created.
    You will find all that info at:
    http://java.sun.com/docs/books/tutorial/deployment/jar/
    I would show you the script that I used, but I have misplaced it.
    This will hopefully give you at least the basics of how we got it to work. Like I said, the code is a bit shoddy, but you should be able to get it to work after massaging the code a bit (and working out the bugs).
    NOTE: the applet itself does not work. I has textfields to get the info, but right now they are just hard-coded in there. click the button and it will trigger the action. Also, none of this will work unless you jar-it and sign it.
    Let me know if you run into trouble.
    xao

  • Error accessing protocols with JAXM 1.1.2 Provider Admin Tool

    I installed JAXM 1.1.2 with JWSDP 1.2 on W2K Pro according the instructions under the JAXM doc's "Integration with JWSDP" link. The samples seem to be working. However, when I start the JAXM Provider Admin tool and drill down to one of the protocols (e.g., Profiles > SOAPRP > HTTP), the server throws an exception. I tried this on two different machines and got the same result. The jaxm-provider webapp's provider.xml looks reasonable. Anyone have any idea what's going on?
    Thanks,
    Mike
    Here's the stack trace:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:288)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)
    root cause
    java.lang.NullPointerException
         at provideradmin.util.MessageUtil.initializeConfig(MessageUtil.java:281)
         at org.apache.jsp.soaprp_005fhttp_jsp._jspService(soaprp_005fhttp_jsp.java:112)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:288)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:562)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:637)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)
    Java Web Services Developer Pack/1.2

    Problem solved. JWSDP_HOME/common/lib had log4j-1.2.8.jar from the Axis 1.1 distribution. After I moved the jar to JWSDP_HOME/jwsdp-shared/lib, the jaxm provider admin works (and Axis still finds the log4j jar file).
    Mike

  • Error initializing PAPI with directory.xml

    Hi
    I am trying to initialize PAPI from my application (Stripes). In order to create the 'ProcessService' I need the directory.xml, which I obtained from the BPMHOME/conf directory.
    However, I get the following error when executing:
    WARNING: An exception was caught and handled by StripesExceptionHandler
    java.lang.IllegalStateException: directory configuration runtime fails to initilize with resource: directory.xml
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfiguration(DirectoryConfigurationManager.java:33
    5)
    at fuego.directory.DirectoryConfigurationManager.getDirectoryConfigType(DirectoryConfigurationManager.java:313)
    at fuego.directory.provider.Factory.getDirectoryFactory(Factory.java:216)
    at fuego.directory.Directory.startAnonymousSession(Directory.java:211)
    at fuego.papi.impl.ProcessServiceFactoryImpl.obtainSchemaId(ProcessServiceFactoryImpl.java:193)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:75)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    Any ideas !!
    Thanks

    +Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "global.libraries" in /D:/tikona/Jd/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml
    Modify the path to the JDev installation directory in server.xml.
    l+[SOLVED] Error instantiating application
    Edited by: dvohra16 on Jan 22, 2011 11:51 AM

  • Security popup accessing applet with https

    I have a website that serves everything over https. One of the things being served is an applet. I've found that just before the first request is made for the applet's .class files, I get a popup from the Java plug-in saying:
    Warning - Security
    The web site's certificate has been verified. Do you want to continue?
    I'm not sure what this is trying to tell me, is this a problem or just a friendly message? I look at "More Information..." and it says that the cert being used was issued by a trusted company, and that it is valid.
    I'm lead to believe that Java is just being nice and telling me that I'm interacting with a site that has a good certificate. My problem is this stupid popup is going to ruin my demo. I want to turn it off, or do whatever is necessary not to get it. I've gone through the various Java settings, and can't figure it out.
    I do see that the second time I go to the site (after I clear the popup) I don't get a popup again. However, this doesn't help me because I'm generating certs on the fly, and every new one causes the popup to reappear.
    Any ideas on what I can do? I see that I'm using JRE 1.5.0_09 as my Java Applet Runtime version.
    Sander Smith

    By default applets can't read files off the hard drive.
    The easiest way to handle this is to put the images and other resources (such as properties files) in the same jar file as the classes, and then use Class.getResource or Class.getResourceAsStream to load them.

Maybe you are looking for