problem between intermap and geoserver / no map shown

9 messages Options
Embed this post
Permalink
Timo Proescholdt

problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
Hi list,

I was wondering if somebody could please assist me with a problem I am
having with geonetwork, intermap and geoserver. Any help would
be very much appreciated.

My problem is that I dont see the map in the geonetwork search
interface.

I have setup geonetwork 2.4.2 on opensuse 11.1 running
apache2,postgresql,tomcat6 and sun java sdk 1.6.

Since I had difficulties to get the geoserver supplied with
geonetwork running, I deployed the latest geoserver.war file
in the tomcat webapps dir.

Geoserver is now operational at http://localhost:8080/geoserver
(I see a login screen and various demos seemed to be running without
problems)

However, as soon as I access http://localhost:8080/intermap or
http://localhost:8080/geonetwork I do see the search interfaces, but
no map is displayed. Instead a "file not found" dummy image having
the source address "intermap/tmp/null" is shown.

Accessing intermap produces the error message shown at the end of this
mail in the tomcat logfile catalina.out .

The mapServers.xml configuration file

/usr/local/geonetwork/web/intermap/WEB-INF/mapServers.xml listst
localhost:8080/geoserver amongst others as available mapservers.

I am not familiar with the geo*-suite, so I was wondering if the
fact that geonetwork requests "tmp/null" images from intermap is
an indicator of an error in geonetwork or if the problem has to
be searched in intermap or geoserver. I was also wondering
if there was a way to chose one of the mapservers configured in the
mapServers.xml file.

any help would be very much appreciated

best regards and many thanks
Timo Proescholdt


============ catalina.out ==============

* skipping null WMSFormat
* skipping null WMSFormat
java.lang.NullPointerException
at
org.wfp.vam.intermap.kernel.map.mapServices.wms.WmsService.<init>(WmsService.java:84)
        at
org.wfp.vam.intermap.services.map.MapUtil.addService(MapUtil.java:190)
        at
org.wfp.vam.intermap.services.map.MapUtil.setDefaultContext(MapUtil.java:243)
        at org.wfp.vam.intermap.services.map.Update.exec(Update.java:67)
        at
jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)

[..]
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
No valid bbox found
REASPECTING - changing ratio WE += 51.15384
no change to imagename
imagePath: null


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Sarah_S

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
Hi Timo,

did you change something at mapservers.xml?
Your Geoserver_data_dir is right?

Just my 2 little suggestions.

best regards
Sarah

Timo Proescholdt wrote:
Hi list,

I was wondering if somebody could please assist me with a problem I am
having with geonetwork, intermap and geoserver. Any help would
be very much appreciated.

My problem is that I dont see the map in the geonetwork search
interface.

I have setup geonetwork 2.4.2 on opensuse 11.1 running
apache2,postgresql,tomcat6 and sun java sdk 1.6.

Since I had difficulties to get the geoserver supplied with
geonetwork running, I deployed the latest geoserver.war file
in the tomcat webapps dir.

Geoserver is now operational at http://localhost:8080/geoserver
(I see a login screen and various demos seemed to be running without
problems)

However, as soon as I access http://localhost:8080/intermap or
http://localhost:8080/geonetwork I do see the search interfaces, but
no map is displayed. Instead a "file not found" dummy image having
the source address "intermap/tmp/null" is shown.

Accessing intermap produces the error message shown at the end of this
mail in the tomcat logfile catalina.out .

The mapServers.xml configuration file

/usr/local/geonetwork/web/intermap/WEB-INF/mapServers.xml listst
localhost:8080/geoserver amongst others as available mapservers.

I am not familiar with the geo*-suite, so I was wondering if the
fact that geonetwork requests "tmp/null" images from intermap is
an indicator of an error in geonetwork or if the problem has to
be searched in intermap or geoserver. I was also wondering
if there was a way to chose one of the mapservers configured in the
mapServers.xml file.

any help would be very much appreciated

best regards and many thanks
Timo Proescholdt


============ catalina.out ==============

* skipping null WMSFormat
* skipping null WMSFormat
java.lang.NullPointerException
at
org.wfp.vam.intermap.kernel.map.mapServices.wms.WmsService.<init>(WmsService.java:84)
        at
org.wfp.vam.intermap.services.map.MapUtil.addService(MapUtil.java:190)
        at
org.wfp.vam.intermap.services.map.MapUtil.setDefaultContext(MapUtil.java:243)
        at org.wfp.vam.intermap.services.map.Update.exec(Update.java:67)
        at
jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)

[..]
       at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
No valid bbox found
REASPECTING - changing ratio WE += 51.15384
no change to imagename
imagePath: null


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
franko

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
In reply to this post by Timo Proescholdt
Hi Timo.

Post here your mapServer.xml....
You can find it in geonetwork/we/intermap/WEB-INF

2009/10/27 Timo Proescholdt <[hidden email]>:

> Hi list,
>
> I was wondering if somebody could please assist me with a problem I am
> having with geonetwork, intermap and geoserver. Any help would
> be very much appreciated.
>
> My problem is that I dont see the map in the geonetwork search
> interface.
>
> I have setup geonetwork 2.4.2 on opensuse 11.1 running
> apache2,postgresql,tomcat6 and sun java sdk 1.6.
>
> Since I had difficulties to get the geoserver supplied with
> geonetwork running, I deployed the latest geoserver.war file
> in the tomcat webapps dir.
>
> Geoserver is now operational at http://localhost:8080/geoserver
> (I see a login screen and various demos seemed to be running without
> problems)
>
> However, as soon as I access http://localhost:8080/intermap or
> http://localhost:8080/geonetwork I do see the search interfaces, but
> no map is displayed. Instead a "file not found" dummy image having
> the source address "intermap/tmp/null" is shown.
>
> Accessing intermap produces the error message shown at the end of this
> mail in the tomcat logfile catalina.out .
>
> The mapServers.xml configuration file
>
> /usr/local/geonetwork/web/intermap/WEB-INF/mapServers.xml listst
> localhost:8080/geoserver amongst others as available mapservers.
>
> I am not familiar with the geo*-suite, so I was wondering if the
> fact that geonetwork requests "tmp/null" images from intermap is
> an indicator of an error in geonetwork or if the problem has to
> be searched in intermap or geoserver. I was also wondering
> if there was a way to chose one of the mapservers configured in the
> mapServers.xml file.
>
> any help would be very much appreciated
>
> best regards and many thanks
> Timo Proescholdt
>
>
> ============ catalina.out ==============
>
> * skipping null WMSFormat
> * skipping null WMSFormat
> java.lang.NullPointerException
> at
> org.wfp.vam.intermap.kernel.map.mapServices.wms.WmsService.<init>(WmsService.java:84)
>        at
> org.wfp.vam.intermap.services.map.MapUtil.addService(MapUtil.java:190)
>        at
> org.wfp.vam.intermap.services.map.MapUtil.setDefaultContext(MapUtil.java:243)
>        at org.wfp.vam.intermap.services.map.Update.exec(Update.java:67)
>        at
> jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)
>
> [..]
>       at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>        at java.lang.Thread.run(Thread.java:619)
> No valid bbox found
> REASPECTING - changing ratio WE += 51.15384
> no change to imagename
> imagePath: null
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>



--
Ing. Francesco D'Amore
blog: www.marinajonica.org
linkedin: http://www.linkedin.com/in/francescodamore
Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico (IIA)
Ph. D. Student at University of Calabria - DEIS

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Timo Proescholdt

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
Dear Francesco, Sarah and All,

thank you for your assistance.

please find the mapservers.xml attached to this email.

There might indeed also be an issue with the GEOSERVER_DATA_DIR.
catalina.out complains at one point about


WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no
gdaljni in java.library.path
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
28 Oct 12:20:06 ERROR [geoserver.global] -
----------------------------------
- GEOSERVER_DATA_DIR: /usr/share/tomcat6/webapps/geoserver/data
----------------------------------
28 Oct 12:20:06 INFO [org.geoserver] - Loaded style 'poi'
28 Oct 12:20:06 INFO [org.geoserver] - Loaded style 'polygon'
[..]

however, the directory is owned by tomcat, and seems to contain
the right files.

linux-28ea:/usr/share/tomcat6/webapps/geoserver # ls data/

