E9.2 Unable to Test BSSV locally using Test Method

smenon69

Active Member
Hi All,

I have a internal BSSV that compiles normally. I am trying to test the BSSV locally by calling via TEST method and passing data that is required by XML. When running Debug option it gives me below error. We are in 9.2 tool release 9.2.3.5, JDEVELOPER - 12.2.1.3.0, Java - 1.8

{The target J5598213.jpr cannot be started because an exception was thrown: java.io.IOException: Cannot run program "E:\java\jdk8\bin\javaw.exe" (in directory "E:\E920\DV920\Java\source\com\dt\bssv\J5598213"): CreateProcess error=206, The filename or extension is too long }

Any input would be appreciated. Below is Test method code that is calling the main logic. It's reading the XML file that is generated from the Data Structure that is used. J5598213.ReprintSTLabel (method - getReprintSTLBL) is the main logic.

============================================================================
public static void main(String[] args) throws BusinessServiceException {
try {
//Call required before running a test harness using application (main()).
TestBusinessService.startTest();

String file = "E:\\E920\\DV920\\java\\source\\com\\dt\\bssv\\J5598213\\valueobject\\ReprintMediaFile.xml";

//TODO: call test methods
TestBusinessService.callBSSVWithXMLFile("com.dt.bssv.J5598213.ReprintSTLabel",
"getReprintSTLBL",
file,
IConnection.AUTO);

} finally {
//Call required after test is complete.
TestBusinessService.finishTest();
}
}

Thank you
Satish
 
Hello,

Please refer Oracle Doc ID 2644887.1 for solution.

Thanks
Gautam
JDE 9.2, Tools Rel: 9.2.5.1
 
Back
Top