Thanks, Davi.
It worked very well.
BR Paulo
2014-05-27 4:11 GMT-03:00 David.Martin@csiro.au:
Thanks Paulo
I think you are missing a config file that should be found in:
/data/webportal/config/webportal-config.properties
by default. Here's an example:
https://dl.dropboxusercontent.com/u/1952993/webportal-config.properties
Ansible scripts for these components are something we'll be working on over the month or so.
Cheers
Dave Martin ALA
*From:* ala-portal-bounces@lists.gbif.org [ ala-portal-bounces@lists.gbif.org] on behalf of Paulo André [ pfilipak@gmail.com] *Sent:* 23 May 2014 08:19 *To:* Ala-portal@lists.gbif.org; Silvio Stanzani; Pedro Corrêa *Subject:* [Ala-portal] ala-geo-spatial
Hi
We've deployed ala-geo-spatial project.
We've found 2 issues:
- No WebApplicationContext found: no ContextLoaderListener registered?
- Invocation of method 'reloadCache' on target class [class
au.org.ala.spatial.data.FacetCacheImpl] failed java.lang.IllegalArgumentException: [null/search/grouped/facets] is not a valid HTTP URL
Have you ever seen this issues?
BR Paulo
18:29:16.705 [main] ERROR org.zkoss.zk.ui.util.Configuration - Failed to invoke class org.zkoss.spring.init.SecurityWebAppInit java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered? at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:84) at org.zkoss.spring.init.SecurityWebAppInit.init(SecurityWebAppInit.java:47) at org.zkoss.zk.ui.util.Configuration.invokeWebAppInits(Configuration.java:733) at org.zkoss.zk.ui.impl.AbstractWebApp.init(AbstractWebApp.java:204) at org.zkoss.zk.ui.http.SimpleWebApp.init(SimpleWebApp.java:58) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:228) at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2014-05-22 18:29:21,980 ERROR [pool-2-thread-1] (MethodInvokingRunnable.java:68) - Invocation of method 'reloadCache' on target class [class au.org.ala.spatial.data.FacetCacheImpl] failed java.lang.IllegalArgumentException: [null/search/grouped/facets] is not a valid HTTP URL at org.springframework.web.util.UriUtils.encodeHttpUrl(UriUtils.java:245) at org.springframework.web.client.RestTemplate$HttpUrlTemplate.encodeUri(RestTemplate.java:651) at org.springframework.web.util.UriTemplate.expand(UriTemplate.java:140) at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:400) at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:199) at au.org.ala.spatial.data.FacetCacheImpl.reloadCache(FacetCacheImpl.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 2014-05-22 18:29:21,991 ERROR [pool-2-thread-1] (MethodInvokingRunnable.java:68) - Invocation of method 'reloadCache' on target class [class au.org.ala.spatial.data.SpeciesListUtil] failed java.lang.NullPointerException at java.lang.StringBuilder.<init>(StringBuilder.java:109) at au.org.ala.spatial.data.SpeciesListUtil.getLists(SpeciesListUtil.java:70) at au.org.ala.spatial.data.SpeciesListUtil.getNumberOfPublicSpeciesLists(SpeciesListUtil.java:61) at au.org.ala.spatial.data.SpeciesListUtil.reloadCache(SpeciesListUtil.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) at org.springframework.scheduling.support.MethodInvokingRunnable.run(MethodInvokingRunnable.java:65) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:51) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)