Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Facing error with 7.3 for build job - The input line is too long.

Facing error with 7.3 for build job - The input line is too long for the batch file. 

I successfully upgraded version from 6.5 to 7.3, import an existing project, installed all the required components and in the studio job works perfectly.

After that, I built a job with absolutely the same config as it was in 6.5 version

But when I try to start it from the command line with the .bat file I'm getting an error: 

The input line is too long. 

And the content of the bat file is really longer than it was before in 6.5

 

Is it possible to reduce the number of declared jar links?

 

Thanks in advance. 

 

UPD

I found that many libraries are duplicated. Is there any way to eliminate this?

../lib/auto-common-0.3.jar;
../lib/auto-common-0.3.jar;
../lib/auto-common-0.3.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/auto-service-1.0-rc2.jar;
../lib/avatica-core-1.11.0.jar;
../lib/avatica-metrics-1.11.0.jar;
../lib/avro-1.8.1.jar;
../lib/avro-1.8.1.jar;
../lib/avro-1.8.1.jar;
../lib/bcprov-jdk15on-1.60.jar;
../lib/calcite-core-1.16.0.jar;
../lib/calcite-linq4j-1.16.0.jar;
../lib/cdata.jdbc.sageintacct.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-beanutils-1.9.3.jar;
../lib/commons-codec-1.10.jar;
../lib/commons-codec-1.10.jar;
../lib/commons-codec-1.10.jar;

 

Labels (2)
2 Replies
sgoppa
Employee
Employee

Hello,

"The input line is too long " , please check with other job builds to confirm the script is not corrupted.

 

Regards,

Swetha.

 

EV89
Contributor III
Contributor III

What is the max length of a string in ".bat" or ".cmd"? [duplicate]

2047 characters in 32-bit operating system.

8191 characters in 64-bit operating system.

try to catch the bat lenght if you obtain input line is too long error

 

regards