[GeoNetwork-devel] Problems running Geonetwork trunk

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García

Hi Jose,

I have not tried creating an installer. I have just used the mvn package and install commands. I would think the war should have all the files. I will quickly try such a build.

could you look at the web.xml and the overrides defined there?

Jesse

On Wed, Dec 14, 2011 at 11:47 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García


Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse

I have this:

gn-servlet jeeves.server.sources.http.JeevesServlet jeeves.configuration.overrides.file ${system.specific.overrides},${web.xml.main.config.overrides}${web.xml.widget.config.overrides} 1

Will try also with war file.

Regards,
Jose García

On Wed, Dec 14, 2011 at 11:53 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Hi Jose,

I have not tried creating an installer. I have just used the mvn package and install commands. I would think the war should have all the files. I will quickly try such a build.

could you look at the web.xml and the overrides defined there?

Jesse

On Wed, Dec 14, 2011 at 11:47 AM, jose garcia <josegar74@anonymised.com1…> wrote:

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García


Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

ok. so for some reason the way that the build is going one of the steps is not being executed. the files in the webResources should be filtered. apparently not. Should be an easy fix.

I would start by doing a mvn package in web. Then looking at the web.xml to make sure the ${…} have been replaced correctly. If not then we know exactly where the problem is.

I would help now but we have a go live tomorrow and I forsee a late night already :slight_smile:

I can help tomorrow probably

Jesse

On Wed, Dec 14, 2011 at 12:00 PM, jose garcia <josegar74@anonymised.com> wrote:

Hi Jesse

I have this:

gn-servlet jeeves.server.sources.http.JeevesServlet jeeves.configuration.overrides.file ${system.specific.overrides},${web.xml.main.config.overrides}${web.xml.widget.config.overrides} 1

Will try also with war file.

Regards,
Jose García

On Wed, Dec 14, 2011 at 11:53 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Hi Jose,

I have not tried creating an installer. I have just used the mvn package and install commands. I would think the war should have all the files. I will quickly try such a build.

could you look at the web.xml and the overrides defined there?

Jesse

On Wed, Dec 14, 2011 at 11:47 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García


Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse

Thanks a lot for hints to go in the right direction. Going to check and will let you know.

Regards,
Jose García

On Wed, Dec 14, 2011 at 12:04 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

ok. so for some reason the way that the build is going one of the steps is not being executed. the files in the webResources should be filtered. apparently not. Should be an easy fix.

I would start by doing a mvn package in web. Then looking at the web.xml to make sure the ${…} have been replaced correctly. If not then we know exactly where the problem is.

I would help now but we have a go live tomorrow and I forsee a late night already :slight_smile:

I can help tomorrow probably

Jesse

On Wed, Dec 14, 2011 at 12:00 PM, jose garcia <josegar74@anonymised.com> wrote:

Hi Jesse

I have this:

gn-servlet jeeves.server.sources.http.JeevesServlet jeeves.configuration.overrides.file ${system.specific.overrides},${web.xml.main.config.overrides}${web.xml.widget.config.overrides} 1

Will try also with war file.

Regards,
Jose García

On Wed, Dec 14, 2011 at 11:53 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Hi Jose,

I have not tried creating an installer. I have just used the mvn package and install commands. I would think the war should have all the files. I will quickly try such a build.

could you look at the web.xml and the overrides defined there?

Jesse

On Wed, Dec 14, 2011 at 11:47 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García


Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Jesse

Doing some more testing with mvn clean package in web project, seem that files are not included if comment out this part of pom.xml to include the documentation. With default pom.xml works ok.

…/docs/eng/users/build/html

docs/eng/users

The documentation build folders exist as were created previously executing mvn install in the docs folder. Not sure yet what causes the difference, but checking.

Regards,
Jose García

On Wed, Dec 14, 2011 at 12:23 PM, jose garcia <josegar74@anonymised.com…> wrote:

Hi Jesse

Thanks a lot for hints to go in the right direction. Going to check and will let you know.

Regards,
Jose García

On Wed, Dec 14, 2011 at 12:04 PM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

ok. so for some reason the way that the build is going one of the steps is not being executed. the files in the webResources should be filtered. apparently not. Should be an easy fix.

I would start by doing a mvn package in web. Then looking at the web.xml to make sure the ${…} have been replaced correctly. If not then we know exactly where the problem is.

I would help now but we have a go live tomorrow and I forsee a late night already :slight_smile:

I can help tomorrow probably

Jesse

On Wed, Dec 14, 2011 at 12:00 PM, jose garcia <josegar74@anonymised.com> wrote:

Hi Jesse

I have this:

gn-servlet jeeves.server.sources.http.JeevesServlet jeeves.configuration.overrides.file ${system.specific.overrides},${web.xml.main.config.overrides}${web.xml.widget.config.overrides} 1

Will try also with war file.

Regards,
Jose García

On Wed, Dec 14, 2011 at 11:53 AM, Jesse Eichar <jesse.eichar@anonymised.com> wrote:

Hi Jose,

I have not tried creating an installer. I have just used the mvn package and install commands. I would think the war should have all the files. I will quickly try such a build.

could you look at the web.xml and the overrides defined there?

Jesse

On Wed, Dec 14, 2011 at 11:47 AM, jose garcia <josegar74@anonymised.com> wrote:

Hi

I’m having some issues when running latest GeoNetwork trunk. I created the installer and get this error when starting up GeoNetwork:

[main] FATAL jeeves.engine - Raised exception during init
[main] FATAL jeeves.engine - Exception : java.lang.NullPointerException
[main] FATAL jeeves.engine - Message : null
[main] FATAL jeeves.engine - Stack : java.lang.NullPointerException
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromConfigFile(ConfigurationOverrides.java:534)
at jeeves.server.ConfigurationOverrides.lookupOverrideParamFromServlet(ConfigurationOverrides.java:553)
at jeeves.server.ConfigurationOverrides.lookupOverrideParameter(ConfigurationOverrides.java:501)
at jeeves.server.ConfigurationOverrides.updateLoggingAsAccordingToOverrides(ConfigurationOverrides.java:159)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:108)

Seem caused by no existence of file WEB-INF/config-overrides.xml. Creating the file solves the error, but getting this other:

011-12-14 11:39:12.486:WARN:geonetwork:unavailable
java.io.FileNotFoundException: /…/web/geonetwork/WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:120)
at jeeves.server.JeevesEngine.setupXSLTTransformerFactory(JeevesEngine.java:212)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:136)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)

The file WEB-INF/classes/META-INF/services/javax.xml.transform.TransformerFactory doesn’t exist also.

To create the installer I did:

$ mvn install
$ cd installer
$ ant

This used to work before. Is anyone having same problem? With config-overrides should create the installer in different way?

Thanks and regards,
Jose García


Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork