smenon69
Active Member
Hi All,
I have a BSSV that is compiled successfully that I wanted to test locally before deploying to the server. I am using test method to call the main logic but the BSSV gives error.
=================================================================
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
====================================================================
Below is the test method that is used to run locally that is within the main. XML is the file that is created from the data
structure that is used. I am passing data via XML to test the Service.
========================================================
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();
}
}
Any inputs would be appreciated. We are using 9.2. tool release 9.2.3.5, JDEVELOPER - 12.2.1.3.0, Java - 1.8
Thanks
Satish
I have a BSSV that is compiled successfully that I wanted to test locally before deploying to the server. I am using test method to call the main logic but the BSSV gives error.
=================================================================
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
====================================================================
Below is the test method that is used to run locally that is within the main. XML is the file that is created from the data
structure that is used. I am passing data via XML to test the Service.
========================================================
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();
}
}
Any inputs would be appreciated. We are using 9.2. tool release 9.2.3.5, JDEVELOPER - 12.2.1.3.0, Java - 1.8
Thanks
Satish