Yes: either set or configure the IDocRepository.
I suggest to configure the property jco.server.repository_destination=<DESTINATION_NAME> for your server as already recommended to you here:
Problem migration from SAP JCO 2.1 to SAP JCO 3.0
Best regards,
Stefan