coverages  demo        layergroups  logs      plugIns   styles          
validation  wfs.xml  workspaces
data       global.xml  logging.xml  palettes  security  user_projections
wcs.xml     wms.xml  www

is there an issue with the GEOSERVER_DATA_DIR? What is it supposed to
contain and what is it for?

any clues what the NullPointerException and the  "* skipping null WMSFormat"
messages in catalina.out are about?


thank you and best regards
Timo

> Hi Timo.
>
> Post here your mapServer.xml....
> You can find it in geonetwork/we/intermap/WEB-INF
>
> 2009/10/27 Timo Proescholdt <[hidden email]>:
>> Hi list,
>>
>> I was wondering if somebody could please assist me with a problem I am
>> having with geonetwork, intermap and geoserver. Any help would
>> be very much appreciated.
>>
>> My problem is that I dont see the map in the geonetwork search
>> interface.
>>
>> I have setup geonetwork 2.4.2 on opensuse 11.1 running
>> apache2,postgresql,tomcat6 and sun java sdk 1.6.
>>
>> Since I had difficulties to get the geoserver supplied with
>> geonetwork running, I deployed the latest geoserver.war file
>> in the tomcat webapps dir.
>>
>> Geoserver is now operational at http://localhost:8080/geoserver
>> (I see a login screen and various demos seemed to be running without
>> problems)
>>
>> However, as soon as I access http://localhost:8080/intermap or
>> http://localhost:8080/geonetwork I do see the search interfaces, but
>> no map is displayed. Instead a "file not found" dummy image having
>> the source address "intermap/tmp/null" is shown.
>>
>> Accessing intermap produces the error message shown at the end of this
>> mail in the tomcat logfile catalina.out .
>>
>> The mapServers.xml configuration file
>>
>> /usr/local/geonetwork/web/intermap/WEB-INF/mapServers.xml listst
>> localhost:8080/geoserver amongst others as available mapservers.
>>
>> I am not familiar with the geo*-suite, so I was wondering if the
>> fact that geonetwork requests "tmp/null" images from intermap is
>> an indicator of an error in geonetwork or if the problem has to
>> be searched in intermap or geoserver. I was also wondering
>> if there was a way to chose one of the mapservers configured in the
>> mapServers.xml file.
>>
>> any help would be very much appreciated
>>
>> best regards and many thanks
>> Timo Proescholdt
>>
>>
>> ============ catalina.out ==============
>>
>> * skipping null WMSFormat
>> * skipping null WMSFormat
>> java.lang.NullPointerException
>> at
>> org.wfp.vam.intermap.kernel.map.mapServices.wms.WmsService.<init>(WmsService.java:84)
>>        at
>> org.wfp.vam.intermap.services.map.MapUtil.addService(MapUtil.java:190)
>>        at
>> org.wfp.vam.intermap.services.map.MapUtil.setDefaultContext(MapUtil.java:243)
>>        at org.wfp.vam.intermap.services.map.Update.exec(Update.java:67)
>>        at
>> jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)
>>
>> [..]
>>       at
>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>        at java.lang.Thread.run(Thread.java:619)
>> No valid bbox found
>> REASPECTING - changing ratio WE += 51.15384
>> no change to imagename
>> imagePath: null
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and
>> stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> GeoNetwork-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>> GeoNetwork OpenSource is maintained at
>> http://sourceforge.net/projects/geonetwork
>>
>
>
>
> --
> Ing. Francesco D'Amore
> blog: www.marinajonica.org
> linkedin: http://www.linkedin.com/in/francescodamore
> Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico
> (IIA)
> Ph. D. Student at University of Calabria - DEIS
>

<?xml version="1.0"?>

<!-- Map servers
        You can add / change the list of available Web Map Servers here
        Add any OGC WMS or ESRI ArcIMS compliant server below using the same format as the provided examples below
        OGC WMS servers are known as type 2
        ESRI ArcIMS servers are known as type 1
