[Geoserver-devel] Exception : http://localhost:8080/geoserver

Greetings,

I have just started seriously with geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt; . I
have had some experience of developing mapping tools using geotools api.
I would earnestly like to follow the devel activities to rightly
understand the application design and coding. I am a windows user with
tomcat and have just downloaded geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt;
(geoserver.war). The war explodes fine but when I access
http://localhost:8080/geoserver it comes with an exception

javax.servlet.ServletException: Servlet.init() for servlet action threw
exception

and the error.log has got entry like

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error

SEVERE: Parse Error at line 6 column 19: Document root element "taglib",
must match DOCTYPE root "null".

org.xml.sax.SAXParseException: Document root element "taglib", must
match DOCTYPE root "null".]

And

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error

SEVERE: Parse Error at line 6 column 19: Document is invalid: no grammar
found.

org.xml.sax.SAXParseException: Document is invalid: no grammar found.]

These exceptions are repeated many times.

What is the root cause of this problem. Do I also need to have
GEOSERVER_HOME set as environmental variable. Pl. be noted that I
haven't configured anything besides dropping the geoserver.war in the
webapp. I really need some support from you people. I am sorry to post
it here since geoserver-user doesn't attract any serious attention.

Hope to hear from you people soon.

Regards,

Swapan Mazumdar

I have just started seriously with geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt; . I
have had some experience of developing mapping tools using geotools
api.
I would earnestly like to follow the devel activities to rightly
understand the application design and coding.

Excellent. Our docs for developers getting started may be a bit weak,
as they have not gotten the updates they should have, but just email
the list and we'll be able to help you out. And we should put the
results of your experiences in the wiki so others can just reference
that.

I am a windows user

with
tomcat and have just downloaded geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt;
(geoserver.war). The war explodes fine but when I access
http://localhost:8080/geoserver it comes with an exception

   ...

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error

SEVERE: Parse Error at line 6 column 19: Document root element
"taglib",
must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "taglib", must
match DOCTYPE root "null".]

And

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 6 column 19: Document is invalid: no
grammar
found.

org.xml.sax.SAXParseException: Document is invalid: no grammar
found.]
These exceptions are repeated many times.

What is the root cause of this problem. Do I also need to have
GEOSERVER_HOME set as environmental variable. Pl. be noted that I
haven't configured anything besides dropping the geoserver.war in the
webapp. I really need some support from you people. I am sorry to
post
it here since geoserver-user doesn't attract any serious attention.

No worries about using this list instead of geoserver-user, I'm still
hoping that one gets off the ground at some point, but for now people
on this list don't seem to mind a ton of emails on development. So
this is for now the better list to get a response.

You shouldn't need to configure a GEOSERVER_HOME. I've never seen a bug
like that though. What version of tomcat are you using? None of the
errors seem to be geoserver specific at all - there is nothing I
recognize - like we do not have any 'taglib' element in our documents,
as far as I know. Perhaps the server.xml file got screwed up? The
other thing you should try is
http://localhost:8080/geoserver/wfs/GetCapabilities. If that does not
work then in all likelihood it's a problem with your container - the
/geoserver is relatively new, and though we think we've cleared up most
of the bugs it could still have errors. The wfs/GetCapabilities has
worked fine on all working installs since 0.90 and before.

Perhaps the easiest thing to do would be to just try out a new servlet
container, or at least a different version. If you use the source
download you can make use of the embedded Jetty container if you have
ant. Just type 'ant prepareEmbedded' and then 'ant run' - see
http://docs.codehaus.org/display/GEOS/Running+Embedded+Jetty for more
details. As rc1 is very new there is a slight chance that something
major is messed up, though we've had a few reports of success with
others. Just to be sure you could get an earlier version of GeoServer
and see if it works.

Hope this helps,

Chris

Hope to hear from you people soon.

Regards,

Swapan Mazumdar

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

cholmes@anonymised.com wrote:

I have just started seriously with geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt; . I
have had some experience of developing mapping tools using geotools
api.
I would earnestly like to follow the devel activities to rightly
understand the application design and coding.
   

Excellent. Our docs for developers getting started may be a bit weak,
as they have not gotten the updates they should have, but just email
the list and we'll be able to help you out. And we should put the
results of your experiences in the wiki so others can just reference
that.

I am a windows user

with
tomcat and have just downloaded geoserver-1.2.0-rc1
<http://sourceforge.net/project/shownotes.php?release_id=233023&gt;
(geoserver.war). The war explodes fine but when I access
http://localhost:8080/geoserver it comes with an exception

  ...

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error

SEVERE: Parse Error at line 6 column 19: Document root element
"taglib",
must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "taglib", must
match DOCTYPE root "null".]

And

[2004/04/23 04:58:58 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 6 column 19: Document is invalid: no
grammar
found.

org.xml.sax.SAXParseException: Document is invalid: no grammar
found.]
These exceptions are repeated many times.

What is the root cause of this problem. Do I also need to have
GEOSERVER_HOME set as environmental variable. Pl. be noted that I
haven't configured anything besides dropping the geoserver.war in the
webapp. I really need some support from you people. I am sorry to
post
it here since geoserver-user doesn't attract any serious attention.
   

No worries about using this list instead of geoserver-user, I'm still
hoping that one gets off the ground at some point, but for now people
on this list don't seem to mind a ton of emails on development. So
this is for now the better list to get a response.

You shouldn't need to configure a GEOSERVER_HOME. I've never seen a bug
like that though. What version of tomcat are you using? None of the
errors seem to be geoserver specific at all - there is nothing I
recognize - like we do not have any 'taglib' element in our documents,
as far as I know. Perhaps the server.xml file got screwed up?

As far as I know this is a problem with the container starting up, not any of GeoServer's config files.
The taglib tags are part of JSP and Struts sets itself up with them, but I've yet to have any problems
deploying the war on any other machine.

What version of Tomcat are you running? I'm currently testing it out on 5.0.16 and I haven't touched it's
configuration files at all and it's running alright.

Everything also seems to run okay in Resin 2.x

Richard

The
other thing you should try is
http://localhost:8080/geoserver/wfs/GetCapabilities. If that does not
work then in all likelihood it's a problem with your container - the
/geoserver is relatively new, and though we think we've cleared up most
of the bugs it could still have errors. The wfs/GetCapabilities has
worked fine on all working installs since 0.90 and before.

Perhaps the easiest thing to do would be to just try out a new servlet
container, or at least a different version. If you use the source
download you can make use of the embedded Jetty container if you have
ant. Just type 'ant prepareEmbedded' and then 'ant run' - see
http://docs.codehaus.org/display/GEOS/Running+Embedded+Jetty for more
details. As rc1 is very new there is a slight chance that something
major is messed up, though we've had a few reports of success with
others. Just to be sure you could get an earlier version of GeoServer
and see if it works.

Hope this helps,

Chris

Hope to hear from you people soon.

Regards,

Swapan Mazumdar

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel