[GeoNetwork-devel] GN 270 r8910 is working ?

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I’m having very big troubles with they.

I firstly tried to set the new environment as reported in the internet proposal page:

[http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir](http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir)

And following that doc,
in the web.xml, I set the variable:

        <init-param>
            <param-name>geonetwork.dir</param-name>
            <param-value>/home/tomcat/geonetwork_data_dir/geocat</param-value>

        </init-param>

and after this I set also the catalina_opts:
export CATALINA_OPTS=“$CATALINA_OPTS -Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat”

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the “NULL” was because the application geonetwork as not correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my postgres dbms.

I would also add that until the version r8795 the geonetwork will work pretty well, some little problem, but never seen big rpoblems like these.

So I like to know if some other users was able to run GN 2.7.0 r8910 starting from sources, i need ot understand if there some big problem in r8910 or I’m wrong something.

Thanks,

Andrea Peri
. . . . . . . . .
qwerty àèìòù

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin > system info that all directories are initialized properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin

logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri <aperi2007@anonymised.com> a écrit :

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I'm having very big troubles with they.

I firstly tried to set the new environment as reported in the internet
proposal page:

http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir

And following that doc,
in the web.xml, I set the variable:

        <init-param>
            <param-name>geonetwork.dir</param-name>

<param-value>/home/tomcat/geonetwork_data_dir/geocat</param-value>

        </init-param>

and after this I set also the catalina_opts:
export CATALINA_OPTS="$CATALINA_OPTS
-Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat"

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the "NULL" was because the application geonetwork as not
correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my
postgres dbms.

I would also add that until the version r8795 the geonetwork will work
pretty well, some little problem, but never seen big rpoblems like these.

So I like to know if some other users was able to run GN 2.7.0 r8910
starting from sources, i need ot understand if there some big problem in
r8910 or I'm wrong something.

Thanks,

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

thx for response.

Check in admin > system info that all directories are initialized properly.

And post the log message with the exception so we could have an idea
of the location of the error.

I try to re-install from new geonetwork and also reset the dbms (postgres).setting log4j as debug.
I attach the log to this email.

Unfortunately I’m not able to see the admin page because geonetwork throw an exception in start-up.

Andrea.

2012/3/26 Francois Prunayre <fx.prunayre@anonymised.com>

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin > system info that all directories are initialized properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin

logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri <aperi2007@anonymised.com> a écrit :

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I’m having very big troubles with they.

I firstly tried to set the new environment as reported in the internet
proposal page:

http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir

And following that doc,
in the web.xml, I set the variable:

geonetwork.dir

/home/tomcat/geonetwork_data_dir/geocat

and after this I set also the catalina_opts:
export CATALINA_OPTS=“$CATALINA_OPTS
-Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat”

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the “NULL” was because the application geonetwork as not
correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my
postgres dbms.

I would also add that until the version r8795 the geonetwork will work
pretty well, some little problem, but never seen big rpoblems like these.

So I like to know if some other users was able to run GN 2.7.0 r8910
starting from sources, i need ot understand if there some big problem in
r8910 or I’m wrong something.

Thanks,

Andrea Peri
. . . . . . . . .
qwerty àèìòù


This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Andrea Peri
. . . . . . . . .
qwerty àèìòù

(attachments)

log.zip (7.66 KB)

Hi Andrea, I can't reproduce the issue. You don't need to set the
parameter in both web.xml and using Java property. Only one method is
needed.
I've been testing using trunk:

mvn assembly:assembly
Update the WAR to add in web.xml
<init-param>
            <param-name>geonetwork.dir</param-name>
            <param-value>/tmp/geocat</param-value>
        </init-param>
Deploy the war.
Start.

Other people having similar issue on trunk ?

Cheers.

Francois

Le 27 mars 2012 00:02, Andrea Peri <aperi2007@anonymised.com> a écrit :

thx for response.