-->
<config>
        <mapServers>
    <server type="2" name="Local GeoServer Web Mapping Server (WMS)">
            <url>http://localhost:8080/geoserver/wms</url>
    </server>
    <server type="2" name="NASA JPL OneEarth Web Mapping Server (WMS)">
      <url>http://wms.jpl.nasa.gov/wms.cgi</url>
    </server>
    <server type="2" name="NASA Earth Observations (NEO) WMS">
      <url>http://neowms.sci.gsfc.nasa.gov/wms/wms</url>
    </server>
                <server type="2" name="Integrated CEOS European Data Server (ICEDS) WMS">
                        <url>http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms</url>
                </server>
                <server type="2" name="SOil Map Internet Server (SOMIS) WMS">
                        <url>http://eusoils.jrc.it/wmsconnector/com.esri.wms.Esrimap/Eusoils_WMS</url>
                </server>
    <server type="2" name="Global Learning and Observations to Benefit the Environment (GLOBE)">
            <url>http://viz.globe.gov/viz-bin/wmt.cgi</url>
    </server>
    <server type="2" name="Nighttime Lights of the World (NOAA)">
        <url>http://www.ngdc.noaa.gov/eog/maps/cgi-bin/public/ms/poster</url>
                </server>
                <server type="2" name="TerraServer USA (high resolution images)">
          <url>http://terraserver-usa.com/ogccapabilities.ashx</url>
                </server>
    <server type="2" name="CCRS - Cubewerx">
            <url>http://ceoware2.ccrs.nrcan.gc.ca/cubewerx/cubeserv/cubeserv.cgi</url>
    </server>
    <server type="2" name="DEMIS World Map Server">
            <url>http://www2.demis.nl/mapserver/request.asp</url>
    </server>
    <server type="2" name="Demo Cubewerx (WMS) - 2">
            <url>http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi</url>
    </server>
               
<!--
    <server type="2" name="Elevation data (SRTM) - USGS CEOS - OGC WMS">
           <url>http://gisdata.usgs.net/servlet/com.esri.wms.Esrimap/USGS_EDC_Elev_STM</url>
    </server>
    <server type="2" name="ESRI Geography Network - OGC WMS">
            <url>http://www.geographynetwork.com/servlet/com.esri.wms.Esrimap</url>
    </server>
    <server type="2" name="Asia-Pacific Natural Hazards Information Network - ArcIMS WMS">
            <url>http://www.pdc.org/servlet/com.esri.wms.Esrimap</url>
    </server>
    <server type="2" name="ER_TSUNAMI_INUNDATION_Z44 - USGS - OGC WMS">
            <url>http://edcw2ks51.cr.usgs.gov/servlet/com.esri.wms.Esrimap</url>
    </server>
    -->
        </mapServers>
       
        <mapContexts>
                <default name="Layers for default map -- DUMMY NAME:not used">
                        <server url="http://localhost:8080/geoserver/wms"  type="2" >
                                <layer name="gn:world"></layer>
                        </server>
                        <server url="http://localhost:8080/geoserver/wms"  type="2" >
                                <layer name="gn:gboundaries"></layer>
                        </server>
<!-- <server url="http://www2.demis.nl/mapserver/request.asp"  type="2" >
                                <layer name="Topography"></layer>
                        </server>
                        <server url="http://www2.demis.nl/mapserver/request.asp"  type="2" >
                                <layer name="Borders"></layer>
                        </server>
                        <server url="http://www2.demis.nl/mapserver/request.asp"  type="2" >
                                <layer name="Coastlines"></layer>
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/1" type="2">
                                <layer name="national_boundaries_africa" />
                        </server>
