Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot run the application because deployment did not complete successfully.

3433694Apr 23 2017 — edited May 24 2017

Hello house,

Please i just installed MAF in JDeveloper. i am so enthusiastics to start using this plartform for my mobile application as i believ its better than Android studio.

however for days now i have been finding it hard to set up, but by the help i had from the community i have gone far a little.

these are the recent problems i have :

1, i have installed an JDK 1.8 and have specified my PATH in my Variabkes etc, but i am very confused if jdk does the same work as the SDK that i was usign in Android studio

2, i have bee asked to specify my SDK path in the reference in jdeveloper MAF i specified the part for my JDK which is supposed to be this ( C:\Program Files\Java\jdk1.8.0_121 ) . the in the amdroid build tool location i put this (C:\Program Files\Java\jdk1.8.0_121\lib) believing that the tools.jar is what is being targeted in the folder.

each time i click ok this shows up "UNABLE TO LOCATE ANDROID SDK IN THE SPECIFIED LOCATION C:\Program Files\Java\jdk1.8.0_121. SETTING THIS VALUE INCORRECTLY MAY CAUSE DEPLOYMENT TO FAIL. DO YOU WANT TO USE THE SPECIFIED ANDROID SDK LOCATION ANYWAY?

if i click yes it will still not change the android build tool location .

PLEASE NOTE THE I DID NOT INSTATLL ANDROID-SDK INSTEAD I INSTALLED JDK.1.8..I COULD NOT FIND ANY STAND ALONE SDK AGAIN EVEN IN ANDROID WEBSITE IT NOT COMES WITH THE ANDROID STUDIO I THINK

preferences2.PNGpreferences.PNG

3, whenever i rum or debug the application this is what happens..

[10:27:24 PM] Validating run configuration...

[10:27:24 PM] Deploying application...

[10:27:25 PM] ---- Deployment started. ----

[10:27:25 PM] Target platform is (Android).

[10:27:25 PM] Beginning deployment of MAF applicatiMy APP" to Android emulator using profile "Android1".

[10:27:25 PM] Capturing initial state of MAF application source files in application scope for future just-in-time "Clean All" analysis.

[10:27:25 PM] Unable to determine if application-wide files have changed since a previous deployment. This will require a just-in-time "Clean All" on MAF application build and deployment content to ensure a good deployment.

[10:27:25 PM] Deployment cancelled.

[10:27:25 PM] ---- Deployment incomplete ----.

[10:27:25 PM] An error occurred when determining if the application configuration changed sufficiently to require a just-in-time "Clean All" on the build and deployment content of MAF application Medroid. Encountered exception: Failed to get data to populate file config.json..

[10:27:25 PM] Failed to get data to populate file config.json.

[10:27:25 PM] C:\Program Files\Android\adt-bundle-windows-x86_64\sdk\build-tools\Android-4.4\source.properties (The system cannot find the path specified)

[10:27:25 PM] Cannot run the application because deployment did not complete successfully.

preferences3.PNG

4, i domt kmow how to startup the emulartor bcos inhave always deployed to my device when i used android studio

thanks pls i need t start work ...thanks a lot

Comments

21205
Answer
Welcome to the forum!

You can't pass the complete row
you can pass individual column values, so it would be something like
create or replace trigger logTrigger after update on test_table for each row
begin
   logProcedure(:old.col1, :new.col1);
end;
Marked as Answer by herzal · Sep 27 2020
21205
or something like this
create or replace trigger logTrigger after update on test_table for each row
declare
   old_row test_table%rowtype;
   new_row test_table%rowtype;
begin
   old_row.col1 := :old.col1;
   ....
   new_row.col1 := :new.col1;

   logProcedure(old_row, new_row);
end;
herzal
wow, that was quick o_O

thanks for your reply.

I'll explain my problem: we have more than 300 tables and every insert/update/delete should be logged, so I need more than 300 triggers. I want to avoid that the trigger has to be rewritten every time the structure of the table changes. So I thouht I use a trigger and a log-procedure. The only things the trigger does are checking if the log-procedure is up2date, recreating the log-procedure if necessary, and calling the log-procedure with :old and :new as parameters.

But since that doesn't work: any suggestions how to solve that?

thanks for your help =) (sitting here with my stop watch)
21205
Before writing your own implementation, check auditing.


sorry for the delay, but I had to run out do some groceries, feed the cat and debug some applications...
;)

Edited by: Alex Nuijten on Aug 13, 2009 1:03 PM
21205
maybe something like http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm#sthref1769
herzal
thanks your your help, Alex =) but auditing is no option. I think I will end up using a DDL-trigger that recreates the log-triggers and then the log-triggers do the logging.
21205
doing it with DDL triggers might proof quite tricky.
It would be pretty straight forward to write your own generator to create these triggers. Or take a look at codegen, a utility to generate source code.
http://codegen.inside.quest.com/index.jspa
herzal
thanks, I will have a look ;)
1 - 8

Post Details

Added on Apr 23 2017
2 comments
952 views