Check in admin > system info that all directories are initialized properly.

And post the log message with the exception so we could have an idea
of the location of the error.

I try to re-install from new geonetwork and also reset the dbms
(postgres).setting log4j as debug.
I attach the log to this email.

Unfortunately I'm not able to see the admin page because geonetwork throw an
exception in start-up.

Andrea.

2012/3/26 Francois Prunayre <fx.prunayre@anonymised.com>

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin > system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin
> logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri <aperi2007@anonymised.com> a écrit :
> Hi,
>
> I try the latest:
> r8909 and r8910 of GN 2.7.0.
>
> And I'm having very big troubles with they.
>
> I firstly tried to set the new environment as reported in the internet
> proposal page:
>
> http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir
>
>
> And following that doc,
> in the web.xml, I set the variable:
>
> <init-param>
> <param-name>geonetwork.dir</param-name>
>
> <param-value>/home/tomcat/geonetwork_data_dir/geocat</param-value>
>
> </init-param>
>
> and after this I set also the catalina_opts:
> export CATALINA_OPTS="$CATALINA_OPTS
> -Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat"
>
> obviously the folder:
>
> /home/tomcat/geonetwork_data_dir/geocat
>
> is writeable for the user of tomcat.
>
> after this I try to start tomcat-engine,
> but it after a few minutes without any page appearing , crash.
> I see the log and see that was reported, it
> was unable to write in
>
> NULL/images/logos
>
> I understand the "NULL" was because the application geonetwork as not
> correct setting for some variable, but I was unable to find what.
>
> So I would like to open a ticket, but unfortunately I cannot open it.
>
> So I can only report the trouble to this list.
>
> Also I noice that after all this I was many connections open forward my
> postgres dbms.
>
> I would also add that until the version r8795 the geonetwork will work
> pretty well, some little problem, but never seen big rpoblems like
> these.
>
> So I like to know if some other users was able to run GN 2.7.0 r8910
> starting from sources, i need ot understand if there some big problem in
> r8910 or I'm wrong something.
>
> Thanks,
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> GeoNetwork-devel mailing list
> GeoNetwork-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

ok, thx for your test.

just a question to better understand:

The folder of my app geonetwork is called "geocat" instead of geonetwork.
So my URL is like this:

http://myserver:80/geocat

instead of
http://myserver:80/geonetwork

Perhaps the geonetwork.dir is expecting a name like "geonetwork" ?

Il 27/03/2012 08:26, Francois Prunayre ha scritto:

Hi Andrea, I can't reproduce the issue. You don't need to set the
parameter in both web.xml and using Java property. Only one method is
needed.
I've been testing using trunk:

mvn assembly:assembly
Update the WAR to add in web.xml
<init-param>
             <param-name>geonetwork.dir</param-name>
             <param-value>/tmp/geocat</param-value>
         </init-param>
Deploy the war.
Start.

Other people having similar issue on trunk ?

Cheers.

Francois

Le 27 mars 2012 00:02, Andrea Peri<aperi2007@anonymised.com> a écrit :

thx for response.

Check in admin> system info that all directories are initialized properly.

And post the log message with the exception so we could have an idea
of the location of the error.

I try to re-install from new geonetwork and also reset the dbms
(postgres).setting log4j as debug.
I attach the log to this email.

Unfortunately I'm not able to see the admin page because geonetwork throw an
exception in start-up.

Andrea.

2012/3/26 Francois Prunayre<fx.prunayre@anonymised.com>

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin> system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin

logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri<aperi2007@anonymised.com> a écrit :

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I'm having very big troubles with they.

I firstly tried to set the new environment as reported in the internet
proposal page:

http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir

And following that doc,
in the web.xml, I set the variable:

         <init-param>
             <param-name>geonetwork.dir</param-name>

<param-value>/home/tomcat/geonetwork_data_dir/geocat</param-value>

         </init-param>

