Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.1-Beta, 3.5.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windows 7, java 8

    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      No
    • Affects Docs:
      Yes

      Description

      1-Create a JAR to be executed by a schedule task
      2-Past the file in DSS_HOME/repository/components/lib
      3-Create a schedule task with "com.example.DssSchedlueTask.ScheduledDataTask_abcCompany" into DataService Task Class field

      Iget the following error:
      INFO

      {org.quartz.core.JobRunShell}

      - Job TENANT_-1234_TYPE_DATA_SERVICE_TASK.ScheduleTest threw a JobExecutionException: org.quartz.JobExecutionException: Error in executing task: Error in initializing Data Task: sample.Test cannot be found by org.wso2.carbon.dataservices.task_4.3.4 [See nested exception: java.lang.RuntimeException: Error in initializing Data Task: sample.Test cannot be found by org.wso2.carbon.dataservices.task_4.3.4] at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:74) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: Error in initializing Data Task: sample.Test cannot be found by org.wso2.carbon.dataservices.task_4.3.4 at org.wso2.carbon.dataservices.task.DSTaskExt.init(DSTaskExt.java:42) at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:66) ... 6 more Caused by: java.lang.ClassNotFoundException: sample.Test cannot be found by org.wso2.carbon.dataservices.task_4.3.4 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.wso2.carbon.dataservices.task.DSTaskExt.init(DSTaskExt.java:36) ... 7 more

        Attachments

          Activity

            People

            • Assignee:
              madhawag@wso2.com Madhawa Gunasekara
              Reporter:
              bentfckuhn@hotmail.com benoit kuhn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: