[GeoNetwork-users] set the mode of geonetwork to read and write

Do i need to install this geonetwork as user tomcat or i just change the
mode og geonetwork directory?

The current rights are set as 0755

regards
simon

Hi

Can tomcat read and write the directories where geonetwork is installed?

2009/4/18 <sysadmin@anonymised.com>

---------------------------- Original Message ----------------------------
Subject: [Fwd: now i step forward is noticed for geonetwork installation]
From: sysadmin@anonymised.com
Date: Sat, April 18, 2009 9:11 am
To: geonetwork-users@lists.sourceforge.net
Cc: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
--------------------------------------------------------------------------

look tomcat seem to behave on http://66.96.201.221:8080/ though i have
not done so much apart from what Pedro directed me .

Does this indicate i can now install geonetwork 2.2.0 ?

Java is already installed at /opt/java/jdk1.6.0_18 and is set as the default
displaying the following

[root@anonymised.com ~]# java -version
java version "1.6.0_14-ea"
Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
Java HotSpot(TM) Client VM (build 14.0-b12, mixed mode, sharing)

regards
simon

---------------------------- Original Message ----------------------------
Subject: now i step forward is noticed for geonetwork installation
From: sysadmin@anonymised.com
Date: Sat, April 18, 2009 5:36 am
To: geonetwork-users@lists.sourceforge.net
Cc: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
--------------------------------------------------------------------------

Hey Pedro,

Tomcat now looks to respond to the port 8080 that is on this link
http://66.96.201.221:8080 but as soon as i have installed Geonetwork and
installed very well and configured tomcat file SERVER.XML where i have
fixed the path for Geonetwork,Geoserver and intermap that is within host
element BUT when i try to browse this http://66.96.201.221:8080/geonetwork
IT SEEM NOT TO GO ANYWHERE and EVEN TOMCAT HAS GONE OFF(not showing).

bUT i have noticed a echo from the shell as follow

-----------------------------------------------------------
/opt/java/jdk1.6.0_14/bin/java -jar geonetwork-install-2.2.0.j
   ar
Exception in thread "AWT-EventQueue-0"
javax.swing.text.StateInvariantError: Gly phView: Stale
view: javax.swing.text.BadLocationException: Length must be positi
       ve
       at javax.swing.text.GlyphView.getText(GlyphView.java:118)
       at
javax.swing.text.GlyphView.getBreakSpotUseWhitespace(GlyphView.java:7
               40)
       at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:732)
       at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:670)
       at
javax.swing.text.html.InlineView.getBreakWeight(InlineView.java:136)
       at
javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:508)
       at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:460)
       at javax.swing.text.FlowView.layout(FlowView.java:184)
       at javax.swing.text.BoxView.setSize(BoxView.java:380)
       at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
       at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
       at javax.swing.text.BoxView.layout(BoxView.java:691)
       at javax.swing.text.BoxView.setSize(BoxView.java:380)
       at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
       at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
       at javax.swing.text.BoxView.layout(BoxView.java:691)
       at javax.swing.text.BoxView.setSize(BoxView.java:380)
       at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
       at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
       at javax.swing.text.BoxView.layout(BoxView.java:691)
       at javax.swing.text.BoxView.setSize(BoxView.java:380)
       at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
       at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
       at javax.swing.text.BoxView.layout(BoxView.java:691)
       at javax.swing.text.BoxView.setSize(BoxView.java:380)
       at
javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:
               1702)
       at
javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:14
               21)
       at
javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:722)
       at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:869)
       at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:848)
       at javax.swing.JComponent.paintComponent(JComponent.java:763)
       at javax.swing.JComponent.paint(JComponent.java:1029)
       at javax.swing.JComponent.paintChildren(JComponent.java:864)
       at javax.swing.JComponent.paint(JComponent.java:1038)
       at javax.swing.JViewport.paint(JViewport.java:747)
       at javax.swing.JComponent.paintChildren(JComponent.java:864)
       at javax.swing.JComponent.paint(JComponent.java:1038)
       at javax.swing.JComponent.paintChildren(JComponent.java:864)
       at javax.swing.JComponent.paint(JComponent.java:1038)
       at javax.swing.JComponent.paintChildren(JComponent.java:864)
       at javax.swing.JComponent.paint(JComponent.java:1038)
       at javax.swing.JComponent.paintChildren(JComponent.java:864)
       at javax.swing.JComponent.paint(JComponent.java:1038)
       at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
       at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManag
               er.java:277)
       at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
       at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
       at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
       at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
       at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
       at
javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:6
               94)
       at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
               EventQueueUtilities.java:128)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
       at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
               ad.java:269)
       at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
               java:184)
       at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
               ad.java:174)
       at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
       at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

-----------------------------------------------------------
Am wondering if Java is the one that has a PROBLEM OR IS THE tOMCAT that
is not fully configured against Geonetwork.

Is there anybody with a way forward.

Regard
Simon

Well I've never managed to get it working with the tomcat rpm package, as
it
uses gcj and gives some problems.

Try a tomcat install as explained in
http://geoserver.org/display/GEOSDOC/1.1.4+CentOS+(Red+Hat)+5.1+Install.

Hope it helps,

2009/4/17 <sysadmin@anonymised.com>

Dear Pedro Monteiro,

Surely now am almost confused but before i get totally confused may be
you
could sort me out

I have been working with centos 5.2

1. I have been installing java
jdk-6u14-ea-bin-b03-linux-i586-10.bin
which out put this as the version installed as the default 1.6.0_14-ea

2. I have also been installing tomcat5 through yum install tomcat5
which have been installing very well as i can been able to start and
stop
it

3. I have been installing Geonetwork version 2.2.0 which have been
installing some how well but have never configured MSQL database with
GAST

After this the only file that i do configure is the server.xml for the
tomcat5 under host i normally fix the content for geonetwork , Geoserver
and
for intermap

After this i normally set tomcat to start as a service with the
chkconfig
command

but when i try to launch my geonetwork on this
http://66.96.201.221:8080/geonetwork it never come

i surely don't what have not been configured upto now

looking for your advice
Regards
simon

----- Original Message -----
From: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
To: "simon .K.M" <simon@anonymised.com>
Cc: <geonetwork-users@lists.sourceforge.net>
Sent: Friday, April 17, 2009 1:26 PM
Subject: Re: [GeoNetwork-users] Geonetwork manual for centos 5.2

> Hello
>
> I've configured on server with geonetwork. What kind of problems are
you
> having?
>
> 2009/4/17 simon .K.M <simon@anonymised.com>
>
>>
>> Dear all,
>>
>> Is there anybody who have ever configured geonetwork on centos5.2.
>>
>>
>> regards
>>
>> --
>> ------------
>> Web Designer
>> ERMIS Africa
>> P.O. Box 17347
>> Nakuru-20100
>> Kenya
>> Tel:254-51-2213323
>> Fax:254-51-2214536
>> Cell Phone +254 725 885 889
>> E-mail:simon@anonymised.com <E-mail%3Asimon@anonymised.com> <
E-mail%3Asimon@anonymised.com <E-mail%253Asimon@anonymised.com>>
>> Website:http://www.ermisafrica.org
>> http://www.ermisafrica.com
>>
>>
>>
>>
------------------------------------------------------------------------------
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> _______________________________________________
>> 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
>>
>
------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> 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

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

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.59/2064 - Release Date:
04/17/09
07:08:00

Hello Simon

Have you tried with

chown -R tomcat /usr/local/lib/geonetwork/web (adapt it to your path)

Hope that the following link would help you too.

http://www.rigacci.org/wiki/doku.php/tecnica/gps_cartografia_gis/gis_server_centos

regards
Pedro

2009/4/20 <sysadmin@anonymised.com>

Do i need to install this geonetwork as user tomcat or i just change the
mode og geonetwork directory?

The current rights are set as 0755

regards
simon

Hi

Can tomcat read and write the directories where geonetwork is installed?

2009/4/18 <sysadmin@anonymised.com>

---------------------------- Original Message ----------------------------
Subject: [Fwd: now i step forward is noticed for geonetwork installation]
From: sysadmin@anonymised.com
Date: Sat, April 18, 2009 9:11 am
To: geonetwork-users@lists.sourceforge.net
Cc: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
--------------------------------------------------------------------------

look tomcat seem to behave on http://66.96.201.221:8080/ though i have
not done so much apart from what Pedro directed me .

Does this indicate i can now install geonetwork 2.2.0 ?

Java is already installed at /opt/java/jdk1.6.0_18 and is set as the
default
displaying the following

