[Geoserver-users] PC Install 1.7.2

Hi-

I've been running into a problem installing geoserver on a PC (Win Xp). I tried running the binary install (%GEOSERVER_HOME%/startup), but when I try to run startup.bat I get an error stating that -DGEOSERVER_DATA_DIR is not recognized as a command. I then tried downloading the Windows installer, but the installer kept returning that it could not access any of the necessary files (startup, shutdown, any of the jetty configurations, etc).

Is there something simple that I'm not doing here? I feel like I'm missing a step, but I don't know what it would be.

Thanks-
Seth Stradling

Hi Seth. I'm running 1.7.2 from the Windows Installer (XP), and I had no troubles at all. How far do you get in the process? Can you send a screenshot of the error?

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

Seth Stradling wrote:

Hi-

I've been running into a problem installing geoserver on a PC (Win Xp). I tried running the binary install (%GEOSERVER_HOME%/startup), but when I try to run startup.bat I get an error stating that - DGEOSERVER_DATA_DIR is not recognized as a command. I then tried downloading the Windows installer, but the installer kept returning that it could not access any of the necessary files (startup, shutdown, any of the jetty configurations, etc).

Is there something simple that I'm not doing here? I feel like I'm missing a step, but I don't know what it would be.

Thanks-
Seth Stradling

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Could it be a problem with having or not administrator rights on the computer ?

Best regards,

Alexandre Gacon

On Mon, Feb 2, 2009 at 5:37 PM, Mike Pumphrey <mike@anonymised.com> wrote:

Hi Seth. I’m running 1.7.2 from the Windows Installer (XP), and I had
no troubles at all. How far do you get in the process? Can you send a
screenshot of the error?

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

Seth Stradling wrote:

Hi-

I’ve been running into a problem installing geoserver on a PC (Win
Xp). I tried running the binary install (%GEOSERVER_HOME%/startup),
but when I try to run startup.bat I get an error stating that -
DGEOSERVER_DATA_DIR is not recognized as a command. I then tried
downloading the Windows installer, but the installer kept returning
that it could not access any of the necessary files (startup,
shutdown, any of the jetty configurations, etc).

Is there something simple that I’m not doing here? I feel like I’m
missing a step, but I don’t know what it would be.

Thanks-
Seth Stradling


This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Seth Stradling wrote:

Hi-

I've been running into a problem installing geoserver on a PC (Win Xp). I tried running the binary install (%GEOSERVER_HOME%/startup), but when I try to run startup.bat I get an error stating that - DGEOSERVER_DATA_DIR is not recognized as a command. I then tried downloading the Windows installer, but the installer kept returning that it could not access any of the necessary files (startup, shutdown, any of the jetty configurations, etc).

Is there something simple that I'm not doing here? I feel like I'm missing a step, but I don't know what it would be.

Sounds a lot like the issue reported here:
http://jira.codehaus.org/browse/GEOS-2591

If it's that one, just set JAVA_HOME before running the startup
script, something like:

set JAVA_HOME="c:\program files\java\jdk_1.6.0_10"

(adapt to your system as needed). If that works, you can either embed
the above command inside the startup.bat itself, or set JAVA_HOME
as system wide environment variable (how to do so depends on the
windows version you're using).

Cheers
Andrea

I am a complete newbie to GeoServer and I struggle a lot, so I know it is a little crazy that I try to answer any of the questions here… still, even without understanding much I have a suggestion… yesterday I installed geoserver 1.7.2 and I couldnt access it (i got a “resource unavailable message”) until I created a setenv.bat file and saved it in Apache’s bin directory following these instructions:
http://geoserver.org/display/GEOSDOC/Tomcat+-+data_dir+environment+variables

Salût,
** Virginia

Date: Mon, 2 Feb 2009 17:51:32 +0100
From: aaime@anonymised.com
To: seths@anonymised.com
CC: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] PC Install 1.7.2

Seth Stradling wrote:

Hi-

I’ve been running into a problem installing geoserver on a PC (Win
Xp). I tried running the binary install (%GEOSERVER_HOME%/startup),
but when I try to run startup.bat I get an error stating that -
DGEOSERVER_DATA_DIR is not recognized as a command. I then tried
downloading the Windows installer, but the installer kept returning
that it could not access any of the necessary files (startup,
shutdown, any of the jetty configurations, etc).

Is there something simple that I’m not doing here? I feel like I’m
missing a step, but I don’t know what it would be.

Sounds a lot like the issue reported here:
http://jira.codehaus.org/browse/GEOS-2591

If it’s that one, just set JAVA_HOME before running the startup
script, something like:

set JAVA_HOME=“c:\program files\java\jdk_1.6.0_10”

(adapt to your system as needed). If that works, you can either embed
the above command inside the startup.bat itself, or set JAVA_HOME
as system wide environment variable (how to do so depends on the
windows version you’re using).

Cheers
Andrea


This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword


Geoserver-users mailing list
Geoserver-users@anonymised.com.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Invite your mail contacts to join your friends list with Windows Live Spaces. It’s easy! Try it!