Unable to execute the batch file from DB Trigger
I have created the following java source and procedure. I am able to execute normal dos commands but I am not able to open the internet explorer.
Please help me. Thanks in advance.
CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED Command
AS
import java.io.*;
import java.util.*;
public class Command{
public static void run(String cmdText)
throws IOException, InterruptedException
{
int rtn;
Runtime rt = Runtime.getRuntime();
Process prcs = rt.exec(cmdText);
rtn = prcs.waitFor();
}
}
/
CREATE OR REPLACE PROCEDURE runoscommand(cmd IN VARCHAR2)