[Geoserver-devel] First glance at geoserver-1.2-beta (war file)

Hi,

I've just downloaded this war file and installed it on Tomcat 4.1.24/JDK 1.4.2_01/Windows 98.

The tried : http://localhost:8080/geoserver/ (redirected to http://localhost:8080/geoserver/welcome\.do\).

Wow ! Looks great ! And some messages are in french !

Let's click on WFS/GetCapabilities : exception :frowning:

<?xml version="1.0" ?>
<ServiceExceptionReport version="1.2.0"
  xmlns="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/ogc
  wfs/1.0.0/OGC-exception.xsd">
    <ServiceException>No wfs kvp request recognized. The REQUEST parameter must be one of GetFeature, GetFeatureWIthLock, DescribeFeatureType, LockFeature, or Transaction.</ServiceException>
</ServiceExceptionReport>

Well, the URL was : http://localhost:8080/geoserver/wfs/getCapabilities

http://localhost:8080/geoserver/wfs?request=getCapabilities works fine :slight_smile:

Now, TestWfsPost. OK, I get a blank form but where can I get sample requests I could paste here ?

Now, WMS/GetCapabilities : exception :frowning:
http://localhost:8080/geoserver/wms?request=getCapabilities

... returns a *big* stack trace :

UNCAUGHT EXCEPTION: java.lang.NoClassDefFoundError: javax/media/jai/ComponentSampleModelJAI at org.geotools.io.image.TextImageReader$Spi.<clinit>(TextImageReader.java:356)

OK... will install JAI later but... isn't there a better way to report that JAI could not be found ?

BTW : it would be nice to have the original request in the exception message...

Now, trying to administrate Geoserver. Well, I need to login and I didn't find any info about the default login. Anyway, the 5th try was the good one ! :wink:

Well, http://localhost:8080/geoserver/admin/index.do has a poor layout, but it's a beta version :slight_smile:

Trying "Free Locks" : exception from Tomcat

java.lang.IllegalArgumentException:
Le chemin admin.freeLocks ne commence pas par le caractère "/"
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:590)
...

Trying "Configuration de la validation (in french)/"Try Tests" (in english). The same page is reloaded but I get this on the console :

ACTIONATOR
Feature Test Results for bc_shapefile:bc_roads
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Integrety Test Results
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Test Results for dSkae:skae_lakes
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Integrety Test Results
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
ACTIONATOR

What does it mean ?

Then "GeoServer Configuration"...

"Server". It looks clear. Just 2 minor issues :

Maximum Features : 2147483647
Should I understand "unlimited" ?

Schema-Base URL : C:\tomcat4\bin\..\webapps\geoserver/data/capabilities/
Notice the forward and bacward slashes as well as the relative path : I think it could be possible to "absolutize" this path.

Getting further : all works well. I notice a few issues :

1) typo in : Configuraiton of Test Suites for the Validaiton Processor
2) Web Map Server Contents (date de mise à jour) is empty : use today's (i.e. first installation of server) date ?
3) is it possible to take benefit of xml:lang attributes for metadata descriptions ?
4) text boxes seem to inherit the XML files' whitespaces
5) Namespace Configuration : what does the "*" means for "lakes" ?

Now, going to the feature type editor...

Click on "bounding box" : I get stange values here.

Well, this is the result of the first glance. I hope it will help you to improve this very promising product.

One last wish : it is possible to have a Geoserver dedicated log file ?

Best regards,

--
Pierrick Brihaye, informaticien
Service régional de l'Inventaire
DRAC Bretagne
mailto:pierrick.brihaye@anonymised.com
+33 (0)2 99 29 67 78

Hi again,

Pierrick Brihaye a écrit:

One last wish : it is possible to have a Geoserver dedicated log file ?

BTW, in my localhost_log, I have three :

----- Root Cause -----
java.lang.NullPointerException
     at org.vfny.geoserver.form.data.DataNamespacesSelectForm.reset(DataNamespacesSelectForm.java:42)

Indeed, here is the line #42 :

selectedNamespace=user.getPrefix();

user is without doubt == null.

As I can't (yet) reproduce the problem, I don't fill a bug...

Cheers,

--
Pierrick Brihaye, informaticien
Service régional de l'Inventaire
DRAC Bretagne
mailto:pierrick.brihaye@anonymised.com
+33 (0)2 99 29 67 78

Thanks for the great feedback, I am afraid I have been driving poor chris nuts
with this user interface and all the effort associated with driving the bugs out
of it.

Email like your is what is going to make that possible though.

A quick question, you are running on Tomcat 4.X? I am afraid I tested with
Tomcat 5.X, and 99% of development has been on resin :slight_smile:

You can get sample requests to post from the WFS specification. The test servlet
has been around for a while (1.2.0 just makes it more obvious). Personally I
usually grab examples from the cite tests.

