Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Problem workflow initialisation

  1. #1
    Join Date
    Mar 2006
    Posts
    6

    Default Problem workflow initialisation

    Hello,

    I am testing the workflow engine and I have a problem with the demo of Shark.
    When I execute “1.b Workflow Initialisation???, I have an error message which is: SharkEngineManager -> Can't work - Problems while configuring AuthenticationManager!
    In the log of the server, the error message is:
    ERROR [org.pentaho.plugin.shark.SharkPublisher] ::: SharkPublisher.ERROR_0009 - [fr_128] Could not publish Workflow
    com.lutris.util.ConfigException: Encountered "and" at line 49, column 40.
    Was expecting one of:
    ...
    ...
    ...

    at com.lutris.util.ConfigFile.(Unknown Source)
    at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:208)
    at org.enhydra.shark.authentication.DODSAuthenticationManager.configure(DODSAuthenticationManager.java:43)
    at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:214)
    at org.enhydra.shark.Shark.init(Shark.java:297)
    at org.enhydra.shark.Shark.configure(Shark.java:69)
    at org.pentaho.plugin.shark.SharkManager.init(SharkManager.java:195)
    at org.pentaho.plugin.shark.SharkManager.(SharkManager.java:89)
    at org.pentaho.plugin.shark.SharkManager.getInstance(SharkManager.java:98)
    at org.pentaho.plugin.shark.SharkPublisher.publish(SharkPublisher.java:78)
    at org.pentaho.core.publisher.BasePublisher.publish(BasePublisher.java:32)
    at org.pentaho.core.system.PentahoSystem.publish(PentahoSystem.java:666)
    at org.apache.jsp.jsp.Publish_jsp._jspService(org.apache.jsp.jsp.Publish_jsp:84)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)
    org.enhydra.shark.api.RootException: DODS init problem.
    at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:214)
    at org.enhydra.shark.authentication.DODSAuthenticationManager.configure(DODSAuthenticationManager.java:43)
    at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:214)
    at org.enhydra.shark.Shark.init(Shark.java:297)
    at org.enhydra.shark.Shark.configure(Shark.java:69)
    at org.pentaho.plugin.shark.SharkManager.init(SharkManager.java:195)
    at org.pentaho.plugin.shark.SharkManager.(SharkManager.java:89)
    at org.pentaho.plugin.shark.SharkManager.getInstance(SharkManager.java:98)
    at org.pentaho.plugin.shark.SharkPublisher.publish(SharkPublisher.java:78)
    at org.pentaho.core.publisher.BasePublisher.publish(BasePublisher.java:32)
    at org.pentaho.core.system.PentahoSystem.publish(PentahoSystem.java:666)
    at org.apache.jsp.jsp.Publish_jsp._jspService(org.apache.jsp.jsp.Publish_jsp:84)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.lutris.util.ConfigException: Encountered "and" at line 49, column 40.
    Was expecting one of:
    ...
    ...
    ...

    at com.lutris.util.ConfigFile.(Unknown Source)
    at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:208)
    ... 36 more
    org.enhydra.shark.api.RootError: SharkEngineManager -> Can't work - Problems while configuring AuthenticationManager!
    at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:230)
    at org.enhydra.shark.Shark.init(Shark.java:297)
    at org.enhydra.shark.Shark.configure(Shark.java:69)
    at org.pentaho.plugin.shark.SharkManager.init(SharkManager.java:195)
    at org.pentaho.plugin.shark.SharkManager.(SharkManager.java:89)
    at org.pentaho.plugin.shark.SharkManager.getInstance(SharkManager.java:98)
    at org.pentaho.plugin.shark.SharkPublisher.publish(SharkPublisher.java:78)
    at org.pentaho.core.publisher.BasePublisher.publish(BasePublisher.java:32)
    at org.pentaho.core.system.PentahoSystem.publish(PentahoSystem.java:666)
    at org.apache.jsp.jsp.Publish_jsp._jspService(org.apache.jsp.jsp.Publish_jsp:84)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.enhydra.shark.api.RootException: DODS init problem.
    at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:214)
    at org.enhydra.shark.authentication.DODSAuthenticationManager.configure(DODSAuthenticationManager.java:43)
    at org.enhydra.shark.SharkEngineManager.init(SharkEngineManager.java:214)
    ... 34 more
    Caused by: com.lutris.util.ConfigException: Encountered "and" at line 49, column 40.
    Was expecting one of:
    ...
    ...
    ...

    at com.lutris.util.ConfigFile.(Unknown Source)
    at org.enhydra.shark.utilities.dods.DODSUtilities.init(DODSUtilities.java:208)
    ... 36 more
    2006-05-15 10:23:47,334 ERROR [org.pentaho.plugin.shark.SharkPublisher] Error end:

    And when I execute the BurstShark.xaction, I have an other error message:
    Erreur : SharkWorkflow.ERROR_0003 - Le process demandé nest pas lancé - packageName={0} processName={1} (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Debug : [fr_21] Starting execute of samples/bursting/BurstShark.xaction (org.pentaho.core.solution.SolutionEngine)
    Debug : [fr_30] Getting runtime context and data (org.pentaho.core.solution.SolutionEngine)
    Debug : [fr_33] Loading action sequence definition file (org.pentaho.core.solution.SolutionEngine)
    Debug : [fr_34] audit: instanceId=8576070d-e3ed-11da-ae17-abbc7e871838, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.core.runtime.RuntimeContext)
    Erreur : SharkWorkflow.ERROR_0003 - Le process demandé nest pas lancé - packageName={0} processName={1} (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Erreur : SharkWorkflow.ERROR_0004 - Le numéro de process ne peut être déterminé pour le process demandé - packageName=BurstingExamples processName=GenReportAndEmail (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Erreur : SharkWorkflow.ERROR_0005 - Le numéro de version ne peut pas être déterminé pour le process demandé - packageName=BurstingExamples processName=GenReportAndEmail (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Erreur : RuntimeContext.ERROR_0012 - [fr_33] ActionDefinition for SharkWorkflowComponent did not execute successfully (org.pentaho.core.runtime.RuntimeContext)
    Erreur : SolutionEngine.ERROR_0007 - [fr_27] Action sequence execution failed (org.pentaho.core.solution.SolutionEngine)


    The samples databases are up and running and there is no error.
    I have some questions:
    What are the shark.xml and shark.conf files used for? What are the modifications to add?
    Are there other configuration settings required to execute the example (Shark, JaWE…)?

    Please somebody helps me
    (Excuse me for my English)

    Post edited by: fabienM, at: 05/15/2006 05:53

  2. #2
    Join Date
    Mar 2006
    Posts
    6

    Default Re:Problem workflow initialisation

    Hello,

    I have always my problem with the workflow initialization, even with the last version (PCI 1.1.6.279). I have the error message: SharkEngineManager -> Can't work - Problems while configuring AuthenticationManager!
    Could somebody help me, please???

    Fabien

  3. #3
    Join Date
    Mar 2006
    Posts
    6

    Default Re:Problem workflow initialisation

    Hello,

    The problem is resolved. I had installed Pentaho in a path with space.

    Bye

  4. #4
    Join Date
    Jul 2006
    Posts
    20

    Default Re:Problem workflow initialisation

    I got this message while trying the workflow testing from Pentaho BI Server 1.2.0.470-RC3

    Code:
    Error: SharkWorkflow.ERROR_0003 - Requested process is not running - packageName=JamesFlow1 processName=JamesFlow1_Wor1 (org.pentaho.plugin.shark.SharkWorkflowComponent)
    
    Debug: Starting execute of test/workflow/start-process2.xaction (org.pentaho.core.solution.SolutionEngine)
    Debug: Getting runtime context and data (org.pentaho.core.solution.SolutionEngine)
    Debug: Loading action sequence definition file (org.pentaho.core.solution.SolutionEngine)
    Debug: SolutionRepository.DEBUG_FILE_PATH - getFile path=C:\\pentaho-demo\\pentaho-solutions\\test\\workflow\\start-process2.xaction (org.pentaho.repository.filebased.solution.SolutionRepository)
    Debug: Adding variable source runtime to parameter solution-id (org.pentaho.repository.filebased.solution.SolutionRepository)
    Debug: Adding variable source runtime to parameter instance-id (org.pentaho.repository.filebased.solution.SolutionRepository)
    Debug: audit: instanceId=1861988f-7b79-11db-94a9-0d057e49a3f0, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.core.runtime.RuntimeContext)
    Debug: validateComponent validating component SharkWorkflowComponent (org.pentaho.core.runtime.RuntimeContext)
    Debug: Validating component for action start-process2.xaction (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Debug: Executing action sequence (org.pentaho.core.runtime.RuntimeContext)
    Debug: Executing action definition: Iteration 0 (org.pentaho.core.runtime.RuntimeContext)
    Debug: audit: instanceId=1861988f-7b79-11db-94a9-0d057e49a3f0, objectId=SharkWorkflowComponent, messageType=component_execution_started (org.pentaho.core.runtime.RuntimeContext)
    Debug: execute pre-audit (org.pentaho.core.runtime.RuntimeContext)
    Debug: Setting component log level to DEBUG (org.pentaho.core.runtime.RuntimeContext)
    Debug: Initializing component (org.pentaho.core.runtime.RuntimeContext)
    Debug: executeComponent starting audited execute (org.pentaho.core.runtime.RuntimeContext)
    Debug: execute validation=true (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Debug: execute packageName=JamesFlow1 processName=JamesFlow1_Wor1 (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Error: SharkWorkflow.ERROR_0003 - Requested process is not running - packageName=JamesFlow1 processName=JamesFlow1_Wor1 (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Error: SharkWorkflow.ERROR_0004 - Process id could not be determined for requested process - packageName=JamesFlow1 processName=JamesFlow1_Wor1 (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Error: SharkWorkflow.ERROR_0005 - Version number could not be determined for requested process - packageName=JamesFlow1 processName=JamesFlow1_Wor1 (org.pentaho.plugin.shark.SharkWorkflowComponent)
    Debug: executeComponent finished audited execute (org.pentaho.core.runtime.RuntimeContext)
    Error: RuntimeContext.ERROR_0012 - ActionDefinition for SharkWorkflowComponent did not execute successfully (org.pentaho.core.runtime.RuntimeContext)
    Debug: audit: instanceId=1861988f-7b79-11db-94a9-0d057e49a3f0, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_failed (org.pentaho.core.runtime.RuntimeContext)
    Error: SolutionEngine.ERROR_0007 - Action sequence execution failed (org.pentaho.core.solution.SolutionEngine)
    Have I missed out on something here?
    Best Regards,

    Check out my blog

  5. #5

    Default

    Hello,

    The problem is resolved. I had installed Pentaho in a path with space.

    Bye
    What does that mean? I'm having the same issue. How would putting a space somewhere randomly in a path fix the issue?

    Many thanks,
    Jason

  6. #6

    Default

    To get the Shark Workflow Engine to work I had to go to Admin and click the "More" button on the right then "Publish" for Shark Workflow Engine. I was then able to refresh the Shark Workflow Engine on the main Admin page.

    Hope this helps someone else out there.

    p.s. I think the user above means no whitespace in the installation path.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.