[root@anonymised.com ~]# java -version
java version "1.6.0_14-ea"
Java(TM) SE Runtime Environment (build 1.6.0_14-ea-b03)
Java HotSpot(TM) Client VM (build 14.0-b12, mixed mode, sharing)

regards
simon

---------------------------- Original Message ----------------------------
Subject: now i step forward is noticed for geonetwork installation
From: sysadmin@anonymised.com
Date: Sat, April 18, 2009 5:36 am
To: geonetwork-users@lists.sourceforge.net
Cc: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
--------------------------------------------------------------------------

Hey Pedro,

Tomcat now looks to respond to the port 8080 that is on this link
http://66.96.201.221:8080 but as soon as i have installed Geonetwork and
installed very well and configured tomcat file SERVER.XML where i have
fixed the path for Geonetwork,Geoserver and intermap that is within host
element BUT when i try to browse this http://66.96.201.221:8080/geonetwork
IT SEEM NOT TO GO ANYWHERE and EVEN TOMCAT HAS GONE OFF(not showing).

bUT i have noticed a echo from the shell as follow

-----------------------------------------------------------
/opt/java/jdk1.6.0_14/bin/java -jar geonetwork-install-2.2.0.j
  ar
Exception in thread "AWT-EventQueue-0"
javax.swing.text.StateInvariantError: Gly phView: Stale
view: javax.swing.text.BadLocationException: Length must be positi
      ve
      at javax.swing.text.GlyphView.getText(GlyphView.java:118)
      at
javax.swing.text.GlyphView.getBreakSpotUseWhitespace(GlyphView.java:7
              40)
      at javax.swing.text.GlyphView.getBreakSpot(GlyphView.java:732)
      at javax.swing.text.GlyphView.getBreakWeight(GlyphView.java:670)
      at
javax.swing.text.html.InlineView.getBreakWeight(InlineView.java:136)
      at
javax.swing.text.FlowView$FlowStrategy.layoutRow(FlowView.java:508)
      at javax.swing.text.FlowView$FlowStrategy.layout(FlowView.java:460)
      at javax.swing.text.FlowView.layout(FlowView.java:184)
      at javax.swing.text.BoxView.setSize(BoxView.java:380)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
      at javax.swing.text.BoxView.layout(BoxView.java:691)
      at javax.swing.text.BoxView.setSize(BoxView.java:380)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
      at javax.swing.text.BoxView.layout(BoxView.java:691)
      at javax.swing.text.BoxView.setSize(BoxView.java:380)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
      at javax.swing.text.BoxView.layout(BoxView.java:691)
      at javax.swing.text.BoxView.setSize(BoxView.java:380)
      at javax.swing.text.BoxView.updateChildSizes(BoxView.java:349)
      at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:331)
      at javax.swing.text.BoxView.layout(BoxView.java:691)
      at javax.swing.text.BoxView.setSize(BoxView.java:380)
      at
javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:
              1702)
      at
javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:14
              21)
      at
javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:722)
      at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:869)
      at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:848)
      at javax.swing.JComponent.paintComponent(JComponent.java:763)
      at javax.swing.JComponent.paint(JComponent.java:1029)
      at javax.swing.JComponent.paintChildren(JComponent.java:864)
      at javax.swing.JComponent.paint(JComponent.java:1038)
      at javax.swing.JViewport.paint(JViewport.java:747)
      at javax.swing.JComponent.paintChildren(JComponent.java:864)
      at javax.swing.JComponent.paint(JComponent.java:1038)
      at javax.swing.JComponent.paintChildren(JComponent.java:864)
      at javax.swing.JComponent.paint(JComponent.java:1038)
      at javax.swing.JComponent.paintChildren(JComponent.java:864)
      at javax.swing.JComponent.paint(JComponent.java:1038)
      at javax.swing.JComponent.paintChildren(JComponent.java:864)
      at javax.swing.JComponent.paint(JComponent.java:1038)
      at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
      at
javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManag
              er.java:277)
      at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
      at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
      at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
      at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
      at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
      at
javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:6
              94)
      at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
              EventQueueUtilities.java:128)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
              ad.java:269)
      at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
              java:184)
      at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
              ad.java:174)
      at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

