Problem with Geoportal Integration

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem with Geoportal Integration

Ryan Clark
I've followed the instructions in the two guides to setup the smarteditor, and then to integrate it with Geoportal. I have confirmed that the SmartEditor app is working, but after logging in to Geoportal, I click the Administration page, and there is a little thinking, and then it reloads the home page. I cannot get to the Administration page.

Any idea where to start troubleshooting this issue?

Thanks,
Ryan

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Metadata] Problem with Geoportal Integration

Kristian Senkler
Hi Ryan,

this sounds like a JSP compilation error that happens at some point in the geoportal. Whenever this happens (and for whatever reason) the geoportal triggers a redirect to its own home page.  A good starting point may be to clean up the temporal directory where your compiled JSP pages are stored. This depends on the web container you're actually using, e.g. in Tomcat it is $TOMCAT_HOME/work.

Furthermore, could you please provide the geoportal log files (or the excerpt with the error messages accordingly)? And what type of application server/web container and database is part of your setup?

Best regards,
Kristian

-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Ryan Clark
Gesendet: Mittwoch, 23. März 2011 00:13
An: [hidden email]
Betreff: [Metadata] Problem with Geoportal Integration

I've followed the instructions in the two guides to setup the smarteditor, and then to integrate it with Geoportal. I have confirmed that the SmartEditor app is working, but after logging in to Geoportal, I click the Administration page, and there is a little thinking, and then it reloads the home page. I cannot get to the Administration page.

Any idea where to start troubleshooting this issue?

Thanks,
Ryan



--
View this message in context: http://metadata.forum.52north.org/Problem-with-Geoportal-Integration-tp2717912p2717912.html
Sent from the 52°North - Metadata Management Community Forum mailing list archive at Nabble.com.
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Metadata] Problem with Geoportal Integration

Ryan Clark
Here are some log messages that sound relevant. Looks like I messed something up with the keystore, which was the part of the configuration that I understood the least. Is generating the keystore and placing the .keystore file in the two application directories mandatory?

For reference, I'm using Tomcat6 on OSX. Thank you for your help!
Ryan



CONFIG: Loading configuration file: gpt/config/gpt-tc.xml
Mar 23, 2011 9:28:40 AM com.esri.gpt.framework.jsf.BaseActionListener handleException
SEVERE: Exception raised.
java.lang.IllegalStateException: Can't load certificate and key with alias 'gpt-security' from keystore '/gpt/config/keystore.jks'! Msgjava.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:167)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.setConfig(EmbeddedSAMLTokenIntegrationContext.java:121)
        at com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext(Unknown Source)
        at com.esri.gpt.control.identity.LoginController.processSubAction(Unknown Source)
        at com.esri.gpt.framework.jsf.BaseActionListener.processAction(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.el.parser.AstValue.invoke(AstValue.java:191)
        at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
        at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
        at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:144)
        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84)
        at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773)
        at javax.faces.component.UICommand.broadcast(UICommand.java:296)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.esri.gpt.control.filter.EncodingFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at com.esri.gpt.framework.util.ResourcePath.makeUrl(Unknown Source)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.findInputStream(EmbeddedSAMLTokenIntegrationContext.java:181)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:149)
        ... 36 more

SEVERE: Servlet.service() for servlet jsp threw exception
java.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at com.esri.gpt.framework.util.ResourcePath.makeUrl(Unknown Source)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.findInputStream(EmbeddedSAMLTokenIntegrationContext.java:181)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:149)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.setConfig(EmbeddedSAMLTokenIntegrationContext.java:121)
        at com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext(Unknown Source)
        at org.apache.jsp.catalog.skins.tiles.secondaryNavigation_jsp._jspService(secondaryNavigation_jsp.java:94)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
        at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:653)
        at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
        at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
        at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
        at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
        at org.apache.jsp.catalog.skins.centeredLayout_jsp._jspx_meth_tiles_005finsert_005f4(centeredLayout_jsp.java:521)
        at org.apache.jsp.catalog.skins.centeredLayout_jsp._jspService(centeredLayout_jsp.java:187)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
        at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:653)
        at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
        at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
        at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
        at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
        at org.apache.jsp.catalog.publication.manageMetadata_jsp._jspx_meth_tiles_005finsert_005f0(manageMetadata_jsp.java:134)
        at org.apache.jsp.catalog.publication.manageMetadata_jsp._jspService(manageMetadata_jsp.java:79)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:542)
        at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:359)
        at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:150)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.esri.gpt.control.filter.EncodingFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:680)


