Hello ADF users,
I was setting up View Objects in application modules and sometimes the Oracle ADF Model Tester window shows up and other times it doesn't. I was able to debug the issue by viewing the log output of the bc4j tester program. I set the logging on by going to model->project properties->run/debug->Run Configurations:Default edit (pencil icon)->Java Options: -Djbo.debugoutput=console->OK.
After doing the above I saw all the output of the bc4j tester program complete with numbers line by line looking like this..
/home/john/Oracle/Middleware/Oracle_Home2/oracle_common/jdk/bin/java -server -classpath /home/john/Oracle/Middleware/Oracle_Home2/oracle_common/jdk/jre/lib/resources.jar:/home/john/Oracle/Middleware/Oracle_
...
-Djavax.net.ssl.trustStore=/tmp/trustStore7502364636779724201.jks -Djbo.debugoutput=console -XX:MaxPermSize=128M -Duser.language=en -Duser.country=US -Dbc4j.tester.adflib.jars.list=/home/john/jdeveloper/mywork/UpLib/adflibUpCommonCode.jar -Doracle.security.jps.config=/home/john/jdeveloper/mywork/Application3/src/META-INF/jps-config.xml -Dbc4jtester_port=23332 -Djdev.range=90 -Dmodel_project_file_path=/home/john/jdeveloper/mywork/Application3/Model/Model.jpr -Doracle.mds.cache=simple oracle.jbo.jbotester.MainFrame -X 15CF5502227
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
Diagnostics: (BC4J Bootstrap) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:3
[01] JavaVMVersion: 25.101-b13
[02] JavaVMVendor: Oracle Corporation
[03] JavaVMName: Java HotSpot(TM) 64-Bit Server VM
...
This continued until I saw the error causing my bc4j tester window not to show. In my case, it was the lack of a password on the postgresql database connection. I solved it by deleting the current database connection and re-adding the database connection. After that I was able to get the bc4j tester window to show with the data for the view objects and view links for my linked tables.
I hope this helps others who had problems debugging the bc4j tester program especially with the window not showing up.
Solution: Add to Run/Debug settings under project properties: Java Options: -Djbo.debugoutput=console