Mapviewer demo errors
We have Oracle 10g DB and AS and are trying to get the Mapviewer deployed with the demo.
the error we get when listing datasources, themes etc is
java.lang.NullPointerException: UserManager was null
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.RuntimeSecurityRole.<init>(RuntimeSecurityRole.java:30)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpApplication.isUserInRole(HttpApplication.java:7034)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.EvermindHttpServletRequest.isUserInRole(EvermindHttpServletRequest.java:3507)
at oracle.lbs.mapserver.oms.doPost(oms.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
any help would be useful
Marco
Hi Marco,
did you configure a Secure Administrator User for OracleAS MapViewer? If not, take a look at some notes on chapter 1 of the documentation.
Joao
Similar Messages
-
Mapviewer demo Import error ( imp-00980 )
I'm encountering an import problem when attempting to import the mvdemo.dmp sample data that is included with the Mapviewer demo into Oracle 9i PEdition. Is there a problem with the the EXP coming from Oracle v8? Here is a sample of the error log output:
Export file created by EXPORT:V08.01.07 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
export server uses US7ASCII NCHAR character set (possible ncharset conversion)
. importing SCOTT's objects into SCOTT
. . importing table "STYLES" 250 rows imported
. . importing table "THEMES" 7 rows imported
. . importing table "MAPS" 2 rows imported
. . importing table "CITIES" 195 rows imported
. . importing table "COUNTIES" 3230 rows imported
. . importing table "INTERSTATES" 239 rows imported
. . importing table "STATES" 56 rows imported
IMP-00017: following statement failed with ORACLE error 980:
"BEGIN "
"execute immediate 'INSERT INTO USER_SDO_GEOM_METADATA values (''CITIES'','"
"'LOCATION'',mdsys.SDO_dim_array(MDSYS.SDO_DIM_ELEMENT(''X'',-180,180,.00000"
"005),MDSYS.SDO_DIM_ELEMENT(''Y'',-90,90,.00000005)),NULL) ' ; "
"COMMIT; END;"
IMP-00003: ORACLE error 980 encountered
ORA-00980: synonym translation is no longer valid
ORA-06512: at line 2
IMP-00088: Problem importing metadata for index CITIES. Index creation will be skipped
I have discovered that the following view does not exist in the db:
USER_SDO_GEOM_METADATA
Help would be appreciated.
-PeterTry connecting to the database as mdsys.
Look for a table called sdo_geom_metadata_table, and if it is there see if there
is anything in it. If there isn't anything in it, or it isn't there, try executing:
prvtgmd.plb from ORACLE_HOME/md/admin. It looks like the
views might not have been created correctly.
Dan -
MapViewer Demo - mapclient.jsp
Hi,
I have installed mapviewer demo on a standalone OC4J. I added a datasource "mvdemo". I can get other jsp's to work: jview.jsp, mapinit.jsp and tagmap.jsp but when I go to mapclient.jsp and enter the datasource field along with Map Center X and Y, I just get a blue blank screen. Do I need to enter anything for Map Base field. Also, I am not getting any error messages.
On OC4J window, I get only message that says "no theme to render".
here is the request:
<?xml version="1.0" standalone="yes"?>
<map_request
datasource="mvdemo"
width="500"
height="375"
bgcolor="#a6caf0"
antialiase="false"
format="GIF_URL">
<center size="100.0">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>-74.0,43.0</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
</map_request>
and response:
<?xml version="1.0" encoding="UTF-8"?>
<map_response>
<map_image>
<map_content url="http://localhost:8888/mapviewer/images/omsmap2_11.gif?refresh=9095605334584782896" />
<box srsName="default">
<coordinates>
null </coordinates>
</box>
<xfm matrix="1.0 0.0 0.0 1.0 0.0 0.0" />
<WMTException version="1.0.0" error_code="SUCCESS">
</WMTException>
</map_image>
</map_response>
Also, here is more info on what I am using:
mapviewer for 10.1.2
Stand alone OC4J - J2EE 10g (9.0.4.0.0)
Database - 10g Release 1
Thanks,
-AI do not see basemap in your XML request. You are trying to see entire US extents. Try with smaller size such 1.00.
The following is the XML request I used.
<?xml version="1.0" standalone="yes"?>
<map_request
title="test"
basemap="demo_map"
datasource="mvdemo"
width="500"
height="375"
bgcolor="#a6caf0"
antialiase="false"
format="GIF_URL">
<center size="100.0">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>-74.0,43.0</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
</map_request>
The following is the XML response.
<?xml version="1.0" encoding="UTF-8"?>
<map_response>
<map_image>
<map_content url="http://mycomputer:8888/mapviewer/images/omsmap35_110.gif?refresh=8522609524205187237" />
<box srsName="default">
<coordinates>
-140.66666666666666,-7.0 -7.333333333333343,90.0 </coordinates>
</box>
<xfm matrix="0.2666666666666666 0.0 0.0 -0.2666666666666666 -140.66666666666666 91.49999999999999" />
<WMTException version="1.0.0" error_code="SUCCESS">
</WMTException>
</map_image>
</map_response> -
Mapviewer-demo: no map viewed
Hi,
I imported the Mapviewer demo in a new schema,
and deployed the Mapviewer on stand alone OC4J.
I can start and configure the Mapviewer how described in the guide
without errors but when i try to submit a map request using the sample file included in the demo (mapclient.jsp)
the ff error appeared in the request/response/Msg:
xml_response=<?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[XMLHelper] error in parsing xml map request.
Thu Oct 09 16:56:29 PDT 2003
Machine Node Name: ibmdemo
Severity: 0
Description:
Message:[XMLHelper] no geofeature defined for CENTER.
Thu Oct 09 16:56:29 PDT 2003
Machine Node Name: ibmdemo
Severity: 0
Description:
at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:167)
at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:67)
at oracle.spatial.mapserver.oms.getMapRequest(oms.java:374)
at oracle.spatial.mapserver.oms.doPost(oms.java:178)
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:720)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:305)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:742)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
</oms_error>
thanks!
gemmahi,
found one mistake, still the map is not shown.
ist must be...
<script type="text/Javascript" src=...
thanx
tom -
Mapviewer-demo: a empty map view
Hi,
I imported the Mapviewer demo in a new schema,
and deployed the Mapviewer on stand alone OC4J.
I can start and configure the Mapviewer how described in the guide
without errors but the created JPG is a empty blue picture.
What can be wrong ?
Thanks
FriedholdYes I'm getting the title in the blue empty map view.
Here is request/response message from the Mapviewer:
xml_request=<?xml version="1.0" standalone="yes" ?>
<map_request
title="Check"
basemap="demo_map"
datasource="mvdemo"
width="400"
height="360"
format="GIF_URL" >
<center size="2.5">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>
-122.0, 38.0
</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
</map_request>
xml_response=<?xml version="1.0" encoding="UTF-8"?>
<map_response>
<map_image>
<map_content url="http://localhost:8888/mapviewer/images/omsmap2.gif?refresh=2902113945287192759" />
<box srsName="default">
<coordinates>
-123.38888888888889,36.75 -120.61111111111111,39.25 </coordinates>
</box>
<WMTException version="1.0.0" error_code="SUCCESS">
</WMTException>
</map_image>
</map_response>
What can I do ?
Regards Friedhold -
I have seen a number of posts regarding this issue, but none seem to have solved it. I have installed OC4J, I have installed and imported the mapviewer demo data. I get all of the demos to come up but all I get is a blue screen with the words "Oracle Map viewer Demo" I installed the data with the mvdemo user not as scott/tiger Does that matter? Not sure what else it could be as I am getting no errors anywhere.
Thanks in advance!
-ScottGood Morning LJ,
I have run that, results are below. I get the same problem, just a blus screen then when I click on the screen I get 500 Internal Server Errors.
JServer Release 9.2.0.1.0 - Production
SQL> @mvdemo.sql
1 row created.
1 row created.
1 row created.
1 row created.
1 row created.
Commit complete.
counties a, terr_counties b
ERROR at line 6:
ORA-00942: table or view does not exist
1 row created.
Commit complete.
insert into user_sdo_styles select * from styles
ERROR at line 1:
ORA-00942: table or view does not exist
insert into user_sdo_themes select * from themes
ERROR at line 1:
ORA-00942: table or view does not exist
insert into user_sdo_maps select * from maps
ERROR at line 1:
ORA-00942: table or view does not exist
Commit complete.
create index STATES_SDX on STATES(GEOM)
ERROR at line 1:
ORA-00942: table or view does not exist
create index COUNTIES_SDX on COUNTIES(GEOM)
ERROR at line 1:
ORA-00942: table or view does not exist
create index INTERSTATES_SDX on INTERSTATES(GEOM)
ERROR at line 1:
ORA-00942: table or view does not exist
create index CITIES_SDX on CITIES(LOCATION)
ERROR at line 1:
ORA-00942: table or view does not exist
create index TERRITORIES_SDX on TERRITORIES(GEOMETRY)
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
500 Internal Server Error
java.lang.NullPointerException at oracle.lbs.mapclient.MapViewer.pan(MapViewer.java:3726) at demo.jview._jspService(_jview.java:152) [SRC:/demo/jview.jsp:322] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) -
Data source cannot be created : MAPVIEWER-00011: Error creating a map data
Hi everyone,
i am getting an error meaasge while creating datasource
" Data source cannot be created : MAPVIEWER-00011: Error creating a map data source."
pls helpYou should assign only one value to jdbc_sid. Try with this
<map_data_source name="mvdemo"
jdbc_host="localhost"
jdbc_sid="orcl"
jdbc_port="1521"
jdbc_user="mvdemo"
jdbc_password="!mvdemo"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="false"
/>
Make sure that oracle sid is 'ORCL'
Sujnan -
Mapviewer demo v good - are you willing share the cartographic design?
This mapviewer demo is good and has good cartographic design at most levels http://elocation.oracle.com/elocation/ajax/
We are building a Mapviewer applications with the same base map data in Australia. Rather than re-inventing the wheel would the custodians of this web app (Oracle?) be prepared to share the cartographic design elements used here so that we (and I suspect many others) could utilise these to more quickly get their Mapviewer app up and running and looking good?
I think copies of user_sdo_themes and user sdomaps that are particular to this app would suffice - if there is a chance that these could be made available it would be very much appreciated.
Thank you.We will be staging the current eLocation style and themes up on our MapViewer OTN page shortly.
I will post a point here once we stage them.
thanks
Steve
if you need them sooner email me. -
Hi,
I'm trying to get the mapviewer demo's up and running, but I can't find instructions to do this.
Oracle spatial and mapviewer are new to me, so maybe anyone can tell me how to do this.
I've installed oracle 10g database and standalone mapviewer.
I can visualize data from the demo-dataset for user scott.
But when I click (on the mapviewer homepage) on one of the examples my browser gives the usual 'the page cannot be displayed' message.
Do I need to install the demo's in some way, or place the jsp files in a certain directory??Suggest just doing a search within this forum, that answer has been written about 1000 times. Try this: http://www.oracle.com/technology/software/products/mapviewer/index.html
try the QuickStart Kit and install the Demo's.
This will provide you with all of your answers.
Hope it helps.
-Scott -
I cannot reach /mapviewer/ url, but I can reach /mapviewer/demos/ etc
Hello,
This is the first time I have deployed mapviewer.ear to WebLogic instead of deploying the stand-alone Mapviewer.
I followed Section 1.4.1.1 of the Mapviewer Guide. When I access http://localhhost:7001/mapviewer I get forwarded to http://localhost:7001/mapviewer/faces/home.jspx and then I get an exception:
java.lang.UnsupportedOperationException
at javax.faces.application.Application.getResourceHandler(Application.java:287)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:588)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:352)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1512)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
However, I can access http://localhost:7001/mapviewer/demos, etc. Also, the "old index page" http://localhost:7001/mapviewer/oldindex.html also works.
Can you help?Add this weblogic-application.xml in mapviewer.ear/META-INF/ folder and redeploy mapviewer
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-application xmlns:wls="http://www.bea.com/ns/weblogic/weblogic-application"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/javaee_5.xsd
http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd">
<wls:prefer-application-packages>
<package-name>javax.faces.*</package-name>
<package-name>javax.faces.application.*</package-name>
<package-name>javax.faces.component.*</package-name>
<package-name>javax.faces.context.*</package-name>
<package-name>javax.faces.convert.*</package-name>
<package-name>javax.faces.el.*</package-name>
<package-name>javax.faces.event.*</package-name>
<package-name>javax.faces.lifecycle.*</package-name>
<package-name>javax.faces.model.*</package-name>
<package-name>javax.faces.render.*</package-name>
<package-name>javax.faces.validator.*</package-name>
<package-name>javax.faces.webapp.*</package-name>
</wls:prefer-application-packages>
</wls:weblogic-application> -
MAPVIEWER-06009: Error processing an FOI request
Hi,
Im facing the following exception when trying to apply color theme over the map. Can someone please answer my question.
Fri Nov 13 15:32:34:052 CST 2009 | 1258147954052 | 8684 | null | null | null | null | INFO | oracle.sdovis.theme.PredGeomThemeProducer.loadFeaturesInWindow | [ SNI_NM_MM_VANTL_MSI_THEME ] sql exec time: 266ms, total time loading 194 features: 598ms.
Fri Nov 13 15:32:34:974 CST 2009 | 1258147954974 | 227 | null | null | null | null | SEVERE | oracle.lbs.foi.FOIServlet.doPost | MAPVIEWER-06009: Error processing an FOI request.
java.lang.NullPointerException
at oracle.lbs.foi.ThemeRenderingThread.duplicateMultipleComponents(ThemeRenderingThread.java:1510)
at oracle.lbs.foi.ThemeRenderingThread.render(ThemeRenderingThread.java:370)
at oracle.lbs.foi.ThemeRenderingThread.run(ThemeRenderingThread.java:159)
Thanks & Regards,
Kiran KonjetiHi Rema,
You will be better off posting this query on the dedicated MapViewer forum:
MapViewer
Then you should look at providing more useful information in your question:
- What version of MapViewer?
- What version of Oracle?
- Explain more background as to what you are trying to do
- Turn the logging level in mapViewerConfig.xml up to FINEST as this will print the full SQL to the log file. Looking at this should help solve your problem - if not, then post the relevant bits of the log.
You are getting error "ORA-13030:Invalid dimension for the SDO_GEOMETRY object"
The standard explanation for this is:
"There is a mismatch between the dimension in the SDO_GTYPE and dimension in the SDO_GEOM_METADATA for the SDO_GEOMETRY object."
So if your data is 2D, make sure the SDOGEOM_METADATA says that too.
(you should change your handle from 917206 to Rema)
Regards,
John -
Null Pointer errors with Mapviewer Demo
Here is the error:
xml_response=<?xml version="1.0" encoding="UTF-8"?><oms_error>Message:null
Thu Jan 16 15:14:43 MST 2003
Machine Node Name: hoas9ias
Severity: 0
Description:
java.lang.NullPointerException
at oracle.spatial.mapserver.core.RealWorker.generateMapImage(RealWorker.java:267)
at oracle.spatial.mapserver.core.RealWorker.process(RealWorker.java:95)
at oracle.spatial.mapserver.MapServerImpl.renderMap(MapServerImpl.java:171)
at oracle.spatial.mapserver.oms.doPost(oms.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at Long postings are being truncated to ~1 kB at this time.Here is the error:
xml_response=<?xml version="1.0" encoding="UTF-8"?><oms_error>Message:null
Thu Jan 16 15:14:43 MST 2003
Machine Node Name: hoas9ias
Severity: 0
Description:
java.lang.NullPointerException
at oracle.spatial.mapserver.core.RealWorker.generateMapImage(RealWorker.java:267)
at oracle.spatial.mapserver.core.RealWorker.process(RealWorker.java:95)
at oracle.spatial.mapserver.MapServerImpl.renderMap(MapServerImpl.java:171)
at oracle.spatial.mapserver.oms.doPost(oms.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at Long postings are being truncated to ~1 kB at this time. -
Spatial index - mapviewer demo
Hi,
I tried the mapclient.jsp demo of the maviewer demo and it only returns a blue image. I check the log file and found this:
[oracle.sdovis.JDBCDataSource4PT, Thu May 18 10:21:36 CST 2006, ERROR] *** SQL Exception while querying theme: THEME_DEMO_COUNTIES
[oracle.sdovis.JDBCDataSource4PT, Thu May 18 10:21:36 CST 2006, ERROR] java.sql.SQLException: ORA-13226: interface not supported without a spatial index
seems like a spatial index is missing. My question is,
- is the spatial index created when I imported the mvdemo.dmp file?
- is this the same index that is stated in the oracle_home\mapviewer\lbs\admin\mapdefinition.sql?
- or, is this index should be included in the database installation?
- who should be creating this index?
- if I create this index, how would I do this?
I really need your assistance. I'll be presenting this demo to my boss two days from now, my team is pushing the idea of migrating our existing gis system to Oracle Spatial. We need this demo badly.
Thanks for the support?First, which MapViewer version are you using and which database version?
Second, the indexes are usually built on import. You can check if they exist and if not create them.
To check if the indexes exist
select * from user_sdo_index_info
An sample index creation statement is:
create index counties_sides on counties(geometry) indextype is mdsys.spatial_index;
If the index exists and is invalid then drop it and recreate it. Drop it using
drop index counties_sidx force ; -
MapViewer Demo Returns Blank Maps
I am installing the MapViewer for the first time. I imported mvdemo.dmp after creating the mvdemo user with:
SQL> grant connect, resource to mvdemo identified by mvdemo;
Then import from command line with:
imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
no errors
Then executing sql as mvdemo with :
SQL> @mvdemo.sql
The mapviewer runs the demo and connect to the db as it should. There are base maps, themes, styles etc viewable from the submits.
The image returned however is just a blue tile.
Any ideas where I missed a step?
ThanksHere is the console output
E:\j2sdk1.4.2_10\bin\javaw.exe -jar E:\JDeveloper1012\j2ee\home\admin.jar ormi://150.125.27.238:23891 admin **** -updateConfig
05/12/08 19:02:55 ApplicationServer: appName = bc4j
05/12/08 19:02:55 ApplicationServer: appName = current-workspace-app
Ready message received from Oc4jNotifier.
05/12/08 19:02:55 Auto-deploying file:/E:/JDeveloper1012/jdev/mywork/WebMap/ViewController/public_html/ (New server version detected)...
Embedded OC4J startup time: 1512 ms.
Target URL -- http://150.125.27.238:8988/WebMap-ViewController-context-root/webmap.jsp
Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='view.ApplicationResources', returnNull=true
05/12/08 19:02:57 created a new MapViewer handle.
from the embedded oc4j in jdeveloper. The is the Map Image generated in the browser is just a Blue tile with the title, no base map. The JSP is below:
<%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
<%@ page contentType="text/html;charset=windows-1252"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>untitled</title>
</head>
<body>
<DIV align="center">
<P>My Web Map</P>
<P>
<mapviewer:init url="http://vciwnorclmt.cipcpub.local/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
</P>
</DIV>
<mapviewer:setParam antialiasing="true" basemap="demo_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="My Web Map" width="600"/>
<mapviewer:run/>
<DIV align="center">
<img src="<mapviewer:getMapURL />"/>
</DIV>
</body>
</html> -
1) We have configured the XI Demo Examples exactly how it is explained under the SAP Netweaver 04 Configuration Guide.
2) According to this guide, For executing and testing (section 6.1.4, page 43) There is a BSP application in the SAP system of the integration server (client 105) that you can use to test
3) After executing this operation, we get the following message:
Error when processing your request
What has happened?
The URL http://fmsapprnd002:8000/sap/bc/bsp/sap/sxidemo_agcy_ui/main.htm was not called due to an error.
Note
The following error text was processed in the system NXI : An exception that could not be caught occurred.
The error occurred on the application server fmsapprnd002_NXI_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Form: ON_CHECK_BSP of program CL_BSP_RUNTIME================CP
Form: ON_REQUEST of program CL_BSP_RUNTIME================CP
Form: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
Form: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
4) The suggested action is to run transaction ST22, and so we did
5) The result of ST22 is this:
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_BSP_HOST_NOT_QUALIFIED
Since the system could not react adequately to this error, the current program, CL_BSP_RUNTIME===========CP, had to be terminated
Any suggestions?hi,
I have also encountered the same problem. The URL :
http://<hostname>:8000/sap/bc/bsp/sap/sxidemo_agcy_ui/main.htm was not called due to an error.
What is the value that i should menttion for the param "icm/host_name_full" in Instance Profile.
Regards,
Siva Maranani.
Maybe you are looking for
-
i recently bought a laptop when i installed itunes it asked for a security question i never set one up and the email for the answer reset isn't mine. anyone have a clue what to do???
-
How can i set "Createdby" attribute When using Custom JheadStart Security
Hello We do not use JASS for Authentication , please help us how can i set createtby attributes with jhs.username in application for any entity object? thanks
-
Prob.. in login page
hi..all of u.... i have made a login page in html page...in which two text field there..named username and password... i want to do the stuff that if the user enter correct username and password..then it displays a pop up window mentioning that u hav
-
What can be sending info in the background that sounds like messaging?
What can be running in the background that sounds like the Microsoft Paperclip looking Helper. I can't find anything obvious on Activity Monitor.
-
I have noticed that some tracks that have midi events (VST's: RealRPC / Native Instruments) start late the first time that I play the project after opening it. The second time the project plans fine. This also happens when I bounce the project - some