On Mar 23, 2011, at 6:39 AM, Kristian Senkler wrote:

> Hi Ryan,
>
> this sounds like a JSP compilation error that happens at some point in the geoportal. Whenever this happens (and for whatever reason) the geoportal triggers a redirect to its own home page.  A good starting point may be to clean up the temporal directory where your compiled JSP pages are stored. This depends on the web container you're actually using, e.g. in Tomcat it is $TOMCAT_HOME/work.
>
> Furthermore, could you please provide the geoportal log files (or the excerpt with the error messages accordingly)? And what type of application server/web container and database is part of your setup?
>
> Best regards,
> Kristian
>
> -----Ursprüngliche Nachricht-----
> Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Ryan Clark
> Gesendet: Mittwoch, 23. März 2011 00:13
> An: [hidden email]
> Betreff: [Metadata] Problem with Geoportal Integration
>
> I've followed the instructions in the two guides to setup the smarteditor, and then to integrate it with Geoportal. I have confirmed that the SmartEditor app is working, but after logging in to Geoportal, I click the Administration page, and there is a little thinking, and then it reloads the home page. I cannot get to the Administration page.
>
> Any idea where to start troubleshooting this issue?
>
> Thanks,
> Ryan
>
>
>
> --
> View this message in context: http://metadata.forum.52north.org/Problem-with-Geoportal-Integration-tp2717912p2717912.html
> Sent from the 52°North - Metadata Management Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> Metadata mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/metadata

_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Metadata] Problem with Geoportal Integration

Kristian Senkler
Ryan,

where is your .keystore file located? Let's assume that you've followed the instructions by the book and created a keystore file like this (see section 2.2 in the documentation):

"%JAVA_HOME%\bin\keytool" -genkey -keystore ".keystore" -storepass "changeit" -alias "gpt-security" -keypass "changeit" -keyalg RSA -validity 1800 -dname CN=security,OU=server,O=[company_name],C=EU"

Copy the resulting keystore file to "$EDITOR_HOME/WEB-INF/classes/" and "$GEOPORTAL_HOME/WEB-INF/classes/" respectively.

The keystore parameters section in "gpt/config/gpt-tc.xml" should look like this:

<parameter key="sdisuite.keystore.location" value="/.keystore"/>
<parameter key="sdisuite.keystore.passwd" value="changeit"/>
<parameter key="sdisuite.keystore.key.alias" value="gpt-security"/>
<parameter key="sdisuite.keystore.key.passwd" value="changeit"/>

The keystore parameters section in "/smartEditor/WEB-INF/classes/application.properties" should look like this:

security.keystore.pwd=changeit
security.keystore.path=/.keystore
security.certificate.alias=gpt-security
security.certificate.pwd=changeit

After a Tomcat restart it should work fine.

Please let me know.

All the best,
Kristian

-----Ursprüngliche Nachricht-----
Von: Ryan Clark [mailto:[hidden email]]
Gesendet: Mittwoch, 23. März 2011 17:33
An: Kristian Senkler
Cc: [hidden email]
Betreff: Re: AW: [Metadata] Problem with Geoportal Integration

Here are some log messages that sound relevant. Looks like I messed something up with the keystore, which was the part of the configuration that I understood the least. Is generating the keystore and placing the .keystore file in the two application directories mandatory?

For reference, I'm using Tomcat6 on OSX. Thank you for your help!
Ryan



