MapViewer 11g over https problem - how to solve ?!?

Hi,
anyone able to access mapviewer 11 g deployed on standalone OC4J 10.1.3.4 over Https ?
Namelly, the following link works:
https://localhost/mapviewer/
_but, going on the 'Demos' tab, and clicking on the 'maps and faces' link ( https://localhost/mapviewer/faces/fsmc/oraclemaps.jspx ) - produces the following javascript error:
[Exception... "Access to restricted URI denied"  code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"  location: "https://localhost/mapviewer/fsmc/jslib/oraclemaps.js Line: 6497"]Anyone able to access mapviewer (deployed on any server) over https ?

MapViewer works over HTTPS with some minor configuration changes. First, you may need to tell MapViewer to return generated map image URLS in the form of "https://...", which is done in the config file mapViewerConfig.xml through the <save_images_at> element.
From the error message it does seem to indicate maybe the JavaScript API (oraclemaps.js) is being loaded from "http://" while the web page itself is accessed via "https://" and browser thinks they are two different domains. Maybe you can change how the JS library is loaded in your page and see if that fixes the issue?

Similar Messages

  • MapViewer 11g over https - how ?!?

    Hi,
    anyone able to access mapviewer 11 g deployed on standalone OC4J 10.1.3.4 over Https ?
    Namelly, the following link works:
    https://localhost/mapviewer/
    _but, going on the 'Demos' tab, and clicking on the 'maps and faces' link ( https://localhost/mapviewer/faces/fsmc/oraclemaps.jspx ) - produces the following javascript error:
    [Exception... [b]"Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "https://localhost/mapviewer/fsmc/jslib/oraclemaps.js Line: 6497"]
    Anyone able to access mapviewer (deployed on _any server) over https ?
    Edited by: Cvele on Oct 30, 2008 6:54 AM

    Cvele wrote:
    [Exception... [b]"Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "https://localhost/mapviewer/fsmc/jslib/oraclemaps.js Line: 6497"]- maybe this is something connected with Ajax request ?
    Cannot believe that nobody can access mapviewer over https ....
    Any advice, anything ?

  • I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem?

    Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance

    Not Charge
    - See:     
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Help : After upgrade to IOS5, I only can use my iphone 3gs in Spore instead of Msia. Any1 know what is the problem & how to solve it?!

    I bought iphone 3gs in singapore last year,I had no problem to use it in Singapore & Malaysia but after i upgrade to ios5,i can't use it in malaysia.It will automatic restart my phone itself. Is it because of IOS5 problem?!Because when I register my itune a/c, I selected the country is Singapore. Anyone know what is the problem & how can I solve it?!

    If it automatically restarts the phone firmware is corrupt. Restore the phone with iTunes and set up as a new phone, do not restore your backup, which is likely where the corruption is. If it then works you can try restoring just the backup. If that breaks it again you know where the problem is; you will have to start over and manually reinstall your content.
    To restore just the backup, right click on the phone's name in iTunes and select "restore from backup"

  • Mangled file downloads over http problem in 10g

    I have a web app running in an OC4J stand alone 10.1.3.3 and am having a problem with downloading files over http. Its a struts2 app whose file downloading impl is easy to use and standard code for writing to an http servlet response output stream.
    Using the firefox plugin for Live Headers I can see that the headers are correctly added to the servlet response and I do get the file I want. However the file has been mangled with binary output around the text. This is the case for txt, word, or any other file.
    This problem does not occur in Jetty or Tomcat. I've also ruled out file corruption while going in/out of the database since I can upload a file when running oc4j, turn off oc4j, start up my app in Jetty and retrieve the same file just fine.
    The mime types are all accounted for and the problem exists regardless if I use a specific content type or just application/download. My browsers (firefox and ie) also recognize all files from the content disposition value "attachment; filename=myfilename.ext". Its just the file content that some how has been wrecked on the way out of the container.
    Has anyone experienced this? I only found one or two unanswered posts elsewhere.
    How can this be mitigated?
    Thanks in advance.
    Andrew

    Figured it out when I realized it was in fact the data coming from the database that was corrupt. There were some older posts on the hibernate website that pointed to a single property that needs to go in the hibernate.properties file: hibernate.jdbc.use_streams_for_binary=true. Without it, Oracle returns the Blob locator consistently 86 bytes in length and therefore bad binary.

  • Sending audio data over http problem

    Hi Guys,
    We are trying to create a little servlet in Tomcat, which is capable to send audio files over http to an embedded media player. The definition of the player looks like:
    <OBJECT ID="Mp" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" TYPE="application/x-oleobject" WIDTH="0" HEIGHT="0">
    <PARAM name="uiMode" value="none">
    <PARAM NAME="ShowControls" VALUE="0">
    <PARAM NAME="AutoStart" VALUE="1">
    <PARAM NAME="ShowPositionControls" VALUE="0">
    <PARAM NAME="ShowStatusBar" VALUE="0">
    <PARAM NAME="ShowDisplay" VALUE="0">
    </OBJECT>
    <script language="javascript">document.Mp.URL = "here comes the url of the servlet with item ID";</script>
    The servlet reads the audio file and writes its content to the response with the following http header settings:
    getResponse().setContentType("audio/x-wav");
    getResponse().setHeader("Content-Transfer-Encoding", "binary");
    getResponse().setHeader("Pragma", "Public");
    getResponse().setHeader("Cache-Control", "must-revalidate, post-check=0, pre-check=0");
    getResponse().setHeader("Content-Disposition", "inline; filename=Media.wav");
    getResponse().setHeader("Content-Length", new Integer(MediaBytes.length).toString());
    getResponse().setHeader("Accept-Ranges", "bytes");
    So, everything works fine for wav files in Internet Explorer, but we are facing problems with Firefox, where it does not work. The embedded Media Player says that "Windows Media Player cannot play the file. One or more codecs required to play the file could not be found."
    But if we set the url to directly to the file on the server, everything works fine.
    We have analyzed the HTTP traffic in both situation, but we cannot understand how Internet Explorer/Firefox and Media Player works together:
    - how does Media Player know that the audio file is playable?
    - if the url points directly to the file, the HTTP headers does not contain any kind of information about the file type, only the extension is available; Media Player checks the file extenion in the url?
    - if the url points to the servlet, why Media Player in Firefox cannot determine the file type and throws error?
    Any help is greately appreciated!
    Thanks!
    Gabor

    If you haven't already, I would try breaking down the problem. First confirm you're getting serial data then confirm that netcat can send some data. Like this:
    xxd < /dev/tty.usbmodemfa121 | less
    nc -u 10.0.1.3 7000 <<< 'hello over there'

  • RTMP over HTTP problem

    Hi all; i am new on steaming & flash server; when we try to use RTMP over HTTP the outside client gets the internal IP address of the FMS server instead of the NAT one or public IP address, how can we solve this. Thank for the help in advance.
    Thanks

    Unfortunately a lot of this depends on your NAT.  It's not entirely clear where your NAT is, and where the server lies relative to it.  Typically we're talking about clients that can poke a hole out of the NAT, and thus they would typically appear to have an IP that maps back to the NAT as needed.  If it's the reverse and the FMS server is on one side of a proxy and can be reached - in that case the proxy could report its IP via the forwarded-for field for the conector on the other side.  So, I guess the answer depends a lot on config and proxy settings.

  • HT201412 Hi, I have an iPhone 5S went into recovery mode and Restore does not clear up the problem, how to solve?

    Hi, I have an iphone 5s went into recovery mode and reset does not clear up the problem, How to slove?

    imansoheili wrote:
    Hi, I have an iphone 5s went into recovery mode ...
    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Can not publish to iWeb 3.0.2, maybe a sync problem, how to solve it?

    My earlier MacbookPro died and I got a new one. Since then the iWeb does not work at all. I have a valid Mobileme subscription till spring next year, but iWeb does not show the existing sites (which are in the other computer) and does not start publishing and does not want to sync the existing sites into the new one. I can publish to Homepage, though.
    The only action iWeb does is to take me to the Sync window, it confirms that I have a valid subscription, but thereafter nothing happens.
    This must be a problem with sync settings, I gather, but where do I find it, and the key to solve it?
    I do NOT want to sync all information from this computer to mobileme or viceversa, otherwise I loose info stored from the previous computers to my iDisk and mobileme spiderweb.

    tortuga wrote:
    iWeb does not show the existing sites (which are in the other computer)
    You need iWeb's Domain file from the other computer (your old MacBook Pro) — here's a diagram of where it usually resides:
    ...But since it "died" and presumably inaccessible, see this Apple doc on How to back up MobileMe data. It says:
    “Any websites you have published with iWeb should still be available within iWeb. iWeb stores everything in a Domain file, normally located in the ~/Library/Application Support/iWeb folder (although it can be moved). If you no longer have this file, you can view your currently published pages and manually recreate them within iWeb, but *there is no way to import published pages back into iWeb*. You can manually back up the Domain file, or use Backup to back it up.”
    By the way, here's the normal procedure when your old computer has not died:
    _iWeb: Modifying your site from another computer_
    iWeb: Publish to your MobileMe account from more than one computer

  • The problem how to solve? please help me!!

    [archer@ArchLinux ~]$ optirun glxspheres
    [  854.866829] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
    [  854.866895] [ERROR]Aborting because fallback start is disabled.
    $lspci
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev ff)
    [archer@ArchLinux ~]$ grep -Fn '(EE' /var/log/Xorg.8.log
    15:    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    111:[   243.691] (EE) Failed to load module "kbd" (module does not exist, 0)
    152:[   248.412] (EE) NVIDIA(0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
    153:[   248.412] (EE) NVIDIA(0):     check your system's kernel log for additional error
    154:[   248.412] (EE) NVIDIA(0):     messages and refer to Chapter 8: Common Problems in the
    155:[   248.412] (EE) NVIDIA(0):     README for additional information.
    156:[   248.412] (EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!
    157:[   248.412] (EE) NVIDIA(0): Failing initialization of X screen 0
    162:[   248.412] (EE) Screen(s) found, but none have a usable configuration.
    163:[   248.412] (EE)
    165:[   248.412] (EE) no screens found(EE)
    166:[   248.412] (EE)
    170:[   248.412] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    171:[   248.412] (EE)
    172:[   248.412] (EE) Server terminated with error (1). Closing log file.
    dmesg /var/log/kern.log
    [  242.257730] bbswitch: enabling discrete graphics
    [  242.530494] pci 0000:01:00.0: power state changed by ACPI to D0
    [  242.629963] nvidia: module license 'NVIDIA' taints kernel.
    [  242.629967] Disabling lock debugging due to kernel taint
    [  242.636291] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
    [  242.636518] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
    [  242.636524] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  319.32  Wed Jun 19 15:51:20 PDT 2013
    [  248.686837] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
    [  248.686844] NVRM: os_pci_init_handle: invalid context!
    [  248.686846] NVRM: os_pci_init_handle: invalid context!
    [  248.686849] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
    [  248.686852] NVRM: os_pci_init_handle: invalid context!
    [  248.686854] NVRM: os_pci_init_handle: invalid context!
    [  248.708598] NVRM: RmInitAdapter failed! (0x25:0x28:1148)
    [  248.708605] NVRM: rm_init_adapter(0) failed
    [  412.985316] bbswitch: enabling discrete graphics
    [  444.725429] bbswitch: enabling discrete graphics
    [  444.725441] nvidia 0000:01:00.0: power state changed by ACPI to D0
    [  444.737304] nvidia 0000:01:00.0: Refused to change power state, currently in D3
    [  855.853493] bbswitch: enabling discrete graphics
    [  855.853504] nvidia 0000:01:00.0: power state changed by ACPI to D0
    [  855.865451] nvidia 0000:01:00.0: Refused to change power state, currently in D3

    JWR's managed more tact than I would have.  Saying the current title is not meaningful is a gross understatement.
    As for the problem, posting that output is very useful.  But it is useful as a supplement to your description, not in place of it.  What packages have you installed, what instructions are you following (I'm hoping/guessing the bumblebee article on arch's wiki).
    Probably relevant: https://bbs.archlinux.org/viewtopic.php?id=167234
    Last edited by Trilby (2013-08-07 14:19:12)

  • Netscape 7.1 has java plugin problems, how to solve, part 2?

    I have a Linux computer and in /usr/local/netscape/plugins,
    I did
    ln -s /home/xxx/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
    The netscape can starts, but my java applets were not able to be loaded,
    and under Help->About Plug-ins, there is nothing indicating a java plug-ins.
    So Please help. Thank you.

    try reading this:
    http://forum.java.sun.com/thread.jsp?forum=54&thread=358458

  • How to consume SAP enterprise services over https using third party tools?

    Hi guys,
    am just testing consumption of ES using jboss instead of NW for client applications. The ES in our internal ERP are bit strange, ie. they are using HTTPS transport even though you can configure ES with HTTP transport. (in this case, the requests are always redirected to HTTPS one). Wanna hear from perhaps someone who had similar experiences about
    - Have you encountered the situation that ES can only exposed as HTTPS WS. Is there any way to enable HTTP ES?
    - The way to consume ES over HTTPs. How to configure and generate the client which can talk HTTPs with ES?
    Any comnments are thankful.
    Best,
    Ji
    Edited by: Ji Hu on Oct 1, 2010 3:20 PM

    Thanks.
    Have solved the problem. I need to configure my client, i.e. JVM to connect the server with https. The generated ws client stub itself does not need to care about HTTPS or HTTP transport.
    In some case, one do have enabled HTTP transport via soamanager, but it never became HTTP (redirected to HTTPS). I have no idea why, but have to talk in  HTTPS as the only one option.

  • How to access Flash Apps over https with a self signed certificate?

    I have a Flex app that needs to access data from a SOAP web service over https with a self signed certificate. The app needs to ignore the https warnings, just as a browser would warn & allow the user to proceed. Buying a valid signed certificate is not an option for us.
    It works fine over http.
    How can I achieve this?
    I read that URLRequest has a property: authenticate, that I can set to false. However, this property is available only for Adobe AIR applications from what I can see. This doesn't seem available for Flex apps.
    I have tried this in both Flex 3 & the latest Flash Builder 4. Have the same issue in both cases.
    Help appreciated.
    Thanks

    You'd really need to ask in the Flex or Flash Builder forums as this is a front end code modification and Flash Player can't do any of that.

  • Oracle SOA 11g TP3 - Tutorial problem

    Hello!
    I am quite new to this whole platform, and while I was following the First step of the tutorial, I ran into a problem, which I have no idea how to solve.
    (this tutorial: http://download.oracle.com/otndocs/products/soa/105-end2end-PO-Processing.zip )
    As it said I installed the prerequisites,
    an Oracle database,
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    the Oracle SOA Suite 11g TP3,
    as well as jDeveloper 11.1.1.0.0
    After I successfully created and successfully deployed the 'CreditCardValidation Application' following the steps in 105-end2end-PO-Processing_2.pdf (part of the zip, but it's basically a database adapter a mediator and an exposed web service packed together) and I tried to test it, i got this error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode
    xmlns="">env:Server</faultcode>
    <faultstring
    xmlns="">null: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'OracleXESelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver Error Code: 0. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </faultstring>
    <faultactor
    xmlns=""/>
    <detail
    xmlns="">
    <exception/>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    If I understand it correctly, the core of the problem is this:
    java.sql.SQLException: No suitable driver Error Code: 0.
    now if this is the problem, how to solve it?
    Ideally I would start by looking at the configurations of Toplink, but I didn't install Toplink, as such I have no idea where these options are.. (Is it part of the database in this current configuration?)
    Thanks in advance!
    Mike

    Actually, the tutorial works fine in this version, all the way through. Specifically, the database adapter is working.
    The problem you are having has been discussed on this forum. You should do this:
    sqlplus sys/system@XE as sysdba
    SQL> show parameter session
    SQL> show parameter processes
    SQL> alter system set sessions=100 scope=spfile;
    SQL> alter system set processes=150 scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    SQL> show parameter session
    And restart your server. That should fix it. Some people have also restarted Windows.
    Heidi.

  • How to solve oracle.exe application error

    i executed 3000 lines of procedure at the time service is shutdown automatically and restart again ad again got the same problem.how to solve the instruction
    at "0*77fcc441"referenced memory at "0*2072614d" the memory could not be read.

    messages of the format the instruction at ... referenced memory at ... the memory could not be read. usually indicate a Windows bug, sorry, emergent behaviour on the part of the MS operating system. I find it quite hard to see what you could do with 3000 lines of PL/SQL that could do this. What were you doing?
    Do you have a backup of your database that you can restore?
    What version of the database? What MS platform?
    Cheers, APC

Maybe you are looking for

  • No destination is currently free for parallel processing - SAPRCK10

    Hello ABAPers, We have scheduled SAP standard program "SAPRCK10" in background processing at our production server on daily basis. It was worked fine on last week before but its now giving a error says "No destination is currently free for parallel p

  • Create Data type table in 46B

    Hi Quick one, can I dynamically create tables in 46B using the 'create data dref type table of ty_table' in 46B.  It seems not but I just wanted to check.  Otherwise I will resort to using the construct below: CALL METHOD cl_alv_table_create=>create_

  • Iterate thru a HashMap() to view its keys and values

    I need to iterate over the hashmap to view its keys and values but the hashmap in 1.5 doesnt return itearor is there another way to view the key and value in the hashMap HashMap<String, Integer> colMap = new HashMap<String, Integer>(); String[] array

  • The Best Way to make your iPad battery last the longest!

    After checking many sources and also discussions here -- this is one article that pretty much sums up the best way to make your iPad battery last the longest! It basically comes down to JUST ONE THING (mainly) -- and that is simply REDUCING YOUR CHAR

  • Stock transfer from Reservation stock to Unrestricted

    Hi Is it possible to post stcok transfer Reservation stock to unrestricted stock.. Please suggest