Problem with webAdmin console

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

Problem with webAdmin console

sammeek
Hello,

I'm trying to deploy a new instance of the WPS on Ubuntu/tomcat6 and keep getting the following error with the webAdmin console in the browser:

any ideas?

org.apache.jasper.JasperException: /webAdmin/index.jsp(704,16) The function getRProcessInfoList must be used with a prefix when a default namespace is not specified
        org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
        org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
        org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
        org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1525)
        org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:131)
        org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:206)
        org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:248)
        org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:56)
        org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:206)
        org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1550)
        org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1177)
        org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:847)
        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
        org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:866)
        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
        org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
        org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1782)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        org.n52.security.service.authentication.servlet.AuthenticationChainFilter.doFilter(AuthenticationChainFilter.java:80)
        org.n52.security.service.config.support.AbstractSecurityConfigServletFilter.doFilter(AbstractSecurityConfigServletFilter.java:95)
        org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter.doFilter(SecurityConfigDelegatingServletFilter.java:62)
        org.n52.security.service.config.support.AbstractSecurityConfigServletFilter.doFilter(AbstractSecurityConfigServletFilter.java:95)
        com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:169)
        com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:232)
Reply | Threaded
Open this post in threaded view
|

Re: Problem with webAdmin console

BenjaminPross
Hi Sam,

Please replace the index.jsp in the webAdmin directory with the
following file:

https://raw.githubusercontent.com/bpross-52n/WPS/fix-webadmin-console-for-tomcat6/52n-wps-webapp/src/main/webapp/webAdmin/index.jsp

Cheers,

Benjamin

Am 17.10.2014 12:51, schrieb sammeek:

> Hello,
>
> I'm trying to deploy a new instance of the WPS on Ubuntu/tomcat6 and keep
> getting the following error with the webAdmin console in the browser:
>
> any ideas?
>
> org.apache.jasper.JasperException: /webAdmin/index.jsp(704,16) The function
> getRProcessInfoList must be used with a prefix when a default namespace is
> not specified
>
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
>
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
>
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1525)
> org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:131)
> org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:206)
> org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:248)
> org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:56)
> org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:206)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1550)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1177)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:847)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
>
> org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:866)
> org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
> org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
> org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
> org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
> org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
>
> org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1782)
> org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
>
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
>
> org.n52.security.service.authentication.servlet.AuthenticationChainFilter.doFilter(AuthenticationChainFilter.java:80)
>
> org.n52.security.service.config.support.AbstractSecurityConfigServletFilter.doFilter(AbstractSecurityConfigServletFilter.java:95)
>
> org.n52.security.service.config.support.SecurityConfigDelegatingServletFilter.doFilter(SecurityConfigDelegatingServletFilter.java:62)
>
> org.n52.security.service.config.support.AbstractSecurityConfigServletFilter.doFilter(AbstractSecurityConfigServletFilter.java:95)
> com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:169)
> com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:232)
>
>
>
> --
> View this message in context: http://geoprocessing.forum.52north.org/Problem-with-webAdmin-console-tp4025841.html
> Sent from the 52° North - Geoprocessing Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> Geoprocessingservices mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geoprocessingservices
> http://geoprocessing.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines


--
Benjamin Proß
Software Engineer
52°North Geoprocessing Community

52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
Fon: +49-(0)-251–396371-42
Fax: +49-(0)-251–396371-11
[hidden email]
http://52north.org/

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: Problem with webAdmin console

sammeek
Hi Benjamin,

Thanks for sending this through. The page now loads however the web interface doesn't seem to pick up the configuration file. Is the path hard coded (I'm using /config/wps_config_geotools.xml)?

Thanks

Sam
Reply | Threaded
Open this post in threaded view
|

Re: Problem with webAdmin console

BenjaminPross
Sorry, my mistake. Its a source file and there are normally some
replacements done during the build process.

Just replace

             var configurationFileName = "../${wps.config.file}";

with

             var configurationFileName =
"../config/wps_config_geotools.xml";

in the index.jsp file.

Cheers,

Benjamin

Am 27.10.2014 10:33, schrieb sammeek:

> Hi Benjamin,
>
> Thanks for sending this through. The page now loads however the web
> interface doesn't seem to pick up the configuration file. Is the path hard
> coded (I'm using /config/wps_config_geotools.xml)?
>
> Thanks
>
> Sam
>
>
>
> --
> View this message in context: http://geoprocessing.forum.52north.org/Problem-with-webAdmin-console-tp4025841p4025864.html
> Sent from the 52° North - Geoprocessing Community Forum mailing list archive at Nabble.com.
> _______________________________________________
> Geoprocessingservices mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/geoprocessingservices
> http://geoprocessing.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines


--
Benjamin Proß
Software Engineer
52°North Geoprocessing Community

52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
Fon: +49-(0)-251–396371-42
Fax: +49-(0)-251–396371-11
[hidden email]
http://52north.org/

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

_______________________________________________
Geoprocessingservices mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/geoprocessingservices
http://geoprocessing.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines