[Geoserver-users] GeoServer could not connect to localhost after install

Hi;
I’ve installed GeoServer 1.7.3 with j2sdk 1.1 and set the environnement variables on Win XP Pro sp3. All seems to work fine during the install and when I’m trying to getting started with GeoServer, I get the following error message :

HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

Powered by jetty://

I investigated to know the cause of this error, as I can see in the GeoServer FAQ the first issue is relate to this kind of issue. But for my case I’m ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the server, but unfortunately it doesn’t work because firefox failing to connect to the localhost. So I’ve edited the GeoServer configuration file (jetty.xml) to change the port of connection to the host server because the first one used by default was used by another web server. So I changed the connection port to 8081 and when I run the connection I get the http error : 404 mentionned previously.

What I’m doing wrong , can anybody help me ???

Thank you for your help

Gabriel Giroux ha scritto:

Hi;
I've installed GeoServer 1.7.3 with j2sdk 1.1

JDK 1.1 hasn't been around for ages. Can you double check
which java version you're actually using?
Usually it can be spotted by going to the command line and
typing "java -version"

and set the environnement variables on Win XP Pro sp3. All seems to work fine during the install and when I'm trying to getting started with GeoServer, I get the following error message :

    HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

/Powered by jetty:// <http://jetty.mortbay.org/&gt;/

I investigated to know the cause of this error, as I can see in the GeoServer FAQ the first issue is relate to this kind of issue. But for my case I'm ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the server, but unfortunately it doesn't work because firefox failing to connect to the localhost. So I've edited the GeoServer configuration file (jetty.xml) to change the port of connection to the host server because the first one used by default was used by another web server. So I changed the connection port to 8081 and when I run the connection I get the http error : 404 mentionned previously.

What I'm doing wrong , can anybody help me ???

The error you're reporting is too generic, there's no way to tell
what's really wrong. Please go to your geoserver install,
data/logs directory, clear the geoserver.log file, start GeoServer
again, stop it, and send us the contents of the newly generated
geoserver.log

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Gabriel Giroux ha scritto:

Hi Andrea,
Thank for your reply... I'm sorry I don't give the right j2sdk version on my previous post. I'm using j2sdk-1.4.2_19 as spécified in the GeoServer doc.

Actually GeoServer 1.7.3 won't run on less than JDK 1.5, thought
java 6 is recommended, if available, for performance reasons.
Where is the page in which we still suggest to use JDK 1.4?
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi,

I am having the same problem indicated in this thead: I have installed
Geoserver 1.7.5 and Java SE Development Kit. I followed all the installation
instructions provided in the Geosever installation manual. After I start
Geoserver and try to proceed in a browser to
http://localhost:8080/geoserver, I get the this message:

Failed to Connect: Firefox can't establish a connection to the server at
localhost:8080.

I followed a suggestion in this forum and went to the Geoserver installation
folder and found a log. It had the following information:

STATUS | wrapper | 2009/07/23 22:09:03 | The GeoServer 1.7.5 service was
not running.
STATUS | wrapper | 2009/07/23 22:09:10 | Starting the GeoServer 1.7.5
service...
STATUS | wrapper | 2009/07/23 22:09:10 | --> Wrapper Started as Service
STATUS | wrapper | 2009/07/23 22:09:10 | Java Service Wrapper Community
Edition 3.3.3
STATUS | wrapper | 2009/07/23 22:09:10 | Copyright (C) 1999-2009 Tanuki
Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2009/07/23 22:09:10 |
http://wrapper.tanukisoftware.org
STATUS | wrapper | 2009/07/23 22:09:10 |
STATUS | wrapper | 2009/07/23 22:09:11 | Launching a JVM...
FATAL | wrapper | 2009/07/23 22:09:11 | Unable to execute Java command.
The system cannot find the file specified. (0x2)
FATAL | wrapper | 2009/07/23 22:09:11 | "%JAVA_HOME%\bin\java"
-Djetty.home=. -DGEOSERVER_DATA_DIR="C:\Program Files\GeoServer
1.7.5\data_dir" -Xms16m -Xmx128m -Djava.library.path="bin/wrapper/lib"
-classpath
"bin/wrapper/lib/wrapper.jar;start.jar;lib/ant-1.6.4.jar;lib/ant-optional-1.5.1.jar;lib/commons-el-1.0.jar;lib/commons-logging-1.0.jar;lib/jasper-compiler-5.5.15.jar;lib/jasper-compiler-jdt-5.5.15.jar;lib/jasper-runtime-5.5.15.jar;lib/jetty-6.1.8.jar;lib/jetty-util-6.1.8.jar;lib/jsp-api-2.0.jar;lib/log4j-1.2.14.jar;lib/servlet-api-2.5-6.1.8.jar;lib/slf4j-simple-1.0.1.jar;lib/xercesImpl-2.6.2.jar;lib/xmlParserAPIs-2.6.2.jar"
-Dwrapper.key="FqwPtxNAfmjau5jT" -Dwrapper.port=32000
-Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3220
-Dwrapper.version="3.3.3" -Dwrapper.native_library="wrapper"
-Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1
org.tanukisoftware.wrapper.WrapperSimpleApp org.mortbay.start.Main
etc/jetty.xml
FATAL | wrapper | 2009/07/23 22:09:11 | Critical error: wait for JVM
process failed
ERROR | wrapper | 2009/07/23 22:09:12 | The GeoServer 1.7.5 service was
launched, but failed to start.
STATUS | wrapper | 2009/07/23 22:09:19 | The GeoServer 1.7.5 service was
not running.

I don't know what do do with this information to get Geoserver to work. I
have tried it on two computers with the same result. Can anyone help?

Thanks,

Jason

Gabriel Giroux wrote:

Hi;
I've installed GeoServer 1.7.3 with j2sdk 1.1 and set the environnement
variables on Win XP Pro sp3. All seems to work fine during the install and
when I'm trying to getting started with GeoServer, I get the following
error
message :
HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

*Powered by jetty:// <http://jetty.mortbay.org/&gt;\*

I investigated to know the cause of this error, as I can see in the
GeoServer FAQ the first issue is relate to this kind of issue. But for my
case I'm ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the
server, but unfortunately it doesn't work because firefox failing to
connect
to the localhost. So I've edited the GeoServer configuration file
(jetty.xml) to change the port of connection to the host server because
the
first one used by default was used by another web server. So I changed the
connection port to 8081 and when I run the connection I get the http error
:
404 mentionned previously.

What I'm doing wrong , can anybody help me ???

Thank you for your help

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/GeoServer-could-not-connect-to-localhost-after-install-tp23258780p24637640.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Andrea,
I am new using GeoServer and I am trying to install it on Windows Vista
Ultimate.
I had no problem installing the last JAVA JDK and GeoServer itself, but when
I went to check if the installation was right by going to
http://localhost:8080/geoserver nothing happend. I got this message
"Firefox can't establish a connection to the server at localhost:8080."
I would really appreciate any help.

Here is the log file:

http://old.nabble.com/file/p27135619/wrapper.log wrapper.log

Thanks in advance!

Andrea Aime-4 wrote:

Gabriel Giroux ha scritto:

Hi;
I've installed GeoServer 1.7.3 with j2sdk 1.1

JDK 1.1 hasn't been around for ages. Can you double check
which java version you're actually using?
Usually it can be spotted by going to the command line and
typing "java -version"

and set the environnement
variables on Win XP Pro sp3. All seems to work fine during the install
and when I'm trying to getting started with GeoServer, I get the
following error message :

    HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

/Powered by jetty:// <http://jetty.mortbay.org/&gt;/

I investigated to know the cause of this error, as I can see in the
GeoServer FAQ the first issue is relate to this kind of issue. But for
my case I'm ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the
server, but unfortunately it doesn't work because firefox failing to
connect to the localhost. So I've edited the GeoServer configuration
file (jetty.xml) to change the port of connection to the host server
because the first one used by default was used by another web server. So
I changed the connection port to 8081 and when I run the connection I
get the http error : 404 mentionned previously.

What I'm doing wrong , can anybody help me ???

The error you're reporting is too generic, there's no way to tell
what's really wrong. Please go to your geoserver install,
data/logs directory, clear the geoserver.log file, start GeoServer
again, stop it, and send us the contents of the newly generated
geoserver.log

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://old.nabble.com/GeoServer-could-not-connect-to-localhost-after-install-tp23258780p27135619.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi all,

I do not know whether you guys have already resolved the problem or not, but
I use Windows Vista and I faced the same problem. So what I have done to
solve it is just Run as Administrator the "Geoserver Start".

Hoop this is helpful.

Sypou

Gabriel Giroux wrote:

Hi;
I've installed GeoServer 1.7.3 with j2sdk 1.1 and set the environnement
variables on Win XP Pro sp3. All seems to work fine during the install and
when I'm trying to getting started with GeoServer, I get the following
error
message :
HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

*Powered by jetty:// <http://jetty.mortbay.org/&gt;\*

I investigated to know the cause of this error, as I can see in the
GeoServer FAQ the first issue is relate to this kind of issue. But for my
case I'm ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the
server, but unfortunately it doesn't work because firefox failing to
connect
to the localhost. So I've edited the GeoServer configuration file
(jetty.xml) to change the port of connection to the host server because
the
first one used by default was used by another web server. So I changed the
connection port to 8081 and when I run the connection I get the http error
:
404 mentionned previously.

What I'm doing wrong , can anybody help me ???

Thank you for your help

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://old.nabble.com/GeoServer-could-not-connect-to-localhost-after-install-tp23258780p27821308.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Sorry, I forget to mention that I am using
Windows Vista SP2
GeoServer 1.7.3
jdk-6u18-windows-i586 for Java

Sypou

Sypou wrote:

Hi all,

I do not know whether you guys have already resolved the problem or not,
but I use Windows Vista and I faced the same problem. So what I have done
to solve it is just Run as Administrator the "Geoserver Start".

Hoop this is helpful.

Sypou

Gabriel Giroux wrote:

Hi;
I've installed GeoServer 1.7.3 with j2sdk 1.1 and set the environnement
variables on Win XP Pro sp3. All seems to work fine during the install
and
when I'm trying to getting started with GeoServer, I get the following
error
message :
HTTP ERROR: 404

NOT_FOUND

RequestURI=/geoserver/

*Powered by jetty:// <http://jetty.mortbay.org/&gt;\*

I investigated to know the cause of this error, as I can see in the
GeoServer FAQ the first issue is relate to this kind of issue. But for my
case I'm ussing Firefox 3.0.9 browser and the firewall is configured.

So I tried first the url provided with the default install to log to the
server, but unfortunately it doesn't work because firefox failing to
connect
to the localhost. So I've edited the GeoServer configuration file
(jetty.xml) to change the port of connection to the host server because
the
first one used by default was used by another web server. So I changed
the
connection port to 8081 and when I run the connection I get the http
error :
404 mentionned previously.

What I'm doing wrong , can anybody help me ???

Thank you for your help

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://old.nabble.com/GeoServer-could-not-connect-to-localhost-after-install-tp23258780p27821655.html
Sent from the GeoServer - User mailing list archive at Nabble.com.