I did try to specifiy in email that the login was: admin password geoserver. I
better put that information in the description for the default user conf directory.

The admin page is just an idea right now, I needed a page for the
FreeFeatureLock action, and I would like to report on the status of the running
GeoServer application (but the operations are not collecting statistics).

Validation is used to check over the requests to the WFS Transaction opperation
- is goal is to reject any updates that would result in an inconsistent data set.

I am a little bit unclear what schema base url is for - and why it is a file
url. We should ask chris to clarify this one.

The * next to namespace (or style) is used to indicate which entry is the default.

The bounding box is created by finding the extend of your FeatureType, it should
reproject the result to lat/long but I could not figure out the reprojection
code. Reprojection I assume would be based on the provided SRS number?

I am not sure about having a geoserver deadicated log file, those kind of
services are supposed to be left to the web container.

Did you find that the Save/Load/Apply buttons made sense?

Jody

Quoting Pierrick Brihaye <pierrick.brihaye@anonymised.com>:

Hi,

I've just downloaded this war file and installed it on Tomcat 4.1.24/JDK
  1.4.2_01/Windows 98.

The tried : http://localhost:8080/geoserver/ (redirected to
http://localhost:8080/geoserver/welcome.do).

Wow ! Looks great ! And some messages are in french !

Let's click on WFS/GetCapabilities : exception :frowning:

<?xml version="1.0" ?>
<ServiceExceptionReport version="1.2.0"
  xmlns="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/ogc
  wfs/1.0.0/OGC-exception.xsd">
    <ServiceException>No wfs kvp request recognized. The REQUEST
parameter must be one of GetFeature, GetFeatureWIthLock,
DescribeFeatureType, LockFeature, or Transaction.</ServiceException>
</ServiceExceptionReport>

Well, the URL was : http://localhost:8080/geoserver/wfs/getCapabilities

http://localhost:8080/geoserver/wfs?request=getCapabilities works fine :slight_smile:

Now, TestWfsPost. OK, I get a blank form but where can I get sample
requests I could paste here ?

Now, WMS/GetCapabilities : exception :frowning:
http://localhost:8080/geoserver/wms?request=getCapabilities

... returns a *big* stack trace :

UNCAUGHT EXCEPTION: java.lang.NoClassDefFoundError:
javax/media/jai/ComponentSampleModelJAI at
org.geotools.io.image.TextImageReader$Spi.<clinit>(TextImageReader.java:356)

OK... will install JAI later but... isn't there a better way to report
that JAI could not be found ?

BTW : it would be nice to have the original request in the exception
message...

Now, trying to administrate Geoserver. Well, I need to login and I
didn't find any info about the default login. Anyway, the 5th try was
the good one ! :wink:

Well, http://localhost:8080/geoserver/admin/index.do has a poor layout,
but it's a beta version :slight_smile:

Trying "Free Locks" : exception from Tomcat

java.lang.IllegalArgumentException:
Le chemin admin.freeLocks ne commence pas par le caractère "/"
at

org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:590)

...

Trying "Configuration de la validation (in french)/"Try Tests" (in
english). The same page is reloaded but I get this on the console :

ACTIONATOR
Feature Test Results for bc_shapefile:bc_roads
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Integrety Test Results
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Test Results for dSkae:skae_lakes
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
Feature Integrety Test Results
org.vfny.geoserver.action.validation.TestValidationResults@anonymised.com
ACTIONATOR

What does it mean ?

Then "GeoServer Configuration"...

"Server". It looks clear. Just 2 minor issues :

Maximum Features : 2147483647
Should I understand "unlimited" ?

Schema-Base URL : C:\tomcat4\bin\..\webapps\geoserver/data/capabilities/
Notice the forward and bacward slashes as well as the relative path : I
think it could be possible to "absolutize" this path.

Getting further : all works well. I notice a few issues :

1) typo in : Configuraiton of Test Suites for the Validaiton Processor
2) Web Map Server Contents (date de mise à jour) is empty : use today's
(i.e. first installation of server) date ?
3) is it possible to take benefit of xml:lang attributes for metadata
descriptions ?
4) text boxes seem to inherit the XML files' whitespaces
5) Namespace Configuration : what does the "*" means for "lakes" ?

Now, going to the feature type editor...

Click on "bounding box" : I get stange values here.

Well, this is the result of the first glance. I hope it will help you to
improve this very promising product.

One last wish : it is possible to have a Geoserver dedicated log file ?

Best regards,

--
Pierrick Brihaye, informaticien
Service régional de l'Inventaire
DRAC Bretagne
mailto:pierrick.brihaye@anonymised.com
+33 (0)2 99 29 67 78

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.Compare, Download & Develop Open Source & Business Software - SourceForge70&alloc_id638&op¿ick
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi,