-->
                </default>
                <context name="World - Landsat 7 Global Mosaic (pan sharpened) with simplified national boundaries">
                        <server url="http://onearth.jpl.nasa.gov/wms.cgi" type="2">
                                <layer name="global_mosaic" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - Landsat 7 Global Mosaic (not pan sharpened)">
                        <server url="http://onearth.jpl.nasa.gov/wms.cgi" type="2">
                                <layer name="global_mosaic_base" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279 with simplified national boundaries" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - Soil Map of the World with simplified national boundaries">
                        <server url="http://geonetwork3.fao.org/ows/6095" type="2">
                                <layer name="world_soilmap" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - The Land Cover of the World in the Year 2000 with simplified national boundaries">
                        <server url="http://geonetwork3.fao.org/ows/6531" type="2">
                                <layer name="global_land_cover_2000" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - Global Map Irrigated Areas with simplified national boundaries">
                        <server url="http://geonetwork3.fao.org/ows/5020" type="2">
                                <layer name="irrigated_areas" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - MODIS TERRA daily composite with simplified national boundaries">
                        <server url="http://onearth.jpl.nasa.gov/wms.cgi" type="2">
                                <layer name="daily_terra" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - MODIS AQUA daily composite with simplified national boundaries">
                        <server url="http://onearth.jpl.nasa.gov/wms.cgi" type="2">
                                <layer name="daily_aqua" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
                <context name="World - 1km elevation, seamless SRTM land elevation and ocean depth with simplified national boundaries">
                        <server url="http://onearth.jpl.nasa.gov/wms.cgi" type="2">
                                <layer name="srtmplus" />
                        </server>
                        <server url="http://geonetwork3.fao.org/ows/12279" type="2">
                                <layer name="world_country_boundary" />
                        </server>
                </context>
        </mapContexts>
</config>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
franko

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
Timo, in default section you are this services:
<mapContexts>
                <default name="Layers for default map -- DUMMY NAME:not used">
                        <server url="http://localhost:8080/geoserver/wms"  type="2" >
                                <layer name="gn:world"></layer>
                        </server>
                        <server url="http://localhost:8080/geoserver/wms"  type="2" >
                                <layer name="gn:gboundaries"></layer>
                        </server>

Are you installed geoserver embedded in your local host????
If so, you can reach the server
http://localhost:8080/geoserver/wms..... try it. If not, the problem
is related to geoserver installation.

I think that the problem is with embedded geoserver....

Try to reinstall Geonetowkr but without geoserver... next install a
geoserver.war only if you need a map server.

The default tag in mapserver.xml  will appear to address in a remote
web map server, metacarta vmap probably.








2009/10/28 Timo Proescholdt <[hidden email]>:

