Skip to main content
edited tags
Link
added 439 characters in body; edited tags; edited title
Source Link

Geonetwork won't How to load metadatah2 database from geonetwork in netbeans?

I'm using Geonetwork 2.10.3. I have implemented new language succefullyall needed files and put iti want to connect to h2 database in Glassfish on server. When I run Geonetwork form browserNetBeans, all metadata is loaded from other applicationso I could add new language. Howerver, but category searches don't show(it has translation too)I can't connect to h2. When I set value enabled= 'true' for mckoi database, it shows category search in languagehave followed these steps:

  1. In Services tab, Right-Click on Databases and click New Connection;
  2. In new window, in in padded menu, i have chosen New Driver and added .jar file from lib folder named h2-1.3.152.jar, and then Next;
  3. I have typed user and pass in fields, url fieled has been filled with jdbc:h2:, and then Next.

After that should be shown, but it won't load metadatathrows me exception:
Cannot establish a connection to jdbc:h2:  using org. Howh2.Driver (IO Exception: "java.io.FileNotFoundException: C:\Program Files\NetBeans 8.0.2\ .lock.db (The filename, directory name, or volume label syntax is incorrect)"; "C:\Program Files\NetBeans 8.0.2\ .lock.db" [90031-152]).
How can Ii solve this?

Geonetwork won't load metadata

I'm using Geonetwork 2.10.3. I have implemented new language succefully and put it in Glassfish on server. When I run Geonetwork form browser, all metadata is loaded from other application, but category searches don't show(it has translation too). When I set value enabled= 'true' for mckoi database, it shows category search in language that should be shown, but it won't load metadata. How can I solve this?

How to load h2 database from geonetwork in netbeans?

I'm using Geonetwork 2.10.3. I have all needed files and i want to connect to h2 database in NetBeans, so I could add new language. Howerver, I can't connect to h2. I have followed these steps:

  1. In Services tab, Right-Click on Databases and click New Connection;
  2. In new window, in in padded menu, i have chosen New Driver and added .jar file from lib folder named h2-1.3.152.jar, and then Next;
  3. I have typed user and pass in fields, url fieled has been filled with jdbc:h2:, and then Next.

After that, it throws me exception:
Cannot establish a connection to jdbc:h2:  using org.h2.Driver (IO Exception: "java.io.FileNotFoundException: C:\Program Files\NetBeans 8.0.2\ .lock.db (The filename, directory name, or volume label syntax is incorrect)"; "C:\Program Files\NetBeans 8.0.2\ .lock.db" [90031-152]).
How can i solve this?

edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link
Loading