My first map in mapviewer

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 PM

Hello,
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

Similar Messages

  • 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,
    --ee                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Thanks 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

  • How to call the second mapping in the first mapping fails in the BPM

    Hi All,
    I have a scenario like this.
    There are two mappings. There is a one condition while genearying the root element of the first mapping. If this condition is not satisfies the first mapping will fail. If this mapping fails i want to trigger another mapping.
    How to achieve this functionality.
    If it is possible with BPM. how to call the second mapping in the BPM.

    Hi
    you can not create the containter for the synchronous interfaces.
    you have to craete the two asysnchronous abstact interfaces .
    thenusing those two abstract interfaces you have to define the containers in the BPM.
    and you also have to define the interface mapping b/w those two abstract interfaces.
    once you define the interface mapping you will be able to select the interface mapping using the transformation step in BPM.
    once you select the interface mapping in BPM then you will be able to selece the interfaces
    if you still face the problenm please reply me back.
    Thanks
    Rinku Gangwnau

  • First Map - Newbie Question

    I am trying to create my first map. I thought I had what should be the most basic one to try but I cannot get it to work as I would like.  I am trying to display potentially 2 data points for a location and I don't want it to show as a pie chart. 
    I would like 2 different bubbles if a city has both.  My data currently has 2 columns - CityState & Category. I'm assuming there is just some trick I am missing to get it to display the way I want.  Can someone tell me what I am doing wrong? 
    Thank you so much.

    After reading user profile in your userBean
    execute this code:
    ExternalContext externalContext = FacesContext.getCurrentInstance().getExternalContext();
    externalContext.redirect(externalContext                         .encodeResourceURL(externalContext                                        .getRequestContextPath()+ userPage));
    userPage is a full path to jsp page.
    Hope it helps.
    Martin

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

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

    Joao,
    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

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

    Does 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

  • First Mapping

    Hello All:
    I am new to Warehouse Builder and have several questions. First, let me tell you a little about the environment I'm working in. These are the relevant (I hope) details of
    our installation:
    OWB10G Design Client (10.1.0.2.0) installed on my PC.
    OWB10G Design Schema installed in Oracle 9.2 database 'tstrac1'.
    OWB10G Runtime Access User (owb10grun), Runtime Repository Schema (owb10grep), and Target Schema (owb10gsch) installed in a second Oracle 9.2 database 'nsudev'. The
    Oracle 9.2 database 'nsudev' also contains the existing schemas BUILDER and IGS.
    This is what I need to accomplish:
    Copy data from fields in existing tables in the BUILDER schema into fields in existing tables in the IGS schema.
    Our DBA was not able to install a Target Schema into the existing schema IGS. At this time, I do not have details of the error(s) encountered.
    These are my questions:
    1) Is it true that, if I want to use a mapping to update the data in an existing table, I must install the Target Schema into the same schema as the existing table?
    2) I have created a mapping with my Source module (OSS_LEGACY_DATA) and Target module (OSS_IGS_INT_TABLES) in the same database (nsudev). I have created 'Locations' for both of these modules (SOURCE_LOC and TARGET_LOC). I have also created a connector for each location (S_LOC_CON and T_LOC_CON). I have been able to Register and Validate both locations and the T_LOC_CON connector but I am having a problem with the S_LOC_CON connector.
    When I try to deploy and execute the mapping everything seems to work Ok except the SS_LOC_CON (source) connector. The error message I am getting is:
    ORA-01031: insufficient privileges
    Is it the Runtime Repository Schema (owb10grep) that doesn't have the correct privileges? Or is it the Runtime Access User (owb10grun)?
    3) Why do I even need 'Connectors'. The database links I created at the beginning of this project worked just fine to allow me to import the metadata to the tables in my mapping. Why can't those links be used to read data from the Source and write it to the Target?
    4) Some of the things I've read make it seem like I only need one connector if both the Source and Target are in the same database. Other documentation makes it seem as if I always need one connector for each location. Which is true?
    Thanks in advance for your help.

    Hi Don,
    Here are some answers:
    1) Is it true that, if I want to use a mapping to update the data in an existing table, I must install the Target Schema into the same schema as the existing table?
    JPD: Yes. There are ways around it, but this involves creating synomnyms for the required objects to make your packages compile and work (Audit APIs, Audit tables).
    2) I have created a mapping with my Source module (OSS_LEGACY_DATA) and Target module (OSS_IGS_INT_TABLES) in the same database (nsudev). I have created 'Locations' for both of these modules (SOURCE_LOC and TARGET_LOC). I have also created a connector for each location (S_LOC_CON and T_LOC_CON). I have been able to Register and Validate both locations and the T_LOC_CON connector but I am having a problem with the S_LOC_CON connector.
    When I try to deploy and execute the mapping everything seems to work Ok except the SS_LOC_CON (source) connector. The error message I am getting is:
    ORA-01031: insufficient privileges
    Is it the Runtime Repository Schema (owb10grep) that doesn't have the correct privileges? Or is it the Runtime Access User (owb10grun)?
    JPD: Ehm, you don't need that connector on the source. You need a connector from the target (the place where the package lives) to the source. This connector will be created either as DBLINK (as you are in a single instance this should not be the case) or as a schema reference when OWB generates the code. Currently there is a bug that will allways create the DBLINK however the code does not use it in your situation.
    The privileges are coming from the SOURCE schema, that I guess does not have the create database link privilege.
    3) Why do I even need 'Connectors'. The database links I created at the beginning of this project worked just fine to allow me to import the metadata to the tables in my mapping. Why can't those links be used to read data from the Source and write it to the Target?
    JPD: THe links you created to import go from the DESIGN repository to the source objects. OWB separates design from runtime, to make sure you can shut down or do what ever you want in design without affecting any production instances.
    So in runtime you use the connectors to re-establish connection to the source data. It is also smarter then just hardcoding dblinks (not a big deal for metadata selection), as a in-database database link kills performance.
    Crucial piece here is that you are dealing with 2 "separate" environments, design and runtime.
    4) Some of the things I've read make it seem like I only need one connector if both the Source and Target are in the same database. Other documentation makes it seem as if I always need one connector for each location. Which is true?
    JPD: You need a connector from the target to the source (OWB will do this automatically when you drag a source object (different module) into the target mapping).
    Hope this helps,
    Jean-Pierre

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

    Hi
    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

  • Multiple base maps problem(Mapview 11g)

    I add several MVMapTileLayer objects to MVMapView object and all set setVisible to true. When I zoom in the map, the problem is appear. In IE6.0, IE7.0 the map div will turn to black, if I click again the mapdiv, it will be ok. FireFox2.0 without this problem.
    In the 22th of Oracle Maps Example, it also has this problem, If you double click the map div, the map will be zoom in, but the mapdiv will turn to black,if you click again the map div, it wil be ok.
    Is it css problem or other? Thank you for everyone!

    May be off-topic, but...
    I have another problem.
    When page loaded or map dragged, the javascript error at the string 10840 appears.
    This string is “this._f621.style.top=(parseInt(this._f621.style.top)+x33)+"px";”
    May be somebody knows how to solve this problem.

  • Get Direction Map using Mapviewer Javascript API

    Hello Gurus,
    I have coordinate information for a route which I got using routing engine. Now, my requirement is to get map (Similar to eLocation GetDirection map) which can show routing curve in map. Using Javascript API, how can I achieve this?
    If I am not not wrong, I will have to create new FOI with MVSdoGeometry, but I am not sure about how to create MVSdoGeometry for the lat-lang I have which will display a curve?
    Thanks in advance.
    -Hardik

    Currently you can not add zooming event listener. We'll support it in the next release.

  • 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

  • Mapviewer displaying maps differently from the client than from the server

    Can anyone explain to me why this is happening. I have been deploying my java server page to the server, and the way it works is to have multiple base routes which are not originally shown, but the user can 'check' them and they will display. On the server this works as one would expect, but on the client
    I originally couldn't get this to work through Jdeveloper, but now it works -- that's another story :(
    all of my base maps are displayed when the map first comes up. I don't want this to occur because it takes too long. Anyway, does anyone know why the map is working different from the client than it does when I deploy it to the server? Here is the significant code:
    var basemap1 = new MVBaseMap("ds_prod.prod_rdlg_qry");
    var basemap2 = new MVBaseMap("ds_prod.interstate", "", true);
    basemap2.setTransparent(true);
    var basemap3 = new MVBaseMap("ds_prod.primary", "", true);
    basemap3.setTransparent(true);
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(basemap1);
    mapview.addBaseMapLayer(basemap2);
    mapview.addBaseMapLayer(basemap3);
    basemap1.setVisible (true);
    basemap2.setVisible (false);
    basemap3.setVisible (false);
    Any suggestions would be appreciated. Thanks.

    Hi
    Whitch version of mapviewer are you using? (MVBaseMap/addBaseMapLayer is for older versions, and in newer there is MVMapTileLayer/addMapTileLayer)
    I had similar difficulties displaying multiple tile layers in application with mapviewer ver. B080618. (not sute, may be in newer versions this works different)
    When adding all tile layers initially and then setting theig Visible properties, browser fetches from server data for ALL the layers (even if they were set to visible -> false)
    the workaround was to add aditional layers ony when this is needed.
    Michael

  • WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER

    Dear Sir,
    please any one can answer me as soon as possible its very urgent
    WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER
    I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application we are trying to generate our own maps for our own data contains in our layers like example boundary lines and roads and etc. and we are following complete example as described in Oracle Mapviewer Document Chapter 8.
    Before this step we tried with demo data downloaded from OTN mvdemo. And we downloaded latest demo today itself from the OTN and imported into our database schema called mvdemo. And we copied all three jar files mvclient and mvconnection and mvpalette into our jdeveloper .
    II.     We created a jsp to execute the following code from oracle mapviewer chapter 8 documents
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld"
    prefix="jwcache"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld"
    prefix="fileaccess"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jesitaglib.tld"
    prefix="JESI"%>
    <f:view>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html" charset=UTF-8>
    <TITLE>A sample Oracle Maps Application</TITLE>
    <script language="Javascript" src="jslib/loadscript.js"></script>
    <script language=javascript>
    var themebasedfoi=null
    function on_load_mapview()
    var baseURL = " http://localhost:8888/mapviewer/omserver";
    // Create an MVMapView instance to display the map
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    // Add a base map layer as background
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    // Add a theme-based FOI layer to display customers on the map
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mvdemo.customers');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    // Set the initial map center and zoom level
    mapview.setCenter(MVSdoGeometry.createPoint(-122.45,37.7706,8307));
    mapview.setZoomLevel(4);
    // Add a navigation panel on the right side of the map
    mapview.addNavigationPanel('east');
    // Add a scale bar
    mapview.addScaleBar();
    // Display the map.
    mapview.display();
    function setLayerVisible(checkBox){
    // Show the theme-based FOI layer if the check box is checked and
    // hide the theme-based FOI layer otherwise.
    if(checkBox.checked)
    themebasedfoi.setVisible(true) ;
    else
    themebasedfoi.setVisible(false);
    </script>
    </head>
    <body onload= javascript:on_load_mapview() >
    <h2> A sample Oracle Maps Application</h2>
    <INPUT TYPE="checkbox" onclick="setLayerVisible(this)" checked/>Show customers
    <div id="map" style="width: 600px; height: 500px"></div>
    </body>
    </html>
    </f:view>
    <!--
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>mapPage</title>
    </head>
    <body><h:form binding="#{backing_mapPage.form1}" id="form1"></h:form></body>
    </html>
    -->
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_mapPage--%>
    III.     When we run this jsp it’s giving us following Two errors
    1     Error:     ‘MVMapView’ is undefined
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    2     Error:     ‘themebasedfoi’ is null or not an object
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    Please let us know what could be problem as soon as possible. Very urgent
    Please let us know where we can find Mapviewer AJAX API’s for Jdeveloper Extention
    Thanks
    Kabeer

    I currently use parameters, and they are passed from the form to the report. Report is then generated based on a function returning ‘strongly typed’ cursor. The ‘strongly typed’ cursor in my case returns a record consisting of an orderly collection of fields.
    This collection of fields is returned by another function that relies on the IF … THEN logic.
    However, the number of IF ... THEN statements is quite large (currently 64 covering all possible combinations of 6 parameters available in the form).
    I would like to avoid the large number of IF … THEN statements, and hope that there is a way of passing a string to a query, where the Dynamic SQL would in Select close and Where close reflect parameters passed by the form.
    In addition to this I would like to avoid creating and populating a table or a view dedicated to the report, because this may lead to a conflict in case of multiple users concurrently generating reports with different choice of parameters.
    Edited by: user6883574 on May 28, 2009 9:16 PM

Maybe you are looking for

  • Apple tv wont connect to my network

    Apple tv connects to my wifi but doesnt ever ask for my login and password like it should, any ideas? Its at an rv park and i dont control the modem

  • Report to Excel

    In the recent past, my team has received multiple requests to convert a standard report into excel for various valid business reasons. The standard SAP features mentioned below which lets you save the file does not fully meet the request: Option-1 (L

  • ITunes 5.1 Not Working

    Okay up till now my iTunes software has been working just okay - sure when I upgraded from iTunes 4.9 to 5.0 my shared music library stopped working and even after updating to 5.1 it still didn't come up but everything else worked just fine. Earlier

  • 2 Web camera interface and capture in labview

    Dear Friends, I am trying to capture images with 2 USB cameras (HP web camera) located at 2 different positions. But i could connect 1 camera only, even that picture also clear. I could not do any camera setting.Can anyone help me......  Thanks, Klat

  • Emergency login help for business catalyts acct.

    Since the LogIn issues BC encountered today worldwide.....All access and connections have been lost and cannot be reinstated with my current password.  Since my email is my BC website email  I am unable to request PW reset.  It for some reason is dif