gprocino

Installing Geoportal 1.2

Discussion created by gprocino on Jul 12, 2012
Latest reply on Jul 31, 2012 by mhogeweg-esristaff
Dear all,
I have installed Geoportal and publish same metadata.
but when I search for metadata the geoportal not provides results.

If I restart Tomcat, in the geoportal log file, I find the following error:

12-lug-2012 17.26.18 com.esri.gpt.catalog.lucene.LuceneIndexAdapter onContextInit
GRAVE: Error while touching IndexWriter on init.
com.esri.gpt.catalog.context.CatalogIndexException: Error accessing index:

    at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.touch(Unknown Source)
    at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.onContextInit(Unknown Source)
    at com.esri.gpt.framework.context.InitializationServlet.init(Unknown Source)
    at javax.servlet.GenericServlet.init(GenericServlet.java:212)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    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)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.nio.channels.OverlappingFileLockException
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.checkList(Unknown Source)
    at sun.nio.ch.FileChannelImpl$SharedFileLockTable.add(Unknown Source)
    at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
    at java.nio.channels.FileChannel.tryLock(Unknown Source)
    at org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:200)
    at org.apache.lucene.store.NativeFSLock.isLocked(NativeFSLockFactory.java:302)
    at org.apache.lucene.index.IndexWriter.isLocked(IndexWriter.java:4896)
    at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.getSingleWriter(Unknown Source)
    at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.newWriter(Unknown Source)
    at com.esri.gpt.catalog.lucene.LuceneIndexAdapter.newWriter(Unknown Source)
    ... 30 more

In attach there are gpt.xml and a complete .log file

Any idea?

Thaks in advance.
Giuseppe P.

Attachments

Outcomes