[GeoNetwork-devel] Map isn´t shown

Hello,

I have installed GN 2.4 (Port 8080) and TomCat 6 (on Port 80) with Java 6.
Now the map on the left isn´t shown. If i open intermap
(localhost:8080/intermap) then there is exception: 'undefined is null or no
object' and anything was loaded except the map.
I have changed in web.xml ( program/geonetwork/web/geoserver/WEB-INF) this
after I copied this folder (and intermap and geoserver) to
program/apache/tomcat/webapps (as I read it somewhere):

    <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
        <param-value>/geonetwork/data/geoserver_data</param-value>
    </context-param>

In server.xml (Tomcat) I insert this:
<Context path="/geonetwork" docBase="C:\program/geonetwork/web"
       crossContext="false" debug="0" relaodable="false"/>

Was it wrong to do that?

My mapContext apply to localhost:8080. I don´t exactly understand if I need
to use Port 80 or 8080.

Any help would be appreciated. Thanks.
--
View this message in context: http://n2.nabble.com/Map-isn-t-shown-tp3601794p3601794.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

I forgot to say that I have insert this to header.xsl (program/geonetwork/..)

<xsl:if test="position()!=last()">,</xsl:if>
as it was said in a post at this forum few days earlier.
Thanks.

sowa wrote:

Hello,

I have installed GN 2.4 (Port 8080) and TomCat 6 (on Port 80) with Java 6.
Now the map on the left isn´t shown. If i open intermap
(localhost:8080/intermap) then there is exception: 'undefined is null or
no object' and anything was loaded except the map.
I have changed in web.xml ( program/geonetwork/web/geoserver/WEB-INF) this
after I copied this folder (and intermap and geoserver) to
program/apache/tomcat/webapps (as I read it somewhere):

    <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
        <param-value>/geonetwork/data/geoserver_data</param-value>
    </context-param>

In server.xml (Tomcat) I insert this:
<Context path="/geonetwork" docBase="C:\program/geonetwork/web"
       crossContext="false" debug="0" relaodable="false"/>

Was it wrong to do that?

My mapContext apply to localhost:8080. I don´t exactly understand if I
need to use Port 80 or 8080.

Any help would be appreciated. Thanks.

--
View this message in context: http://n2.nabble.com/Map-isn-t-shown-tp3601794p3601827.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.

I have changed this
<param-value>/geonetwork/data/geoserver_data</param-value>
to this
<param-value>../data/geoserver_data</param-value>
and it worked.
Can anybody say something if my ports are ok or if I changed geonetwork to
Port 80.
Thanks!

sowa wrote:

I forgot to say that I have insert this to header.xsl
(program/geonetwork/..)

<xsl:if test="position()!=last()">,</xsl:if>
as it was said in a post at this forum few days earlier.
Thanks.

sowa wrote:

Hello,

I have installed GN 2.4 (Port 8080) and TomCat 6 (on Port 80) with Java
6. Now the map on the left isn´t shown. If i open intermap
(localhost:8080/intermap) then there is exception: 'undefined is null or
no object' and anything was loaded except the map.
I have changed in web.xml ( program/geonetwork/web/geoserver/WEB-INF)
this after I copied this folder (and intermap and geoserver) to
program/apache/tomcat/webapps (as I read it somewhere):

    <context-param>
       <param-name>GEOSERVER_DATA_DIR</param-name>
        <param-value>/geonetwork/data/geoserver_data</param-value>
    </context-param>

In server.xml (Tomcat) I insert this:
<Context path="/geonetwork" docBase="C:\program/geonetwork/web"
       crossContext="false" debug="0" relaodable="false"/>

Was it wrong to do that?

My mapContext apply to localhost:8080. I don´t exactly understand if I
need to use Port 80 or 8080.

Any help would be appreciated. Thanks.

--
View this message in context: http://n2.nabble.com/Map-isn-t-shown-tp3601794p3601872.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.