> Dear Francesco, Sarah and All,
>
> thank you for your assistance.
>
> please find the mapservers.xml attached to this email.
>
> There might indeed also be an issue with the GEOSERVER_DATA_DIR.
> catalina.out complains at one point about
>
>
> WARNING: Native library load failed.java.lang.UnsatisfiedLinkError: no
> gdaljni in java.library.path
> log4j:WARN File option not set for appender [geoserverlogfile].
> log4j:WARN Are you using FileAppender instead of ConsoleAppender?
> 28 Oct 12:20:06 ERROR [geoserver.global] -
> ----------------------------------
> - GEOSERVER_DATA_DIR: /usr/share/tomcat6/webapps/geoserver/data
> ----------------------------------
> 28 Oct 12:20:06 INFO [org.geoserver] - Loaded style 'poi'
> 28 Oct 12:20:06 INFO [org.geoserver] - Loaded style 'polygon'
> [..]
>
> however, the directory is owned by tomcat, and seems to contain
> the right files.
>
> linux-28ea:/usr/share/tomcat6/webapps/geoserver # ls data/
>
> coverages  demo        layergroups  logs      plugIns   styles
> validation  wfs.xml  workspaces
> data       global.xml  logging.xml  palettes  security  user_projections
> wcs.xml     wms.xml  www
>
> is there an issue with the GEOSERVER_DATA_DIR? What is it supposed to
> contain and what is it for?
>
> any clues what the NullPointerException and the  "* skipping null WMSFormat"
> messages in catalina.out are about?
>
>
> thank you and best regards
> Timo
>
>> Hi Timo.
>>
>> Post here your mapServer.xml....
>> You can find it in geonetwork/we/intermap/WEB-INF
>>
>> 2009/10/27 Timo Proescholdt <[hidden email]>:
>>> Hi list,
>>>
>>> I was wondering if somebody could please assist me with a problem I am
>>> having with geonetwork, intermap and geoserver. Any help would
>>> be very much appreciated.
>>>
>>> My problem is that I dont see the map in the geonetwork search
>>> interface.
>>>
>>> I have setup geonetwork 2.4.2 on opensuse 11.1 running
>>> apache2,postgresql,tomcat6 and sun java sdk 1.6.
>>>
>>> Since I had difficulties to get the geoserver supplied with
>>> geonetwork running, I deployed the latest geoserver.war file
>>> in the tomcat webapps dir.
>>>
>>> Geoserver is now operational at http://localhost:8080/geoserver
>>> (I see a login screen and various demos seemed to be running without
>>> problems)
>>>
>>> However, as soon as I access http://localhost:8080/intermap or
>>> http://localhost:8080/geonetwork I do see the search interfaces, but
>>> no map is displayed. Instead a "file not found" dummy image having
>>> the source address "intermap/tmp/null" is shown.
>>>
>>> Accessing intermap produces the error message shown at the end of this
>>> mail in the tomcat logfile catalina.out .
>>>
>>> The mapServers.xml configuration file
>>>
>>> /usr/local/geonetwork/web/intermap/WEB-INF/mapServers.xml listst
>>> localhost:8080/geoserver amongst others as available mapservers.
>>>
>>> I am not familiar with the geo*-suite, so I was wondering if the
>>> fact that geonetwork requests "tmp/null" images from intermap is
>>> an indicator of an error in geonetwork or if the problem has to
>>> be searched in intermap or geoserver. I was also wondering
>>> if there was a way to chose one of the mapservers configured in the
>>> mapServers.xml file.
>>>
>>> any help would be very much appreciated
>>>
>>> best regards and many thanks
>>> Timo Proescholdt
>>>
>>>
>>> ============ catalina.out ==============
>>>
>>> * skipping null WMSFormat
>>> * skipping null WMSFormat
>>> java.lang.NullPointerException
>>> at
>>> org.wfp.vam.intermap.kernel.map.mapServices.wms.WmsService.<init>(WmsService.java:84)
>>>        at
>>> org.wfp.vam.intermap.services.map.MapUtil.addService(MapUtil.java:190)
>>>        at
>>> org.wfp.vam.intermap.services.map.MapUtil.setDefaultContext(MapUtil.java:243)
>>>        at org.wfp.vam.intermap.services.map.Update.exec(Update.java:67)
>>>        at
>>> jeeves.server.dispatchers.ServiceInfo.execService(ServiceInfo.java:238)
>>>
>>> [..]
>>>       at
>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>>        at java.lang.Thread.run(Thread.java:619)
>>> No valid bbox found
>>> REASPECTING - changing ratio WE += 51.15384
>>> no change to imagename
>>> imagePath: null
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and
>>> stay
>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>>> http://p.sf.net/sfu/devconference
>>> _______________________________________________
>>> GeoNetwork-users mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
>>> GeoNetwork OpenSource is maintained at
>>> http://sourceforge.net/projects/geonetwork
>>>
>>
>>
>>
>> --
>> Ing. Francesco D'Amore
>> blog: www.marinajonica.org
>> linkedin: http://www.linkedin.com/in/francescodamore
>> Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico
>> (IIA)
>> Ph. D. Student at University of Calabria - DEIS
>>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>
>



--
Ing. Francesco D'Amore
blog: www.marinajonica.org
linkedin: http://www.linkedin.com/in/francescodamore
Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico (IIA)
Ph. D. Student at University of Calabria - DEIS

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Timo Proescholdt

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
Dear Francesco,

thanks again for your help.

Francesco D'Amore a écrit :

> Timo, in default section you are this services:
> <mapContexts>
> <default name="Layers for default map -- DUMMY NAME:not used">
> <server url="http://localhost:8080/geoserver/wms"  type="2" >
> <layer name="gn:world"></layer>
> </server>
> <server url="http://localhost:8080/geoserver/wms"  type="2" >
> <layer name="gn:gboundaries"></layer>
> </server>
>
> Are you installed geoserver embedded in your local host????

yes, I installed geoserver on the same host, and thought to get the
default map from there.

> If so, you can reach the server
> http://localhost:8080/geoserver/wms..... try it. If not, the problem
> is related to geoserver installation.

http://localhost:8080/geoserver/wms gives my an XML file. I also tested
something like http://localhost:8080/geoserver/wms???CAPABILITIES???
at some point (cannot find the exact URL any more) and it returned an
XML file with the server capabilities, which seemd to be ok.
Are there any other parameters that I could try?

