Oracle Map Viewer Application on Oracle Web Logic
We have developed an application using map viewer, Oracle 10g and deployed it in Oracle AS 10g. It was running fine and OK. Now we switched over the same application to Web logic10.3, using map viewer 10.1.3.3, Oracle db11g, JDeveloper 11g. We could deploy successfully on Web logic. The problem encountered is that During the map display (mapviewer.run()), an exception “Map viewer cannot process your map request. Check map viewer log for details.” is coming. We checked Map viewer log file and found no comments.
If your web server is working and the forms server is running type:
http://ip addr:port/dev60html/runform.htm
You need to put the ip address or name of your server in and the port number apache is running on (leave blank if this is 80).
This gives you the Oracle Forms start screen.
cheers
tony
Similar Messages
-
Projection problem in OracleAS Map Viewer
Hi,
I am using OracleAS Map Viewer 11 EA1and I try to display a map with an image (srid=1002000) and a vector (srid=8192) on the top. If I understand the documentation correctly, the vector might be reprojected into the map srid which is 1002000. But when the map is created, the vector is not correctly reprojected (I see some roads in the ocean!). I am wandering if it is a bug in map viewer; or maybe I didn't use it corectly!
My query looks like:
<map_request
title=""
datasource="all_images"
width="1229"
height="840"
srid="1002000"
antialiase="false"
format="PNG_URL">
<center size="7865.9766">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>
1230462.1 , -582145.4
</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
<themes>
<theme name="mosaic_pan'"
min_scale="5000000.0"
max_scale="0.0">
<jdbc_georaster_query
jdbc_srid="1002000"
datasource="all_images"
georaster_table="mosaic.mosaic_pan"
georaster_column="georaster"
asis="false">
select georaster from mosaic.mosaic_pan where rowid='AAANn1AAKAAAAAKAAA'
</jdbc_georaster_query>
</theme>
<theme name="road_l" min_scale="10000.0" max_scale="0.0">
<jdbc_query
datasource="all_images"
jdbc_srid="8192"
render_style="MDSYS:L.MAJOR STREET"
spatial_column="shape1"
>select shape1 from can51.road_l</jdbc_query>
</theme>
</themes>
</map_request>
Thanks in advance,
Ganaelyour map request seems correct, and yes mapviewer will automatically reproject your vector theme if it's srid (8192) is different from the request srid (1002000). What's more likely is that your georaster is not being displayed correctly? Have you tried displaying the vector road data against a know vector boundary data set like country/state, in the 1002000 projection and see if everything is working fine? then add the georaster layer back on and go from there....
-
Load maps in database - oracle map viewer
Hi,
In my project we are trying to use maps to display it on webpage for this we are using oracle map viewer. We’ve got maps from third party in the form of tif format. Could you please tell me how to load these maps in databse table? I’m newbie to oracle map viewer, your help will be deeply valued.Hi Paul, you said "We’ve got maps from third party in the form of tif format." they must be rasters. The best approach is to use MapBuilder to load such data into Spatial as GeoRaster objects and then define them as themes to display in MapViewer. All can be done using MapBuilder. you can also use the client-side java GeoRasterTools (a viewer) to load, display and export those tiff files. For that you can start with the GeoRaster user's guide.
regards,
Jeffrey -
Single Sign on for 2 Web Applications deployed on Web Logic Server
We want to implement single sign on for our application.
We want to deploy 2 applications(JSF/ADF) on web logic server say
webapp1 and webapp2.
If user already logged into webapp1 with valid userid and password and
then he access the link for webapp2 he should not be asked to provide
the credential details userid and password.
How we can implement this
1. If user credentials are maintained/authenticated against LDAP
2. If user maintained/authenticated are from databaseyou are in the wrong forum. This one is related to Oracle forms. Try the ADF-forum instead.
-
How to restrict pan area in oracle map viewer?
Hi,
I have added map to Jpanel,Now I want to restirct panning functionality of map to a defined area.Because when I keep on panning to extreme East or West side even when my map boudaries are panned completely,I can still drag the map and So,after some point my map is lost completely(or its panned completely to extreme right or left) and I can see only white screen on my Jpanel.
Please can anyone suggest me an API or any alternative solution to achieve this.
Thanks.Hi,
using oraclemaps javascript API you can use mapview.enableMapBoundConstraint(true); Your map will be bound the the tilelayers boundingbox...
hope that helps.
dominik -
Hi,
Im using ADFs <dvt:map component to display the Maps being generated using Map Builder.
Now i want to display the data on top this map, which is specific to the zoom level.
Depends upon zoom level, corresponding data needs to be displayed.
For this, i have different VO's to display data on the Map.
Now i have added point theme, color theme to my map. Because of this, all data is being displayed on the Map.
My Question is How can i restrict the data display specific to zoom level.
At certain zoom level, data relavant to First VO needs to be displayed as Color Theme.
By doing further zoom in, data relavant to Secong VO needs to be displayed as pont theme.
Any one can suggest something do this.
Thanks & Regards,
KonjetiMy experience is that you must create different themes (USER_SDO_THEMES) for each variation on labeling or style that you want. This may require you to create individual styles (USER_SDO_STYLES). You then have to define your base_map (USER_SDO_MAPS) with each of these layers that turn on and off at different scales. This just grunt work, but ...
The more difficult part is associating USER_SDO_MAPS scales with USER_SDO_CACHED_MAPS levels, as there is no explicit relationship. They are independent concepts and you have to arrange them so that they map to each other. This can quickly devolve to a trial and error process and will have to be repeated if you change your level structure in the USER_SDO_CACHED_MAPS row.
If your base map data is in a different SRID than your rendered cached map you'll have even more fun. If you map includes USER_SDO_THEMES supported by USER_SDO_GEOM_METADATA with different SRIDs (and why not, you don't always get to pick your data) you'll want to have a calculator handy; although trial and error might be faster.
Good luck, Mark -
Porting Oracle 7 related application to Oracle 10
Hello fellas,
Currently I am trying to port an application from a legacy workstation that uses oracle 7 DB to SunBlade1500 which uses Solaris 9 and Oracle 10 database. Unfortunately, I faced alot of problem during object linking process, and most of them related to oracle libraries. Below is the error generated when linking failed :
ld: fatal: library -lclntsh: not found
ld: fatal: library -lsql: not found
ld: fatal: library -lsqlnet: not found
ld: fatal: library -lncr: not found
ld: fatal: library -lsqlnet: not found
ld: fatal: library -lclient: not found
ld: fatal: library -lcommon: not found
ld: fatal: library -lgeneric: not found
ld: fatal: library -lsqlnet: not found
ld: fatal: library -lncr: not found
ld: fatal: library -lsqlnet: not found
ld: fatal: library -lclient: not found
ld: fatal: library -lcommon: not found
ld: fatal: library -lgeneric: not found
ld: fatal: library -lepc: not found
ld: fatal: library -lnlsrtl3: not found
ld: fatal: library -lc3v6: not found
ld: fatal: library -lcore3: not found
ld: fatal: library -lnlsrtl3: not found
ld: fatal: library -lcore3: not found
ld: fatal: library -lnlsrtl3: not found
When I find those libraries, almost most of them are oracle 7 libraries and cannot be found or in oracle 10. Any suggestion what should I do to handle this problem?To Ora_tech: I have tried to compile and link them without those libraries, but apparently I faced linking error saying that:
ld: fatal: Symbol referencing errors. No output written to dbsasmon
To Schavali: Yes, it was written in Pro C. I m not sure tho whether Pro C is as same as Pro COBOL. But what actually happened during compilation is, the pro C source codes are compiled into C++ codes. From there, the C++ is again compiled by using CC compiler. So, I dont think that having pro C compiler or its libraries will help since it will be going to be compiled by CC compiler at the end. Or...maybe I am wrong? LOL
Any suggestion/explanations?
Thanks in advance! -
Google Map Integration with Map Viewer is not working
Hi Team,
My MapViewer Version: Ver11_1_1_7_B130111
I have created a Google Map (with Type of Map Source as "Google Maps") in Oracle Map Viewer and i could see google map in Oracle Map Viewer(using "show Map").
I wanted to show a village map theme over the above google map in a web page and i am using Jdeveloper to integrate map viewer with Village data. I could see the google maps inside Jdeveloper however when i run the Jdeveloper code google map is not shown inside the web page.
I tried with Oracle Maps, Bing Maps as the "map source" in map viewer and tried integrating inside Jdeveloper and got same result (blank screen). However when i tried a different mapviewer ( Base Map ELOCATION.WORLD_MAP from OracleFMW MapViewer Home ) i could see the map in the web page.
I could get all other base maps (created with "internal" as the map source") in the web page, so there is some thing that i am missing with Google Maps, Bing Maps, Oracle Maps. Could you please help me what is that i am missing or point to a help resource?
Thanks
NagHi Jayanth,
Issue is solved after creating the web page using latest JDeveloper (11.1.2.4). Thanks a lot for your help
With Regards
Nag -
Deploying map viewer on tomcat
hello,
because there was no useable result of all the past threads handling this topic, i would like to ask again.
Is there any experience in deploying the Oracle Map Viewer on a Tomcat server?
Sure, it is possible to deploy the ear/war file at Tomcat and to call the main page of Map Viewer (but not completely, at all), but after that, it seems like some parts of the OC4J are missing, like the xml-parser.
I tried something with the jars of oc4j, the classpath of tomcat and so on, but nothing really helped.
And i know about the pro and con of deploying Map Viewer anywhere else than the oc4j or application server. So there is no need to mention this again.
thanks for help
SebastianHi,
I've been running mapvier on tomcat 5.5.15 for a while now, without any problems.
I do that in my dev environment because it's faster to restart. I guess you still need an oracle appserver license even if you run it in tomcat.
Below are the contents of my lib directories:
TOMCAT_HOME/common/lib:
activation.jar
commons-el.jar
jasper-compiler-jdt.jar
jasper-compiler.jar
jasper-runtime.jar
jsp-api.jar
mail.jar
naming-factory-dbcp.jar
naming-factory.jar
naming-resources.jar
ojdbc14.jar
ojdbc14dms.jar
servlet-api.jar
xmlparserv2.jar
and
mapviewerWEB-INF/lib
adf-faces-api.jar
adf-faces-impl.jar
adfshare.jar
chartbuilder.jar
classgen.jar
commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
jsf-api.jar
jsf-impl.jar
jstl.jar
lbs.jar
mapcache.jar
mapviewer.jar
mvclient.jar
mvconsole.jar
mvmbeans.jar
sdoapi.jar
sdogr.jar
sdonm.jar
sdoutl.jar
sdovis.jar
standard.jar
wmsfilter.jar
Also, you have to create the login you will use for the mapviewer admin:
your conf/tomcat-users.xml file should at least contain this:
<role rolename="tomcat"/>
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="map_admin_role"/>
<user username="yourname" password="secret" roles="map_admin_role,tomcat,admin,manager"/>
Then you use yourname to login to the mapadmin.
This works for me.
Cheers,
Calin -
Web logic shutting down and resetting automatically
hi all.
i have developed an application in oracle apex 4.0 on oracle 11 g R1 and configured listener with oracle web logic server. i can run the application succesfully through web logic server but the problem is that i have to restart the web logic and configure listener again and again after like every 2 to 3 days. plz give me an idea what possibly could be the problem.
thanks in advance.Take a look at this article - note the special section on how to reset the SMC on laptops:
http://support.apple.com/kb/HT3964
Follow the Notebook instructions and post back if that didn't solve the problem.
P.S. You should also consider to update your OS to the latest version.
P.P.S. I'm assuming you're talking about your Macbook since you posted in the iMac section. -
Hi,
In Oracle Spatial Option (Oracle Map Viewer), it seams I have a little bit
trouble with getting the numbers/values/any text/numeric data.
What is the problem?
I imported all necessary data into oracle db (parcels, numbers, city names,
etc..), so I used mapdef.jar tool. I defined all new map names, themes and
styles (based on examples), to customize my mapview-er's view. When I define
parcels as a theme name, it works fine, but when I want to insert the
numbers/text, it falls (simply not showing content of numeric data theme).
Then I tried to solve the problem myself, so I tried to analyze the data
through enterprise manager, and I compared cities/counties/states from us
sampledata (scott/tiger), and I realized that they have r tree spatial index
(sdo_gtype) - collection. I also created(like) indexes, pointing on the
column I would like to show on the map, but it still didn't work. Anyone has
some experience in that area?
Beside that I also have MDSYS.SDO_GEOMETRY column created filled with
coordinates. They are completely the same as in cities example... looks like
that:
SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(643752449, 509765756, NULL), NULL,
NULL).
Why I cannot see those numbers? I tried all I knew, and I don't see the
point. I have equal procedure, and almoast equal data in scott/tiger
(cities), and I clearly see city names (from New York to Los Angeles), but
when I repeat the same stuff on numbers I am not able to get any number
inside my own map!
Any hints???
p.s. I have 8535 numbers to display? Is that a problem? My initial
mapinit.jsp input coordinates are pretty high. I use values: 643752449 (x),
509765756 (y). Initial map size =53000, and min & max scale is also set
properly as for parcels_theme!I'm not sure what you are trying to do. The numbers in the geometry type are rendered (drawn), so you don't see the numbers per se, but instead they are drawn.
Can you explain in more detail what you are doing, and what you are expecting? -
hi all,i need to display maps generated by oracle map viewer inside oracle portal.How can i do that?Is there any ready made portlet for that or do i have to create my own portlet?.any help is appreciated.Thanks
Hi!,
mapviewer is a middle tier component; you can compose your website as you want to.
specify your ideas a bit.
regards,
Andreas -
Hi Frnds,
Presently we are using OBIEE 10g. We have some reports for which we need to integrate with Oracle Map viewer.
We are available with both Oracle Map viewer Versions 10 and 11.
Which one would better suites for OBIEE 10g ? Suggestions and feedback.
If Oracle Map viewer 10 why not 11 ? Any reasons ??
It would be grt if some body guides me for step by step integration of OBIEE10g with Oracle map viewer.
Thank you....I guess mapviewer 10g is no more available for download..., so that's why i went ahead with 11g mapviewer...
Anyways , you can raise an SR with Oracle Support...
Few more links that might be useful to you..
http://www.peakindicators.com/index.php/knowledge-base/68-mapping-capabliity-with-oracle-bi-ee-faqs
http://www.dbuggr.com/smallwei/step-step-instruction-install-oracle-mapviewer-10g-10-1-3-1/
Also read the Readme file which comes with mvdemo data...
http://www.oracle.com/technetwork/middleware/mapviewer/mapviewer-obiee-129557.pdf
Thanks
Ashish -
Servlet class not found error deploying a WAR on Web Logic Server 8.1
I'm re-deploying an updated web application to a web logic server, but when I navigate to the login page of the web application to test it, I get a class not found error for my login servlet. I have both the web.xml and the weblogic.xml descriptors in my WEB-INF directory, and all of my compiled classes are in the WEB-INF/classes directory, is there something else I'm missing? Any help would be much appreciated.
Thanks for the response. Here's the web.xml file:
<?xml version="1.0" ?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Web Forms</display-name>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<display-name>LoginServlet</display-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ChangePasswordServlet</servlet-name>
<display-name>ChangePasswordServlet</display-name>
<servlet-class>ChangePasswordServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>LogoutServlet</servlet-name>
<display-name>LogoutServlet</display-name>
<servlet-class>LogoutServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>PageServlet</servlet-name>
<display-name>PageServlet</display-name>
<servlet-class>PageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>UploadServlet</servlet-name>
<display-name>UploadServlet</display-name>
<servlet-class>UploadServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/LoginServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ChangePasswordServlet</servlet-name>
<url-pattern>/ChangePasswordServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>LogoutServlet</servlet-name>
<url-pattern>/LogoutServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>UploadServlet</servlet-name>
<url-pattern>/UploadServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>PageServlet</servlet-name>
<url-pattern>/PageServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
</web-app>
None of the classes are in a package (I know it's not the best idea, but I didn't write these, I'm just doing some updates). So the file structure is pretty much just WEB-INF/classes/
At the moment I've got a fix by just putting the entire project (not in any sort of archive) on the server itself instead of deploying it as a WAR, any thoughts on why the WAR isn't working would be much appreciated though. -
Problem with a Data Source in Web Logic
Hi everybody,
Currently i am deploying a 11g ADF application, i am testing my application in a Web Logic 10.3.2.0, and in the beginning all works OK, but when the user test the application like a half of hour the data source throws this exception:
Messages
Test of MOR_DS_ORA2 on server soa_server1 failed, reason:
Connection test failed with the following exception: weblogic.common.resourcepool.ResourceUnavailableException: No resources currently available in pool MOR_DS_ORA2 to allocate to applications. Either specify a time period to wait for resources to become available, or increase the size of the pool and retry..
This error only occur in the development server of the company, never in the embed WL of my JDeveloper 11 g
Checking my code (appModuleImpl where is all the logic and integration with my DB) i don't see any wrong.
I call SP like this:
String stmt = "BEGIN XXMOR_FUNCIONAL_PKG.XXMOR_SOL_REPROCESAR_PR(?, ?); END;";
CallableStatement st = null;
try {
st = getDBTransaction().createCallableStatement(stmt, 2);
st.setInt(1, idSol);
st.setString(2, rw.getTrackingIdConcom());
st.execute();
System.out.println("Exito.");
catch (SQLException e) {
throw new JboException(e);
finally {
if (st != null) {
try {
st.close();
catch (SQLException e) {}
Execute some querys like this:
public ArrayList getElementsByArguments(String query){
ArrayList al = new ArrayList();
ResultSet rs = null;
try {
rs = getDBTransaction().createStatement(0).executeQuery(query);
ResultSetMetaData rsMeta = rs.getMetaData();
int numColumnas = rsMeta.getColumnCount();
while(rs.next()) {
for (int i = 1; i <= numColumnas; i++) {
al.add(rs.getString(i));
} catch (SQLException e) {
getDBTransaction().commit();
return al;
And some insert and update like this:
public String setNewFzaVta(Number idSegNeg, String idenFzaVta, String nomFzaVta, String region, String copysOrden,
String copysFecha, String mutlifuerza, String rtcrdAut, String autCorreo, String mercadotecnia,
String divCanal, String conCom, String activa, String notificacion, String createBy, Date currentDate,
String matloc, Number tolerancia, String rate){
XxmorFzasVtasTabViewImpl u = (XxmorFzasVtasTabViewImpl)getXxmorFzasVtasTabView1();
XxmorFzasVtasTabViewRowImpl newRow = (XxmorFzasVtasTabViewRowImpl)u.createRow();
SequenceImpl seq = new SequenceImpl("XXMOR_ID_FZAVTA_SQ", getDBTransaction());
Number seqNextval = seq.getSequenceNumber();
newRow.setIdSegNeg(idSegNeg);
newRow.setIdFzaVentas(seqNextval);
newRow.setIdentFzaVentas(idenFzaVta);
newRow.setNombreFzaVentas(nomFzaVta);
newRow.setRegion(region);
newRow.setCopysXOrden(copysOrden);
newRow.setCopysXFecha(copysFecha);
newRow.setMultifuerza(mutlifuerza);
newRow.setRtcrdAuthAut(rtcrdAut);
newRow.setAutXCorreo(autCorreo);
newRow.setMercadotecnia(mercadotecnia);
newRow.setDivXCanal(divCanal);
newRow.setCondicionesComerciales(conCom);
newRow.setActiva(activa);
newRow.setNotificacionExtInt(notificacion);
newRow.setCreatedBy(createBy);
newRow.setCreatedDate(currentDate);
newRow.setMatloc(matloc);
newRow.setAutTolerancia(tolerancia);
newRow.setGetRate(rate);
u.insertRow(newRow);
getDBTransaction().commit();
return seqNextval.toString();
Can anybody help me ! ????Hi,
from the original post it is not obvious from where the code is called and if the AM is released properly. So if you face the same issue, maybe you can explain more
Frank
Maybe you are looking for
-
I have a scenario with the three nodes with server 2012 standard, each running an instance of SQL Server 2012 enterprise, participate in a single Windows Server Failover Cluster (WSFC) that spans two data centers. If the nodes in the primary data cen
-
Running v10.4 (intel) on a UFS formatted system volume
Hello, My (recently deceased) iBook ran Mac OS X v10.3, and I used to be able to install it onto a UFS formatted system volume. This was very useful to me in my work. My new MacBook with v10.4 doesn't seem to allow this option during the install proc
-
New officejet 8600 plus display is in Chinese not English. How do I change to English?
My brand new out of the box Officejet Pro 8600 plus front panel display came up in Chinese when I turned it on. How can I set it back to English? Officejet Pro 8600 plus pn: CN579A OS: Win732 Home Premium
-
I have a project created in VS 2008 that has one report in it. When I open it in VS 2010 with CR 2010 installed it asks if I want to convert the report. I tell it no since i don't want to move to the 4 framework yet. Everything worked great. Then
-
HT4009 Cancel In-App purchase monthly subscription
How can I cancel an in-app monthly messaging service that I used to subscribe to? I've deleted my account from the app, deleted the app from my phone, yet I'm still charged the monthly messaging "pro" feature, for $10/mo. I can't find ANYWHERE on app