Start external application with oracle job
I'm trying to start external program with oracle job.
Here is an example (I used SYS as SYSDBA):
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'my_job',
job_type => 'executable',
job_action => 'C:/WINDOWS/system32/cmd.exe',
enabled => true,
auto_drop => false );
END;
But job STATE comes FAILED.
How should I do this?
Result was not better when I used
BEGIN
DBMS_SCHEDULER.CREATE_PROGRAM (
program_name => 'my_prg',
program_type => 'EXECUTABLE',
program_action => 'C:/WINDOWS/system32/cmd.exe',
enabled=>TRUE);
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'my_job',
program_name => 'my_prg',
enabled => TRUE,
auto_drop => false );
END;
Edited by: user458393 on Feb 16, 2010 1:55 AM
Take a look at this thread: Running a Windows BAT file using DBMS_SCHEDULER
C.
Similar Messages
-
[Problem]Registering "External Applications" in Oracle Portal
We want to register an external application (simple HTML based login application) with Oracle Portal 10.1.4. We followed the steps documented and registered the external application. We did provide the necessary credentials and checked the remember credentials check box.
We added the External Application Portlet which provides a link to the added application. However, everytime we click the link , instead of automatically logging into external application , we are shown the external application login screen.
Our environment: Oracle 10.1.4 Portal ; Oracle 10.1.2 Appserver
Appreciate any help to solve the problem.
ThanksHey 619948:
These can be tricky to track down. Typically, there are 1 or more form fields missing from the external application that the actual application needs to log you in. Here's the flow I use to setup external apps.
1) Go to login page of the external app and view the page source
2) Find the URL in the action address of the <FORM tag or in the JavaScript used for submitting the form
3) Find every form input including <INPUT, <SELECT, etc and note their names and their values (if any). This includes hidden ones
4) The tricky part -- try to make an educated guess as to which fields are required and which ones are optional. This is not always obvious
5) Setup your external application with the Action URL as the URL, the username and password fields where indicated and adding in any extra fields identified in step 4
If that still doesn't do the trick, I use the Web Developer plugin for Firefox to change the POST (if that is what is used for logging in) to a GET so I can see the exact fields being submitted on the application's login page. Sometimes, it may be an obscure button like submit=submit.
Finally, some applications just don't play well with externally logging in. This is one of the cases where it really isn't Oracle Portal's doing. Some apps just have so much coding and scripts etc. on their login page that you just can't login except through thier page.
Rgds/Mark M. -
How to start a application with a login window?
hi there
does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
<code>
// set up thread for login window
new Thread(new Runnable() {
public void run() {
// construct your login window here
// when you are done processing the
// password....
if(goodPassword) {
authorized = true; // a global variable
notifyAll(); // don't forget this
else {
System.exit(42);
}).start();
// control does not stop this code gets executed while
// the above thread is running.
// Set up main program here. This is done in the
// backround.
while(!authorized) {
synchronized(this)
{ wait(50); }
// now when the user logs in this frame pops
// up real quick.
myFrame.setVisible(true);
</code>
Hope you can figure it out.. good luck :) -
Registering a Partner application with Oracle SSO 10gR2
Hi Everybody
I'd like to ask a question around registering a partner application with Oracle SSO.
I have entered my home_url, logout_url and cancel_url e.g. home_url is https://vevopuitest1.co.uk/vevo_test1 and so on for the other fields.
When I save the details some information is automatically created e.g. Site Id, Site Token etc.
The bit that I am particularly interested in are the fields Single Sign-On URL and Single Sign-Off URL.
For my purposes these fields are respectively: https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_login and https://cwassotest1.co.uk/pls/orasso/orasso.wwsso_app_admin.ls_logout
My questions are:
1. Where do these values come from?
2. Can I view them anywhere, say, in Oracle Directory Manager or using ldif queries?
I would like to be able to verify these values.
Many Thanks
AndyI'm afraid this won't answer your question completely, but AFAIK in principle it does not matter on which machine SSO is running, as long as it passes the user id and credentials properly through the HTTP Header. Even more: in practice it is very common to have SSO running on a different machine than where your app runs.
So what I would do is find out how to use ADF Faces with SSO. Perhaps someone else can provide pointers on that.
Jan Kettenis -
Is it possible to run Oracle 6i application with Oracle 11g?
HI,
We are running oracle developer 6i (6.0) application with oracle 10g database.
Due to some management decisions we are in planning to upgrade the database to 11g.
So, tell us that Is it possible to run Oracle 6i application with Oracle 11g?
Regards,
fazijeeAlso see Oracle Support note
Is Forms/Reports 6i Certified to Work Against Oracle Server 10g Rel 1, Rel 2 or 11gRel 1, Rel 2? [ID 338513.1]
6i isn't certified nor will be certified against 10.2 and 11.x
Hemant K Chitale -
Integrate Web application with Oracle BPM
Hi,
Can you guide me in achieving the following scenario:
1. Integration web application with oracle BPM
Say, I have a application where I need to trigger an event to call Oracle BPM. For ex: On click of submit button call the Oracle BPM workflow to do some process and then revert back to the same application with an alert or status message. Please let me know the steps to acheive this.
Thanks
STHi,
I take from this description that you currently have your Web Application and you would possibly like to trigger or create an instance into an OBPM business process. If this is the case, you have several options available here:
a) Use PAPI (Java API).
b) Use PAPI-Ws (SOAP API).
c) Use some sort of communication channel that the process is implemented to listen (for example a JMS Queue or Topic).
For the first 2, you can try to take a look into the official Documentation page for OBPM through this link: http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/index.html (Check the For Developers section).
If I have miss interpreted your question, please do not hesitate to provide more details.
Cheers,
eduardoc. -
Integrating a jsp application with oracle workflow
Hi,
I would like to integrate a jsp application with oracle workflow.
My jsp application use BC4J, and if i want to use the java
interface of workflow i need to have the java.Sql.Connection of
my application.
There are a way of getting this Connection in the BC4J?
thanks
rjcYou can check the source code at:
http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/text.920/a96517/acase.htm#632511
You can also use the JDeveloper wizards that can generate JSP code. You can download them from: http://otn.oracle.com/products/text/
and then click on software (left frame). -
Developer2000 application with Oracle 8i AND 9iDS
Hello,
We have a large application written in Developer 2000 and Oracle8i. We got three new products : Oracle 9i database, Oracle 9iAS and Oracle 9iDS (developer Suite).
I have the following questions :
(1) Can I compile and run my dev2k application with 9iDS (forms and reports dveloper) and view through a browser over the web ? Someone suggested that we can. I like to verify.
(2) What is the relationship of 9iDS with 9iAS ? Can I just install 9iDS and backend Oracle database and run my application (without 9iAS) ? This is very important for me.
(3) Can 9iAS talk to Oracle 8i seamlessly or we have to have Oracle 9i database in the backend ? Oracle 9i database has a large footprint and it needs Itenium 2 for executions which we do not have.
PLEASE HELP ME BY ANSWERING THESE QUESTIONS.
Thanks,
Shyam Sarkar
[email protected]quick answers:
1. Yes
2. you can develop with 9iDS and be able to "view" what you developed with it. When it comes to deployment, then you need 9iAS Enterprise Edition (the only version which has forms/reports services). Another words, you need license for both 9iDS and 9iAS EE.
3. I just verified from Metalink (only for the solaris platform) that 9iAS is certified against 9i and 8.1.7 database servers. For other platforms, please check Metalink.
hope this proves useful.
regards
Zafer AKTAN
Oracle DBA/Developer -
How can I start any application with buttons
Hello, I want to start any kind of applications with Buttons. I want to make me a GUI with buttons and with one button I want to start Outlook, but I dont know how this will work!
THX for your helpRuntime class exec methods
If your Outlook executable is in different path ... import java.io.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Test2 extends JFrame implements ActionListener
public Test2()
super("Test");
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(300, 200);
JButton b = new JButton("Outlook Express");
b.addActionListener(this);
getContentPane().setLayout(new FlowLayout());
getContentPane().add(b);
public void actionPerformed(ActionEvent e)
try{
Runtime runTime = Runtime.getRuntime();
Process proc = runTime.exec
("C:\\Program Files\\Outlook Express\\msimn.exe");
proc.waitFor();
}catch(IOException ioe){System.out.println("Wham");}
catch(InterruptedException ie){System.out.println("Bop");}
public static void main(String[] args)
new Test2().setVisible(true);
} -
Is it possible to start an application with parameters
Hello together,
I have written an application which is stored on a network. People from different computer start it to work with it. Now I have the problem, that I need some different configurations on each computer.
Is it possible to start a labview application with parameters, like: application.exe -User_1
The application should check the parametes and should switch to the needed configuration.
Thanks a lot and best regards,
Michael
Solved!
Go to Solution.Hi Michael,
yes it is possible. First you have to activate the data transfer of your parameters. You can do it in the application builder. It is something like "send command line parameters to exe" which you have to activate. You will get the parameter in your program with the property "App.Args". It is an array with the exe name as the first element and one entry for each additional linked parameter.
Hope it helps.
Mike -
Developer2000 application with Oracle 8i
Hello,
I have a large application written in developer 2000 with backend Oracle 8i. My question is whether the same application can run on top of Oracle 10g or not.
Please let me know.
Thanks,
s. sarkar
[email protected]If you have a support contract with Oracle you can check Metalink under Certify and Availability.
I did a quick check and it looks like the last version of the database supported for Developer 2000 is 8.1.6. You should probably look into using Forms 6i or 9i. -
How to start external application
how do i start external process like notepad.exe or is there
any mechanism to reload air application
Does air supports this?
thanksHi,
AIR 1.1 does not support launching external processes or
reloading itself (though an HTML AIR app can). -
How To Integrate ADF Application with Oracle Fusion Middleware Audit Fmwk ?
Hi All,
I'm having ADF/ADF Face Application (using Jdev 11.1.1.5) and want to integrate it with Oracle Fusion Middleware Audit Framework.
I want to generate audit records by using oracle.security.jps.service.audit API and also want that Audit Policy
for my Application will be visible and manageable through FusionMiddlewareControl (as well as othe admin tools)
on the same way how it is for the OPSS services for example.
Unfortunately i didn't find any detailed docs for the topics above. In the Oracle Fusion Middleware Security Guide,
it is steated only that:
"Stand-alone applications can be integrate d with the Oracle Fusion Middleware Audit Framework through configuration with the jps-config.xml file."
, but nothing in details.
Can somebody help with this, giving some more detailed info or links to the appropriate detailed documentation(if any) ?
Thanks in advance,
Krasimirdeepak - why not link to the real documentation instead of that site that illegally publishes stuff?
Krasimir - I had a look at this a long way back, and didn't explore it much further because I reached a dead end in trying to figure out how it worked. It seems to me that the function is there and may be used internally within Oracle, but that it's not documented well enough for we mere mortals of the public to use it.
Have you tried opening an SR with Support? They won't know, but they will be able to raise it up and perhaps find someone who does know - be sure to reference this thread in your SR if you go that route.
John -
Hi,
I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
Thank you.In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server. Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation. We also have a doc on the different mobile clients. Chap 2 of that guide covers installs and integration of an android app.
thanks
mike -
Invoke external application from Oracle Application Form
Hi,
I need to invoke external application such as AutoCAD from Oracle Apps Form. Does anyone know how this could be done.
Form Version : 12.0.11.12010000.2
Oracle Applications Release R12.
Thanks,
AshYou can use DDE.App_Begin to open apps such as MS word.
Try and see if it works for you.
The other option is you add a menu option (called Launch Autocad) using personalization.
And then use personalization to launch a web page. This assumes that Autocad app is available as a web service.
Hope this helps,
Sandeep Gandhi
Maybe you are looking for
-
MacBook Pro to Panasonic Plasma HDMI
Hello: I want to connect video out to my Panasonic ... how do I do this? Thanks
-
Mail doesn't send mail anymore
All of a sudden my mail accounts will not send mail. At first I thought it was the size of the actual message or attachments being sent.... nope. doesn't matter if its a 10mb attachment or a 3kb message it just gets sent to the outbox folder for all
-
Macbook Pro screen has dim light beams
On boot up, my Macook Pro's screen appears to have light beams shinning up from the bottom .. as if every other light beam is off causing the overall screen brightness to be dimmer than normal. This only happens about every third boot up so I doubt i
-
Mail not sending on initial try
A few weeks ago for no specific reason, every time I go to send mail a window would pop up and ask which server to use. Then another window would pop up and say that the server did not recognize address and the mail would be put in the outbox. I open
-
How do i get an itunes library from a phone when the computer has crashed and it needs to go on a new computer