Yahoo Maps in MapViewer ?
Hi,
are there any plans to integrate Yahoo Maps in a later version of Oracle Maps again?
Regards,
Friedhold
Thank you for the information.
Last year I saw a NAVTEQ car in South-East of Germany (this) and
was able to speak with the driver and since I know that NAVTEQ belongs to Nokia.
Best Regards,
Friedhold
Similar Messages
-
Why am I unable to use the mouse to move maps around in yahoo maps?
When I open yahoo maps, I'm unable to hold down the left mouse button and move the map around to view other locations. However, double-clicking will allow me to zoom in and I can right click to pull up options to zoom out. This isn't an issue when I open yahoo maps in IE, but I don't want to use IE.
Hello gremles125,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
Printable Maps from MapViewer - 600dpi
Hi -
We would like to create print quality maps from MapViewer in the 600 DPI range. We've noticed that MapViewer will bomb out if we specify an image size over 2000 px in size, which means that at 600 dpi, the largest image would be about 3 inches square.
Also, as larger images are created (larger meaning more pixels x pixels), the markers and text size get relatively smaller. I would think the size of these features would be based on the DPI setting when they are rendered. Is there any way to change the DPI for a request, or plans to support such a thing?
Thanks,
--eeThanks to all for the replies.
In response to the first reply, when importing the shapefile I select the default styling which I think is generally a red color for the content. Nothing out of the ordinary there.
For the themes, I actually tried it both ways. First just importing without the theme creation and doing it manually. I also tried it using the flow generated by the utility and still no luck.
The map renders beautifully in the MapBuilder tool. I can preview it and move around although the zoom in and out does cause some of the layers to drop. So everything is perfect until I try and view it in an AJAX enabled page.
I thought that the scaling factor may be a source of the problem but my question is how do you know what to use for the minx and maxx parameters? The SRID that I used was the WGS84 which is something like 4326. This is actually selectable when doing the import with the MapBuilder tool.
So is there a rule of thumb for chosing the minx and maxx parameters? Also, do you set the minx and maxx in the MapBuilder or are these properties for the mapviewer page?
Tim -
Yahoo maps not working in air? pls help!!! someone!!!
Hi everyone,
I have created a partial air app and now i need a yahoo map.
The code which I have works in dreamweaver when i test it as a normal web html file but does not work then when I use it in aptana studios for air apps.
The code is :
<head>
<script type="text/javascript"
src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=myappid"></script>
<style type="text/css">
#map{
height: 100%;
width: 100%;
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
// Create a map object
alert('1');
var map = new YMap(document.getElementById('map'));
alert('2');
// Add map type control
map.addTypeControl();
// Set map type to either of: YAHOO_MAP_SAT, YAHOO_MAP_HYB, YAHOO_MAP_REG
map.setMapType(YAHOO_MAP_REG);
// Display the map centered on a geocoded location
map.drawZoomAndCenter("San Francisco", 3);
</script>
</body>
</html>
The error I am receiving is "ReferenceError: Can't find variable: YMap"
can anyone tell me why?
Thank you all so much in advance?
IrishAirMaxContent in the AIR application security sandbox (content installed with the application) cannot directly load JavaScript files from remote domains. This is a security feature to prevent application from executing scripts from potentially dangerous sources.
However, in an iframe or frame, you can load a file in the application directory into a non-application sandbox, such as a remote sandbox "http://api.maps.yahoo.com". For example, the following example maps content installed in the sandbox subdirectory of the application to run in the remote sandbox for the http://api.maps.yahoo.com domain:
<iframe
src="http://www.example.com/local/ui.html"
sandboxRoot="http://api.maps.yahoo.com/local/"
documentRoot="app:/sandbox/">
</iframe>
That local file (in the iframe) can now load a script file from http://api.maps.yahoo.com. And the parent page (of the iframe) can communicate with the child iframe using the AIR script bridge mechanism.
This is all described here:
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html
And here's a "quick start" application that shows you how to use the sandbox mapping and script bridging features:
http://www.adobe.com/devnet/air/ajax/quickstart/sandbox_bridge.html -
APEX as frontend for Oracle Maps and Mapviewer data
Just to let you know:
I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
Guess you will understand from the screens, what all is possible and beyond...
An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
Feel free to have a look !
Bernhard
http://htmldb-de.blogspot.com/Just to let you know:
I did some work with Oracle Application Express (APEX) integrating Oracle Maps and Mapviewer functionality
and published it occasionly it in my Oracle Application Express (German) BLOG. : http://htmldb-de.blogspot.com/ -
Guess you will understand from the screens, what all is possible and beyond...
An integration (application) of APEX and Mapquest for Routeplanning done in APEX can be seen (and downloaded) as well.
Feel free to have a look !
Bernhard
http://htmldb-de.blogspot.com/ -
I'm trying to do a little trial with Flex and the Yahoo Map
API but I'm getting no place. I'm assuming I've got the old
extension for Flex 1.5 but I'm not sure.
I see one of the derby winners used it so I'm assuming it
works in 2.0 now somehow.
I'm getting this error with this simple app and I do have the
YahooMap.swc file in my application root folder:
1046: Type was not found or was not a compile-time constant:
YahooMap
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:yahoo="com.yahoo.maps.api.flex.*" xmlns:local="*" xmlns="*"
>
<yahoo:YahooMap id="myMap" width="550" height="400"
zoomLevel="3" latitude="37.77159" longitude="-122.401714"
initialize="onInitialize(event);" />
</mx:Application>
Thank you for the help.I have also been trying, the answer I get from the Yahoo
folks is that they
do not, as of yet, have a version of the MAP API for Flex
2.0. I even
offered to help port it. No reply.
"MnWild" <[email protected]> wrote in
message
news:e9jhdk$e0i$[email protected]..
> I'm trying to do a little trial with Flex and the Yahoo
Map API but I'm
> getting
> no place. I'm assuming I've got the old extension for
Flex 1.5 but I'm
> not
> sure.
>
> I see one of the derby winners used it so I'm assuming
it works in 2.0 now
> somehow.
>
> I'm getting this error with this simple app and I do
have the YahooMap.swc
> file in my application root folder:
>
> 1046: Type was not found or was not a compile-time
constant: YahooMap
>
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
> xmlns:yahoo="com.yahoo.maps.api.flex.*" xmlns:local="*"
xmlns="*" >
> <yahoo:YahooMap id="myMap" width="550" height="400"
> zoomLevel="3" latitude="37.77159"
longitude="-122.401714"
> initialize="onInitialize(event);" />
> </mx:Application>
>
> Thank you for the help.
>
> -
Displaying maps in MapViewer at a defined scale
Dear all
Is it possible to display maps in MapViewer 10.2.1 at a defined scale? For example 1:10,000; 1:5,000; 1:2,500 and so on.
If so does the Oracle MapViewer map scale refer to a representative fraction value? If not does anyone here know what the MapViewer map scale does refer to?
I have attempted to calculate the map units for a complete map but as my ground distance is in metres, I converted by display size to metres. Is that okay or does MapViewer requires it to be keep in inches?
Converting to metres I got a value of 7877.8229644371376654841221770792.
If I stayed with inches I get 200.09670329670329670329670329672
Would I be right in thinking that for raster maps whose image dpi is not 72dpi, you use the dpi value of the raster map image and not 72dpi.
Kind regards
TimJoao,
Having thought your answer it would work, it didn't. Having read through the MapViewer manual, I can find no reference to scale with regard to centre. There is just size.
Using scale I got an error message which I've posted below. However as soon as I changed it to size I got no error message, although I get a blank screen no matter which number I've used.
The error using scale is:
<oms_error>
Message:[XMLHelper] error in parsing xml map request.
Sun May 17 13:06:02 BST 2009
Severity: 0
Description:
Message:[XMLHelper] map size/scale not defined in xml map request.
Sun May 17 13:06:02 BST 2009
Severity: 0
Description:
at oracle.lbs.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:207)
at oracle.lbs.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:169)
at oracle.lbs.mapserver.oms.getMapRequest(oms.java:678)
at oracle.lbs.mapserver.oms.doPost(oms.java:314)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
</oms_error> My script is using size is as follows:
<?xml version="1.0" standalone="yes"?>
<map_request
title="Hello World"
datasource = "geg00001"
srid="81989"
width="640"
height="480"
format="PNG_STREAM">
<center
size="835">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>835.65,632.25</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
<themes>
<theme name="georaster_theme" >
<jdbc_georaster_query
georaster_table="geg50160.web_raster_map_file_bng"
georaster_column="web_raster_map_bng"
jdbc_srid="81989"
datasource="geg00001"
asis="true">
select A.web_raster_map_bng
from geg50160.web_raster_map_file_bng A, geg50160.HQ_RASTER_MAP_FILE B
where A.HQ_RASTER_MAP_ID = B.HQ_RASTER_MAP_ID
AND B.original_map_publication_id=200001
</jdbc_georaster_query>
</theme>
</themes>
</map_request>I am not sure what number I need to put in for the size so in the above example I used the centre coordinate figure. I also tried 253.99999999999997, which is the master scale listed in the MapBuilder messages, when I entered a scale of 10,000 [1:10,000]. However I did try other figures too and none of them worked.
Kind regards
Tim -
Yahoo maps QT w/ question mark
I have QT Pro v 7.2. No problem viewing web movies, movie trailers. But, when I go to Yahoo maps, I get a mostly blank page with a large Quicktime 'Q' with a question mark on it. What am I missing? I just got this iMac, and upgraded to the latest QT Pro version. I migrated from my PPC G4, and I am wondering if there are still some plugins that I am missing or that need to be 'fixed' for Intel Macs. I sometimes get a message that asks if I want to enable some part of Quicktime when I am looking at websites, but for Yahoo maps there was no option to alter anything. This occurred on both Safari and Firefox.
What do I need to do/get/delete to fix this problem?I have a G4 and system 10.4.10 and everything was working great until I bought ilife and added Quicktime 7.2. I have Flash 9 and have downloaded the 7.2 compatibility software and have even reinstalled the system software, but to no avail. I get the question mark in every browser and every video. I can open
Quicktime and open a movie, but I have no video in any browser or any website that
has a video. I'm really really frustrated. Can anyone help?
Andy -
Problem with Yahoo Maps..."Error Opening URL..."
I am trying to use a yahoo Action Script 2.0 map to display real estate listings from an xml file. I often receive the following output error, which prevents the entire yahoo map from opening:
Error opening URL ‘http://maps.yahooapis.com/xml/apiconfig.xml?r=988’ (the last 3 digits are random and change each time the problem occurs)
I have searched the internet for a solution and cannot find one.
I have emailed yahoo, who has not responded, as well as other people who have had the problem, but they cannot remember what they did to solve it.
Please help!No, I'm not doing anything to handle security issues.
What I have done is downloaded all the .as files that yahoo uses for their maps (from http://modestmaps.mapstraction.com/trac/browser/trunk/reference/YahooMaps/com/yahoo/maps?r ev=6), including the xml file (http://maps.yahooapis.com/xml/apiconfig.xml).
What I am thinking, correct me if I'm wrong, if I go through all the class files and change their names from "com.yahoo.maps.insertscriptname1.as" to something defining my own server (ie. mikeraydesign.maps.insertscriptname1.as), and point to the xml file from the one .as file that points to the one with the security issue, this might work.
I don't know if it will, but I don't think it can hurt. What do you think?
Regardless, lets say I put all the files into my own folder on my server, (ie. www.mikeraydesign.ca/maps/), how would I go about importing those scripts from my fla? The fla needs to import 4 initial classes, which then point to all the others (in the link I have above). How do you point to online class files? Would this even work?
Thoughts? -
With my new Imac 20 pro duo , I can't see the the map image from Yahoo Maps.Every time I try download a map , I got a blank page with a dimmed QuickTime symbol with a question mark ?
What I am missing ? Is it a firefox extension , or a quickTime error ?
Help , And Thanx
Imac Pro duo 2 Mac OS X (10.4.8)The maps are made using Flash.
You need to install Flash Player on your computer to view them. -
Hello everybody,
I´m very new to mapviewer and to the oracle environment.
I would like to ask you how can i solve some problems detected on the log file of map viewer in order to write and run my first js code for oracle maps api.
I correcely installed Oracle 11g R2 on windows 7 ultimate 64bit using the 64bit version, togheter with weblogic server (the most updated jar version), created a single domain called gis-domain and deployed mapviewer1112 version.
I also create a new mvdemo/mvdemo@orcl and imported the schema for mvdemo files.
In fact I can connect to my localhost:7001 and see the tutorials and teh demo.
The problem arrives when I tried to write some code and test it in the web.
this is the commun error I got in a windows.
[MVGlobalVariables.getMapCacheConfig] MAPVIEWER-05511: Error occurred when sending request to MapViewer server. ([Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:7001/mapviewer/fsmc/jslib/oraclemaps.js :: anonymous :: line 1514" data: no])
and the following log:
31.01.2011 16:38:01 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
AM FEINSTEN:
Allowed IPs:
Excluded IPs:
31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
AM FEINSTEN: Non-Spatial Data Provider registered: defaultNSDP
31.01.2011 16:38:04 oracle.sdovis.SDataProviderMgr registerProvider
INFO: Spatial Provider shapefileSDP has been registered.
31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
AM FEINSTEN: Spatial Data Provider registered: shapefileSDP
31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
AM FEINSTEN: Data source mvdemo will get web user name from: J2EE_USER
31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
WARNUNG: I/O-Fehler: The Network Adapter could not establish the connection
java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:152)
at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
... 16 more
Caused by: java.net.UnknownHostException: elocation.us.oracle.com
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
... 21 more
31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
WARNUNG: connecting to database using jdbc thin driver...
31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
SCHWERWIEGEND: I/O-Fehler: The Network Adapter could not establish the connection
java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:169)
at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
... 16 more
Caused by: java.net.UnknownHostException: elocation.us.oracle.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1158)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
... 21 more
31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
SCHWERWIEGEND: I/O-Fehler: The Network Adapter could not establish the connection
java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:169)
at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
... 16 more
Caused by: java.net.UnknownHostException: elocation.us.oracle.com
at java.net.InetAddress.getAllByName0(InetAddress.java:1158)
at java.net.InetAddress.getAllByName(InetAddress.java:1084)
at java.net.InetAddress.getAllByName(InetAddress.java:1020)
at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
... 21 more
31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig createMappers
SCHWERWIEGEND: Error creating NativeOracleDataSource.
31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
WARNUNG: MAPVIEWER-00011: Fehler beim Erstellen einer Map-Datenquelle.(mvdemo)
31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
INFO: Map Recycling thread started.
31.01.2011 16:38:08 oracle.lbs.mapserver.oms$ColdStart run
INFO: *** Oracle MapViewer started. ***
31.01.2011 16:38:09 oracle.lbs.foi.FOIServer init
INFO: *** Oracle Feature of Interest (FOI) Server started. ***
31.01.2011 16:38:09 oracle.lbs.mapcache.MCSServlet$ColdStart run
INFO: *** Oracle MapTileServer started. ***
I tried already many adjustements but I cannot understand what the log tell me.
Can anyone help me please.
buendia
*second round*
Hello buendia again here,
after having browsed few discussions and read few article finally my last log looks promising....
much besser.
In fact yet I made sure that there is a listener opened and I edited the config file as the blogspot mapviewer suggested, but still I got the same error massage on the screen when I try my simple html file:
[MVGlobalVariables.getMapCacheConfig] MAPVIEWER-05511: Error occurred when sending request to MapViewer server. ([Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:7001/mapviewer/fsmc/jslib/oraclemaps.js :: anonymous :: line 1514" data: no])
and now after having tested my simple USA map and also in JDeveloper the "Geotags" tutorial I got a little bit stacked.
Can anyone suggest which kind of errors I´m making?
I´ll attached my log:
31.01.2011 23:31:22 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
AM FEINSTEN:
Allowed IPs:
Excluded IPs:
31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
AM FEINSTEN: Non-Spatial Data Provider registered: defaultNSDP
31.01.2011 23:31:23 oracle.sdovis.SDataProviderMgr registerProvider
INFO: Spatial Provider shapefileSDP has been registered.
31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
AM FEINSTEN: Spatial Data Provider registered: shapefileSDP
31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
AM FEINSTEN: Data source mvdemo will get web user name from: J2EE_USER
31.01.2011 23:31:27 oracle.sdovis.DBSRSStore loadGeodeticSrids
AM FEINSTEN: Number of geodetic srids loaded: 924.
31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 init
INFO: Spatial Data Cache opened. Region=SDOVIS_DATA.
31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 init
INFO: max_cache_size=32 MB.
31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 createSubRegion
INFO: sub region sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl created in cache.
31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=mvdemo]
31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=mvdemo]
31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=mvdemo]
31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperConfig loadMapCacheServerSettings
SCHWERWIEGEND: Cannot create default cache root directory: C:\mapviewer\mapviewer.ear\web.war\WEB-INF\conf\mapviewer.ear\web.war\tilecache\
31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
INFO: Map Recycling thread started.
31.01.2011 23:31:27 oracle.lbs.mapserver.oms$ColdStart run
INFO: *** Oracle MapViewer started. ***
31.01.2011 23:31:29 oracle.lbs.foi.FOIServer init
INFO: *** Oracle Feature of Interest (FOI) Server started. ***
31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
FEINER: Registering srs 32632, isGeodetic=false, unit=METER
31.01.2011 23:31:29 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
FEINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
FEINER: Registering srs 3785, isGeodetic=false, unit=METER
31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
FEINER: Registering srs 54004, isGeodetic=false, unit=METER
31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
31.01.2011 23:31:29 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.BOZEN
31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.DEMO_MAP
31.01.2011 23:31:30 oracle.lbs.mapcache.MCSServlet$ColdStart run
INFO: *** Oracle MapTileServer started. ***
31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
FEINER: [mcs] recevied request: <request type=" ...
31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
FEINER: <request type="unknown request type"/>
31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
FEINER: [mcs] recevied request: <request type=" ...
31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
FEINER: <request type="unknown request type" data_source="MVDEMO"/>
01.02.2011 00:13:07 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.BOZEN
01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
01.02.2011 00:13:07 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.DEMO_MAP
01.02.2011 00:13:08 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.BOZEN
01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
01.02.2011 00:13:08 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.DEMO_MAP
01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
INFO: SQL array type created by MapViewer: MV_STRINGLIST
01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
INFO: SQL array type created by MapViewer: MV_NUMBERLIST
01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
INFO: SQL array type created by MapViewer: MV_DATELIST
01.02.2011 00:14:21 oracle.sdovis.DBSRSStore loadGeodeticSrids
AM FEINSTEN: Number of geodetic srids loaded: 924.
01.02.2011 00:14:21 oracle.sdovis.CacheMgr2 createSubRegion
INFO: sub region sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl created in cache.
01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=geotags]
01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=geotags]
01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
INFO: added a mapper instance to the pool [data src=geotags]
01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.BOZEN
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.DEMO_MAP
01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.BOZEN
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
INFO: Initialize tile layer MVDEMO.DEMO_MAP
01.02.2011 01:16:43 oracle.lbs.foi.FOIServlet destroy
SCHWERWIEGEND: !!! Oracle FOI server destroyed. !!!
01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
FEIN: FOI image recycle thread interrupted.
01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
FEIN: FOI image recyle thread terminated.
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperConfig destroy
FEINER: destroying MapperConfig: connection manager, mapper pool and janitor thread.
01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
FEIN: FOI image recycle thread interrupted.
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
WARNUNG: destroying ALL mapmaker instances.
01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
FEIN: FOI image recyle thread terminated.
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource mvdemo is closed
01.02.2011 01:16:43 oracle.sdovis.ds.NativeOracleDataSource close
INFO: Closing connection cache:mvdemo_conncache
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource mvdemo is closed
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource mvdemo is closed
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource geotags is closed
01.02.2011 01:16:43 oracle.sdovis.ds.NativeOracleDataSource close
INFO: Closing connection cache:geotags_conncache
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource geotags is closed
01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
INFO: Clearing in-memory geometry and metadata caches.
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
FEINER: Oracle connection cache for datasource geotags is closed
01.02.2011 01:16:43 oracle.lbs.mapserver.oms destroyMV
WARNUNG: Oracle MapViewer shut down.
01.02.2011 01:16:43 oracle.lbs.mapcache.MCSServlet destroy
SCHWERWIEGEND: !!! Oracle MapTileServer destroyed. !!!
01.02.2011 01:16:43 oracle.lbs.webmapserver.WMSServletFilter destroy
SCHWERWIEGEND: !!! Oracle Web Map Server destroyed. !!!
Thanks again
Buendia
Edited by: user8677521 on Feb 1, 2011 3:46 PMHello,
actually now I can show mvdemo maps and my own mapbuilder generated maps.
But i´m not so sure if my script is correct now in fact instead to use
var baseURL = 'http://'+document.location.host+'/mapviewer/';
I go with
var baseURL = 'http://localhost:7001/mapviewer/';
with it set up all is working fine.
What do you think about it?
The only thing at the moment that concern me is the rendering of my generated maps.
In fact I wanted to use a unique shape file from where i created sub classes to show as a series of FOI. But when I want to see those subset on top of my base tyle mapviewer does not work at all get stacked with the clock running.
I tried to separate previously my file in 8 chunks (8 sub classes...8 FOI) and all works well.
Do you know a way to fix this endless waiting time!
Thanks a lot for your help
Buendia -
I am unable to use yahoo or goggle maps with safari browser - anyone know a work around? Thank you
I use MapQuest.
There should, however, be a reason that you can't get Yahoo or Google maps to work.
Clinton -
Error in rendering maps through mapviewer in obiee
Hi
I am trying to integrate mapviewer with OBIEE, when i connect to the datasource from the mapviewer, and try to click on any of the demo Oracle maps, I am getting an error saying that...." Cannot get map cache instance config information for MVDEMO.DEMO_MAP."
When check in the start OC4J its showing " ERROR Not found in MDSYS.CS_SRS: srid=8307, Warning Invalid cache root directory :/scrtrach/mvdemomaps"
This "/scratch/mvdemomaps" path is there in USER_SDO_CACHED_MAPS_TABLE under DEFINITION column in MDSYS Schema in the database. whereas this root directory path is different in the Oracle application server Mapviewer --->Mangement-->Managing Map Tile Layers--->DEMO_MAP-->Tile storage-->" *C:\OracleBI\oc4j_bi\j2ee\home\applications\mapviewer\web\tilecache\MVDEMO.DEMO_MAP*
My doubt is whether this both path (in the mapviewer and in the database) should be the same. Because i am unable to render any of the demo maps.
Can somebody please throw some light on it.
ThanksDoes it have to be a software only installation since it is on AIX?
From the install doc:
The Software Only Install type installs the Oracle Business Intelligence software binary files in an Oracle home for later configuration as part of a Fusion Middleware deployment. This install type is required to install Oracle Business Intelligence on an AIX operating system or with a 64-bit JVM, such as on a supported 64-bit operating system. -
How to call google map in mapviewer application?
Hi
i want to use google map as the base map in my mapviewer application, on which i can do all the analysis provided by mapviewer like geocoding tool etc. how can i do it? if anyone can help?On otn.oracle.com an article was posted a while ago on how to use Google Maps. Search there - this might help.
cu
Andreas -
Adding a watermark to raster maps before MapView displays users requests
Dear everyone
Is it possible to create a transparent watermark overlay that Oracle can then place on top of any raster maps just before they are served via MapViewer to web browsers.
I have some large raster maps which users will be able pan and zoom in and out of. It would be extremely helpful if every time they recentre or zoom the map, the same copyright image was displayed over the map image. I know this can be done as text but I would prefer to have a transparent image displayed across the whole screen so that a user cannot copy parts of the image so easily. I also do not want non transparent text obscuring any of the raster data.
I can do this on the original data but that is time consuming and means I would have to keep copies of both the modified and unmodified data.
I am working in Oracle 10.2 using PL/SQL and the PL/SQL API, which replicates the Java API, in order to sent scripts to MapViewer.
Kind regards
TimHi
This is an old question but I since found the answer so thought I would post it. The answer is in the MapViewer manual.
In 10.1.2 it is located from page 1-23 (it's in section 1.5.5.). It's known as adding your own logo as opposed to watermark.
The code required is added to the MapViewer configuration file and therefore as such I believe, would apply to every map request, regardless of user. It also means it wouldn't have been of use in my case because I do not have the correct permission to edit this file and nor should I, given many other people besides myself use MapViewer.
Regards
Tim
Maybe you are looking for
-
Open link in new tab is gone!
When I empty cache, or first boot Safari, I have the option to "open link in new tab" however, soon after I lose that option and am left with either "open link" or "open link in new window" I want my tab option back! what happened?!?
-
Bold type displays too large on some pages
Bold italic type is displaying about twice the size that it should on two pages of an eight page site. (Type box also has plain italic.) I know what I'm doing, and have about 50 pages on five different sites, and these recent two pages are the only o
-
IPod not recognized in older iMac
Hello out there! I have an older iMac probably 1999 G3 (green and grey) and it wont recognize my 80 gig iPod (1year old). It is using the standard USB to iPod cable. This cable is good since it works on my Macbook. when I plug it in the iPod icon doe
-
When I connect SDHC card using iPad camera connection kit I am getting error message 'cannot read the connected storage media'
-
I am not able to install my 'Complete National Geographic' cd on my Mac mini which runs Lion OS. The error message I get says 'Can't open installer as classic environment is no longer supported' can some one suggest a solution.