>
> I think that the problem is with embedded geoserver....

you might be right but I'm not sure. I'm getting the geoserver login
screen and so far it seemed to be ok. How can I test that the geoserver
really works without problems? What are the parameters needed to make
it output an actual map?


thanks!

Timo

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
franko

Re: problem between intermap and geoserver / no map shown

Reply Threaded More More options
Print post
Permalink
In the early mail you said that you had deployed a geoserver.war.....

1) Undeploy this geoserver.war
2) Restart Tomcat (if you use it.... or restart Jetty or GN stand alone).

3)Restart Geonetwork (o restart tomcat).

go to : http://localhost:8080/geoserver

Go to Welcome page and search demo....
In demo page there is same feature (WMS) that you can try.......
gn:gboundaries and gn:world.

Try this feature....... if is ok geoserver works fine.

4)Try http://localhost:8080/intermap
The map is showed????

5) Try GeoNetowrk.... if step 3 and step 4 are ok, Geonetowrk should be ok......

Good luck!!!!

2009/10/28 Timo Proescholdt <[hidden email]>:

> Dear Francesco,
>
> thanks again for your help.
>
> Francesco D'Amore a écrit :
>> Timo, in default section you are this services:
>> <mapContexts>
>>               <default name="Layers for default map -- DUMMY NAME:not used">
>>                       <server url="http://localhost:8080/geoserver/wms"  type="2" >
>>                               <layer name="gn:world"></layer>
>>                       </server>
>>                       <server url="http://localhost:8080/geoserver/wms"  type="2" >
>>                               <layer name="gn:gboundaries"></layer>
>>                       </server>
>>
>> Are you installed geoserver embedded in your local host????
>
> yes, I installed geoserver on the same host, and thought to get the
> default map from there.
>
>> If so, you can reach the server
>> http://localhost:8080/geoserver/wms..... try it. If not, the problem
>> is related to geoserver installation.
>
> http://localhost:8080/geoserver/wms gives my an XML file. I also tested
> something like http://localhost:8080/geoserver/wms???CAPABILITIES???
> at some point (cannot find the exact URL any more) and it returned an
> XML file with the server capabilities, which seemd to be ok.
> Are there any other parameters that I could try?
>
>>
>> I think that the problem is with embedded geoserver....
>
> you might be right but I'm not sure. I'm getting the geoserver login
> screen and so far it seemed to be ok. How can I test that the geoserver
> really works without problems? What are the parameters needed to make
> it output an actual map?
>
>
> thanks!
>
> Timo
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
>



--
Ing. Francesco D'Amore
blog: www.marinajonica.org
linkedin: http://www.linkedin.com/in/francescodamore
Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico (IIA)
Ph. D. Student at University of Calabria - DEIS

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Timo Proescholdt

Re: problem between intermap and geoserver / no map shown [SOLUTION]

Reply Threaded More More options
Print post
Permalink
Hi guys,

1000 thanks for your help.

Uninstalling (rm -rf /usr/local/geonetwork) geonetwork and installing it
again without geoserver solved the problem. (I redeployed geoserver.war
in tomcat, too).

The map is now being displayed.

thanks again and have a nice evening!
Timo

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
franko

Re: problem between intermap and geoserver / no map shown [SOLUTION]

Reply Threaded More More options
Print post
Permalink
Good work!!!!


Get attention with mapserver.xml...... may be that the map in there
don't work well some times....

Change it with World map contains in your local geoserver!!!!!!  It
will work better!!!


Ciao.

2009/10/28 Timo Proescholdt <[hidden email]>:

> Hi guys,
>
> 1000 thanks for your help.
>
> Uninstalling (rm -rf /usr/local/geonetwork) geonetwork and installing it
> again without geoserver solved the problem. (I redeployed geoserver.war
> in tomcat, too).
>
> The map is now being displayed.
>
> thanks again and have a nice evening!
> Timo
>



--
Ing. Francesco D'Amore
blog: www.marinajonica.org
linkedin: http://www.linkedin.com/in/francescodamore
Consiglio Nazionale delle Ricerche - Istituto di Inquinamento Atmosferico (IIA)
Ph. D. Student at University of Calabria - DEIS

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork