I am reviewing the documentation of geonetwork
and researched on the web, I have to use geonetwork
but my servers only have glassfish
, I have not found any documentation or manual that tells me how to load it, the only forum I found I said that if I succeed but never said how.
Taking the war
of the official page gives me the following error:
Error during deployment: Exception when deploying the application [geonetwork]: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 15; File of the deployment descriptor META-INF / persistence.xml in the file [classes]. cvc-complex-type.2.4.b: The content of the element 'persistence' is not complete. Expected one of '{" link ": persistence-unit}' .. See server.log for more information.
Which makes sense since the war was created for apache according to the documentation and when reviewing the war the persistence unit is not found.
It would be very helpful if someone has a method of achieving it in glassfish