Unable to execute perl.exe in Oracle client from command prompt
I am installing OUBI 2.3.2 version in windows 2008 server. For that I have installed Oracle Client 11.2.0.2
While installing Oracle Utilities Application Framework Application Server in command prompt i am getting the error
Unable to find file <Dir>\Client\product\11.2.0\client_1\perl\bin\perl\bin\perl.exe
I have set the path in PATH Variable and I have tried manully giving the path and still getting the problem..
Mohan
In which context do you use OUBI ?
Which installation procedure do you use and on which step do you have a problem ?
Cheers
Nico
Similar Messages
-
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. -
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 -
Hi,
I am using SignTool.exe from a new Process() to verify a codesigned assembly and it returns the exit code 1 whereas it returns exit code 0 while i run the same from Visual Studio Command prompt. Please let me know your thoughts...
Here is my code snippet from VS2012 ultimate on Win7 PC.
p = new Process();
p.StartInfo.FileName = "C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\Bin\\SignTool.exe";
string args = @"verify";
p.StartInfo.Arguments = args + " "+ "/pa " + "/v "+ name;
p.Start();
p.WaitForExit();
pexitcode = p.ExitCode;
//name = "C:\\Users\\v-maparn\\Documents\\Visual Studio 2012\\Projects\\CodesignVerification\\CodesignVerification\\bin\\Release\\Microsoft.IT.Core.dll"
Thanks,
ManiHi Amy,
Thanks for your reply. I am receiving the exit code 1 by the Process even though the SignTool is able to successfully verify the assembly. I ran the below command from command prompt and received no errors or warnings. I assume the exit code should be 0.
I have also verified that this assembly has digital signature embedded as you can see from the output.
output:
C:\Windows\system32>signtool.exe verify /pa /v "C:\Users\v-maparn\Documents\Visu
al Studio 2012\Projects\CodesignVerification\CodesignVerification\bin\Release\Mi
crosoft.IT.Security.UI.SystemSecurityManagement.SSMUIWebHost.dll"
Verifying: C:\Users\v-maparn\Documents\Visual Studio 2012\Projects\CodesignVerif
ication\CodesignVerification\bin\Release\Microsoft.IT.Security.UI.SystemSecurity
Management.SSMUIWebHost.dll
Signature Index: 0 (Primary Signature)
Hash of file (sha1): 1B58113B218260837A6B850561538A804B034F2A
Signing Certificate Chain:
Issued to: Microsoft Root Certificate Authority
Issued by: Microsoft Root Certificate Authority
Expires: Sun May 09 15:28:13 2021
SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072
Issued to: Microsoft Code Signing PCA
Issued by: Microsoft Root Certificate Authority
Expires: Mon Aug 31 14:29:32 2020
SHA1 hash: 3CAF9BA2DB5570CAF76942FF99101B993888E257
Issued to: Microsoft Corporation
Issued by: Microsoft Code Signing PCA
Expires: Thu Apr 24 14:33:39 2014
SHA1 hash: 108E2BA23632620C427C570B6D9DB51AC31387FE
The signature is timestamped: Mon Dec 30 02:58:12 2013
Timestamp Verified by:
Issued to: Microsoft Root Certificate Authority
Issued by: Microsoft Root Certificate Authority
Expires: Sun May 09 15:28:13 2021
SHA1 hash: CDD4EEAE6000AC7F40C3802C171E30148030C072
Issued to: Microsoft Time-Stamp PCA
Issued by: Microsoft Root Certificate Authority
Expires: Sat Apr 03 05:03:09 2021
SHA1 hash: 375FCB825C3DC3752A02E34EB70993B4997191EF
Issued to: Microsoft Time-Stamp Service
Issued by: Microsoft Time-Stamp PCA
Expires: Wed Feb 11 14:11:31 2015
SHA1 hash: D967AB4CF991F11DA6E318C880F1AF1A9C8D2C7C
Successfully verified: C:\Users\v-maparn\Documents\Visual Studio 2012\Projects\C
odesignVerification\CodesignVerification\bin\Release\Microsoft.IT.Security.UI.Sy
stemSecurityManagement.SSMUIWebHost.dll
Number of files successfully Verified: 1
Number of warnings: 0
Number of errors: 0
C:\Windows\system32>
Thanks,
Mani -
Running Oracle Scripts from Command Line
Hi,
How can i run Oracle scripts from command line.
Actually i need to run these scripts from MSBuild before running Unit test projectsC:\>sqlplus @myscript
That would be the easiest variation
C:\>sqlplus user/passwd@tns_alias @myscript
would be an often used variation
And then there is of course the version with parameter passing:
C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
Dunno about MSBuild -
Upgrade Oracle client from 10.2.0.1 to 10.2.0.4
Hello Folks,
I need to upgrade oracle client software from 10.2.0.1 to 10.2.0.4 on Windows.
1) do I need to apply just 10.2.0.4 patch or do I have to apply 10.2.0.2 and 10.2.0.3 as well?
2) also do we get the separate software for upgrading client versions.
I am trying to check under Patches tab in metalink and unable to get any output.
thanks!Hi,
1) do I need to apply just 10.2.0.4 patch or do I have to apply 10.2.0.2 and 10.2.0.3 as well?U can directly apply patchset 10.2.0.4 on client 10.2.0.1.
The patch number for patchset 10.2.0.4 is *6810189*
Regards,
X A H E E R .... -
Upgrading Oracle client from 11.2.0.1.0 11.2.0.3
Hi,
I need to upgrade the oracle client that is on 11.2.0.1.0 to 11.2.0.3. Would request if you suggest the Doc id from where i can download the patch set.
Thanks in advance.You can do it by DBUA , Or You can do it by the below steps :
1. Install 11.2.0.3 with different oracle home
2. run preupgrade on the existing 11.2.0.1.
3. shutdown 11.2.0.1 and startup upgrade from 11.2.0.3 home dont forget to copy the pfile/spfile of 11.2.0.1 database to $11.2.0.3_HOME/dbs path
5. run the catupgrd.sql
Check Oracle Documentation
http://docs.oracle.com/cd/E11882_01/server.112/e23633/toc.htm -
Trouble connecting to 64 bit oracle client from 32 bit environment
Hi,
I have an application which connects to Oracle and an external 3ed party application via a set of APIs. We are now facing the issue while migrating our server from 2003 to 2008.
The 2003 server was configured for 32 bit and had 32 bit Oralce installed on it. It was able to connect to both Oracle and the 3ed party API in this configuration
In our New 2008 server we have installed a 64 bit Oracle however the 3ed party API is using is 32 bit. Once we use the 64 bit app poll we were able to connect to the Oracle, but the API connection fails. When we enable the 32 bit in APP Pool, wer cant connect to the Oracle client.
Could you please suggest a possible soultion for this problem?
PS:
We have tried placing the 32 bit Oracle.Data.Client DLL in the Bin folder and refered it in our project ( to avoid refering the 64 bit DLL from GAC) but this method didint work out.
We have alos tried placing Oracle Data Access Componets DLLs in Our bin as explianed in the following blog post
http://researchaholic.com/2011/10/21/connect-from-net-to-oracle-without-installing-the-oracle-client/
This also did not help us connect to the Oracle client.
Right now we have configured our new 2008 server with 64 bit oralcle client and enabled 32 bit support from APP pool.
ThanksYou can't use 64 bit client on 32 bit machine.
You can use 32 bit client on 64 bit machine via syswow64, but not the other way around.
If you compile your app with AnyCPU compile target though, it will automatically run as 32 bit on 32 bit OS, and 64 bit on 64 bit OS.
HTH
Greg -
Issues executing report from command prompt
I'm using Oracle 10g Reports and attempting to execute a report from my workstation to output in a spreadsheet format. We don't have a Reports Server implemented at this time, so I'm simply connecting to the database with Reports Builder and running reports. I can execute a report just fine from Reports Builder and output as PDF; however I'm not familiar with how to output as spreadsheet. From what I understand, spreadsheet output cannot be accomplished through the tool, only from the command prompt. I've tried executing the a command inthe following format from Windows XP command prompt, but no luck:
rwrun report=test_report.rdf userid=[usernam/pwd@db] desformat=spreadsheet destype=file desname=c:\temp\test_report.xls
Nothing occurs...no output, nothing when this command is entered. What is the issue? Can rwrun.exe even be used for executing on the client-side? According to Oracle documentation, rwrun is the executable that runs a report using the OracleAS Reports Services.Hello,
Even if the parameter is deprecated, you can use errfile=c:\temp\reports.err and check if there are some errors ..
or check for a file reports.log
Regards -
Error while executing ODI scenario from command prompt
Hi all,
I am trying to execute a scenario of a package( that I have created in designer) in OS command prompt in Windows in the following way-
C:\ODIHOME\oracledi\bin>Startscen DIM_TECHNOLOGY_PACKAGE 001 Global LEVEL5
However I am getting the following message:-
OracleDI: Starting scenario DIM_TECHNOLOGY_PACKAGE 001 in context Global ...
com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
sion ; SnpScen does not exist
at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
ava)
at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
sion ; SnpScen does not exist
at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
ava)
at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
Please tell me what can be the possible reason?
Thanks in advance
PBHi PB ,
Use the following syntax
C:\ODIHOME\oracledi\bin>startscen DIM_TECHNOLOGY_PACKAGE 001 <CONTEXT_CODE> "-v=5"
Also make sure that the repository connection details are all correct before running scenario via startscen script
Thanks,
Sutirtha
Edited by: Sutirtha Roy on May 14, 2010 12:18 PM -
Oracle Connection Via Command Prompt
Hi All,
I am in a situation where I will have to test a connection to a Oracle Database by using just command prompt (Windows Server 2008) as I am not allowed to install any Oracle client tools. The Oracle server is located on a different server machine on the network. I need to do this before I update my web application code.
When I search google I can only see that it is possible via SQL PLus/Oracle SQL Developer/Oracle Client Tools. But I can't install any of those due to restrictions.
Can anyone please help me how do I achieve this by just using Command Prompt in Windows.
Thanks.I think the point is that no installation in traditional sense need to take place, instead you copy or unzip a few files.
11.2 Instant Client lite with sqlplus (32-bit for Win) is around 20 MB.
http://www.oracle.com/technetwork/database/features/instant-client/index.html
Edited by: orafad on Apr 7, 2011 12:25 AM -
Trying to find a way to execute from command prompt using java....
I want to find a way to execute a command from the command line using a java program this is my code:
import java.io.*;
public class SQLHopefully
public static void main(String[] args)
try{
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("cmd /k start cmd.exe");
OutputStream out = proc.getOutputStream();
System.out.println(out);
out.write("test.txt".getBytes()); //I THOUGHT THIS WOULD WORK
InputStream stdin = proc.getErrorStream();
InputStreamReader isr = new InputStreamReader(stdin);
BufferedReader br = new BufferedReader(isr);
String line = null;
while ( (line = br.readLine()) != null) {
System.out.println(line);
stdin = proc.getInputStream();
isr = new InputStreamReader(stdin);
br = new BufferedReader(isr);
line = null;
while ( (line = br.readLine()) != null) {
System.out.println(line);
int exitVal;
try {
exitVal = proc.waitFor();
} catch (InterruptedException e) {
throw new IOException(e.getMessage());
if (exitVal != 0) {
throw new IOException("Exit value was " + exitVal ");
}catch(IOException e)
{System.out.println("ummmmm");}
I hope my code is readable. I am trying to get the command prompt that comes up from the Runtime.exec() to run a file called "test.txt" I know it would be easier to just do it by executing it from java but I want to see if it is possible this way. I thought the out.write would do the trick but I was wrong. Somebody help please....
NateFirst read this article:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
Second, you should probably send the Enter key to the shell if you want anything to happen. (Not that I know whether it will work, but I do know it won't work if you don't press Enter.) -
Executing .sql scripts file from command prompt
I had created the .sql scripts for
--Create Database
--Create tables
--Create Stored procedure
I am using SQL server 2008.
Now i want to deploy it into the target server using the command prompt.
How can I call to execute that script on the target server?with few errors as "Incorrect Syntax near "GO"".
Hello,
GO is a command, which is only known & interpretted by SSMS + SqlCmd.exe; SQL Server engine / data access components don't know this command, therefore you get an error.
See
Query Options Execution (General Page); for SSMS you can change it from GO to any other term.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Executing Tcl Script from Command Prompt
Hello All
Can someone please show me how to execute a tcl script from the command prompt on a cisco router?
Cheers
CarltonHi,
Assume that you have tcl script to ping 3 ip address as below.
foreach address {
1.1.1.1
2.2.2.2
3.3.3.3
} {ping $address}
Use "tclsh" command and copy the script. That should do the job. Please find below example.
R1#tclsh
R1(tcl)#foreach address {
+>(tcl)#1.1.1.1
+>(tcl)#2.2.2.2
+>(tcl)#3.3.3.3
+>(tcl)#} {ping $address}
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
R1(tcl)#
Hope this helps.
Regards
Najaf
Please rate when applicable or helpful !!! -
Have been trying to start my dbconsole from Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rosina>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Users\rosina>set ORACLE_SID=orcl
C:\Users\rosina>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
https://rosina-PC:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.
Access is denied.
how do i detect the problem?
and how do i start my dbconsole875131 wrote:
Have been trying to start my dbconsole from Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\rosina>emctl start dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Users\rosina>set ORACLE_SID=orcl
C:\Users\rosina>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
https://rosina-PC:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.
OS configuration/setup error
what clues exist within EM log file
When was last time EM worked OK?
What changed since then?
Maybe you are looking for
-
Prerequisites download location for SharePoint 2013 SP1 on Windows 2012 R2 platform
Can any one share prerequisites download location for SharePoint 2013 SP1 on Windows 2012 R2 SP1 platform.
-
Can you add page turning to a pdf?
I have added dynamic link to my contents page and would like to add a 'page turning' effect at the foot of each page - a sort of animated book. Can I achieve this using Acrobat Professional?
-
Outlook 2007 won't sync Calendar events on my 755p, but everything else will sync fine?
null Post relates to: Treo 755p (Sprint)
-
Hi, I bought an iPad with retina display and Sim card in the US. It is defective (monitor issue) and within warranty period. I am now based in London, UK. Can I have it repaired or replaced here? Thank you
-
Got my 5G video to work USB on G4 - finally!
OK - I've been around the world with this and have found an answer. I have a powered hub - no go. Running 10.3.9 with all upgrades, no go. Went out to the Apple store, it tested there just fine. Just shrugged when I asked for ideas. I'd load a tune a