Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-6081

Error when configuring the file resource adapter using wildlfy 19 and teiid in Windows 10 environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 16.0
    • Common
    • None
    • Hide

      /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS:add(jndi-name=java:/fileDS, class-name=org.teiid.resource.adapter.file.FileManagedConnectionFactory, enabled=true, use-java-context=true)
      /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS/config-properties=Parentdirectory:add(value=${jboss.home.dir}/teiidfiles/)
      /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS/config-properties=AllowParentPaths:add(value=true)
      /subsystem=resource-adapters/resource-adapter=file:activate

      Show
      /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS:add(jndi-name=java:/fileDS, class-name=org.teiid.resource.adapter.file.FileManagedConnectionFactory, enabled=true, use-java-context=true) /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS/config-properties=Parentdirectory:add(value=${jboss.home.dir}/teiidfiles/) /subsystem=resource-adapters/resource-adapter=file/connection-definitions=fileDS/config-properties=AllowParentPaths:add(value=true) /subsystem=resource-adapters/resource-adapter= file:activate
    • Undefined

      I am getting the following error when configuring the resource-adapter for accessing Parquet files.

       

      {
      "outcome" => "failed",
      "failure-description" => {"WFLYCTL0080: Failed services" => {"jboss.ra.deployment.\"org.jboss.teiid.resource-adapter.file:main_file\"" => "WFLYJCA0046: Failed to start RA deployment [file]
      Caused by: org.jboss.jca.deployers.common.DeployException: IJ020060: Unable to inject: org.teiid.resource.adapter.file.FileManagedConnectionFactory property: Parentdirectory value: C:\\development
      wild
      fly-19.1.0.Final/teiidfiles/"}},
      "rolled-back" => true
      }

       

      Full error from the Wildfly console is shown below

      17:39:42,759 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-3) IJ020001: Required license terms for file:/C:/development/wildfly-19.1.0.Final/modules/system/layers/dv/org/jboss/teiid/resource-adapter/file/main/
      17:39:42,768 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool – 86) MSC000001: Failed to start service jboss.ra.deployment."org.jboss.teiid.resource-adapter.file:main_file": org.jboss.msc.service.StartException in service jboss.ra.deployment."org.jboss.teiid.resource-adapter.file:main_file": WFLYJCA0046: Failed to start RA deployment [file]
      at org.jboss.as.connector@19.1.0.Final//org.jboss.as.connector.services.resourceadapters.deployment.AbstractResourceAdapterDeploymentService$2.run(AbstractResourceAdapterDeploymentService.java:340)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      at java.base/java.lang.Thread.run(Thread.java:834)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
      Caused by: org.jboss.jca.deployers.common.DeployException: IJ020060: Unable to inject: org.teiid.resource.adapter.file.FileManagedConnectionFactory property: Parentdirectory value: C:\development\wildfly-19.1.0.Final/teiidfiles/
      at org.jboss.ironjacamar.impl@1.4.20.Final//org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer.createObjectsAndInjectValue(AbstractResourceAdapterDeployer.java:1406)
      at org.jboss.as.connector@19.1.0.Final//org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService$WildFlyRaXmlDeployer.doDeploy(ResourceAdapterXmlDeploymentService.java:190)
      at org.jboss.as.connector@19.1.0.Final//org.jboss.as.connector.services.resourceadapters.deployment.ResourceAdapterXmlDeploymentService.start(ResourceAdapterXmlDeploymentService.java:128)
      at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
      at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
      at org.jboss.msc@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      at java.base/java.lang.Thread.run(Thread.java:834)

      17:39:42,780 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("activate") failed - address: ([
      ("subsystem" => "resource-adapters"),
      ("resource-adapter" => "file")
      ]) - failure description: {"WFLYCTL0080: Failed services" =>

      {"jboss.ra.deployment.\"org.jboss.teiid.resource-adapter.file:main_file\"" => "WFLYJCA0046: Failed to start RA deployment [file] Caused by: org.jboss.jca.deployers.common.DeployException: IJ020060: Unable to inject: org.teiid.resource.adapter.file.FileManagedConnectionFactory property: Parentdirectory value: C:\\development\\wildfly-19.1.0.Final/teiidfiles/"}

      }

              rhn-engineering-shawkins Steven Hawkins
              himnaz@gmail.com Himesh Narana (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: