1 | 1. Metadata Analysis Tool (Java application)
|
---|
2 |
|
---|
3 | 1-1 Please select "local Collection Analysis" and press the "Analyse" button.
|
---|
4 |
|
---|
5 | 1-2 Select a collection you want to analyse it.
|
---|
6 |
|
---|
7 | If there is no collection available, please use GLI to create a collection and try this function again.
|
---|
8 |
|
---|
9 | If you cannot launch Metadata Analysis Tool, please remove the gs2mgdemo from
|
---|
10 | "root/web/sites/localsite/collect".
|
---|
11 |
|
---|
12 |
|
---|
13 | The problem looks like this:
|
---|
14 | "#
|
---|
15 | # An unexpected error has been detected by Java Runtime Environment:
|
---|
16 | #
|
---|
17 | # SIGSEGV (0xb) at pc=0x53e58955, pid=31921, tid=3086052240
|
---|
18 | #
|
---|
19 | # Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode linux-x86)
|
---|
20 | "
|
---|
21 |
|
---|
22 | 2. Metadata Analysis Tool (web service)
|
---|
23 | Root is the location of Greenstone folder.
|
---|
24 | ex: Windows: C:\Program files\Greenstone
|
---|
25 | ex: Linux: /home/Greenstone
|
---|
26 |
|
---|
27 |
|
---|
28 | 2-1 Please rename the root/ext/mat/web-mat.xml to web.xml and copy it to the root/web/WEB-INF folder.
|
---|
29 | You might want to backup the original web.xml.
|
---|
30 |
|
---|
31 | 2-2 Copy the gsdl3_extension folder (path: root/ext/mat/build/classes/org/greenstone/gsdl3_extension) to
|
---|
32 | greenstone folder (path: root/web/WEB-INF/classes/org/greenstone)
|
---|
33 |
|
---|
34 | Now, the path should be root/web/WEB-INF/classes/org/greenstone/gsdl3_extension/mat/servlet
|
---|
35 |
|
---|
36 | Inside the servlet folder, you will see many class files.
|
---|
37 |
|
---|
38 | 2-3 Please run the command "ant deploy-localsite" in the console.
|
---|
39 |
|
---|
40 | 2-4 Then, you can start the server and use the web service.
|
---|
41 |
|
---|
42 | The web service is available at http://localhost:8080/greenstone3/mat.
|
---|
43 | Please make sure that there is no slash at the end of this URL.
|
---|
44 | ex: http://localhost:8080/greenstone3/mat/ is incorrect and you will not be able to access the service.
|
---|
45 |
|
---|
46 | Notice: If you use any proxy servers, please open the properties.xml and enter the property settings.
|
---|
47 |
|
---|
48 | Troubleshooting
|
---|
49 |
|
---|
50 | 1. Why my web service cannot analyse the OAI repository ( Message: GDBM could not be open)?
|
---|
51 | Please use the GLI to create a sample collection and make sure that the Greenstone can build it correctly.
|
---|
52 | If the Greenstone cannot build the collection correctly. Please report the error to http://www.greenstone.org/.
|
---|
53 |
|
---|
54 | 2. My computer cannot recognise the "Ant" command?
|
---|
55 | You will need to setup the ant path and run the command in the greenstone root folder.
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|