Error: ‘Invalid Argument provided. Java Server startup failure.’ when creating or refreshing a report using a JDBC

First make sure you have correct OJDBC or JDBC file.

Then copy that file to the java lib location, in my case D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib

Then open CRConfig.xml and add the path location as shows below

https://userapps.support.sap.com/sap/support/knowledge/en/1527666

https://userapps.support.sap.com/sap/support/knowledge/en/1219417