Run TKPROF from oracle client machine
Hello,
I have install on my PC (windows xp sp2), Oracle Client, and I need TKPROF to speed up some query; Can I install TKPROF on my PC or it is necessary to run TKPROF from the server? What rights should I ask on my DBA?
Thank you!
XaM
Thanks for your answer Graham,
but i want to run
something like this (from oracle documentations)
tkprof filename1 filename2 [waits=yes|no] [sort=option] [print=n]
[aggregate=yes|no] [insert=filename3] [sys=yes|no] [table=schema.table]
[explain=user/password] [record=filename4] [width=n]
Can i do that only with Oracle Client install? tkprof.exe isn't on my machine :( .
XaM
Similar Messages
-
Oracle command line to connect to a database directly from a client machine
Hi,
I need to connect from a Client machine to a database present on the Database server.
Client: Windows 7 32 bit/ 64 bit
Server where DB is installed: Windows 2008, Oracle 11.xg
I need a command line option that will connect to a database say 'Test' from the command line. I want to put that command in a batch file / exe and call it from there.
I have tools like SQL Developer and dbForge but was unable to do it. Could I have some help on this.
I am a fresher with Oracle and I would appreciate detailed steps. Thanks very much in advance.
VincentVincent,
There is a few steps you want to perform, first of all tell me where is your client database server and where you want command line to use Oracle SQL command line.
Regards,
Hunain Khanani -
Forms and Reports 10g run on the other client machine
Dear Sir,
Please tell me how to run forms/reports which is compiled/build in ORACLE 10g.
I mean that I have build some forms and reports in Oracle 10g now I want to run them on another client machine without creating oracle application server. Is there any way to run
As example in oracle 6.0 i we only install forms and reports services at client machine and ours froms/ reports are running. Can we do so in 10g also ??
Please guide me about it.
Ghulam Yassenwithout creating oracle application server. That is not possible. Forms 10 only runs in web mode, so you need the OAS with the Forms and Reports sever (OAS Enterprise Edition) or the Forms and Reports 10g stand alone server.
in oracle 6.0 i we only install forms and reports services at client machineForms 6i was the last version that you can run in client/server mode. -
EJB deployment/access from the Client Machine
I want to deploy/access the EJB on the Oracle 8i server from the
Client Machine. From the Oracle 8i server machine i am able to
deploy and access the EJB
When i am trying to deploy/access the EJB i am getting the
following message
javax.naming.CommunicationException: Unknown service : sess_iopp
url
Please tell me what to do ?
Thanks in advance
nullAre you using JDeveloper? If yes then go to File|New->Snippets
and select 'Example JServer EJB Client' to create an EJB client.
: javax.naming.CommunicationException: Unknown service :
sess_iopp
It's sess_iiop not iopp ;-)
Regards,
Arun
Manish Patel (guest) wrote:
: I want to deploy/access the EJB on the Oracle 8i server from
the
: Client Machine. From the Oracle 8i server machine i am able to
: deploy and access the EJB
: When i am trying to deploy/access the EJB i am getting the
: following message
: javax.naming.CommunicationException: Unknown service :
sess_iopp
: url
: Please tell me what to do ?
: Thanks in advance
null -
AddOn Exe running multiple instance in client machine
Hello Experts,
I have created a addon which i have installed in the server .While connecting the addon from the client machine addon runs
well . But at the end of day when i see the task manager their it shows two to three instance of that addon exe running
.I have written the application event in my addon for its termination when the sap is closed or addon is stopped.
Even though system shows two to three instance of that addon exe running on that client machine.
Suggest how to solve this multiple instance problem of AddOn Exe.
Thanks & Regards,
AmitHello Amit,
this comes because SAP B1 Dumps, and your addon is not terminated. You can check the
C:\Program Files\SAP\SAP Business One\Log folder for SAP B1 logs. If you see more than 1 file per day, you can make sure, that the application has been restarted.
When B1 dumps,. the addons are not getting disconnected, so you can build a monitoring procedure into the addon, to look SAP B1 is alive or not.
In forum, last year I have sent at least 2 solutions for handling this issue, but it is very hard to handle in terminal servers because there you running several SAP Business One.exe applications.
If you not using terminal server, it is not an problem. follow up this threads
http://forums.sdn.sap.com/search.jspa?threadID=&q=StartMonitorSAPB1&objID=f56&dateRange=lastyear&numResults=15&rankBy=10001
Regards
J -
How to upload file from a client machine to server machine
hei evryone!
can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
any sample code/ ideas would be much appreciated.Thx!!!!hei evryone!
can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
any sample code/ ideas would be much appreciated.Thx!!!! -
How to refresh XML file from my client machine
Hai All
I have temp.XML and temp.XSL template in our server machine.
when i give a print from client machine first time it gives the record,and next time it did not get refresh.Always it shows the previous records in the browser.But when i go into the server machine and click on temp.xml,it shows the current record(correct records)
How to refresh XML file from my client machine?
Regards
DhinaYou never delete a Time Machine backup by dragging it to the Trash. You are supposed to use the TM application to manage the backups. What you will need to do now is to simply erase the drive using Disk Utility.
-
How to get file input stream from the client machine by JSF Fileupload API?
Dear Friends,
How to get the file input stream from the client machine by JSF HtmlFileupload or fileupload API. At present, if i execute the file upload code in the client machine, it is able to get the local path of the file and looking for the file in server machine. So i am getting FileNotFoundException.
E.g., If a file is located at client machine at following location means "C:\Test\Test.txt",
uploadClass.getFileuploadComponent().getFilename().toString() returns "C:\Test\Test.txt". But it is looking for that file in server and throwing FileNotFoundException.
Please post your replies soon.
Thanks,
JPDepends on which version of JSF you're using. If JSF 1.2, I wouldn't even bother trying to hack this into JSF itself unless you can use something like Seam 2 or richfaces.
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_fileUpload.html
http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/controls.html#d0e29259 (look for s:fileUpload)
But if I were you, a simple non-jsf form with a servlet works best for taking file uploads.
As for JSF 2.0, there are other ways of getting it done.
http://balusc.blogspot.com/2009/12/uploading-files-with-jsf-20-and-servlet.html -
How to connect to an Oracle database on one machine from another client machine?
I installed oracle database 11g (server and client) on one machine. It works perfectly. Then I installed oracle client (ODTwithODAC1120320) in another machine. Now I want to connect to the database of the previous machine. I tried to connect but It failed. I think .ORA files should be configured. What should I do to fulfill this.
thanks...thank you for the quick response..
this link Installing Oracle Database Client for oracle client installation. But the content refers all oracle database installation. could you please get know me that oracle client means only the OdtWithODAC or some thing else? This link Installing Oracle Database Client explain but not the OdtWithODAC. Please let me know clearly.
Please let me know the exact name of the software that I should download from the oracle website that refers the oracle database client.
thanks
Priyashantha hp -
Running reports runtime on client machine
hi,i have an ERP installed on a host machine but anytime i try to view reports from a client with forms and reports6i runtime installed,i get the error FRM 41211:SSL FAILURE RUNNING ANOTHER PRODUCT or something like that.how can I resolve this?
thanksWithout any information provided regarding your operation system and the Forms version, I can only guess that you are on Forms 6i (6.0.8) and XP. The problem most likely is a compatibility issue with the shortcut definition on XP.
If you have access to http://metalink.oracle.com then get Note 261038.1. If you don't, get help from customer support.
Frank -
Cannot connect to database from a client machine (ORA-12154)
Hi,
I have installed Oracle XE Server on one of my machines and Oracle XE Client on another. When I try to connect to the server from the client using command line, error ORA-12154 is displayed. I am pasting the data of my .ora files so that you can point out the errors if any in these files.
Listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
Sqlnet.ora
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = abo-server.abosoftware.org)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
I will be very happy if anyone can suggest me a solution.
Thanks & Regards,
HarshadHarshad,
CONNECT system/[email protected]
This was not what I asked you to try, this cannot work ;).
I asked you to try :
connect system/[email protected]:1521/XE
I have also tried accessing the database homepage remotely using the url
http://abo-server.abosoftware.org:8080/apex
Per default only local access (from the same machine) is allowed via http.
You can change that either via the GUI (log in as SYSTEM):
Home>Administration>Manage HTTP Access
OR
connect as SYSTEM via sqlplus and run:
SQL>exec dbms_xdb.setListenerLocalAccess(false);###
It is documented at
http://download-west.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABIJBHJ
And yes, you need to open both ports 1521 and 8080 to access it remotely.
~Dietmar. -
How to restart Oracle instance from oracle client
I have an Oracle server 10g with DEVEL instance on AIX machine. I have an Oracle Client on Windows machine as well. I want to stop and start the instance DEV from my client using bat file. Is it possible ? Is anybody knows how to do it ?
KP>well, right now the correct question should be : how to start database.
I am able to login as sysdba to DEVEL on AIX ( from Windows client) and shutdown it but when I try to startup it returns such a message:
ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
but I am still able to tnsping my DEVEL from client ...Post listener status, its contents and entry tnsnames.ora file. Here is how I got connected shutdown and started. The process I followed:
1)Made entry in listener.ora file as I said earlier, restarted the listener
2)Made change in tnsnames.ora file
3)Connect from client shutdown and started.
SQL*Plus: Release 9.0.1.0.1 - Production on Fri Sep 18 16:30:58 2009
(c) Copyright 2001 Oracle Corporation. All rights reserved.
SQL> conn sys/hawaii@ia1dev as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 364904448 bytes
Fixed Size 1287356 bytes
Variable Size 226495300 bytes
Database Buffers 130023424 bytes
Redo Buffers 7098368 bytes
Database mounted.
Database opened.
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL>
Regards.
Edited by: virendra.k on Sep 18, 2009 4:36 PM -
DI Server is Not Connected from the Client Machine
Hi all,
There was a problem to connect DI Server.But It runs on the Server Correctly.When we run on the Client Machine to connect the SAP DB, It throws an error: -111.
Code :
cmp = New SAPbobsCOM.Company
cmp.Server = "Sap-Server"
cmp.CompanyDB = "FAST"
cmp.UserName = "manager"
cmp.Password = "manager"
cmp.language = SAPbobsCOM.BoSuppLangs.ln_English
cmp.UseTrusted = True
mretcode = cmp.Connect
If mretcode <> 0 Then
cmp.GetLastError(merrcode, merrmsg)
MsgBox(merrmsg)
Else
MsgBox("SAP B1 - Data base Connected Successfully!")
End If
Thanks in Advance
Regards,
Suresh.Gyou are not using DI server to connect, your using DI API. Check if your client machine has the DI API installed. If not you can get from the installation cd or the lastest patch installed under packages/DI API folder.
-
How to run executable jar on client machine remotely?
Hi,
I have developed PHP web application that uses Java in the background. The problem that I want to solve is to start Java application (executable jar) on client machine.
Is there any idea how to solve this problem?
Zoranfound it:
in the Group Policy Management Editor go to Computer Configuration > Policies > Administrative Templates > System > Logon > Run these programs at user logon, and add the path (on the local computer) to the script to be run when any user logs
in. Powershell scripts need to be called from a .vbs script like this in order to prevent window popup:
Dim objShell
Dim cmd
Set objShell = CreateObject("Wscript.Shell")
cmd = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -noProfile -NonInteractive -ExecutionPolicy bypass -File c:\mypowershellscript.ps1"
objShell.Run cmd,0
As for distributing the scripts, that's a work in progress... GPP? -
Run Report from Oracle Forms9i
Hi how are u all.......i am shahzad and i have little problem....i am working on developer 6i with oracle 9i database..........now i upgrade into developer 9i.....now the problem is that when i call the report from form then error is generated that is like'you cannot use reun run_product here use run_report_object'
Any one plz tell me how to run report from forms 9i also how to pass parameter too...means check the parameter from forms and give me the reports
guys its urgent
Thanks in advance :)
Thanks youfot this u have to use standard code as follows
parameter list is as it was in 6i
v_report_id := FIND_REPORT_OBJECT('report name');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'dflt');
Set_Report_Object_Property(v_report_id,REPORT_OTHER,'ENVID="NFA"');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,ls_file_path||'\'||to_char(sysdate,'dd')||
-- to_char(sysdate,'mm')||to_char(sysdate,'yyyy')||'.doc');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER, 'paramform=no');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,OUTFILE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER, 'paramform=no');
vc_report_job_id:=RUN_REPORT_OBJECT(v_report_id,pl_id);
v_jobID := substr(vc_report_job_id,length(reportserver)+2,length(vc_report_job_id));
if vc_report_job_id is not null then
vc_rep_status := REPORT_OBJECT_STATUS(vc_report_job_id);
while vc_rep_status in ('RUNNING', 'OPENING_REPORT','ENQUEUED') LOOP
vc_rep_status := report_object_status( vc_report_job_id);
end loop;
IF vc_rep_status<>'FINISHED' THEN
message ('Report failed with error message '|| vc_rep_status);
END IF;
end if;
Maybe you are looking for
-
Have been using firefox as preferred browser on Mac G5 OSX 10.5.8. Today, message said new version optimized for yahoo available. I downloaded it and now firefox logo has do not enter sign superimposed and when I try to open, it says can't open not s
-
How do I insert Greek characters from the character viewer in Lion?
In Lion, the Character Viewer shows many more options for different characters than SL. Of course, it displays Latin, but, as I scientist I often need to insert Greek characters, but I cannot find Greek characters in the Character Viewer. I don't o
-
BI Publisher 10.1.3.3.2 Install
I'm in the process of installing BI Publisher 10.1.3.3.2 for Windows x86. I've dowloaded the zip file and I'm trying to unzip the contents. However I'm being prompted for a password - "Password needed - File 'class-use' is password protected". I can'
-
Oracle 8i TNS Listener crashes
After a fresh install of Oracle 8i on a NT4 Server SP5, when I got to to test the net names server the Oracle TNS Listener crashes. Anyone experience similar problems? Is there a solution? Is there a place on OTN where bugs can be reported and soluti
-
Won't print from other computer
When I send an email from my laptop to print the printer recognises it as spam and won't print it ,HP deskjet 3070A,Vista,new set u