-----------------------------------------------------------
Am wondering if Java is the one that has a PROBLEM OR IS THE tOMCAT that
is not fully configured against Geonetwork.

Is there anybody with a way forward.

Regard
Simon

> Well I've never managed to get it working with the tomcat rpm package, as
> it
> uses gcj and gives some problems.
>
> Try a tomcat install as explained in
> http://geoserver.org/display/GEOSDOC/1.1.4+CentOS+(Red+Hat)+5.1+Install&lt;http://geoserver.org/display/GEOSDOC/1.1.4+CentOS+(Red+Hat)+5.1+Install&gt;
.
>
> Hope it helps,
>
> 2009/4/17 <sysadmin@anonymised.com>
>
>> Dear Pedro Monteiro,
>>
>>
>> Surely now am almost confused but before i get totally confused may be
>> you
>> could sort me out
>>
>> I have been working with centos 5.2
>>
>> 1. I have been installing java
>> jdk-6u14-ea-bin-b03-linux-i586-10.bin
>> which out put this as the version installed as the default 1.6.0_14-ea
>>
>> 2. I have also been installing tomcat5 through yum install tomcat5
>> which have been installing very well as i can been able to start and
>> stop
>> it
>>
>> 3. I have been installing Geonetwork version 2.2.0 which have been
>> installing some how well but have never configured MSQL database with
>> GAST
>>
>> After this the only file that i do configure is the server.xml for the
>> tomcat5 under host i normally fix the content for geonetwork , Geoserver
>> and
>> for intermap
>>
>> After this i normally set tomcat to start as a service with the
>> chkconfig
>> command
>>
>> but when i try to launch my geonetwork on this
>> http://66.96.201.221:8080/geonetwork it never come
>>
>> i surely don't what have not been configured upto now
>>
>> looking for your advice
>> Regards
>> simon
>>
>>
>>
>> ----- Original Message -----
>> From: "Pedro Monteiro" <monteiro.s.pedro@anonymised.com>
>> To: "simon .K.M" <simon@anonymised.com>
>> Cc: <geonetwork-users@lists.sourceforge.net>
>> Sent: Friday, April 17, 2009 1:26 PM
>> Subject: Re: [GeoNetwork-users] Geonetwork manual for centos 5.2
>>
>>
>> > Hello
>> >
>> > I've configured on server with geonetwork. What kind of problems are
>> you
>> > having?
>> >
>> > 2009/4/17 simon .K.M <simon@anonymised.com>
>> >
>> >>
>> >> Dear all,
>> >>
>> >> Is there anybody who have ever configured geonetwork on centos5.2.
>> >>
>> >>
>> >> regards
>> >>
>> >> --
>> >> ------------
>> >> Web Designer
>> >> ERMIS Africa
>> >> P.O. Box 17347
>> >> Nakuru-20100
>> >> Kenya
>> >> Tel:254-51-2213323
>> >> Fax:254-51-2214536
>> >> Cell Phone +254 725 885 889
>> >> E-mail:simon@anonymised.com <E-mail%3Asimon@anonymised.com> <
E-mail%3Asimon@anonymised.com <E-mail%253Asimon@anonymised.com>> <
>> E-mail%3Asimon@anonymised.com <E-mail%253Asimon@anonymised.com> <
E-mail%253Asimon@anonymised.com <E-mail%25253Asimon@anonymised.com>>>
>> >> Website:http://www.ermisafrica.org
>> >> http://www.ermisafrica.com
>> >>
>> >>
>> >>
>> >>
>>
------------------------------------------------------------------------------
>> >> Stay on top of everything new and different, both inside and
>> >> around Java (TM) technology - register by April 22, and save
>> >> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> >> 300 plus technical and hands-on sessions. Register today.
>> >> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> >> _______________________________________________
>> >> 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
>> >>
>> >
>>
------------------------------------------------------------------------------
>> > Stay on top of everything new and different, both inside and
>> > around Java (TM) technology - register by April 22, and save
>> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> > 300 plus technical and hands-on sessions. Register today.
>> > Use priority code J9JMT32. http://p.sf.net/sfu/p
>> > _______________________________________________
>> > 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
>>
>>
>>
>>
--------------------------------------------------------------------------------
>>
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com
>> Version: 8.0.238 / Virus Database: 270.11.59/2064 - Release Date:
>> 04/17/09
>> 07:08:00
>>
>>
>>
>