I've just downloaded this war file and installed it on Tomcat
4.1.24/JDK=20
  1.4.2_01/Windows 98.

The tried : http://localhost:8080/geoserver/ (redirected to=20
http://localhost:8080/geoserver/welcome.do).

Ah! You're not supposed to do that yet! There's more I want to fix!
Which is why I haven't announced yet - though I meant to hide the
release to prevent people from downloading at all. Oh well, I guess
I'll just try to put some of these quick bug fixes in.

Wow ! Looks great ! And some messages are in french !

And I think thanks to Richard didier they should all be in french, I
just uploaded his latest.

Let's click on WFS/GetCapabilities : exception :frowning:

<?xml version=3D"1.0" ?>
<ServiceExceptionReport version=3D"1.2.0"
  xmlns=3D"http://www.opengis.net/ogc&quot;
  xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=3D"http://www.opengis.net/ogc
  wfs/1.0.0/OGC-exception.xsd">
    <ServiceException>No wfs kvp request recognized. The REQUEST=20
parameter must be one of GetFeature, GetFeatureWIthLock,=20
DescribeFeatureType, LockFeature, or Transaction.</ServiceException>
</ServiceExceptionReport>

Well, the URL was :
http://localhost:8080/geoserver/wfs/getCapabilities

Should be GetCapabilities, with a capital G - is there some place in the
docs that says it with lower case?

http://localhost:8080/geoserver/wfs?request=3DgetCapabilities works
fine =
:slight_smile:

Yeah, I think that one should be case insensitive - the first request is
actually outside the spec, it's just the easiest way to type it for
geoserver.

Now, TestWfsPost. OK, I get a blank form but where can I get
sample=20
requests I could paste here ?

Yeah, I really want to get something like that. If you feel inspired to
write up a simple web page with sample requests then I'll be happy to
roll it in and then put a link from that page. And there are certainly
some fancier things you could do with jsps, if anyone wants a nice
little project - automatic putting of sample requests into the box and
adjusting the request path, for example.

Now, WMS/GetCapabilities : exception :frowning:
http://localhost:8080/geoserver/wms?request=3DgetCapabilities

... returns a *big* stack trace :

UNCAUGHT EXCEPTION: java.lang.NoClassDefFoundError:=20
javax/media/jai/ComponentSampleModelJAI at=20

org.geotools.io.image.TextImageReader$Spi.<clinit>(TextImageReader.java:3=

56)=20

OK... will install JAI later but... isn't there a better way to
report=20
that JAI could not be found ?

Yeah, I fixed this for 1.1.*, and though I rolled the change in to 1.2.
Or rather, I tested with 1.2 before and wasn't able to replicate - but
may have been on resin that has more classes available or something? I
reall have no idea, do not quite understand this jai stuff and where it
gets it. But I was able to replicate your request and put a fix in
(I'm going to put another beta out soon, it'll have the fix in it).

BTW : it would be nice to have the original request in the
exception=20
message...

Yeah, that would be nice... I'll think about if there's an easy way to
do that - my java error handling skills aren't the fanciest though. If
anyone knows a good way to handle situations like this let me know.

Now, trying to administrate Geoserver. Well, I need to login and I=20
didn't find any info about the default login. Anyway, the 5th try
was=20
the good one ! :wink:

Uh...yeah. I'd like to link to the docs from the welcome page somehow,
and have the docs obviously say somewhere what the username and
password all. I'd like the welcome page to have a bit more on it,
though I'm not sure if I'll get it done for this next little beta.

Then "GeoServer Configuration"...

"Server". It looks clear. Just 2 minor issues :

Maximum Features : 2147483647
Should I understand "unlimited" ?

Schema-Base URL :
C:\tomcat4\bin\..\webapps\geoserver/data/capabilities/
Notice the forward and bacward slashes as well as the relative path :
I=20
think it could be possible to "absolutize" this path.

Yeah, I emailed about both these issues awhile ago. Could you put them
on the jira task tracker? Doing so would be a great help and would
ensure that we don't forget. Put the fix version for 1.2.0. The first
should def. be unlimited. The second should just be blank - the
default is to do it automatically for you.

Getting further : all works well. I notice a few issues :

1) typo in : Configuraiton of Test Suites for the Validaiton
Processor
2) Web Map Server Contents (date de mise =E0 jour) is empty : use
today's=
=20
(i.e. first installation of server) date ?

Do some bug reports for these. Put them as trivial for the level

3) is it possible to take benefit of xml:lang attributes for
metadata=20
descriptions ?

Not sure what you mean here - could you explain more? What metadata
descriptions are you talking about?

One last wish : it is possible to have a Geoserver dedicated log file
?

Yeah, I'll think about it. We got a contribution a bit ago for logging
directly to an oracle db, I'd like to try to make it more generic. For
awhile it wasn't so bad, as no one else was using java logging, so we
pretty much got that file to ourselves. But yeah, I think I'd like to
make a seperate user log, messages that are geared towards the admin,
as things now are mostly messages for developers to decode and debug.
Might have to wait for 1.2.1 though. If you could put a wish for it
into jira that would help out.

thanks for the feedback (even if a bit before I wanted it ;),

Chris

Best regards,

--=20
Pierrick Brihaye, informaticien
Service r=E9gional de l'Inventaire
DRAC Bretagne
mailto:pierrick.brihaye@anonymised.com
+33 (0)2 99 29 67 78

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Hi,

Ah! You're not supposed to do that yet! There's more I want to fix!
Which is why I haven't announced yet - though I meant to hide the
release to prevent people from downloading at all.

Sorry for the early donwload :slight_smile:

> Wow ! Looks great ! And some messages are in french !
And I think thanks to Richard didier they should all be in french, I
just uploaded his latest.

Will check them ASAP.

> Well, the URL was :
> http://localhost:8080/geoserver/wfs/getCapabilities
Should be GetCapabilities, with a capital G - is there some place in the
docs that says it with lower case?

>
> http://localhost:8080/geoserver/wfs?request=3DgetCapabilities works
> fine =
> :slight_smile:
Yeah, I think that one should be case insensitive

Errr, the problem is with the URL provided by the application, not with
paramters.

> Now, TestWfsPost. OK, I get a blank form but where can I get
> sample=20
> requests I could paste here ?
Yeah, I really want to get something like that.

Why not add links that would point to what is in :
geoserver/test/test-data/requests

I mean... add those files in the war file ?

If you feel inspired to
write up a simple web page with sample requests then I'll be happy to
roll it in and then put a link from that page. And there are certainly
some fancier things you could do with jsps, if anyone wants a nice
little project - automatic putting of sample requests into the box and
adjusting the request path, for example.

Indeed, It would be nice.

> Then "GeoServer Configuration"...
>
> "Server". It looks clear. Just 2 minor issues :
>
> Maximum Features : 2147483647
> Should I understand "unlimited" ?
>
> Schema-Base URL :
> C:\tomcat4\bin\..\webapps\geoserver/data/capabilities/
> Notice the forward and bacward slashes as well as the relative path :
> I=20
> think it could be possible to "absolutize" this path.
Yeah, I emailed about both these issues awhile ago. Could you put them
on the jira task tracker?

OK.

> 1) typo in : Configuraiton of Test Suites for the Validaiton
> Processor
> 2) Web Map Server Contents (date de mise =E0 jour) is empty : use
> today's=
> =20
> (i.e. first installation of server) date ?
Do some bug reports for these. Put them as trivial for the level

OK.

> 3) is it possible to take benefit of xml:lang attributes for
> metadata=20
> descriptions ?
Not sure what you mean here - could you explain more? What metadata
descriptions are you talking about?

<service> children. Say :

<abstract xml:lang="en">This is a test server. It contains some basemap data
from New York City.</abstract>
<abstract xml:lang="fr">Ceci est un serveur de test. Il contient des données
issue d'une carte basique de New York.</abstract>

> One last wish : it is possible to have a Geoserver dedicated log file
> ?
Yeah, I'll think about it. We got a contribution a bit ago for logging
directly to an oracle db, I'd like to try to make it more generic.

Well, May I suggest to add an "init parameter" in the servlet config :

<init-param>
  <param-name>logkit-config</param-name>
  <param-value>/WEB-INF/logkit.xconf</param-value>
</init-param>

... and then, to use Logkit to redirect logs wherever one likes (by default,
a dedicated GeoServer log).

Might have to wait for 1.2.1 though. If you could put a wish for it
into jira that would help out.

OK :slight_smile:

thanks for the feedback (even if a bit before I wanted it ;),

Thank you for the answer. Well.. stay tuned : Jira reports will come soon
:slight_smile:

Regards,

p.b.

Hi,

Email like your is what is going to make that possible though.

OK :slight_smile:

A quick question, you are running on Tomcat 4.X?

Yes, as mentionned in the previous mail.

I did try to specifiy in email that the login was: admin password

geoserver. I

better put that information in the description for the default user conf

directory.

Good idea : an XML fle would be nice.

Did you find that the Save/Load/Apply buttons made sense?

No problem.

Just a remark on the general layout :

Main menu entries are on an horizontal layout. Secondary menu entries are on
a vertical layout (in the square whose size seems to be fixed). Why not use
2 horizontal layouts ?

In the same spirit, "actions" (tests, bounding box...) are at left hand. I'd
prefer to have them at right hand (subject -> verb as in english and in
french :wink:

Anyway, the interface is quite intuititve and will definitely contribute to
GeoServer's success.

Sincerly,

p.b.