CAS workflow monitor webapp 'View active workflows' returns exception
---------------------------------------------------------------------

                 Key: OODT-131
                 URL: https://issues.apache.org/jira/browse/OODT-131
             Project: OODT
          Issue Type: Bug
          Components: workflow manager
    Affects Versions: 0.2
         Environment: Tomcat 6.0.18, Java 1.6, no webapp configuration performed
            Reporter: Rishi Verma
            Priority: Minor


CAS workflow monitor webapp's first hyperlink returns a Java exception upon 
fresh deployment to Tomcat. Granted, no configuration (which may be required) 
has been performed on the webapp; however, the error stack trace is mysterious 
nonetheless. Below is the runtime error:



HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 16 in the generated java file
Only a type can be imported. 
org.apache.oodt.cas.workflow.webapp.util.WorkflowInstanceMetMap resolves to a 
package

An error occurred at line: 17 in the generated java file
Only a type can be imported. 
org.apache.oodt.cas.workflow.webapp.util.WorkflowInstanceMetadataReader 
resolves to a package

An error occurred at line: 104 in the jsp file: /viewWorkflowInstances.jsp
WorkflowInstanceMetMap cannot be resolved to a type
101: 
102:                 if(instPage.getPageWorkflows() != null && 
instPage.getPageWorkflows().size() > 0){
103:                     String metMapFilePath = 
application.getInitParameter("org.apache.oodt.cas.workflow.webapp.inst.metFields.filePath");
104:                     WorkflowInstanceMetMap wInstMetMap = 
WorkflowInstanceMetadataReader.parseMetMapFile(metMapFilePath);
105:                       
106:                     
107:                        %>


An error occurred at line: 104 in the jsp file: /viewWorkflowInstances.jsp
WorkflowInstanceMetadataReader cannot be resolved
101: 
102:                 if(instPage.getPageWorkflows() != null && 
instPage.getPageWorkflows().size() > 0){
103:                     String metMapFilePath = 
application.getInitParameter("org.apache.oodt.cas.workflow.webapp.inst.metFields.filePath");
104:                     WorkflowInstanceMetMap wInstMetMap = 
WorkflowInstanceMetadataReader.parseMetMapFile(metMapFilePath);
105:                       
106:                     
107:                        %>


Stacktrace:
        
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
        
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
        
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to