The root path of location OUTPUT_FILE_DIR
The root path of location OUTPUT_FILE_DIR must be specified as one of the file paths for the UTL_FILE_DIR parameter in the init.ora for the runtime instance. The root path of location OUTPUT_FILE_DIR must be a file path on the server.
give me some hints
Sorry, what is the context of "location OUTPUT_FILE_DIR"?
Nikolai Rochnik
Similar Messages
-
All,
I want to use a pre-fab script to monitor the OS folders on a Windows 2008 R2 Domain Controller and send any changes into the Event Log. But there are two folders in the file path I want to exclude because changes to them would fill up the Event Logs
too quickly. Thus, I want to monitor all folder in C:\Windows but want to exclude C:\Windows\Temp and C:\Windows\debug.
The script I want to use is below.
#This script uses the .NET FileSystemWatcher class to monitor file events in folder(s).
#The advantage of this method over using WMI eventing is that this can monitor sub-folders.
#The -Action parameter can contain any valid Powershell commands.
I have just included two for example.
#The script can be set to a wildcard filter, and IncludeSubdirectories can be changed to $true.
#You need not subscribe to all three types of event. All three are shown for example.
# Version 1.1
$folder = 'C:\Windows' # Enter the root path you want to monitor.
$filter = '*.*' # You can enter a wildcard filter here.
# In the following line, you can change 'IncludeSubdirectories to $true if required.
$fsw = New-Object IO.FileSystemWatcher $folder, $filter -Property @{IncludeSubdirectories = $true;NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite'}
# Here, all three events are registerd. You need only subscribe to events that you need:
Register-ObjectEvent $fsw Created -SourceIdentifier FileCreated -Action {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore green
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"}
Register-ObjectEvent $fsw Deleted -SourceIdentifier FileDeleted -Action {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore red
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"}
Register-ObjectEvent $fsw Changed -SourceIdentifier FileChanged -Action {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore white
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"}
# To stop the monitoring, run the following commands:
# Unregister-Event FileDeleted
# Unregister-Event FileCreated
# Unregister-Event FileChanged
Is there a command line I can use to exclude thos two folders?
ThanksFirst, thank you to everyone who has been helping me. I've gotten a little bit further in what I need to do. I still have two problems that I really need help in sorting out:
1. The script will run on Windows 7 with no errors but will not run on a Server 2008 R2 Domain Controller. On the DC, I get an error for the SourceIdentifier: "A parameter cannot be found that mataches parameter name 'SourceIdentifier'."
2. Even though the script runs on Windows 7 with no errors, I tested it by making changes to the Temp and debug folders and the changes were still being recorded in the logs.
A copy of the updated script I am running is below:
#This script uses the .NET FileSystemWatcher class to monitor file events in folder(s).
#The advantage of this method over using WMI eventing is that this can monitor sub-folders.
#The -Action parameter can contain any valid Powershell commands. I have just included two for example.
#The script can be set to a wildcard filter, and IncludeSubdirectories can be changed to $true.
#You need not subscribe to all three types of event. All three are shown for example.
# Version 1.1
$folder = 'C:\Windows' # Enter the root path you want to monitor.
$filter = '*.*' # You can enter a wildcard filter here.
# In the following line, you can change 'IncludeSubdirectories to $true if required.
$fsw = New-Object IO.FileSystemWatcher $folder, $filter -Property @{IncludeSubdirectories = $true;NotifyFilter = [IO.NotifyFilters]'FileName, LastWrite'}
# Here, all three events are registerd. You need only subscribe to events that you need:
$Script:excludedItems = 'C:\Windows\Temp','C:\Windows\debug'
Register-ObjectEvent $fsw Created -SourceIdentifier FileCreated -Action {
If ($excludedItems -notcontains $Event.SourceEventArgs.Name) {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore green
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"} }
Register-ObjectEvent $fsw Deleted -SourceIdentifier FileDeleted -Action {
If ($excludedItems -notcontains $Event.SourceEventArgs.Name) {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore red
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"} }
Register-ObjectEvent $fsw Changed -SourceIdentifier FileChanged -Action {
If ($excludedItems -notcontains $Event.SourceEventArgs.Name) {
$name = $Event.SourceEventArgs.Name
$changeType = $Event.SourceEventArgs.ChangeType
$timeStamp = $Event.TimeGenerated
Write-Host "The file '$name' was $changeType at $timeStamp" -fore white
Out-File -FilePath c:\scripts\filechange\outlog.txt -Append -InputObject "The file '$name' was $changeType at $timeStamp"} }
# To stop the monitoring, run the following commands:
# Unregister-Event FileDeleted
# Unregister-Event FileCreated
# Unregister-Event FileChanged
Thanks in advance for any help you can give. -
How to List the Root Path?
Hi all,
How can I list the root path? (windows: "My Computer", UNIX: / )
I tried
File f = new File("/");
String s = f.list();
It didn't work....
Thanks for your help.What do you mean doesn't work, works just fine.
String s = f.list();should be String[] -
How to give the root path in flash for linux os?
hi all,
This is santhosh, I have a problem with xml path in flash. Iam trying to load some swf files into another swf file, it's woking fine in windows os but when I check this file in linux it is not taking the path which I gave for loading external swf files.So, any help on the same will be grate for me.
thanks in advance.....
Thanks and regards
Santhosh Kumar.Mduplicate {thread:id=2418158} ?
I guess the path you are using is wrong. It works on your mashiene as the src path is available. When you run the app on a server (jspx file) there is no src path as long as you don't include it in your WAR wich you should not do anyway.
If you need to access such data you can create a folder in your webroot folder and the the resources from there as /xml_folder_name or if the xml files shouldn't be visible from the outside put the folder under hte web-inf folder.
Timo
Edited by: Timo Hahn on 23.07.2012 16:20 -
How to set the root path of XML document when calling Inserting procedure
Hi,
I was create a procedure to insert XML Document in to DBMS Tables, but i am not able to set the Start root element in calling procedure.
My calling procedure is
exec insXmldoc('pmc_sample.xml', 'pmc')
When i am calling this procedure i got this error
11:23:54 Error: ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
ORA-06512: at "SCOTT.INSPROC", line 8
ORA-06512: at line 2
I am checking my XML file using XML Validator. My XML file was parsed with out errors.
Please give the solution,and tell me where i did wrong in my calling procedure.
suppose i have this XML file in local E drive ,how to set the path for that XML file in my calling procedure.Hi, I am doing the code likthis,please give the solution.
SQL> create or replace procedure insProc(xmlDoc IN CLOB, tableName IN VARCHAR2) is
2 insCtx DBMS_XMLSave.ctxType;
3 l_ctx dbms_xmlsave.ctxtype;
4 rows number;
5 begin
6 insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
7 rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
8 DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
9 end;
10 /
Procedure created.
SQL> begin
2 insProc('/usr/tmp/ROWSET.xml', 'emp');
3 end;
4 /
begin
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException:
Start of root element expected.
ORA-06512: at "SYS.DBMS_XMLSAVE", line 65
ORA-06512: at "SCOTT.INSPROC", line 7
ORA-06512: at line 2
Kishore B -
How can I get the file path which located on webapps/MY_APPS ?
Hi,
I use tomcat as our servlet container.OS is win2k srv
my project was put on x:\tomcat\webapps\MY_APPS
and I could use getServletContext().getRealPath("/") within a servlet to get x:\tomcat\webapps\ROOT\MY_APPS,
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
String myAppsPath = getServletContext().getRealPath("/");
}but I could not utilize this method within a normal help class
any suggestion will be welcome.
thanks in advance.try this:
package com.sample;
import java.io.File;
public class SampleClass
public SampleClass()
* @param args
public static void main(String[] args)
SampleClass sampleClass = new SampleClass();
File f = new File("SampleClass.class");
System.out.println(f.getAbsolutePath());
} -
Hello All,
I run the following code on my computer but, return me the location of JRE and not the root path of program?
public class GetRootPath {
* @param args
public static void main(String[] args) {
String path = ClassLoader.getSystemResource(".//").toString();
System.out.println(path);
The output is : file:/C:/Programs/Java/jre1.5.0_06/lib/ext/X86//
as you know this should return the root path not the JRE location,
i run that code in another machine and it work properly, so
why it did not work on my machine?
any one know, how i can resolve this problem?
thanks!
Hamzeh KhazaeiThis will print the current working directory
System.out.println(System.getProperty("user.dir"));# -
How to set the default path of the tag while working with xtype "tags"
Hi,
I am working with xtype tag, where i have to select tags in the dialog box. Everything is fine, but my requirement is set the tags path.
Currently it is defaulted to /etc/tags and showing all the tags. Instead i have show only the single tag path that is required for me.
Is there any way where i can set the root path and set to my custom tag path like: /ets/tags/mycustomtags/
Thanks for the support in advance
RiyazHi,
Use namespaces property to set the path. But it only works with namespaces that you directly creates under /etc/tags
so for example if you want to use or show two namesapces /ets/tags/mycustomtags & /ets/tags/mycustomtags1
then set this property as
namespaces string[] mycustomtags
mycustomtags1
and if you have only want to show one then
namespaces string[] mycustomtags
I hope it will help you.
Also refer http://dev.day.com/docs/en/cq/current/widgets-api/output/CQ.tagging.TagInputField.html
Let me know if you need more information.
THanks,
Pawan -
AD "Root Path" GPO property as home
Hello,
I have an AD integration question. On our Windows
network the "Root Path" GPO user property is being
used. Can this path be utilized by 10.4.7 as home
dir.?
This GPO seems to have no effect with the "Use UNC
path..." Directory Access setting checked and "Force
local home..." unchecked. What does work however is
hardcoding the "Connect Z: To:" AD property.
Any suggestions much appreciated,
Thank you
Mac OS X (10.4.7)The issue you are likely running into is the fact that OS X does not support DFS shares. You need a third party product (http://www.thursby.com/products/admitmac.html) to pull that off. The closest you can try is to identify which server in the DFS cluster contains the home folder and attempt a direct map to that server. Permissions and inheritance will likely not function, but since this is a home folder you may not care.
Also, I remember the guys from ExtremeZ came up with a fake DFS solution but I can not recall the details.
Hope this helps -
How to get the physical path of my web app root context ?
Hi,
I used this code to initialize my LOG4J logger.
System.out.println(Version + "Servlet context path : " + sctx .getContextPath());
String path = sctx .getRealPath("/");
fullyqualifiedlog4jpath = path + "log4j.xml";
File locallogxml = new File(fullyqualifiedlog4jpath);
if (locallogxml.exists()) {
initialized = true;
DOMConfigurator.configure(fullyqualifiedlog4jpath);
log = Logger.getLogger(Log4j.class.getName());
log.info(Version + "Logger initialized");
else {
System.out.println(Version + "Unable to locate the log4j.xml file");
}It works perfectly when running the application with the embedded Jdev11 WLS.
When deploying the application on a standalone WLS server the path is not returned ;-( I get a null value.
Does someone has three lines of code which get the physical path of my web app root context?
YvesChanged the methiod used to access log4j.xml.
FacesContext ctx = FacesContext.getCurrentInstance();
ServletContext sctx = (ServletContext) ctx.getExternalContext().getContext();
String contextPath = sctx.getContextPath();
HttpServletRequest hsr = (HttpServletRequest)ctx.getExternalContext().getRequest();
String host = hsr.getServerName();
int port = hsr.getServerPort();
try
String urlstring = "http://" + host + ":" + port + contextPath + "/faces/log4j.xml";
DOMConfigurator.configure(new URL(urlstring));
log = Logger.getLogger(Log4j.class.getName());
.....using the URL s OK. -
Real time transaction response - unable to locate the root element
Hi There
Has anyone integrated webMethods with Data Services 3.2 for real time transactions?
We are trying to create a real time dataflow, initiated by webMethods. We are sending the request to the Access Server which runs our
real time dataflow and does process the request. However, our return response is null. No data in the response back to webMethods. We have
tested this in soapUI, and our transaction does work. We get the correct response back.
So my question is has any experienced this issue with webMethods? Any suggestions or ideas?
Here is the error
===========================================
Path name:
PortType: Real-time_Services
Operation: Realtime_address_cleanse
WSDL code: S-9043
[ISS.0092.9043] Schema Error: 1
pathName: null
errorCode: CONV-004
errorMessage: [ISC.0082.9104] DataOut - unable to locate the root element
identifier: null
===========================================
ps- xmlspy does not work as well
Please let me know
Thanks
KurtThe problem was the generated test SOAP message from Netbeans. When built, the interface had more levels than described below. I've also had similar issues caused by bad namespaces - either not defined properly or not picking up the default namespace.
-
it used to be in the gold ole days of sharepoint 2010 and office 2010 that when I created a document in sharepoint and saved it I would get a dialog, like this (see below) I have also attached a screen shot of the 2013 save dialog (when you save
a document for the first time).
I find it strange that the user actually has to select their "Current Folder" and also that it shows in the dialog as "other web locations" Why can't it be like in the 2010 days where it automically selects the correct location
and the user just hits save. And why does the sharepoint location show up as an "other web location". Is there anything that can be done (through office registry settings or another way) to make this less confusing for our users???
now when I do this in office 2013 I get a dialog like this:
krdHi kdube,
I test in SharePoint 2013 again, When I created a new document library and created a first document and clicked save as, I got a same dialog with you that "Current Folder" was under "other web locations".
But when I created a second document and from then on, when I clicked save as, I got a same dialog with myself that "Current Folder" was under "SharePoint".
As I have said, Actually, web locations contain Microsoft SkyDrive and SharePoint libraries. Even the default path under "other web locations", it will not affect the Save As function.
Best Regards,
Lisa Chen
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
Hello, been receiving this error in Desktop Admistrator Web admin. I have tried the fix where you change the environment variable path and delete the Team Admin folders, but still receive the error. Any ideas??
7.0(1)SR04ES02_Build023
ThanksHi All,
So to recap, these are the steps to be followed:
On the Unified CCX server, add the location of the WebAdminLib.dll
(C:\Program Files\Cisco\Desktop\bin) to the Path environment variable.
1. In Control panel, launch the System utility.
2. On the Advanced tab, click Environment Variables.
3. From the list of system variables, select Path and click Edit.
4. In the Variable value field, locate the string C:\Program
Files\Cisco\Desktop\bin; and, using cut/paste, move it to the beginning of
the variable value string. This results in the DLL being accessed from the
correct location.
5. Click OK and close the System utility.
6. Stop the Cisco Unified Node Manager.
7. On the Unified CCX server, delete the teamadmin folder from these
locations:
C:\Program Files\wfavvid\tomcat_appadmin\webapps
C:\Program Files\wfavvid\tomcat_appadmin\work\catalina\localhost
8. Restart the Unified Node Manager, and wait two minutes.
9. Access Cisco Desktop Administrator and verify that you can navigate to
the Services Configuration
Documentation:
http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/
reference/guide/cad66ecd.pdf (pg 29)
In case this does not solve the issue, please verify if you are hitting the defect: CSCtr07664
Sometimes, the dll itself might be corrupted and thus the options in front of you are:
1) OS repair using the software disk
2) Rebuild the node
Regards,
Abhiram Kramadhati -
Unable to determine the install root path for the LabVIEW Runtime Engine
Hi,
i have an issue with using a LabVIEW interop assembly in a .NET application. I get an exception "Unable to determine the install root path for the LabVIEW Runtime Engine" when calling the assembly.
The little test program is attached below. It's called dotNETHost.exe. If you excecute the programm a dialog with an button appears. Clicking the button shall open another dialog (the LabVIEW Interop component). But the only thing I get is the exception message. The ZIP folder also contains the complete exception meassage (ExceptionMessange.jpg & ExceptionDetails.txt).
The Interop Assembly was built with LabVIEW 2011. We use Visual Studio 2010 and .NET 4.0.. The dotNETHost.exe.config file is prepared as mentioned in Knowledge base - Loading .NET 4.0 assemblies.
The Interop assembly contains only one simple dialog (loop is finished by clicking OK) without calling any other VIs or other DLL's. In case of this there's also no support directory generated by the build process.
I have no idea why it doesn' work. I hope anyone can help me.
Thanks in advance
Kay
Attachments:
Debug.zip 75 KBThis may be unrelated, but Labview and .Net4.0 dont work well together. Not yet anyway. I had to compile my assembly in 3.5 to get it to work.
Please read the following:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/configuring_clr_version/
http://digital.ni.com/public.nsf/allkb/32B0BA28A72AA87D8625782600737DE9
http://digital.ni.com/public.nsf/allkb/2030D78CFB2F0ADA86257718006362A3?OpenDocument
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
in Leopard Spotlight used to show you the path /location of a file when you stayed with the mouse over the result. As sometimes I just look for the location of a file not to open it like a mp3 file. It would be nice to have a opiton in spotlight to contorl or right click a file and then give the option to say show in finder. that only works when you have your results show up in finder first and takes a bit longer. or maybe in the new prieview window to show the loaation or give you opitons what to do with the file
Just an idea to spotlight even betterWhen you hover over a file in spotlight list (or select with up/down arrow) you can also hit command-R to open the folder where the file is located. Kind of like 'Show Original' for aliases.
But yeah, Apple really needs to just show the directory path on the hover pop-up by default. Obviously, when you do a search you'll most likely get several files with the same name - we need to see the locations to tell them apart. One of the main reasons to do a file search is to simply find out 'where the file is located' - not necessarily open the file. Seems pretty shortsighted to not show the file location in the search result.
Maybe you are looking for
-
HP external USB DVD Drive not recognized by computer.
Have HP Mini-210 and HP external USB DVD Drive. When attached, the DVD drive lights and spins but computor will not recognize it. When checking Device Manager, it says no driver for DVD drive.. I try to reinstall the driver, and then it says I hav
-
I have a mobileme account connection doctor gives me the green. I can't send any mail from the Mail App. It shows 1 in outbox as soon as I click outbox it vanishes. No sent mail or any received in Inbox. Works fine with my Iphone and the web. It was
-
Still Confused by simple problem
A lot of people have tried to help me on this problem already but I'm just completely stuck (so please bear with me), I have 5 classes a super class Person, Employee and Manager which both extend Person, this works fine. Now I want to make a new appo
-
How to run flash movie in applet
can any one give me code for running flash movie in applet
-
Oracle Connector for Outlook will not end when I exit outlook???
Hi - can you help me, my OCFO keeps on running even when I am not in Outlook, I often want to stop this process because (as I found out today) it keeps popping up reminders for actions due even when I am in the middle of a Power Point show for a cust