Compiling form from command prompt...
hi all,,
Can any one tell me, :how to compile a form
from command prompt..
It would be appreciable if i can get an answer for this...
Thanks and regards.
You could use ORACLE_HOME\bin\ifcmp90.exe ........ (for 9i/10g) or ORACLE_HOME\bin\frmcmp.exe....... (for 10gR2).
with the option batch=yes
Similar Messages
-
How to run form from command prompt
Hi,
How to run a form from command prompt
can anybody suggest me the way
prasanth a.s.Well, if you are running windows, client server forms 6i, and your form is called 'myform', you could put this into a batch file :-
start ifrun60 module=myform -
Not able to compile from command prompt
Hi,
I have a javafx class which calls java object. I'm able to compile project from NetBeans but not from command prompt.
When i compile from command prompt compiler shows error saying it can not identify symbol (treats java class name as symbol).
I have already compiled my java class, and is in same dir as my java fx class.
Any reason for such beahviour?? and some solution plsssimport java.lang.Math;
import javafx.application.*;
import javafx.input.*;
import javafx.scene.*;
import java.lang.System;
import com.sun.javafx.runtime.sequence.*;
import java.util.Iterator;
import dekoh.photo.command.ImageService;
public class ImageRotater extends CustomNode{
public attribute image: Image;
public attribute x: Number;
public attribute y: Number;
public attribute angle: Number;
private attribute startX: Number = 0.0;
private attribute startY: Number = 0.0;
private attribute startA: Number = 0.0;
private attribute moverOpacity: Number;
private attribute rotatorOpacity: Number;
private function toggle(mo:Boolean, ro:Boolean): Void {
moverOpacity = if (mo) 0.5 else 0.0;
rotatorOpacity = if (ro) 0.5 else 0.0;
public function create(): Node {
var cx = image.width / 2.0;
var cy = image.height / 2.0;
var mover = Circle {
cursor: Cursor.CROSSHAIR,
radius: 20,
centerX: cx, centerY: cy,
anchorX: bind x + cx,
anchorY: bind y + cy,
fill: bind Color.rgb(200, 200, 255, moverOpacity),
onMouseMoved: function(e:MouseEvent):Void {
toggle(true,false);
onMouseExited: function(e:MouseEvent):Void {
toggle(false,false);
onMousePressed: function(e:MouseEvent):Void {
toggle(true,false);
startX = e.getStageX();
startY = e.getStageY();
onMouseDragged: function(e:MouseEvent):Void {
toggle(true,false);
x = x + e.getStageX() - startX;
y = y + e.getStageY() - startY;
startX = e.getStageX();
startY = e.getStageY();
var rotator = ShapeSubtract {
cursor: Cursor.HAND,
fill: bind Color.rgb(200, 200, 255, rotatorOpacity),
onMouseExited: function(e:MouseEvent):Void {
toggle(false,false);
a: Circle {
centerX: cx, centerY: cy, radius: mover.radius * 3.0,
b: Circle {
centerX: cx, centerY: cy, radius: mover.radius,
var border = Rectangle{
width: image.width, height: image.height
arcWidth: 20, arcHeight: 20,
return Group {
anchorX: cx, anchorY: cy,
rotate: bind angle,
translateX: bind x,
translateY: bind y,
content: [ ImageView {
clip: border,
image: image, clipAntialiased: true,
}, DelegateShape {
shape: border,
stroke: Color.rgb(200, 200, 200, 1.0), strokeWidth: 4,
}, rotator, mover ]
var contents:ImageRotater[] = [];
var i = 0;
var urls = ImageService.getUrlList(); // calling static method of java class
var j=0;
while(j<urls.size()){
var img:Images = urls.get(j) as Images; // another java class.
var imgRot = ImageRotater {
image: Image { url: img.getUrl() },
x:img.getX(), y:img.getY(), angle:90
insert imgRot into contents;
j++;
Frame {
title: "JavaFX"
width: 1080, height: 480
visible: true
closeAction: function() {
java.lang.System.exit(0);
stage: Stage {
fill: null
content: contents
On Compiling from command prompt
F:\dekohv6\butterfly\installer\samples\picApp\src\dekoh\photo\command>javafxc ImageRotater.fx
ImageRotater.fx:17: cannot find symbol
symbol : class ImageService
location: package dekoh.photo.command
import dekoh.photo.command.ImageService;
^
ImageRotater.fx:115: cannot find symbol
symbol : variable ImageService
location: class dekoh.photo.command.ImageRotater
var urls = ImageService.getUrlList();
^
ImageRotater.fx:118: cannot find symbol
symbol : variable Images
location: class dekoh.photo.command.ImageRotater
var img:Images = urls.get(j) as Images;
^
ImageRotater.fx:118: cannot find symbol
symbol : variable Images
location: class dekoh.photo.command.ImageRotater
var img:Images = urls.get(j) as Images;
^ -
Test Execution hangs while executing a test from Command prompt option
I have done the following
1) Created a script Test driver
2) Added different scripts as Script->Properties->Assets to the driver script
3) Call each of this asset script from TestDriver using command getScript("<<ScrptName>>".run(1, true, true, true);
4) Now calling this TestDriver script from command prompt with command
e:\\OracleATS\\agent
runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriver
TestDriver.jwg
The script execution hangs at "Initializing VU 1 for Script TestDriver. After few mintues of seeing this message i get error "Execution Timed Out".
Do I need to keep openscript UI open for script execution from command line ?
Is there any way to increase this Execution Time out ? May be it is taking time to load the internal script assets. AS other scripts are running fine on the same machine from command prompt itself.
Complete error is as follows
C:\Documents and Settings\oracle>e:\\OracleATS\\agent\\runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriv
er\\TestDriver.jwg
Running "TestDriver" ...
Agent started. Available commands:
stop - Stop the virtual user after it finishes the current iteration.
abort - Abort the virtual user cleanly, before it finishes the current itera
tion.
exit - Terminate the process immediately
You may type the above commands at any time.
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
12:17:53,465 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
12:17:53,856 INFO [1] Initialized script service "oracle.oats.scripting.modules.datatable.api.DataTableService"
12:17:53,856 INFO [1] Initializing VU 1 for script TestDriver
Execution Timed Out.Hi e_raja_sekar,
You wrote:
public static void main(String args){should be
public static void main(String args[]){Granted, the below code was tested on Windows XP using J2SE SDK 1.4.1_02 (and not 1.2.2 like Sridhar is using), but when I compiled and executed this code:
public class BadMain {
public static void main(String args) {
System.out.println("Hello World");
}The output I got was:
Exception in thread "main" java.lang.NoSuchMethodError: mainSo I don't think this is Sridhar's problem (but I could be wrong) since he says that he gets no error message.
Cheers,
Avi. -
Call an ABAP program or a function module from command prompt/python script
Dear All,
I want to call a function module/ABAP program from command prompt or a python script.
Let me explain with an example.
There is a function module "z_add" that takes two integers as input parameters and generates their sum.
the sum is the output parameter.
Now i want to call this function module from command prompt / python script and pass parameters to this function module.
In return i must get the sum(i.e. the output of function module).
I tried using STARTRFC ,was able to call the FM but could not get the return value(output) from FM.
Can you please provide me the code of such a function module and the method to call it thereby passing parameters and getting the sum.
Thanks and regards,
Gaurav
Edited by: gauravkec2005 on Mar 4, 2010 7:41 AMthank you both! helpful answers! :o)
anyway!
i have written the program which is called from the SAPScript:
/: PERFORM GET_VATNUMBER IN PROGRAM ZFI_F140_OPERATIONS
/: USING &BKPF-BUKRS&
/: CHANGING &VATNUMBER&
CE VAT Registration No : &VATNUMBER&
REPORT zfi_f140_operations.
FORM get_vatnumber TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
DATA: lv_co_code TYPE bukrs,
lv_vat_no TYPE stceg.
READ TABLE in_par WITH KEY name = 'BKPF-BUKRS'.
MOVE in_par-value TO lv_co_code.
SELECT SINGLE stceg FROM t001
INTO lv_vat_no WHERE bukrs = lv_co_code.
out_par-name = 'VATNUMBER'.
WRITE lv_vat_no TO out_par-value.
CONDENSE out_par-value.
MODIFY out_par INDEX 1.
ENDFORM.
it is not working and i cannot work out why...
i have not been ABAPing for very long but have had a go....
any thoughts as to what i have done wrong?
or point me where i should be looking? thank you! -
Compiling packages from command line
hi...good morning all...
I want to compile 5 packages from command prompt..
I have written a batch file like this...
d:
call sqlplus -s scott/tiger@ora11g @package1.sql
call sqlplus -s scott/tiger@ora11g @package2.sql
call sqlplus -s scott/tiger@ora11g @package3.sql
call sqlplus -s scott/tiger@ora11g @package4.sql
call sqlplus -s scott/tiger@ora11g @package5.sql
pause
exit
But it is not running...only the package 1 is getting compiled after putting a '/' after the prompt "call sqlplus -s scott/tiger@ora11g @package1.sql"..
But the rest of the packages are not getting compiled..it is not throwing any error also...I have kept the 5 package bodies in the D drive...
Please help..thanks a lot friends for your replies...
@mahir: I have made a test.sql(in d drive) file which contains the following wntry only
@d:\package1.sql
@d:\package2.sql
@d:\package3.sql
@d:\package4.sql
@d:\package5.sql
and from another bat file(run.bat) i have called that...
sqlplus -s scott/tiger@oracle11g @test.sql
but it is not running....
I have pressed '/' then the first package compiled and again it got stopped..
the number of times i pressed '/', the number of times it got compiled...there are only 5 packages...but if i pressed the '/' for 20 times ,it is compiled for 20 times...so i think the rest of the packages are not getting compiled...
@ravikumar: I dont want to execute the same command for different packages...I want to run all the packages at a single go... -
Unable to run discoverer report from command prompt
Hi,
I'm trying to run the discoverer report from command prompt and i need to schedule the same.
How could i pass multiple values for the parameters?
If i don't pass the optional parameters, the parameter screen is getting pop-up? How to skip optional parameters?
Also, how to pass the data ranges (format for date parameters) ?
I'm using the below command in command prompt:
cd/d E:\oracle\BIToolsHome_1\bin
dis51usr /connect username/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" 40351 /parameter "From Date" "01-JAN-2007" /parameter "To Date" "28-FEB-2007" /parameter "Observation Status" C /parameter "Observation Name" "Abdominal Girth" /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStatusOutput11"
Any one please reply me. Its very urgent.
Regards,
SreedharHi,
How could i pass multiple values for the parameters? You should be able to use a comma separated list e.g.
/parameter "Observation Name" "'Abdominal Girth','Abdominal Girth2'"
How to skip optional parameters?I don't think you can. You have to supply all parameters and then decode out the parameters you don't need in the workbook.
how to pass the data ranges You cannot pass a date range. You can pass a start and end parameters. The default format for the date parameters is DD-MON-YYYY but this can change depending on the NLS settings and format of the data item.
Rod West -
Error while running a ODI scenario from command prompt
Hi,
I'm trying to run a ODI scenario from command prompt. I've edited the tnsnames.ora and odiparam.bat file with exact host and port details. Even though I'm facing the below error.
command:startcmd.bat OdiStartScen -SCEN_NAME=INT.CUSTOMER_STG -SCEN_VERSION=001 -CONTEXT=ICM -AGENT_CODE=KANBAN
Error: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:orcl
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:280)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:361)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:595)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
at com.sunopsis.sql.i.run(i.java)
Please help in resolving the error...
Thanks in advance.
Edited by: 894841 on Dec 22, 2011 11:15 PMHi,
Are you able to start the Standalone Agent(KANBAN) and test it in the Topology?
Check the value of the ODI_MASTER_URL variable in odiparams file(at the path <ODI_HOME>\oracledi\agent\bin) of the agent.
Specify the full the JDBC URL properly not like localhost(until the DB is on same machine as your ODI). -
Error while Invoking SQLPLUS from Command Prompt
Hi All,
I am trying to Connect to Oracle through sqlplus from command prompt of windows and getting this Error:
C:\Documents and Settings>sqlplus
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 28 10:08:43 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
set ORACLE_SID=database_name was set
Anyone ever got this error or has any idea could you please help.
Thanks.Try
set LOCAL=<tns_name>
Regards
Kurt -
Can't create database from command prompt
I am using Oracle 9i over Win XP. I can create new database using OEM wizard without any problem. However, when I try to create new database from command prompt, using following commands, I get an error.
sqlplus /nolog
connect / as internal (when I issue this I get message TNS no listener)
CONNECT SYS/password AS SYSDBA (can't understand how to use this, I don't have password because I've not created the database)
Can anyone help me how to create new database from command prompt?
Thanx"TNS No Listener" => Start the listener
To be connected as SYSDBA you dont need a password if your are logged in the DBA group, you just have to :
PROD_:id
uid=102(oracle) gid=103(oinstall)
PROD_:sqlplus "/ as sysdba"
SQL*Plus: Release 8.1.7.0.0 - Production on Wed Jul 23 11:46:50 2003
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
SQL> show user
USER is "SYS"
SQL>
Fred -
How to Get Input from Command Prompt?
How can i get input from command prompt like
C:\
or linux ?
(Here's what I use now)
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String line;
Whlie((line=in.readLine())!= null)
{ System.out.prinln( line) ; }
IS THERE A BETTER WAY?The main method within a java class accepts command line input through a String array.
In this example args is the String array. You can access the parameters as args[0] for the first parameter, args[1] for the second parameter, etc....
The usage for the example below would be :
c:\EDIFormat file1 file2
Where args[0] would equal file1 and args[1] would equal file2.
public class EDIFormat {
public static void main(String[] args) {
if (args.length < 0) {
System.out.println("No Parameters supplied. Exiting....");
// open input and output files
EDIFiles(args[0], args[1]);
Hope that helps! -
Not able to start managed server from command prompt
Hi,
I am trying to start manged server from command prompt. The command i am using is as follows:
startManagedWebLogic.cmd MS1 [http://]<Listen_Address>:<Admin_port>
Where MS1 is the name of my managed server.
But i am getting following exceptions:
There are 1 nested errors:
weblogic.management.ManagementException: Unable to obtain lock on C:\bea\user_pr
ojects\domains\PB530Domain\servers\AdminServer\tmp\AdminServer.lok. Server may a
lready be running
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
va:159)
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.ja
va:58)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirec
toryService.java:73)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:459)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:164)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
at weblogic.Server.main(Server.java:67)
>
<Feb 10, 2009 6:48:16 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FAILED>
<Feb 10, 2009 6:48:16 PM IST> <Error> <WebLogicServer> <BEA-000383> <A critical
service failed. The server will shut itself down>
<Feb 10, 2009 6:48:16 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to FORCE_SHUTTING_DOWN>
Please help me to resolve this issue.
thanks,
Sonal
Edited by: [email protected] on Feb 10, 2009 5:16 AMLooking at your error message a little closer, I don't believe it has anything to do with port conflicts but rather that even though you are executing the startManagedWeblogic.cmd with your managed server name (MS1), the error indicates that it is trying to start the Admin Server (not MS1). Note in your error message the following: Unable to obtain lock on C:\bea\user_pr
ojects\domains\PB530Domain\servers\AdminServer\tmp\AdminServer.lok. Server may a
lready be running
It is saying that it cannot start the Admin Server because it is already running (which is probably true in your case). Have you made any changes to the startManagedWeblogic.cmd or the startWeblogic.cmd scripts? I would start debugging there and try to figure out why the script is trying to start your admin server instead of MS1 as you requested on the cmd line. -
How to search specific text/string in pdf files from command prompt?
Hi,
How to search specific text/string in pdf files from command prompt?
Will be great if you can refer to any adobe provided command base utility to achieve the above target.
Best Regards,You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.
-
Launching Index Tuning Wizard from command prompt
I have been playing with index tuning wizard and I could not figure how to launch it from command line (Manual says it can be launched via management console or oracle expert).
DB2 and SQL Server provide executables which can be launched from command line. For example, below command evaluates given workload on target database and recommends something if necessary.
Command> itw -d <targetDB> -w <workloadFile> -o <indexRecommendations>
Is it possible to launch Oracle Index Tuning Wizard from command prompt in a similar way?
-fa"TNS No Listener" => Start the listener
To be connected as SYSDBA you dont need a password if your are logged in the DBA group, you just have to :
PROD_:id
uid=102(oracle) gid=103(oinstall)
PROD_:sqlplus "/ as sysdba"
SQL*Plus: Release 8.1.7.0.0 - Production on Wed Jul 23 11:46:50 2003
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
SQL> show user
USER is "SYS"
SQL>
Fred -
Selecting different homes from command prompt
Hi Gurus,
Oracle client-9201
Oracle client-10201
Win XP SP2
We have two oracle homes. We want to switch it from one to another. We have restriction that this should be done from command prompt only. Although I can change homes launching latest OUI and going to "INSTALLED PRODUCTS" tab where we find ENVIRONMENT tab. There it is possible to change home and apply. But this thing I want to do from command prompt.
Any help will be highly appreciated.
Regards.
VirendraNo, you don't want it to be from a command prompt and from OUI. What you want is to be able to do this without the need to visit all 400 client boxes. The method is irrelevant, as long as it efficiently achieves your real goal.That is true.
You keep saying "command prompt" and "OUI", but can't visit all the necessary machines. So what were you envisioning? Creating some batch file you could distribute to all affected users over the network, and ask them to execute said batch file? That may (or may not) be valid, but to find the best solution we have to clearly define the real requirements and separate that from any pre-concieved solution.You can say it is my pre-concieved assumption that I will go with Command Prompt/OUI. But the real problem is I don't want to visit all machines. It can be a batch file distributed to all machines or our network people may execute it sitting on domain controller machine from which he can run programs in background of any machine in network.
From the other things discussed on this thread, I suspect you are going to have to blow in some registry hack, by one of several possible means. But first we have to know what your real constraints are and all of the options open to you.Real constraint is, We don't want (rather can't) visit all 400 terminals.
Do you have the ability to push registry settings at client logon?Yes, We can.
Can you guarantee the consistency of configuration of all 400 clients?Home name and Location may be different on different machines.
Do you have the ability to force the automatic execution of a command file from a file server and client log-on time?Yes, it is possible.
Are you working with your network people to explore what help they might be able to provide on the above points?They may help us depending upon the requirement.
Regards
Virendra
Maybe you are looking for
-
Iphoto has greyed out events with 0 photos
Perhaps this is baby steps but I've got istream up and running on my macbook air. At the moment I have pictures taken in November which have events that are greyed out and say 0 photos. When I click on them the photos appear but I don't know how to
-
How to discontinue Dual Monitor
I can't seem to figure out how to discontinue using my dual monitors on my G4 OS 9. I installed an additional video card about a year ago for Pro Tools use. I'm now selling the G4, but can't seem to get the monitor to work without both hooked up. Oth
-
All, I haven't had to before now but was wondering if I could use Apple Remote Desktop via dialup through AOL's dial-up accounts. I have a remote client that is only dial-up and can gain their IP address indirectly but wanted to know if anyone has ex
-
Provide me with a simple tar file
I have just started prepairing for Weblogic Admin Cert Exam. I am using Weblogic Server 10 on Red Hat Linux. Can someone please provide me with a simple tar/gz file which I can deploy using the weblogic console and see how weblogic works (i am not a
-
Usage of CL_ABAP_WEAK_REFERENCE
Hello colleaues, we are using in our application CL_ABAP_WEAK_REFERENCE to optimize the application. But the weak references are so weak. I call ls_instance-o_method_weak->get( ) several times for the same rerefence (for example after 2 minutes), but