[GeoNetwork-users] basic GAST configuration? (unable to open/use app)

Hi all,

I have a question regarding GAST. As a follower/reader of the list I've been
impressed with the collaboration between peers and the depth of shared
expertise evident so far, and thought some of you could shed some light. My
situation is this: I have a local installation (port 8080) of GN 2.6.1 on
my machine, which I've been using as a test/pilot catalog thus far -- a
migration of all of my metadata records/downloads to new test and production
servers (Windows 2008) as well as an upgrade to 2.6.3 is imminent, and I've
decided to use GAST for the MEF export and import. (If someone has done
something similar and can suggest a better alternative than GAST/MEF, I'm
all ears/eyes!)

The obstacle I'm encountering is that I'm unable to actually use the GAST
app; I can't get past the initial GAST configuration panel. That is,
something is wrong with the configuration as is and I don't have the tools
to determine exactly what it is - even though I kept all basic system
configuration defaults (also used the default/embedded Jetty server) when I
first installed and began using GN. My GAST configuration can be seen in the
attached gif. When I click OK to accept this configuration (and ideally,
move on to the GAST app where I want poke around and test out the Export
functions), I get the error message seen in the attached 'error1' gif -
pertaining to the path to the config.xml file. My conclusion being that the
ConfigXml path is incorrect, I set it to *C:\Program
Files\geonetwork\web\geonetwork\WEB-INF\config.xml*, and proceed to get the
same error message, this time related to web.xml, in the attched error2 gif.
So I set that path like the previous one, click OK in GAST config, and get
an error message (error3) related to db.conf - which pops up again and
prevents GAST from opening when I attempt to re-start it. At this point
(twice now), I navigate into the gast folder where I have Geonetwork in
Program Files, and delete the temporary
*previousGastConfig.properties*file, which restores my default
settings and allows me to open GAST again -
and I'm back to square one.

If you've read this far, thank you. This all probably sounds maddeningly
elementary, but I'm new to GN and largely new to the 'back-end' IT/Web
world. As I said, I kept all the vital system configuration defaults when I
first installed 2.6.1, incl those in GAST, which I haven't had exposure to
and hadn't had to use until now. So my hunch now is that I'm getting these
error messages - all of the same type, which tells me there's one root cause
I'm just not seeing - because I should reject those GAST config defaults and
customize them more? But with this local installation I don't need a complex
setup, and until I started trying to get into GAST recently I haven't had to
tweak anything extensively. Can anyone share any insight on what might be
the problem here with my default GAST configuration? I would just like to
use it. And again, any input on my export/upgrade/reinstallation from 2.6.1
to 2.6.3 would be a great bonus. Any help would be most appreciated - thanks
in advance!

Cheers,

Samuel Johnson
Association of State Floodplain Managers (http://www.floods.org/)
Madison, Wisconsin

(attachments)

current_GASTconfig.gif
error1.gif
error2.gif
error3.gif

Interesting!

For another option, and for the record, here's the solution that worked for
me (from Victor Epitropou):

"In the 2.4.x branch, I recall that the provided gast.bat and gast.sh
scripts worked without problems,
however starting from the 2.6.x branch they trigger a multiple folder
and file selection script.

Changing them as follows

[gast.bat] for Windows

%This is the original broken 2.6.x startup script, commented out.
%cd ..\gast
%start javaw %1 -jar gast.jar
%Fixed script starts below
cd ..\web\geonetwork
start javaw %1 -jar ..\..\gast\gast.jar [bolding mine - I'm using Windows]

[gash.sh] for Linux
#This is the original broken 2.6.x startup script, commented out.
#cd ../gast
#java $1 -jar gast.jar $2
#Fixed script starts below
cd ../web/geonetwork
java $1 -jar ../../gast/gast.jar $2

restores original functionality. Weird how this wasn't fixed or
mentioned over the whole 2.6.x branch's releases."

Simply changing the paths in the two lines of the GAST batch file script
fixes the problem, so when GAST is started again, the tool itself starts
rather than bringing you to and stalling out at the config panel.

Hope this or Anshumali's fix helps others who encounter the same obstacle!

Sam

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/basic-GAST-configuration-unable-to-open-use-app-tp6294987p6331465.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

If changing !Webapp! to "C:\Program Files\geonetwork\web\geonetwork", does
not fix the problem in your case, then maybe there is an issue particular to
your environment. Could you please tell me more about what operating system
you are using, the path to your GeoNetwork install, and the version of Java
you are using?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/basic-GAST-configuration-unable-to-open-use-app-tp6294987p6346475.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.