Ciao Simone,
Thanks,
Do you think it is possible to include the prototype.js in the existent beta
2 pages? Or is better to reinstall the beta 3?
Yes. Edit the file web/xsl/header.xsl and add the prototype inclusion just after
the line:
<script type="text/javascript" src="{/root/gui/url}/scripts/form_check.js"/>
Also, to share with other users, I had a problem trying to make the beta 2
working on mysql database. The GAST tool kept throwing an error saying the
mysql driver was missing. After trying to reference the driver for Tomcat
the only way to make it work was to put it into the folder
geonetwork/web/WEB-INF/lib following the paper at
http://mimis.simos.googlepages.com/Geonetworksetupsupportingmulti-langu.pdf.
I don't know whether it is a problem relating to the Linux distro I am using
(Gentoo) or if it is something it should be done in any case.
Actually it is not a bug. Up to now, geonetwork has the jdbc drivers for the
embedded dbms (mckoi) and for postgresql. Maybe we should add the drivers
for mysql and oracle but this has some drawbacks:
- the application gets bigger as soon as more drivers are added
- the drivers should be kept in sync
- drivers not supported must still be downloaded and copied into WEB-INF/lib
- a not skilled user could have problems trying to upgrade a non recent driver
because he could not remove the old one.
It is not clear to me which is the best strategy.
Cheers,
Andrea
Cheers
Simone
-----Original Message-----
From: geonetwork-users-bounces@lists.sourceforge.net
[mailto:geonetwork-users-bounces@lists.sourceforge.net] On Behalf Of Andrea
Carboni
Sent: Friday, June 08, 2007 4:43 PM
To: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] GN 21 beta bugs?
Hi Simone,
> HI all,
>
> I am testing the GN 21 beta on a linux box using tomcat and MySQL.
>
> I have to change the script for creating a database used by GASt,
> there was a problem with the field label of the table called
> ISOsomething (sorry cannot remeber the name now). In fact the script
> creates a table where label is varchar(64) but after inser inside the
> table records where the label attribute is longer than that. Changing
> the length og the lable field to 255 makes the script work correctly.
> Is thia a bug?
Yes, it is a bug and has been fixed now. The problem was related to the
embedded dbms which did not rise the error.
> I am also experiencing a problem with th add user web interface. I
> have an error when I try to add a new user. In aprticular clicking on
> SAVE button I have a JS error:
> var profile = $F('user.profile');
> Any other users is experiencing the same js problem?
There is a missing prototype.js inclusion in both user editing and metadata
creation pages. They have been fixed in beta3 so try that one (but maybe the
first bug is still there).
Cheers,
Andrea
> Thanks
>
> Simone Gadenz
----------------------------------------------------------------------------
---------------------------------
PS: I tried to answer you but my emails came back. Here was my answer:
you need Java 1.5 from Sun. Java 6 has not been tested. Regarding Tomcat,
any version >= 5.5 should be ok.
> Hi all,
>
> What is the java and tomcat versions required to run the GN 2.1 beta?
> Sorry for asking but I couldn't find this information on the website.
> In case it was there may somebody send me a refernce to that page?
> Thanks
>
>
> Simone Gadenz
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the
FREE version of DB2 express and take control of your XML. No limits. Just
data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork