E9.2 BSSV Error when testing locally using test method

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
 

BOster

Legendary Poster
To save you some time. From our JDeveloper installation guide for JDev 12.2.1.3 on TR9.2 here are all the following patches:

Update OPatch - p28186730_139422_Generic.zip Oracle Doc ID: 2333019.1

Fix Running Java Process in JDEveloper - p27073329_122130_Generic.zip Oracle Doc ID: 2330982.1



Also, depending on your JDE TR level you can run JDeveloper 64bit, which luckily for us, we can since I was running into issues running that version of JDev on 32bit which officially is not supported.
 

smenon69

Active Member
To save you some time. From our JDeveloper installation guide for JDev 12.2.1.3 on TR9.2 here are all the following patches:

Update OPatch - p28186730_139422_Generic.zip Oracle Doc ID: 2333019.1

Fix Running Java Process in JDEveloper - p27073329_122130_Generic.zip Oracle Doc ID: 2330982.1



Also, depending on your JDE TR level you can run JDeveloper 64bit, which luckily for us, we can since I was running into issues running that version of JDev on 32bit which officially is not supported.
Thank you Boster for the input.
 
Top