CONFIG: Loading configuration file: gpt/config/gpt-tc.xml Mar 23, 2011 9:28:40 AM com.esri.gpt.framework.jsf.BaseActionListener handleException
SEVERE: Exception raised.
java.lang.IllegalStateException: Can't load certificate and key with alias 'gpt-security' from keystore '/gpt/config/keystore.jks'! Msgjava.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:167)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.setConfig(EmbeddedSAMLTokenIntegrationContext.java:121)
        at com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext(Unknown Source)
        at com.esri.gpt.control.identity.LoginController.processSubAction(Unknown Source)
        at com.esri.gpt.framework.jsf.BaseActionListener.processAction(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.el.parser.AstValue.invoke(AstValue.java:191)
        at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
        at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
        at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:144)
        at javax.faces.event.ActionEvent.processListener(ActionEvent.java:84)
        at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:773)
        at javax.faces.component.UICommand.broadcast(UICommand.java:296)
        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:781)
        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1246)
        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:77)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.esri.gpt.control.filter.EncodingFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at com.esri.gpt.framework.util.ResourcePath.makeUrl(Unknown Source)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.findInputStream(EmbeddedSAMLTokenIntegrationContext.java:181)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:149)
        ... 36 more

SEVERE: Servlet.service() for servlet jsp threw exception
java.io.IOException: Unable to create resource URL for path: /gpt/config/keystore.jks
        at com.esri.gpt.framework.util.ResourcePath.makeUrl(Unknown Source)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.findInputStream(EmbeddedSAMLTokenIntegrationContext.java:181)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.initKeyStore(EmbeddedSAMLTokenIntegrationContext.java:149)
        at de.conterra.suite.security.portal.gpx.EmbeddedSAMLTokenIntegrationContext.setConfig(EmbeddedSAMLTokenIntegrationContext.java:121)
        at com.esri.gpt.sdisuite.IntegrationContextFactory.newIntegrationContext(Unknown Source)
        at org.apache.jsp.catalog.skins.tiles.secondaryNavigation_jsp._jspService(secondaryNavigation_jsp.java:94)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
        at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:653)
        at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
        at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
        at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
        at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
        at org.apache.jsp.catalog.skins.centeredLayout_jsp._jspx_meth_tiles_005finsert_005f4(centeredLayout_jsp.java:521)
        at org.apache.jsp.catalog.skins.centeredLayout_jsp._jspService(centeredLayout_jsp.java:187)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
        at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
        at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:653)
        at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:647)
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:129)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:152)
        at org.apache.struts.tiles.taglib.InsertTag.doInclude(InsertTag.java:764)
        at org.apache.struts.tiles.taglib.InsertTag$InsertHandler.doEndTag(InsertTag.java:896)
        at org.apache.struts.tiles.taglib.InsertTag.doEndTag(InsertTag.java:465)
        at org.apache.jsp.catalog.publication.manageMetadata_jsp._jspx_meth_tiles_005finsert_005f0(manageMetadata_jsp.java:134)
        at org.apache.jsp.catalog.publication.manageMetadata_jsp._jspService(manageMetadata_jsp.java:79)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:542)
        at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:359)
        at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:150)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:96)
        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.esri.gpt.control.filter.EncodingFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:680)


On Mar 23, 2011, at 6:39 AM, Kristian Senkler wrote:

> Hi Ryan,
>
> this sounds like a JSP compilation error that happens at some point in the geoportal. Whenever this happens (and for whatever reason) the geoportal triggers a redirect to its own home page.  A good starting point may be to clean up the temporal directory where your compiled JSP pages are stored. This depends on the web container you're actually using, e.g. in Tomcat it is $TOMCAT_HOME/work.
>
> Furthermore, could you please provide the geoportal log files (or the excerpt with the error messages accordingly)? And what type of application server/web container and database is part of your setup?
>
> Best regards,
> Kristian
>
> -----Ursprüngliche Nachricht-----
> Von: [hidden email]
> [mailto:[hidden email]] Im Auftrag von Ryan Clark
> Gesendet: Mittwoch, 23. März 2011 00:13
> An: [hidden email]
> Betreff: [Metadata] Problem with Geoportal Integration
>
> I've followed the instructions in the two guides to setup the smarteditor, and then to integrate it with Geoportal. I have confirmed that the SmartEditor app is working, but after logging in to Geoportal, I click the Administration page, and there is a little thinking, and then it reloads the home page. I cannot get to the Administration page.
>
> Any idea where to start troubleshooting this issue?
>
> Thanks,
> Ryan
>
>
>
> --
> View this message in context:
> http://metadata.forum.52north.org/Problem-with-Geoportal-Integration-t
> p2717912p2717912.html Sent from the 52°North - Metadata Management
> Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> Metadata mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/metadata

_______________________________________________
Metadata mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/metadata
Loading...