Operating system command from PL/SQL Windows
Hi all
I develop an app of proto. I have Oracle 11 GR 2 standard edition 1 on Windows 8.1.
My requirement is OS of PL/SQL command execution. The PLSQLOSCOMMAND.zip meets all the requirements as file ZIP and LOB.
Oracle PL/SQL, OS command execution. SourceForge.net
(1) first, I run the install.sql script against my user (STK_BIN). It is to have role DBA. No errors.
2) connect as SYS and running the following commands:
Start
dbms_java.grant_permission ('STK_BIN', 'SYS:java.io.FilePermission', "< < all FILES > >", "read, write, execute, delete");
commit;
dbms_java.grant_permission ("STK_BIN", "SYS:java.lang.RuntimePermission", "readFileDescriptor", ");
commit;
dbms_java.grant_permission ("STK_BIN", "SYS:java.lang.RuntimePermission", "writeFileDescriptor", ");
commit;
end;
(3) select * from dba_java_policy watch
GRANT | STK_BIN | SYS | java.io.FilePermission | < < all FILES > > | read, write, execute, delete | ACTIVE | 151 |
GRANT | STK_BIN | SYS | java.lang.RuntimePermission | readFileDescriptor | ACTIVE | 152 | |
GRANT | STK_BIN | SYS | java.lang.RuntimePermission | writeFileDescriptor | ACTIVE | 153 |
((4) select * from table(file_pkg.get_file_list(file_pkg.get_file('\')));
Shows the correct file and directory details
(5) but when I run the command
Select os_command.exec double '(mkdir STK_BIN_DIR');
It gives me error
ERROR on line 1:
ORA-29532: Java completed by eception Java exception appeal:
java.io.IOException: Exception when creating the process:
java.io.IOException: the handle is invalid.
ORA-06512: at "STK_BIN. OS_COMMAND', line 68
What I did wrong. Why any windows OS running order giving the error?
3DS wrote:
(5) but when I run the command
Select os_command.exec double '(mkdir STK_BIN_DIR');
It gives me error
ERROR on line 1:
ORA-29532: Java completed by eception Java exception appeal:
java.io.IOException: Exception when creating the process:
java.io.IOException: the handle is invalid.
ORA-06512: at "STK_BIN. OS_COMMAND', line 68
I guess that the stored proc Java is designed to run external programs? In this case, there is no mkdir.exe program to load and run. Instead, he entered CLI to the cmd.exe program.
Under the hood, probably the CreateProcess() kernel is called. Have a look to understand the statement of core works to create a process.
Tags: Database
Similar Questions
-
Operating system command failed?
I am trying to execute an operating system command on Windows Server 2003 from a package (ODI version 10.1.3.4.0) using the following CMD /c batch_name.bat code but I get an error message: bad process return code
I created this file (batch_name.bat) in the ODI bin directory. It's weird because the package is run, but the operator indicates that he failed. Why?
Thank youHey, what about putting a 0 EXIT or EXIT/b EXIT 0 at the end of the batch file? Do you have that? I remember that CMD did not close unless I specify the command EXIT under Win 2 K. See if it works.
-
With the help of an operating system older Compaq is professional Windows. Internet Explorer connected very slowly. SO I've reworded in safe mode with network and IE has worked very well. I installed Mozilla Firefox and then restarted in normal mode. Then Internet explorer would not connect. How to diagnose in safe mode. What does safe mode or safe mode with network do to help diagnose? Can someone help me solve this problem? Any help would be appreciated thanks in advance.
Hi, Raymond J,.
· Did you do changes on the computer before the show?
· You get the error message?
· What type of internet connection do you use?
· What security software do you use?
Follow these methods.
Method 1: As the problem does not persist in SafeMode with network, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.
Note: After completing the steps in the clean boot troubleshooting, follow the section How to configure Windows to use a Normal startup state of the link to return the computer to a Normal startupmode.
After the clean boot used to resolve the problem, you can follow these steps to configure Windows XP to start normally.
(a) click Start, run.
(b) type msconfigand click OK.
(c) the System Configuration Utility dialog box appears.
(d) click the general tab, click Normal startup - load all services and device drivers and then click OK.
(e) when you are prompted, click restart to restart the computer.
Method 2: Follow the steps in the article.
How to troubleshoot possible causes of Internet connection problems in Windows XP
-
Updated the operating system on the server for Windows 2012. Now I can not connect to vcenter.
What version of vCenter Server do you run? Only of vCenter Server 5.0 Update 2 is currently supported on Windows 2012.
André
-
Requirement of operating system do not met! Windows Vista not supported!
Requirement of operating system do not met! Windows Vista not supported!
MINIMUM requirements for programs of cloud... scroll down and check each program
-http://helpx.adobe.com/creative-cloud/system-requirements.html
-
I changed the OS on my laptop Toshiba from Windows 7 to Windows XP Home Edition. Everything seems to work fine, except that there is no sound. Checked PC Device Manager and noticed that I need to download & install a high definition Buss Audio Audio driver and a video controller (VGA Compatible).
You need visit Toshiba support and download the drivers that you need for Windows XP for your laptop model specific. It is the responsibility of the manufacturer of the system (or manufacturer) to write drivers for their products for different operating systems - not Microsoft.
Toshiba technical support
http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=product%20SupportIn addition, if your PC Toshiba laptop comes with Windows 7 so it's a fairly new machine, if this model was never sold with Windows XP may not be drivers for Windows XP.
I hope this helps.
-
Original title: lack of an operating system.
I have a Dell which had windows xp home installed on it I upgraded a while back to pro, the problem is the operating system that you are completely crushed and all I have is a cd to upgrade so it won't let me install because it said that missing operating systems... so what can I do that won't cost me a thing!
Hi mistyblu976,
This problem may occur if one or more of the following conditions are met:
(a) basic input/output system (BIOS) does not detect the hard drive.
(b) the hard disk is damaged.
(c) sector 0 of the physical disk has an incorrect or malformed master boot (MBR) record.
You can follow this link & check if it helps.
Hope the helps of information. Please post back and we do know.
Concerning
Joel S
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Can I get some suggestions for this operating system, should I update to Windows Vista?
Upgrade the OS from Vista
I have a HP Pavilion dv6 laptop running Vista 64-bit. I thought to upgrade the operating system. Pourrait group Advisor reviews, etc. Update W7 is basically problem free? What a W7 install from scratch? Thanks to you all!Hello
If you have Vista 64 bit you must upgrade to Windows 7 64 bit.
Before purchasing Windows 7, follow these steps:
Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.
If this is not available, Windows 7 will not properly work for you.
Run the "Windows 7 Upgrade Advisor.
http://www.Microsoft.com/en-US/Download/details.aspx?ID=20
Check if your specifications are compatible for Windows 7:
"Windows 7 system requirements"
http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements
"Windows 7 Compatibility Center" for software and hardware:
http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx
Windows 7 upgrade paths:
http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx
And the Microsoft Store where you can get an idea of the price of Windows 7:
http://www.microsoftstore.com/store/msstore/en_US/list/CategoryID.50726100
For any other questions about the installation of Windows 7, please ask in the Forum Installation of Windows 7:
http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-windows_install?tab=all
See you soon.
-
How to change the operating system Windows7 from English to Spanish
How to change the operating system from English to Spanish
Hi Emmy,
I suggest to follow the steps provided by TrekDozer of the link below and let know us the status of the issue.
I hope this helps.
-
can I change the operating system to xp pro to windows 7 is vista?
I have this old computer which has xp pro version 2002 service pack 02:00 I could upgrade the computer?
Using a clean installation, it is possible to go from any operating system on any operating system.
However, your computer itself is perhaps not good enough to run vista or 7, then run the Upgrade Advisor will tell you if it is still possible.
-
I have windows 7 64 bit operating system says my computer starts windows system 32
I have a gateway laptop with windows 7 Home premium. Clealy system I.D. indicates 64-Bit os. Windows has been shut down and restart without being invited. I wanted to see the info to start. This computer starts up and all the info in the trunk are saying Windows 32-bit system? What happened here? According to me, that's why Windows keeps stopping. How can I fix this? At all times, may not install certain security updates as well.
How can I suddenly have a 64-bit os which is starting to 32-bit. It started in early April.
Where do you see this saying 32-bit?
If you open your Start menu, click computer and select Properties, the system properties box that opens will tell you the correct number of bits of your operating system.
Please note that it is possible (and very common) to have a 64-bit processor in your computer, but a 32-bit operating system. In fact, it is the most popular configuration of Windows 7.
-
Oracle Data Integrator operating system command
Hello
I am copying files from host to tectia server by using the FTP command script.
When I run the batch on windows command file calls his work but when I run ODI package with the command of the tool os OS command/odi
sound by mistake, below
"* Start: 2015-16-04 18:49:19.68."
"Error: cannot open the connection to"[email protected]": connection impossible to ' 10.30.41.27 ': Key exchange failed
"* End: 2015-16-04 18:49:20.19."
Command: cmd V: ONE option /S /K F:\DAT5\REPORT\FTP\run_bat_put.bat
I think, the reason is not in ODI, but in the environment of the current windows user... https://support.ssh.com/manuals/server-win-admin/44/Public_Key.html - it keeps the keys to userprofile.
If the ODI agent starts using the another user (for example system or administrator) it is not configured to profile
-
Sysprep from Windows fails with the error while the supply of machinery of vCenter. "windows can not finish the system configuration to try to resume the computer restart configuration.
I use vmware vcenter spec customization here,
I'd say it's because of incorrect permissions or corrupted registry entry or registry that exceeds 8 KB.
Also change to vmxnet3 NIC and install vmware tools and try cloning.
"
) More than 8 k
(b) set incorrect permissions
(c) corrupted somehow
For me, the problem was intermittent (same registry key would sometimes cause the issue and sometimes not - must be corrupted sometimes) so it was impossible to tell what program it was. Fortunately, there is a newspaper, you can watch that will tell you exactly what registry key is slightest mistake out. Here are the steps to get the newspaper, you must see:
When you see the error message, follow these steps:
1.) press SHIFT + F10 to get to a command prompt
2.) stand C:\windows\Panther
3.) find the Setup.etl file and find a way to copy this file out of the system (I copied it to the partition D:\ and Ghost used to collect this partition and down the file)
4.) copy the file to another computer that has Windows 7 setup.etl corrupt system. Place it at the root of C:\ for easier access.
5.) open a prompt on the Windows 7 computer.
6.) navigate to the root of C:\ (or anywhere where you saved the file)
7.) type "tracerpt setup.etl o logfile.csv.
8.) close command prompt and open logfile.csv in your text editor of choice.
9.), look in the log file (near the end, probably) for messages that say "Failed to key"reg"process or one of its descendants" to me, the exact eror looked like this: "failed to process the"reg"key or one of its descendants: [profile \REGISTRY\MACHINE\SOFTWARE\ESET\ESET Security\CurrentVersion\Plugins\01000200\Profiles\@My] ' If you search for"«key reg"' or «failed in the process»»» You should find the failure.
10.) remove this software from your image, or how to get the registry key that does not work properly.
After that, you should be able to correctly identify any key problem and the elimination/workaround on your image.
"
-
I'm rebuilding my computer, new motherboard, hard drive etc and will transfer my Windows XT license to this computer reconfigured. Can I buy Windows 8 download and install it directly to my computer reconfigured. I don't think I can reinstall Windows XP because the discs are for a computer Dell, my original computer. Thank you
When you have replaced the motherboard and your Windows XP license etc is dead. There is no way to transfer it to your new hardware, so your Windows 8 upgrade license has nothing to upgrade.
-
Why Adobe claims that I have Windows Vista, when I have Windows 7?
Try installing lightroom 6 on windows 7 get interface requirement not met windows vista not supported
Maybe you are looking for
-
HP ENVY 17-j013cl... passed to Windows 7 64-bit, HDMI driver needed
I switched to Windows 7 64 bit, because I just couldn't take Windows 8 more! Unfortunately, I had some problems, which have fortunately been resolved through this forum. I'm new here need a HDMI driver so that I can plug this thing to my TV again.
-
New T5i w / 18mm to 135mm lens Pop Up flash question?
Hi all: I just got my new T5i rebel with the 18mm to 135 mm lens. I use a filter UV Polaroid and lens hood EW-73 b. I take excellent photos, but I wonder if it is having a problem. My problem is the sometimes the flash will pop up and flash in full s
-
HP Mini 1000 Bio lost password
Hello all first time poster. I recently found an old hp mini 1000 running windows xp in my garage that I want to use for navigation for my daughter of web-based, but I forgot the bio password I put on. After 3 attempts to password I get an error stri
-
HP Deskjet 2540: sweep!
I have my printer related to eprint through the 'classic printer' set up, but how to scan so that it goes to the computer? I tried to understand this here and there for a few months, nothing done. Any help is greatly appreciated.
-
4 problems simultaneously on an operating system of Windows 7 need help with this now!
(1) problem when I try to open a picture using Windows Photo Viewer I get the following Message: Windows Photo Viewer cannot open this picture because you don't have permission to access the location of the file. Problem (2) when I open Microsoft Lif