-
1. Re: Ftp/Ftps Data Sources not working using CLI.
Van Halbert Dec 21, 2017 8:14 AM (in response to kulbhushan chaskar)Before you ran the CLI commands, did you enable this property: <resolve-parameter-values>false</resolve-parameter-values>
in the jboss-cli.xml file so that the parameters, like
${jndi.name}, can be resolved?
-
2. Re: Ftp/Ftps Data Sources not working using CLI.
Ramesh Reddy Dec 23, 2017 2:06 PM (in response to kulbhushan chaskar)You are missing class name property. You need provide all properties from the link you specified above in the Java code. The Java code you are writing is exactly writing same properties as the CLI properties defined on the link.
-
3. Re: Ftp/Ftps Data Sources not working using CLI.
kulbhushan chaskar Dec 26, 2017 12:19 AM (in response to Ramesh Reddy)Ramesh/Van
I am not using any java code to set these configurations. I am trying to set those only through CLI if I am able to set the things using CLI then I can go with java implementation of it.
I tried setting <resolve-parameter-values>false</resolve-parameter-values> i.e. <resolve-parameter-values>false</resolve-parameter-values> changed to <resolve-parameter-values>true</resolve-parameter-values> but I am still getting same error.
/subsystem=resource-adapters/resource-adapter=ftp/connection-definitions=ftpDS/config-properties=Port:add(value=${21}")
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0155: class-name may not be null",
"rolled-back" => true
}
-
4. Re: Ftp/Ftps Data Sources not working using CLI.
Van Halbert Dec 28, 2017 2:18 PM (in response to kulbhushan chaskar)Did you try running the cli script from the command line using the following example command:
./jboss-cli.sh -c --file=create-file-ds.cli --properties=create-file-ds.properties
This is the example in the docs/teiid/datasources/file. If you don't wish to use the -properties option, update the create-file-ds.cli script with the corresponding property values.