and after this I set also the catalina_opts:
export CATALINA_OPTS="$CATALINA_OPTS
-Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat"

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the "NULL" was because the application geonetwork as not
correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my
postgres dbms.

I would also add that until the version r8795 the geonetwork will work
pretty well, some little problem, but never seen big rpoblems like
these.

So I like to know if some other users was able to run GN 2.7.0 r8910
starting from sources, i need ot understand if there some big problem in
r8910 or I'm wrong something.

Thanks,

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------

Le 27 mars 2012 08:53, aperi2007 <aperi2007@anonymised.com> a écrit :

ok, thx for your test.

just a question to better understand:

The folder of my app geonetwork is called "geocat" instead of geonetwork.
So my URL is like this:

http://myserver:80/geocat

instead of
http://myserver:80/geonetwork

Perhaps the geonetwork.dir is expecting a name like "geonetwork" ?

Both are supported, see [1]
"variable and servlet context parameter use:
* <webappName>.dir and if not set using:
* geonetwork.dir"
So if your webapp is named geocat, then geocat.dir will be the first
one checked, if not, geonetwork.dir.
<webappName>.dir is used when you've more than one node in the same server.

Francois

[1]http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir#Settingthedatadirectory

Il 27/03/2012 08:26, Francois Prunayre ha scritto:

Hi Andrea, I can't reproduce the issue. You don't need to set the
parameter in both web.xml and using Java property. Only one method is
needed.
I've been testing using trunk:

mvn assembly:assembly
Update the WAR to add in web.xml
<init-param>
<param-name>geonetwork.dir</param-name>
<param-value>/tmp/geocat</param-value>
</init-param>
Deploy the war.
Start.

Other people having similar issue on trunk ?

Cheers.

Francois

Le 27 mars 2012 00:02, Andrea Peri<aperi2007@anonymised.com> a יcrit :

thx for response.

Check in admin> system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

I try to re-install from new geonetwork and also reset the dbms
(postgres).setting log4j as debug.
I attach the log to this email.

Unfortunately I'm not able to see the admin page because geonetwork throw
an
exception in start-up.

Andrea.

2012/3/26 Francois Prunayre<fx.prunayre@anonymised.com>

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin> system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin

logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri<aperi2007@anonymised.com> a יcrit :

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I'm having very big troubles with they.

I firstly tried to set the new environment as reported in the internet
proposal page:

http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir

And following that doc,
in the web.xml, I set the variable:

    &lt;init\-param&gt;
        &lt;param\-name&gt;geonetwork\.dir&lt;/param\-name&gt;

<param-value>/home/tomcat/geonetwork_data_dir/geocat</param-value>

    &lt;/init\-param&gt;

and after this I set also the catalina_opts:
export CATALINA_OPTS="$CATALINA_OPTS
-Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat"

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the "NULL" was because the application geonetwork as not
correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my
postgres dbms.

I would also add that until the version r8795 the geonetwork will work
pretty well, some little problem, but never seen big rpoblems like
these.

So I like to know if some other users was able to run GN 2.7.0 r8910
starting from sources, i need ot understand if there some big problem
in
r8910 or I'm wrong something.

Thanks,

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty אטלעש

-----------------

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
-----------------
Andrea Peri
. . . . . . . . .
qwerty אטלעש
-----------------

Hi,
I resolved the quest.
Was a mismatch setting in my web.xml with the new setting added with the r8879 (the geonetwork data dir)

Here is a brief description of what I do to help someone with my same troubles:

all changes I need to do in the web.xml.

#1
My webapp was named “geocat” but in the web.xml, wrongly the display-name tag was leave to “geonetwork”. Until the r8879 the displayname seem was no used to anything.
Now I set it to “geocat”.

#2
change a init-param → param-name from “geonetwork.dir” to “geocat.dir” (the name of webapp as setting in display-name)

#3
change a init-param → param-value of DefaultProxyUrl from “www.openlayers.org” to out proxy-server.

All these three setting seem was no really needed until the r8879.

Regards,

Andrea.

2012/3/27 Francois Prunayre <fx.prunayre@anonymised.com>

Le 27 mars 2012 08:53, aperi2007 <aperi2007@anonymised.com> a écrit :

ok, thx for your test.

just a question to better understand:

The folder of my app geonetwork is called “geocat” instead of geonetwork.
So my URL is like this:

http://myserver:80/geocat

instead of
http://myserver:80/geonetwork

Perhaps the geonetwork.dir is expecting a name like “geonetwork” ?

Both are supported, see [1]
"variable and servlet context parameter use:

  • .dir and if not set using:
  • geonetwork.dir"
    So if your webapp is named geocat, then geocat.dir will be the first
    one checked, if not, geonetwork.dir.
    .dir is used when you’ve more than one node in the same server.

Francois

[1]http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir#Settingthedatadirectory

Il 27/03/2012 08:26, Francois Prunayre ha scritto:

Hi Andrea, I can’t reproduce the issue. You don’t need to set the
parameter in both web.xml and using Java property. Only one method is
needed.
I’ve been testing using trunk:

mvn assembly:assembly
Update the WAR to add in web.xml

geonetwork.dir
/tmp/geocat

Deploy the war.
Start.

Other people having similar issue on trunk ?

Cheers.

Francois

Le 27 mars 2012 00:02, Andrea Peri<aperi2007@anonymised.com> a יcrit :

thx for response.

Check in admin> system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

I try to re-install from new geonetwork and also reset the dbms
(postgres).setting log4j as debug.
I attach the log to this email.

Unfortunately I’m not able to see the admin page because geonetwork throw
an
exception in start-up.

Andrea.

2012/3/26 Francois Prunayre<fx.prunayre@anonymised.com>

Hi,

Maybe change log level in log4j.cfg to
log4j.logger.geonetwork.data.directory = DEBUG

Check in admin> system info that all directories are initialized
properly.

And post the log message with the exception so we could have an idea
of the location of the error.

If the issue is related to logos, did you try to set the logo in admin

logo configuration ?

Cheers.

Francois

Le 25 mars 2012 15:43, Andrea Peri<aperi2007@anonymised.com> a יcrit :

Hi,

I try the latest:
r8909 and r8910 of GN 2.7.0.

And I’m having very big troubles with they.

I firstly tried to set the new environment as reported in the internet
proposal page:

http://trac.osgeo.org/geonetwork/wiki/proposals/GeoNetworkDataDir

And following that doc,
in the web.xml, I set the variable:

geonetwork.dir

/home/tomcat/geonetwork_data_dir/geocat

and after this I set also the catalina_opts:
export CATALINA_OPTS=“$CATALINA_OPTS
-Dgeonetwork.dir=/home/tomcat/geonetwork_data_dir/geocat”

obviously the folder:

/home/tomcat/geonetwork_data_dir/geocat

is writeable for the user of tomcat.

after this I try to start tomcat-engine,
but it after a few minutes without any page appearing , crash.
I see the log and see that was reported, it
was unable to write in

NULL/images/logos

I understand the “NULL” was because the application geonetwork as not
correct setting for some variable, but I was unable to find what.

So I would like to open a ticket, but unfortunately I cannot open it.

So I can only report the trouble to this list.

Also I noice that after all this I was many connections open forward my
postgres dbms.

I would also add that until the version r8795 the geonetwork will work
pretty well, some little problem, but never seen big rpoblems like
these.

So I like to know if some other users was able to run GN 2.7.0 r8910
starting from sources, i need ot understand if there some big problem
in
r8910 or I’m wrong something.

Thanks,

Andrea Peri
. . . . . . . . .
qwerty אטלעש



This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Andrea Peri
. . . . . . . . .
qwerty אטלעש

Andrea Peri
. . . . . . . . .
qwerty àèìòù