Security Error : Multiple hosts referenced in resources

Hi,
Im attempting to use the abbot maven plugin that can download an application via webstart and run GUI tests against it.
I have got this working before, and am setting it up again, but get a webstart error that I have not seen before/can see in the forums.
Title: SystemTest1
Vendor: mycompany, inc.
Category: Security Error
Multiple hosts referenced in resources
JNLPException[category: Security Error : Exception: null : LaunchDesc: null ]      at com.sun.javaws.LaunchDownload.checkJNLPSecurity(Unknown Source)      at com.sun.javaws.Launcher.downloadResources(Unknown Source)      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)      at com.sun.javaws.Launcher.run(Unknown Source)      at java.lang.Thr
Could anyone shead some light as to where this error comes from/why??
Thanks
James

in any given jnlp file, all the resources must be downloaded from the same download host. In this way the SecurityManager can assign one permission collection to all the code loaded from that jnlp file (allowing socket permission only to that host).
If you have a jnl;p file with multiple resources loaded from differant hosts, re-factor the jnlp file so all of the resources loaded from a seperate host are in one component extension jnlp file.
/Andy

Similar Messages

  • Multiple host-addresses

    How can you declare multiple host-address and/or host-range elements in tangosol-coherence-override.xml?
    <coherence><cluster-config><authorized-hosts>
    <host-address>dnucacheclient1.sybase.com</fhost-address>
    <host-address>dnucacheclient2.sybase.com</host-address>
    </authorized-hosts></cluster-config></coherence>
    Error:
    2006-12-15 09:28:15.511 Tangosol Coherence AE 3.2/363 (RC2) <Info> (thread=main,member=n/a): Loaded operational overrides from resource "file:/C:/dscache/tangosol-coherence-override.xml"
    2006-12-15 09:28:15.527 Tangosol Coherence AE 3.2/363 (RC2) <Error> (thread=main, member=n/a): Failed to apply the element override: /tangosol-coherence-override-dev.xml; java.lang.UnsupportedOperationException: Override element is not unique:
    <host-address>dnucacheclient1.sybase.com</host-address>
    How can you allow separate clusters to start on the same subnet? And how do you start a separate cluster on the same subnet, if a running cluster has an authorization restriction?
    Error:
    2006-12-18 13:09:22.629 Tangosol Coherence DGE 3.2/363 (RC2) <Error> (thread=Cluster, member=n/a): This member is not authorized to join the cluster. Rejected by Member(Id=1, Timestamp=2006-12-18 13:08:33.279, Address=10.20.17.122:8088, MachineId=3962).
    Exception in thread "main" java.lang.RuntimeException: Failed to start Service "Cluster" (ServiceState=SERVICE_STOPPED, STATE_JOINING)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:61)

    You can try something like this,
    <authorized-hosts>
    <host-address id="1" system-property="tangosol.coherence.authorized.host.1"></host-address>
    <host-address id="2" system-property="tangosol.coherence.authorized.host.2"></host-address>
    <host-address id="3" system-property="tangosol.coherence.authorized.host.3"></host-address>
    <host-address id="4" system-property="tangosol.coherence.authorized.host.4"></host-address>
    <host-address id="5" system-property="tangosol.coherence.authorized.host.5"></host-address>
    </authorized-hosts>
    Thanks
    Prabhakar

  • Failed to add app with security error related with c2wts

    Right now, we are facing some weird issue when adding our app to customer's SharePoint site.  When site collection admin clicks our app to add it, he would get a popup page with title "Access Required" and message "Sorry, you
    don't have access to this page", however he is already site collection admin.
    At the SharePoint logs, we saw the following exceptions:
    SPSecurityContext: Could not retrieve a valid windows identity for username 'company\user' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service.
    at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity)
    at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid)
    at SyncInvokeUpnLogon(Object , Object[] , Object[] )
    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
    (note, I changed the user name to some generic name there)
    after that, we also saw another exception:
    No windows identity for company\user
    Access Denied. Exception: Attempted to perform an unauthorized operation., StackTrace:
    at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)
    at Microsoft.SharePoint.SPAppPrincipalPermissionsManager.UpdateAppOnlyPolicy(SPAppPrincipalInfo appPrincipal, Boolean allowAppOnlyPolicy)
    at Microsoft.SharePoint.ApplicationPages.AppAuthorizePageBase.GrantAppAccess()
    at Microsoft.SharePoint.ApplicationPages.AppInvPage.BtnAllow_Click(Object sender, EventArgs e)
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) .
    I did some reading over the SharePoint code and also searched over internet, I found out this link:
    Adding App Causes Security Error where the similar error is thrown as well and he fixed the issue by reconfiguring the c2wts services.  His issue is slightly different from mine. In his case, end users won't be able to add in the first time
    and they would get "You Can't Add This App Here" message while in our case the error is thrown during adding the app.
    Why we would need the c2wts services here for adding an app if user is already logged in SharePoint via windows authentication?  Could someone confirm that would be the root cause for this failure since I also see the stack related " at Microsoft.SharePoint.SPAppPrincipalPermissionsManager.UpdateAppOnlyPolicy(SPAppPrincipalInfo
    appPrincipal, Boolean allowAppOnlyPolicy)", just wonder if AppOnlyPolicy=true which our app requires has anything to do with this as well. Again, I could not find anything related article about that specific configuration is required to allow app with
    AppOnlyPolicy.
    Another weird thing is that it only happens at sites with managed path. At root site, the app could be added without any problem.
    Any suggestions are highly welcome and really appreciated. This is on a big customer. :-) Thanks in advance for your insights.

    This issue can occur when you change the name of the "Application Name" within Visual Studio, then deploy to BizTalk with the new name.  Problems is the DLLs are still assocaited with that earlier deployment name in BizTalk.  So go into BizTalk
    Admin Console, then navigate to:  BizTalk Group - Applications - Then for each application check the "Resources" folder.  Under one of these folders you should see your DLLs are already assigned to one of these other BTS apps.  So you need to
    delete the resources from the app (or delete the other apps) then your new deployment name will work.

  • Getting Security Error# 2048 while working in Flash 11.2

    Hi all,
    Greetings to all. Well So i prepared a widget written in Action Script 3. Here are my system configurations:
    OS: Windows 7
    Flash: 11.2
    Now when i make a SWF file and open it in my local host i can see the widget running with no problems.
    But when i wrapp the SWF file/ Flash Widget in HTML and then try to run it in my local host it is giving me security error 2048. Below is the error i am getting:
    Error 2048
    Error Security: 0:[SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048"] - {"config":{"fragmentOutgoingMessages":true,"maxReceivedFrameSize":1048576,"fragmentationT hreshold":16384,"maxMessageSize":8388608,"closeTimeout":5000,"assembleFragments":true},"de bug":true,"extensions":[],"readyState":0,"bufferedAmount":0,"resource":"/1.0.0/events/anno tation.OQB15MCCCLO49620VHC4R8C8D/","port":25899,"useNullMask":false,"host":"127.0.0.1","pr otocol":null,"secure":false,"uri":"ws://127.0.0.1:25999/1.0.0/events/annotation.OQB15MCCCL O49620VHC4R8C8D/","connected":false}
    After some googling and visiting some forums/websites on the internet i also included the following cross domain parameters in the root location of my source code:
    <?xml version=\"1.0\"?> <!DOCTYPE cross-domain-policy SYSTEM \"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd\"> <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="localhost" to-ports="*" secure="false" />
    <allow-access-from domain="*" secure="false" to-ports="{0,number,#}"/>" <allow-http-request-headers-from domain="*" headers="*"/>" </cross-domain-policy>
    Apart from the above settings i also made a mms.cfg file to include the DisableSocket=0 but still not working.
    I am using websocket connections in my widget and using open source lib AS3Websocket library.
    Can you guys anyone here can shed some light on this.It will be a huge help.
    Thank you and have nice time people.

    No not exactly...
    I am not using the code you pasted in the above post.
    Let me try that out and get back to you..
    Thanks for taking time and helping to solve this damn issue...;-)
    Thanks a lot...
    Mayank

  • Blobs, REST, Firefox and Silverlight = Security Error

    Hello,
    I'm trying to access Azure Storage blobs (via SAS string) from a Silverlight application. A clientaccesspolicy.xml is present in the $root blob container, allowing Silverlight access.
    I've created a sample Silverlight application with just one button. The button executes the following code:
                var request = (HttpWebRequest)WebRequestCreator.ClientHttp.Create(new Uri("http://[mystoragename].blob.core.windows.net/[mycontainername]/[myfilename]?[sasString]"));
                request.Method = "GET";
                request.BeginGetResponse(r =>
                    try
                        var response = request.EndGetResponse(r);
                        using (var s = response.GetResponseStream())
                            this.Dispatcher.BeginInvoke(() => MessageBox.Show(s.Length.ToString()));
                    catch(Exception ex)
                        this.Dispatcher.BeginInvoke(() => MessageBox.Show(ex.Message));
                }, null);
    Running this code on IE produces the expected result - the size of a blob uploaded to Azure Storage. Unfortunately, the same application, when ran in Firefox, produces a "Security Error" with no further indication of what might be wrong.
    What could be the issue? Where should I even begin looking for one?
    EDIT:
    The same issue occurs in Chrome.
    EDIT 2:
    The SAME issue occurs when I try to download a file from a PUBLIC blob container (same code as above, only different URL). The public blob container also has it's own clientaccesspolicy and crossdomain XML files. Again - the code works in IE, but fails to function
    in Firefox / Chrome.

    I found a valid workaround.
    I've created an ASHX handler on the web site which is hosting the Silverlight application. This handler basically "redirects" a HttpWebRequest to Azure Storage.
                var url = String.Format("http://{0}.blob.core.windows.net/{1}/{2}{3}", accountName, containerName, blobName, sas);
                var request = (HttpWebRequest)WebRequest.Create(url);
                try
                    var response = request.GetResponse();
                    context.Response.ContentType = response.ContentType;
                    using (var stream = response.GetResponseStream())
                        stream.CopyTo(context.Response.OutputStream);
                catch
                    context.Response.End();
    Where the parameters used in building the url are passed as query string parameters to the ASHX handler. While not ideal (an ideal solution would be connecting from SL directly to Azure Storage), this works fast enough and doesn't seem to use much resources.

  • New message won't load, security error in error console

    Hello. I'm posting this here in case the cause of the problem is this error item. I can receive all messages in my different folders except for the Send folder. I can sync it if I restart TB, but subsequent checks (clicking Get Mail, Download Now or Repair Folder) do not work. The error console has this item in multiple entries:
    Security Error: Content at imap://van%40mymail%[email protected]:993/fetch%3EUID%3E/Sent%3E3244 may not load or link to mailbox:///C:/Documents%20and%20Settings/phoenix/Application%20Data/Thunderbird/Profiles/3t4kz4uu.default/Mail/Local%20Folders/Drafts?number=149555299&downloadType=uploadedFile&fileName=twittericon-12px.png&blockId=48d0a45894056572b1570a00285e5f4483ac9eb2e89feffd&zgId=b54d79c69095249d&mode=view.
    Please help. Thanks.

    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, and 40
    These errors typically occur when security software interferes with the restore and update process. Use the steps to troubleshoot security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See the steps under the heading "Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store." If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.

  • JNLPException: security error how to resolve

    "JNLPException[category: security error : Exception: null : LaunchDesc: null " it happened when run app.jnlp on the java web start.
    the app.jnlp is following:
    {code}<?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="http://192.168.0.7:8080/b2/c8/splash/">
    <information>
    <title>A User-Friendly App</title>
    <vendor>Mauro Inc.</vendor>
    <homepage href="home.html"/>
    <description>Install Your programs via the Web, quickly and effectively!</description>
    <description kind="short">An example of a simple Java-launched Installator</description>
    <security>
    <all-permissions/>
    </security>
    <offline-allowed/>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension
    name="Splash Window"
    href="splash.jnlp">
    </extension>
    <jar href="app.jar"/>
    <jar href="first.jar"/>
    <jar href="second.jar"/>
    <jar href="third.jar"/>
    </resources>
    <application-desc/>
    </jnlp>
    {code}
    the splash.jnlp is following:
    {code}
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
         spec="1.0+"
         codebase="http://192.168.0.7:8080/b2/c8/splash//">
         <information>
              <title>Install Your Program Via the Web,quickly and effectively!</title>
              <vendor>Mauro Inc.</vendor>
              <homepage href="home.html"/>
              <description>Install Your Program Via the Web,quickly and effectively!</description>
              <description kind="short">A simple Java-launched Installator</description>
              <offline-allowed/>
         </information>
         <resource>
              <j2se version="1.5+"/>
              <jar href="splash.jar"/>
         </resource>
         <installer-desc main-class="com.fei.Splash"/>
    </jnlp>
    {code}
    The error message is that reference many host computer in one resource.But use other jar file,it do not have error.In this error,I use a singleton pattem in the jar file.
    thanks for your attention.
    Edited by: feiyangdefei on Jan 28, 2008 6:04 AM
    Edited by: feiyangdefei on Jan 28, 2008 6:06 AM
    Edited by: feiyangdefei on Jan 28, 2008 6:08 AM

    by the way,the App.java is following:
    import java.awt.BorderLayout;
    import java.awt.event.WindowAdapter;
    import javax.swing.JLabel;
    import javax.swing.JFrame;
    import javax.swing.ImageIcon;
    import java.awt.event.WindowEvent;
    public class App extends JFrame{
         public App(){
              ImageIcon img =
                   new ImageIcon(getClass().getClassLoader().getResource("images/back.jpg"));
              JLabel jlabel = new JLabel(img);
              jlabel.setLayout(new BorderLayout());
              jlabel.add(new JLabel("An Application..."));
              getContentPane().add(jlabel);
              addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                        System.exit(0);
              pack();
              setVisible(true);
         public static void main(String[] args){
              App app = new App();
    }and the Splash.java is following:
    import java.awt.*;
    import javax.swing.*;
    import javax.jnlp.*;
    import java.net.URL;
    public class Splash extends JWindow implements Runnable{
      private ClassLoader loader;
      private static ExtensionInstallerService extensionInstaller;
      private JLabel ImageLabel;
      private JLabel MessageLabel  = new JLabel();
      private JLabel animLabel;
      private JLabel resourceLabel  = new JLabel();
      private static Splash splash;
      //data
      private String[] jarSequence= {"first.jar", "second.jar", "third.jar"};
      private String[] msgSequence= {
        "Now Even More Powerful!",
        "Incredibly Fast And Reliable!",
        "Ready To Go?"};
      private String codebase = "http://192.168.0.7:8080/jwstest/";
       * Private Constructor - Implements the Singleton Design Pattern
      private Splash() {
        super();
        loader = getClass().getClassLoader();
        //prepare UI
        //ImageLabel = new JLabel(new ImageIcon(loader.getResource("images/background.jpg")));
        ImageLabel = new JLabel(new ImageIcon("images/background.jpg"));
        //animLabel = new JLabel(new ImageIcon(loader.getResource("images/working.gif")));
        animLabel = new JLabel(new ImageIcon("images/background.jpg"));
        resourceLabel.setBorder(BorderFactory.createEmptyBorder(6,6,6,6));
        ImageLabel.setLayout(new BorderLayout());
        ImageLabel.setBorder(BorderFactory.createRaisedBevelBorder());
        ImageLabel.add(resourceLabel, BorderLayout.NORTH);
        ImageLabel.add(MessageLabel, BorderLayout.SOUTH);
        ImageLabel.add(animLabel, BorderLayout.CENTER);
        getContentPane().setLayout(new BorderLayout());
        getContentPane().add(ImageLabel, BorderLayout.CENTER);
        pack();
        //Centers the window
        Dimension size = getSize();
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        if (size.height > screenSize.height) {
          size.height = screenSize.height;
        if (size.width > screenSize.width) {
          size.width = screenSize.width;
        setLocation((screenSize.width - size.width) / 2, (screenSize.height - size.height) / 2);
       * Implements the Singleton Design Pattern
      public static Splash getInstance(){
        if (splash == null)
          splash = new Splash();
        return splash;
       * Sets a message visible at the bottom
       * @param text Text to show
      public static void setMessage(String text) {
        if (splash != null)
          splash.MessageLabel.setText("    " + text);
       * Sets a message visible at the top showing the
       * currently downloading resource file
       * @param rsr Text to show
      public static void setLoadingResource(String rsr) {
        if (splash != null) {
          splash.resourceLabel.setText("Downloading: "+rsr);
       * Shows up the splash window or destroys it
       * @param show
      public static void showUp(boolean show) {
        if (splash == null)
          return;
        splash.setVisible(show);
        if (show == false) {
          splash.setCursor(Cursor.getDefaultCursor());
          splash = null;
        } else {
          splash.setCursor(new Cursor(Cursor.WAIT_CURSOR));
          try {
            // Lookup the Service
            extensionInstaller =
              (ExtensionInstallerService)ServiceManager.lookup("javax.jnlp.ExtensionInstallerService");
            // Hide JNLP Client's download window
            extensionInstaller.hideStatusWindow();
          } catch(UnavailableServiceException use) {
            System.out.println("Service not supported: "+use);
       * Takes charge of all the JAR delivery
      public void run() {
        DownloadService ds;
        int jarNumber = jarSequence.length;
        try {
          ds = (DownloadService)ServiceManager.lookup("javax.jnlp.DownloadService");
        } catch (UnavailableServiceException use) {
          ds = null;
          System.out.println("Service is not supported: "+use);
        }//once have a ds you can do a lot of things
        //begin downloading jars
        for (int i=0;i<jarNumber;i++){
          if (ds != null) {
            processJar(ds,i);
          //take a breath
          try {
            Thread.currentThread().sleep(3000);//IT'S ONLY COSMETICS!
    //        Thread.currentThread().yield();
          } catch (Exception e) {
            System.out.println("Synchronization Exception: "+e);
        }//-for
        showUp(false);//all the needed JARs have processed
        extensionInstaller.installSucceeded(true);//we're optimistic
       * A fancy method that finds out if a JAR is cached and removes it.
       * substitute it with your code.
      private void processJar(DownloadService ds, int i){
        try {
          // determine if a particular resource is cached
          URL url =
            new URL(codebase + jarSequence);
    boolean cached = ds.isResourceCached(url, null);
    // remove the resource from the cache, just for fun
    if (cached) {
    ds.removeResource(url, null);
    // reload the resource into the cache, yes!
    setMessage(msgSequence[i]);
    setLoadingResource(jarSequence[i]);
    DownloadServiceListener dsl = ds.getDefaultProgressWindow();
    ds.loadResource(url, null, dsl);
    } catch (Exception e) {
    System.out.println("Loading Resource: " + e);
    public static void main(String[] args) {
    Splash splash1 = Splash.getInstance();
    splash1.showUp(true);
    splash1.run();
    thank you again.
    Edited by: feiyangdefei on Jan 28, 2008 6:14 AM
    Edited by: feiyangdefei on Jan 28, 2008 6:15 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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

  • How can I fix 2121 sandbox security error, local swf MP3 player test calls MP3's from website?

    1st Issue.  I am a new user and am fighting #2121, #2044 & #2048 Flash security errors in getting an MP3 player to work as I test the fla file in Flash CS4 on my local computer.  The fla in Flash and swf in Dreamweaver calls mp3 files from our host server on the internet.
    After reading various sparce posts and Adobe articles on this issue, I have added a crossdomain.xml file at our websites root (see file below) and added the code, flash.system.Security.allowDomain in line 1 of the action script of the flash fla to allow our site access (-see script below).  These efforts have helped get the player to work better on our test site.
    But, I am still getting the 2121 error within Flash CS4 as I debug the player or play the swf in live view within Dreamweaver.  Playing the fla or swf will lock-up the Flash 10 player and crash the program. I am having the mp3 player access the mp3 files from our web site as I test the fla.
    Here is the debug message I am getting:
    Attemping to launch and connect to Player using URL C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf [SWF] C:\Web Site Files\Plank Productions afc\Plank Productions 2010\site\MP3_List_Player_AS3.swf - 209827 bytes after decompression SecurityError: Error #2121: Security sandbox violation: Sound.id3: file:///C/Web%20Site%20Files/Plank%20Productions%20afc/Plank%20Productions%202010/site/MP3%5FList %5FPlayer%5FAS3.swf cannot access . This may be worked around by calling Security.allowDomain.
    at flash.media::Sound/get id3()
    at com.afcomponents.mp3player::MP3Player/get id3()
    at com.afcomponents.mp3player::MP3Player/handleBuffe ring()
    Here is the crossdomain xml code:
    <?xml version="1.0" encoding="utf-8"?>
    <?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
    <cross-domain-policy>
    <allow-access-from domain="www.plankproductions.com" secure="false"/>
    <allow-access-from domain="plankproductions.com" secure="false"/>
    </cross-domain-policy>
    Here is the AS3 in line 1 of the Fla file that I added:
    flash.system.Security.allowDomain("www.plankproductions.com", "plankproductions.com");
    2nd Issue.  The online playback of the mp3 player will play about 4-7 mp3’s then lock-up in Internet Explorer 8 on a pc.  I think that is related to flash security, not sure, I do not know how to debug the mp3 player on the web site.
    http://plankproductions.com/pptemplate_afc_mp3.shtml
    Questions.
    -How can I resolve the error 2121?
    -What as3 code do I need to target the local c drive to have security clearance and work properly, is this the problem?
    -Why is the mp3 player locking up on the web page?
    Thank you in advance for any help.
    Operating System: Windows XP Professional, CS4 Web Premium

    Do you have the standard or debug player installed?  Such errors should not occur with the standard player.
    See http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html#main_Find_Flash_Play er_version_type_and_capabilities__Flash_developers_only_

  • Today I tried to open Safari and what I was presented was several minimized windows stating that there was a security error detected, also a suspicious activity was found in my computer. How do I go by in getting this cleared off?  Help.  Thanks

    MAcBook Pro, 2.4 Ghz Intel Core 2 Duo, 4GB 1067Mhz DDR3, Software Mac OS X Lion 10.7.5 (11G63). 
    Problem:  i tried to open Safari about a couple of hours ago and I was presented with this error message block with an address of http://www.virushealthcheck.com. The message is; Windows detected security error, due to suspicious activity found on your computer.  Contact Windows Certified Live Tech ( 1.866.606.2003).  If I clk the OK button , there are multiple layered windows that will appear after that.  Can't get out of it , except to quit Safari.  earlier today before this happened I was on Facebook, Instagram, responding email cutting and paste transactions and saving it to Microsoft word.  then I turned off my lap top for several hours. When I turned it back on awhile ago, I discovered this problem.  on top of that aI can't even clear the history everything is gray out except for the Earlier today, and the day and date of the month. I tried several times to quit Safari, turn off and turn back on my lap top to no avail.  My question is; How do I go by to in getting this error message when I click on Safari? Does that mean that I might have a virus in my lap top? Please Help.  Thanks.

    Force Quit .
    Press command + option + esc keys together at the same time. Wait.
    When Force Quit window appears, select the Safari if not already.
    Press Force Quit button at the bottom of the window.   Wait.
    Safari will quit.
    Relaunch Safari holding the shift key down.
    http://www.thesafemac.com/fbi-ransomware-virus-rampant/

  • Java Security Error while Launching the Application through JNLP

    Hi!,
    I have a problem in launching my Application through JNLP. It is giving the Error dialog as "Unable to lauch application" with the dialog title as "Java Security Error".
    I don't know why this problem is coming but when I have reset my profile on my system & then I tried to launch the same application & I got success.
    Can anyone suggest me what was the problem?
    Pradeep Gupta

    hi,
    usually it is the web dynpro launch system that is causing the issue, OR there is a misconfiguration in the backend like the tasks are set up with com.sap/esslea in the backend and the xml file is referencing sap.com <SWITCH>/esslea and the dynpro is showing this as not deployed.
    Regards
    Sharanya Rajagopal

  • Security Error when trying to access web service

    I have an app that connects over HTTPS to a web service on
    our internal network. The interface to the web service was created
    by using the WSDL Import function of the Flex IDE.
    I can run the app and retrieve data without a problem when I
    run from the debug-bin folder that the Flex IDE compiles to.
    However, I cannot connect to the web service from anywhere else,
    such as a different location on my own local drives, a network
    drive, or another persons machine.
    I've setup a local instance of Apache with mod_ssl so I could
    host the app under an HTTPS connection itself, which the
    documentation seemed to imply that would work. However, when I run
    the app, I get:
    [FaultEvent fault=[RPC Fault faultString="Security error
    accessing url" faultCode="Channel.Security.Error"
    faultDetail="Destination: DefaultHTTPS"] messageId=null
    type="fault" bubbles=true cancelable=true eventPhase=2]
    I am accessing the app by going to
    https://mymachine.companydomain.com/myapp.html, and the web service
    is being accessed through https://webservice.companydomain.com/.
    Anybody have any thoughts on what I should be looking at?
    I've been searching and trying things for a few days with no luck.
    Any help would be appreciated. Thanks.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Webservice - security error

    Hi All,
    We are receiving the security error provided below while invokingthe LegalReportingUnitService -http://Host:Port/finLeLegalEntitiesModel/LegalReportingUnitService?WSDL using HTTP Analyzer (Jdeveloper) or SOAP UI.
    Also we find that the web service is having OWSM Policies - Directly Attached Policy - oracle/wss11_saml_or_username_token_with_message_protection_service_policy
    Please let us know what information has to be provided apart from username/password credentials to this webservice.
    a. Error message while invoking the web service using ext port & SSL url :
    https://xxxx-fin-ext.example.com:xxxxx/finLeLegalEntitiesModel/LegalReportingUnitService?WSDL
    Error Message: 401 Unauthorized.
    Log details:
    Response Header-----------------=_Part_9_498083750.1342417354448
    Content-Type: application/xop+xml;charset=UTF-8;type="text/xml"
    Content-Transfer-Encoding: 8bit
    Content-ID: <a1759cc915eb4db6ab48a1b97d3f1386>
    <?xml version="1.0" encoding="UTF-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:ns2="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/types/" xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/"><env:Header><ns1:Security><ns1:UsernameToken><ns1:Username>Fusion</ns1:Username><ns1:Password>welcome</ns1:Password></ns1:UsernameToken></ns1:Security></env:Header><env:Body><ns2:createLegalReportingUnit><ns2:legalReportingUnit xmlns:ns2="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/types/"><ns3:PartyId xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">300000002842377</ns3:PartyId><ns3:LegalEntityId xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">300000002842369</ns3:LegalEntityId><ns3:GeographyId xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">300000000225396</ns3:GeographyId><ns3:Name xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">Test123</ns3:Name><ns3:MainEstablishmentFlag xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">Y</ns3:MainEstablishmentFlag><ns3:MainEffectiveFrom xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">2011-07-03+05:30</ns3:MainEffectiveFrom><ns3:MainEffectiveTo xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">2012-07-16+05:30</ns3:MainEffectiveTo><ns3:EffectiveFrom xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">2012-07-16+05:30</ns3:EffectiveFrom><ns3:EffectiveTo xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">2012-07-16+05:30</ns3:EffectiveTo><ns3:ObjectVersionNumber xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/">1</ns3:ObjectVersionNumber><ns3:ActivityCode xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/"/><ns3:SubActivityCode xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/"/><ns3:TypeOfCompany xmlns:ns3="http://xmlns.oracle.com/apps/financials/legalEntity/legalEntities/legalReportingUnitService/"/></ns2:legalReportingUnit></ns2:createLegalReportingUnit></env:Body></env:Envelope>
    ------=_Part_9_498083750.1342417354448—
    b. Error message while invoking this web service using int port –
    http://xxx-fin-int.example.com:xxxx/finLeLegalEntitiesModel/LegalReportingUnitService?WSDL
    Error Message: 500 Internal Server error.
    Log details:
    Response Header: ------=_Part_8_481967515.1342415673437
    Content-Type: application/xop+xml;charset=UTF-8;type="text/xml"
    Content-Transfer-Encoding: 8bit
    Content-ID: <f4ef59739fc64cacb9829403d3a171d5>
    <?xml version="1.0" encoding="UTF-8" ?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:ns0="http://schemas.oracle.com/owsm/policy-enforcement-2007-06"><faultcode>ns0:GenericFault</faultcode><faultstring>GenericFault : generic error</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    ------=_Part_8_481967515.1342415673437—
    Regards,
    Ramesh

    Hi, I am using Weblogic Oracle 12c and standalone server no clusters. I have a webservice configured which is working from the Weblogic, using DemoTrust.jks I just downloaded the SOAP-UI and having issues with this, I set up the aut Tab to use Global HTTP Settings for the authorization type and added a keystore which is pointing to the DemoTrust.jks.
    When I run a test, I receive this error
    Tue Jul 31 09:40:38 PDT 2012:DEBUG:<< "<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurity</faultcode><faultstring>Error on verifying message against security policy Error code:1000</faultstring></env:Fault></env:Body></env:Envelope>"
    You wouldn't know what this is about, from what I am reading it seems I need to pass a policy to the server from the client but unsure what to configure.
    If you have any insight I would appreciate it.

  • Error in service call of Resource

    Hi,
    We are getting following error after logging to portal . the error message is
        Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 06:51_10/11/09_9448_11617051
    See the details for the exception ID in the log file.
    And also please find the attached defaulttrace log.
    #1.5 #002481D1537E003D000001040000146A00047804045B3BBC#1257858555338#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0####3f30e2a0cdfa11dec4e1002481d1537e#SAPEngine_Application_Thread[impl:3]_84##0#0#Error#1#/System/Server#Java###Exception ID:06:39_10/11/09_8424_11617050
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.hrms.runtime.logon.default
    Component class : com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    User : Guest
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:109)
         at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:258)
         at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:36)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:83)
         at sapportalsjspumLogonPage.service(_sapportalsjsp_umLogonPage.java:57)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 49 more
    Caused by: java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:436)
         at java.lang.Integer.parseInt(Integer.java:518)
         at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:1176)
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:77)
    Please suggest..
    Regards,
    Velu

    We are getting the same error (See below). Can anyone suggest what could be possible solution?
    Exception ID:05:33_15/11/10_0119_84931051
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.cvg.pct.hcm.pcr_voluntarytermination.default
    Component class : com.sap.pct.fin.util.isrprocessevent.IsrProcessEvent
    User : N000061957
                    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
                    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
                    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
                    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
                    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
                    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
                    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
                    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
                    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
                    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:109)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
                    ... 38 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
                    ... 41 more

  • 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 .

Maybe you are looking for

  • JetPack 4G LTE connects but "no internet access" message

    Would appreciate any help. My JetPack 4G LTE mi-fi connects to the internet (3G or 4G) and shows that my devices are connected to it.  However, I cannot get on the internet. 1)  I have three different devices - two laptops and a smartphone.  All thre

  • Issue on Comp Off validity

    Hi Gurus, I am facing issue on comp off validity. Validity is 15 days only and rule is if employee worked on sunday/public holiday then he will get comp off issues. 1st week is ok, next week comp off is validity is same as 1st week, some times 3rd we

  • How to retrieve/display PM Notification attachments in Browser???

    Hi, We use PM notifications and want to be able to provide a web search facility of notifications and indicate if a notification has attachments stored against it, if so then the user has the option to view the attachment selected in a new browser se

  • Problems connecting a SE P1i to an OS X IMAP server

    I just got a brand new Sony Ericsson P1i. I got it working no problem with .mac mail, however, I am having problems connecting via SSL with the server refusing to accept user name and password (that's the error message on the phone). In the logs, I f

  • Rename a Procedure/Function. How?

    Hi folks! what is the statement to rename a procedure whether it is a stand-alone or a packaged one? I used ALTER PROCEDURE <existing_procedure_name> RENAME TO <new_procedure_name>; This statement is throwing some internal error message. Your favour'