[GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hello,

I am having a problem installing GeoNetwork on my Windows 7 PC with Java 6. I’ve tried both the .exe windows installer and the .jar and get the same results: the installation completes without error but I cannot start the server. I’m using the default Jetty and McKoiDB. Perhaps GeoNetwork cannot yet run on Java 6?

Thanks, Bob

Bob Nutsch

GIS Coordinator

State of North Dakota

Phone: (701) 328-3212

bnutsch@anonymised.com…

Twitter: @BobNutsch

www.nd.gov/gis

NDGIS Users Conference Oct. 11-13, 2011 !!

Hi Bob

Can you provide more information? The log files in jetty/logs folder should have more information about the problem.

I normally work with Java 1.6, so that should not be the problem.

Regards,
Jose García

On Mon, Nov 15, 2010 at 5:34 PM, Nutsch, Bob D. <bnutsch@anonymised.com> wrote:

Hello,

I am having a problem installing GeoNetwork on my Windows 7 PC with Java 6. I’ve tried both the .exe windows installer and the .jar and get the same results: the installation completes without error but I cannot start the server. I’m using the default Jetty and McKoiDB. Perhaps GeoNetwork cannot yet run on Java 6?

Thanks, Bob

Bob Nutsch

GIS Coordinator

State of North Dakota

Phone: (701) 328-3212

bnutsch@anonymised.com

Twitter: @BobNutsch

www.nd.gov/gis

NDGIS Users Conference Oct. 11-13, 2011 !!


Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev


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

Hello Jose,

Thanks for the email. There is nothing in the jetty/logs folder other than the ‘archive’ folder.

Not sure if this helps, but when trying to manually start the GN with the start-geonetwork.bat I see the following:

bin>start-geonetwork.bat

bin>cd …\jetty

jetty>del logs*request.logCould Not Find C:\Program Files (x86)\geonetwork\jetty\logs*request.log

jetty>del logs\output.log Could Not Find C:\Program Files (x86)\geonetwork\jetty\logs\output.log

jetty>move logs\geonetwork.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\intermap.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\geoserver.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>rem try changing the Xmx parameter if your machine has little RAM

jetty>rem java -Xms48m -Xmx256m -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml

jetty>rem if you want to hide the dos window when GeoNetwork is started,

jetty>rem comment out the next line and comment the last line

jetty>java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml’java’ is not recognized as an internal or external command,operable program or batch file.

jetty>rem start javaw -Xms48m -Xmx512m -Xss2M-XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml

Regards, Bob

From: jose garcia [mailto:josegar74@anonymised.com]
Sent: Monday, November 15, 2010 1:13 PM
To: Nutsch, Bob D.
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hi Bob

Can you provide more information? The log files in jetty/logs folder should have more information about the problem.

I normally work with Java 1.6, so that should not be the problem.

Regards,
Jose García

On Mon, Nov 15, 2010 at 5:34 PM, Nutsch, Bob D. <bnutsch@anonymised.com> wrote:

Hello,

I am having a problem installing GeoNetwork on my Windows 7 PC with Java 6. I’ve tried both the .exe windows installer and the .jar and get the same results: the installation completes without error but I cannot start the server. I’m using the default Jetty and McKoiDB. Perhaps GeoNetwork cannot yet run on Java 6?

Thanks, Bob

Bob Nutsch

GIS Coordinator

State of North Dakota

Phone: (701) 328-3212

bnutsch@anonymised.com

Twitter: @BobNutsch

www.nd.gov/gis

NDGIS Users Conference Oct. 11-13, 2011 !!


Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev


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

Is there a permissions problem-- your login may not have authority to create/move the log files in C:\Program Files (x86)…

steve

···
-- 
Stephen M. Richard
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701
USA
phone: 520 209-4127
AZGS Main: (520) 770-3500.  FAX: (520) 770-3505
email: [steve.richard@anonymised.com](mailto:steve.richard@anonymised.com)

Hi Steve,

I don’t believe so as I’m able to install software there and create a file with a text editor.

Thanks, Bob

From: Stephen M Richard [mailto:steve.richard@anonymised.com]
Sent: Monday, November 15, 2010 2:01 PM
To: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Is there a permissions problem-- your login may not have authority to create/move the log files in C:\Program Files (x86)…

steve

On 11/15/2010 12:31 PM, Nutsch, Bob D. wrote:

Hello Jose,

Thanks for the email. There is nothing in the jetty/logs folder other than the ‘archive’ folder.

Not sure if this helps, but when trying to manually start the GN with the start-geonetwork.bat I see the following:

bin>start-geonetwork.bat

bin>cd …\jetty

jetty>del logs*request.logCould Not Find C:\Program Files (x86)\geonetwork\jetty\logs*request.log

jetty>del logs\output.log Could Not Find C:\Program Files (x86)\geonetwork\jetty\logs\output.log

jetty>move logs\geonetwork.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\intermap.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\geoserver.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>rem try changing the Xmx parameter if your machine has little RAM

jetty>rem java -Xms48m -Xmx256m -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml

jetty>rem if you want to hide the dos window when GeoNetwork is started,

jetty>rem comment out the next line and comment the last line

jetty>java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml’java’ is not recognized as an internal or external command,operable program or batch file.

jetty>rem start javaw -Xms48m -Xmx512m -Xss2M-XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=…\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar …\bin\jetty.xml

Regards, Bob

From: jose garcia [mailto:josegar74@anonymised.com]
Sent: Monday, November 15, 2010 1:13 PM
To: Nutsch, Bob D.
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

snip…

-- 
Stephen M. Richard
Arizona Geological Survey
416 W. Congress St., #100
Tucson, Arizona, 85701
USA
phone: 520 209-4127
AZGS Main: (520) 770-3500.  FAX: (520) 770-3505
email: [steve.richard@anonymised.com](mailto:steve.richard@anonymised.com)

Hi Bob,

Looking at the output of start-geonetwork.bat its saying:

'java' is not recognized as an internal or external command,operable program or batch file.

So perhaps its not finding 'java'. You may need to add the directory where
the java binary is to your windows PATH.

HTH

Andrew

----- Original Message ----- From: Nutsch, Bob D.
To: jose garcia
Cc: geonetwork-devel@lists.sourceforge.net
Sent: Tuesday, November 16, 2010 06:31
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hello Jose,

Thanks for the email. There is nothing in the jetty/logs folder other than the 'archive' folder.

Not sure if this helps, but when trying to manually start the GN with the start-geonetwork.bat I see the following:

bin>start-geonetwork.bat

bin>cd ..\jetty

jetty>del logs\*request.log*Could Not Find C:\Program Files (x86)\geonetwork\jetty\logs\*request.log*

jetty>del logs\output.log Could Not Find C:\Program Files (x86)\geonetwork\jetty\logs\output.log

jetty>move logs\geonetwork.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\intermap.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>move logs\geoserver.log.* logs\archive A duplicate file name exists, or the file cannot be found.

jetty>rem try changing the Xmx parameter if your machine has little RAM

jetty>rem java -Xms48m -Xmx256m -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -DSTOP.KEY=geonetwork -jar start.jar ..\bin\jetty.xml

jetty>rem if you want to hide the dos window when GeoNetwork is started,

jetty>rem comment out the next line and comment the last line

jetty>java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar ..\bin\jetty.xml'java' is not recognized as an internal or external command,operable program or batch file.

jetty>rem start javaw -Xms48m -Xmx512m -Xss2M-XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler -Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079 -Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar ..\bin\jetty.xml

Regards, Bob

From: jose garcia [mailto:josegar74@anonymised.com]
Sent: Monday, November 15, 2010 1:13 PM
To: Nutsch, Bob D.
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hi Bob

Can you provide more information? The log files in jetty/logs folder should have more information about the problem.

I normally work with Java 1.6, so that should not be the problem.

Regards,
Jose García
On Mon, Nov 15, 2010 at 5:34 PM, Nutsch, Bob D. <bnutsch@anonymised.com> wrote:
Hello,

I am having a problem installing GeoNetwork on my Windows 7 PC with Java 6. I've tried both the .exe windows installer and the .jar and get the same results: the installation completes without error but I cannot start the server. I'm using the default Jetty and McKoiDB. Perhaps GeoNetwork cannot yet run on Java 6?

Thanks, Bob

Bob Nutsch
GIS Coordinator
State of North Dakota
Phone: (701) 328-3212
bnutsch@anonymised.com
Twitter: @BobNutsch
www.nd.gov/gis
NDGIS Users Conference Oct. 11-13, 2011 !!

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev

Hello Andrew,

DOH! That was my problem, thanks for the catch! All is well now.

Regards, Bob

-----Original Message-----
From: andrew walsh [mailto:awalsh@anonymised.com]
Sent: Monday, November 15, 2010 3:39 PM
To: Nutsch, Bob D.
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hi Bob,

Looking at the output of start-geonetwork.bat its saying:

'java' is not recognized as an internal or external command,operable program or
batch file.

So perhaps its not finding 'java'. You may need to add the directory where
the java binary is to your windows PATH.

HTH

Andrew

----- Original Message -----
From: Nutsch, Bob D.
To: jose garcia
Cc: geonetwork-devel@lists.sourceforge.net
Sent: Tuesday, November 16, 2010 06:31
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hello Jose,

Thanks for the email. There is nothing in the jetty/logs folder other than the
'archive' folder.

Not sure if this helps, but when trying to manually start the GN with the
start-geonetwork.bat I see the following:

bin>start-geonetwork.bat

bin>cd ..\jetty

jetty>del logs\*request.log*Could Not Find C:\Program Files
(x86)\geonetwork\jetty\logs\*request.log*

jetty>del logs\output.log Could Not Find C:\Program Files
(x86)\geonetwork\jetty\logs\output.log

jetty>move logs\geonetwork.log.* logs\archive A duplicate file name exists, or
the file cannot be found.

jetty>move logs\intermap.log.* logs\archive A duplicate file name exists, or
the file cannot be found.

jetty>move logs\geoserver.log.* logs\archive A duplicate file name exists, or
the file cannot be found.

jetty>rem try changing the Xmx parameter if your machine has little RAM

jetty>rem
java -Xms48m -Xmx256m -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler
-Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079
-DSTOP.KEY=geonetwork -jar start.jar ..\bin\jetty.xml

jetty>rem if you want to hide the dos window when GeoNetwork is started,

jetty>rem comment out the next line and comment the last line

jetty>java -Xms48m -Xmx512m -Xss2M -XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler
-Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079
-Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar
..\bin\jetty.xml'java' is not recognized as an internal or external
command,operable program or batch file.

jetty>rem start
javaw -Xms48m -Xmx512m -Xss2M-XX:MaxPermSize=128m -XX:CompileCommandFile=hotspot_compiler
-Dmime-mappings=..\web\geonetwork\WEB-INF\mime-types.properties -DSTOP.PORT=8079
-Djava.awt.headless=true -DSTOP.KEY=geonetwork -jar start.jar ..\bin\jetty.xml

Regards, Bob

From: jose garcia [mailto:josegar74@anonymised.com]
Sent: Monday, November 15, 2010 1:13 PM
To: Nutsch, Bob D.
Cc: geonetwork-devel@lists.sourceforge.net
Subject: Re: [GeoNetwork-devel] GeoNetwork 2.6.0 on Windows 7 and Java 6

Hi Bob

Can you provide more information? The log files in jetty/logs folder should have
more information about the problem.

I normally work with Java 1.6, so that should not be the problem.

Regards,
Jose García
On Mon, Nov 15, 2010 at 5:34 PM, Nutsch, Bob D. <bnutsch@anonymised.com> wrote:
Hello,

I am having a problem installing GeoNetwork on my Windows 7 PC with Java 6. I've
tried both the .exe windows installer and the .jar and get the same results:
the installation completes without error but I cannot start the server. I'm
using the default Jetty and McKoiDB. Perhaps GeoNetwork cannot yet run on Java
6?

Thanks, Bob

Bob Nutsch
GIS Coordinator
State of North Dakota
Phone: (701) 328-3212
bnutsch@anonymised.com
Twitter: @BobNutsch
www.nd.gov/gis
NDGIS Users Conference Oct. 11-13, 2011 !!

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
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

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev