Directory recursion in MX6

I've been asked to create an on-line tree of all the
collateral files on the site such as, .pdf, .doc, .xls. I want to
be able to dynamically grab every filename on the site from every
directory and list it.
Unfortunately, I'm stuck with CFMX6 so I can't use the
"recurse" parm to go through all the subdirs of my site. I've seen
some information out there on how to do this, but no helpful
examples.
I know I need to use recursion and I have a loop set up
that's using it, but I'm having a hard time figuring out how to go
as many directory levels deep as I need to. I think I can use the
"type" parm value of "dir" to tell me when I've hit a new directory
to search, but I don't know how to reset back to its root dir once
I'm done searching the sub-level (if that makes any sense).
Any tips or web references?

You are correct you need to use recursion. One of the easiest
ways to
do recursion on your version is either a custom tag or a
component method.
You call either the tag or method passing it the top level
directory.
It loops over this directory output files. When it finds a
directory
entry it calls itself passing in this directory. This new
instance
loops over the next level directory repeating all the above.
Your handing back to the higher level is handled
automatically by the
finishing of these spawned instances.
Basic outline using a custom tag
A basic CFM file:
<cf_directoryScan directory="c://myDir">
The custom Tag named "directoryScan":
<cfdirectory name="dirQry"
directory="#attributes.directory#"...>
<cfloop query="dirQry">
<cfif dirQry.type = "file">
<cfoutput>#dirQry.name#</cfoutput><br/>
<cfelse>
<cf_directoryScan
directory="#dirQry.directory#/#dirQry.name#">
</cfif>
<cfloop>
If you are on an old enough version of CF that
<cfdirectory...> returns
the '.' and '..' directories, you will want to filter these
out so that
you do not create an endless loop of recursion.
Rough, untested code with all the usual warnings.

Similar Messages

  • Error 7 occurred at Create Folder in Create Directory Recursive.vi-

    Recieved following message when attemoting to create source distribution
    Error 7 occurred at Create Folder in Create Directory Recursive.vi->ABAPI Dist Create Directory Recursive.vi->ABAPI Dist Chk for Destinations.vi->ABAPI Copy Files and Apply Settings.vi->SDBEP_Invoke_Build_Engine.vi->SDBUIP_Build_Invoke.vi->SDBUIP_Build_Rule_Editor.vi->SDBUIP_Item_OnDoProperties.vi->SDBUIP_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux.

    Hello,
    Could you please list which options you are selecting when building a
    source distribution (I am assuming you are using LabVIEW 8.0?).
    Do you get this error when clicking on "Generate Preview" button when configuring source distribution properties?
    Under "Distribution Settings" category, could you try checking the
    "Disconnect type definitions and remove unuses polymorphic VI
    instances" option and see if that helps with the build process?
    Also I suggest Mass Compiling your VIs (Tools -> Advanced -> Mass Compile) before creating a source distribution.
    If these do not help, could you attach your project with all the VIs it contains here?
    Thank you and best regards,
    Shakhina P.
    Applications Engineer
    National Instruments

  • How to copy directory recursively?

    Hello!
    How to copy directory recursively on solaris?
    Thanks
    Prity

    Hello!
    I am New to Unix. have questions regarding unix/solaris commands.
    If i want to ask unix/solaris command related questions. Is this correct place to post?
    If not where can i post them?
    Please help!!1
    Prity

  • Error 1430 occurred at Create Folder in Create Directory Recursive.​vi

    Hi all..
    I am facing the error which stated :
    Error 1430 occurred at Create Folder in Create DirectoryRecursive.vi->AB_Destination.lvclass:Crea​te_Destination.vi->AB_Build.lvclass:Create_Destina​tions.vi->AB_Application.lvclass:Create_Destinatio​ns.vi->AB_Build.lvclass:Build.vi->AB_Application.l​vclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build​.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.l​vclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoP​roperties.vi->AB_Item_OnDoProperties.vi.ProxyCalle​r
    Possible reason(s):
    LabVIEW:  The path isempty or relative. You must use an absolute path.
    <Not A Path> 
    I have been trying to do all solutions given by error 6 such as check the  disconnect type definition and remove unused polymorphic VI instances, generate the absolute path and etc. However the same error still occured.
    Please advise guys~ I'm using LabView 2009. 

    I'm having the same problem when trying to build a RT executable.  
    I'm using the FTP Put Buffer.vi along with a data to string example I found on the NI website. I can build the executable when I use a constant instead of the data to string but I can't for the life of me figure out why.
    Order of pictures:
    dataftp.png, which shows the data to string connecting to the data input on the FTP Put Buffer.vi.
    vars.png,which shows thevars being placed into an array and connecting to the Convert to String vi.
    convert.png, which shows the guts of the convert to string vi.
    Attachments:
    dataftp.png ‏2 KB
    vars.png ‏5 KB
    convert.png ‏7 KB

  • What is the command to change the file permission of all the files in a directory recursively?

    I know it is chmod -R <permission> Files/directory_name in unix/linux. Tried the same format but not getting the desired output.
    Any suggestion about the format of command in Solaris ?
    chmod <permission> filename is working but not chmod -R <permission> directory_name doesn't.
    Thanks
    Shashank.

    This command is correct. What is the result of the command if you run it ? What is the command that you use ? And which file system format is it ?

  • Recursive file list pattern

    Hello,
    I have created a subvi that searches through a main folder for specific files and adds them to a compressed folder. I have 4 folders I need to create for different types of collected files (.csv and .txt). The naming convention of the files include a subject identifier, task description, and time stamp (most of the time). Here are a few examples:
    ABC_30s_narrow_ec_12-23-42-PM_R.csv (multiple with different time stamps)
    ABC_30s_narrow_ec_12-23-42-PM_L.csv (multiple with different time stamps)
    ABC_sts_arms_12-21-06-PM.csv (multiple with different time stamps)
    ABC_Tablet_2_12-26-56-PM.txt (multiple with different time stamps)
    ABC_gait.txt
    ABC_zero.csv
    I have tried using the pattern input of the Recursive File List vi to search for a specific task (e.g. 30s) and move that to a specified compressed folder (e.g. balance). The files are only moved if the "pattern" at the end of the filename. Does the pattern only match the end of the files listed or can I get it to search for the pattern in the middle of the name? And is it possible to search for two patterns (e.g. 30s and zero) and move them to the same folder, without overwriting the compressed file? I would like to figure this out without changing the naming convention too much (predetermined by somebody else).
    Thanks in advance,
    Anton
    Solved!
    Go to Solution.
    Attachments:
    example.png ‏633 KB

    The OpenG List Directory Recursive does support searching on multiple patterns.  Otherwise yeah just use the native function multiple times.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Create file system directory, no oracle directory

    I want to create a directory in the filesystem, example / test / directory1,
    I want to create a directory tree example:
    / test / directory1
    / test / dir2
    / test / dir2 / folder
    as if a linux mkdir.
    Is it possible with sql?
    thanks
    Greetings

    i need Java (jserver) installed in oracle no?,
    for load in the database, with this:
    declare
    f file_type;
    fz file_type;
    r number;
    begin
    -- get a handle for the "tmp" directory
    f:=file_pkg.get_file('/tmp');
    -- create a new temporary directory where the zip archive is being
    -- extracted into ... make the filename unique using TIMESTAMP
    fz := f.create_dir(+
    'zipdir_temp_'||user||'_'||to_char(systimestamp, 'YYYYMMDD_HH24MISS.SSSS')
    -- DOIT:
    -- extract the zipfile; the -qq switch is very important here - otherwise
    -- the OS process will not come back
    r := os_command.exec('unzip -o -qq [PATH/TO/ZIPFILE] -d '||fz.file_path);
    -- if the result is 0 (=success) load the contents of the temporary directory
    -- (recursively) with ONE (!) SQL INSERT command
    if r = 0 then
    insert into document_table (
    select
    seq_documents.nextval id,
    e.file_path,
    e.file_name,
    file_pkg.get_file(e.file_path).get_content_as_clob('iso-8859-1') content
    from table(file_pkg.get_recursive_file_list(fz)) e
    end if;
    -- finally delete the temporary directory and its contents
    fz := fz.delete_recursive();
    end;
    sho err
    and how install jserver??
    Edited by: rafa298 on 05-may-2011 2:22

  • Search and Create Directory?

    Hello,
    how do I search for a directory and create it if it doesn't exist?
    Unfortunately, the 'New Directory' vi can't create a new directory
    with sub directories. For example, I want to create the directory
    'c:\measurements\data'. The 'New Directory' vi is only successfull if
    c:\measurements already exists. But this is not necessarily the case.
    In general, it is not fixed how nested the new directory is and how
    many sub directories already exist.
    What I would like to have is a dialog that pops up if the specified
    directory (control) doesn't exist. It informs the user that it doesn't
    exist and asks him or her to create it. The user can click a Yes or a
    Cancel button. Then it creates the directory as appropriate. Actually
    this is just a st
    andard Windows dialog.
    I use LabView 5.1
    Any help would be great
    Johannes

    If you have the Professional edition of LabVIEW 5.1, you can use the following VI:
    [LabVIEW 5.1]\project\Source Code Control\_utils\Create Directory Recursive.vi
    This VI is available in all editions of LabVIEW starting in version 7.0 in vi.lib\utility\libraryn.llb.
    Good luck,
    -D
    P.S. - Here is a screenshot of the VI from LabVIEW 5.1, so you can compare it to the example posted previously.
    Message Edited by Darren on 04-16-2007 01:35 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    create_directory_recursive_51.png ‏17 KB

  • Zipping folders recursively

    Hello. I'm new to Java.I have a program that zips a directory recursively, but the problem is with the empty folders.I need to keep the structure of the directory, even if there are empty folders.Can anyone help me, please?
    Thank u in advance!
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStreamReader;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    public class Zipping {
    public static void main(String[] a) throws Exception {
    BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
    System.out.println("Enter the source directory/file name : ");
    String source = in.readLine();
    File src = new File (source);
    if (src.isDirectory()) {
    String zipFile = source + ".zip";
    zipFolder (source, zipFile);
    else {
    int lastDot = source.lastIndexOf(".");
    String zipFile;
    if (lastDot != -1) {
    zipFile = source.substring(0, lastDot) + ".zip";
    else {
    zipFile = source + ".zip";
    zipFolder (source, zipFile);
    static public void zipFolder(String srcFolder, String destZipFile) throws Exception {
    ZipOutputStream zip = null;
    FileOutputStream fileWriter = null;
    fileWriter = new FileOutputStream(destZipFile);
    zip = new ZipOutputStream(fileWriter);
    addFileToZip("", srcFolder, zip);
    zip.flush();
    zip.close();
    static private void addFileToZip(String path, String srcFile, ZipOutputStream zip) throws Exception {
    File folder = new File(srcFile);
    if (folder.isDirectory()) {
    addFolderToZip(path, srcFile, zip);
    else {
    byte[] buf = new byte[1024];
    int len;
    FileInputStream in = new FileInputStream(srcFile);
    zip.putNextEntry(new ZipEntry(path + "/" + folder.getName()));
    while ((len = in.read(buf)) > 0) {
    zip.write(buf, 0, len);
    static private void addFolderToZip(String path, String srcFolder, ZipOutputStream zip) throws Exception {
    //if ( src.isDirectory()) { 
    File folder = new File(srcFolder);
    String[] fileName = folder.list();
    for (int i = 0; i < fileName.length; i++) {
    if (path.equals("")) {
    addFileToZip(folder.getName(), srcFolder + "/" + fileName, zip);
    else {
    addFileToZip(path + "/" + folder.getName(), srcFolder + "/" + fileName[i], zip);

    I hope this is better:
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    public class Zipping {
    public static void main(String[] args) throws Exception {
    BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
    System.out.println("Enter the source directory/file name : ");
    String source = in.readLine();   
    File src = new File (source);
    if (src.isDirectory()) {
       String zipFile = source + ".zip";
       zipFolder (source, zipFile);
    else {
         int lastDot = source.lastIndexOf(".");
         String zipFile;
         if (lastDot != -1) {
            zipFile = source.substring(0, lastDot) + ".zip"; 
         else {
              zipFile = source + ".zip";
    zipFolder (source, zipFile);   
    static public void zipFolder(String srcFolder, String destZipFile) throws Exception {
        ZipOutputStream zip = null;
        FileOutputStream fileWriter = null;
        fileWriter = new FileOutputStream(destZipFile);
        zip = new ZipOutputStream(fileWriter);
        addFileToZip("", srcFolder, zip);
        zip.flush();
        zip.close();
      static private void addFileToZip(String path, String srcFile, ZipOutputStream zip) throws Exception {
        File folder = new File(srcFile);
        if (folder.isDirectory()) {
            addFolderToZip(path, srcFile, zip);
        else {
             byte[] buf = new byte[1024];
             int len;
             FileInputStream in = new FileInputStream(srcFile);
             zip.putNextEntry(new ZipEntry(path + "/" + folder.getName()));
             while ((len = in.read(buf)) > 0) {
                   zip.write(buf, 0, len);
      static private void addFolderToZip(String path, String srcFolder, ZipOutputStream zip) throws Exception {
           File folder = new File(srcFolder);
           String[] fileName = folder.list();
           for (int i = 0; i < fileName.length; i++) {
               if (path.equals("")) {
                  addFileToZip(folder.getName(), srcFolder + "/" + fileName, zip);
    else {
    addFileToZip(path + "/" + folder.getName(), srcFolder + "/" + fileName[i], zip);

  • Opening file present in treeview by clicking on it within a table? I had created a table with a row and two columns. in one column i had dislayed treeview and want that if i click on the file in treeview it gets opened in other column. Can this happen?

    I also got a code in some website related to my problem but there are errors in this code that i am not able to understand can you correct those errors:
    using System;
    using System.IO;
    using System.Collections;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Web;
    using System.Web.SessionState;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.HtmlControls;
    using Microsoft.Web.UI.WebControls;
    namespace shark.TreeView
    /// <summary>
    /// Summary description for DocTree.
    /// </summary>
    public class DocTree : System.Web.UI.Page
    protected Microsoft.Web.UI.WebControls.TreeView TreeCtrl;
    public DocTree()
    Page.Init += new System.EventHandler(Page_Init);
    private void Page_Load(object sender, System.EventArgs e)
    if ( ! this.IsPostBack )
    // add tree node "type" for folders and files
    string imgurl = "/shark/webctrl_client/1_0/Images/";
    TreeNodeType type;
    type = new TreeNodeType();
    type.Type = "folder";
    type.ImageUrl = imgurl + "folder.gif";
    type.ExpandedImageUrl = imgurl + "folderopen.gif";
    TreeCtrl.TreeNodeTypes.Add( type );
    type = new TreeNodeType();
    type.Type = "file";
    type.ImageUrl = imgurl + "html.gif";
    TreeCtrl.TreeNodeTypes.Add( type );
    // start the recursively load from our application root path
    // (we add the trailing "/" for a little substring trimming below)
    GetFolders( MapPath( "~/./" ), TreeCtrl.Nodes );
    // expand 3 levels of the tree
    TreeCtrl.ExpandLevel = 3;
    private void Page_Init(object sender, EventArgs e)
    InitializeComponent();
    // recursive method to load all folders and files into tree
    private void GetFolders( string path, TreeNodeCollection nodes )
    // add nodes for all directories (folders)
    string[] dirs = Directory.GetDirectories( path );
    foreach( string p in dirs )
    string dp = p.Substring( path.Length );
    if ( dp.StartsWith( "_v" ) )
    continue; // ignore frontpage (Vermeer Technology) folders
    nodes.Add( Node( "", p.Substring( path.Length ), "folder" ) );
    // add nodes for all files in this directory (folder)
    string[] files = Directory.GetFiles( path, "*.aspx" );
    foreach( string p in files )
    nodes.Add( Node( p, p.Substring( path.Length ), "file" ) );
    // add all subdirectories for each directory (recursive)
    for( int i = 0; i < nodes.Count; i++ )
    if ( nodes[ i ].Type == "folder" )
    GetFolders( dirs[ i ] + "\\", nodes[i ].Nodes );
    // create a TreeNode from the specified path, text and type
    private TreeNode Node( string path, string text, string type )
    TreeNode n = new TreeNode();
    n.Type = type;
    n.Text = text;
    if ( type == "file" )
    // strip off the physical application root portion of path
    string nav = "/" + path.Substring( MapPath( "/" ).Length );
    nav.Replace( '\\', '/' );
    n.NavigateUrl = nav;
    // set target if using FRAME/IFRAME
    n.Target="doc";
    return n;
    #region Web Form Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    this.Load += new System.EventHandler(this.Page_Load);
    #endregion
    and the design that i got on website for the code that i displayed just above it is
    <%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls" %>
    <%@ Page language="c#" Codebehind="DocTree.aspx.cs" AutoEventWireup="false" Inherits="shark.TreeView.DocTree" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    <HEAD>
    <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript (ECMAScript)" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    </HEAD>
    <body>
    <form id="DocTree" method="post" runat="server">
    <table height="100%" cellSpacing="0" cellPadding="8" border="0">
    <tr height="100%">
    <td vAlign="top">
    <iewc:treeview id="TreeCtrl" runat="server" SystemImagesPath="/shark/webctrl_client/1_0/treeimages/">
    </iewc:treeview>
    </td>
    <td vAlign="top" width="100%" height="100%">
    Click on any *.aspx page in the tree and it should load here <iframe id="doc" name="doc" frameBorder="yes" width="100%" scrolling="auto" height="100%">
    </iframe>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </HTML>
    This is my code for viewing treeview but it is not expanding plz help me in this also
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Data;
    using System.IO;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;
    using System.Media;
    using System.Drawing;
    using System.Drawing.Imaging;
    public partial class _Default : System.Web.UI.Page
    protected void Page_Load(object sender, EventArgs e)
    if (Page.IsPostBack == false)
    System.IO.DirectoryInfo RootDir = new System.IO.DirectoryInfo(Server.MapPath("~/Files"));
    // output the directory into a node
    TreeNode RootNode = OutputDirectory(RootDir, null);
    // add the output to the tree
    MyTree.Nodes.Add(RootNode);
    TreeNode OutputDirectory(System.IO.DirectoryInfo directory, TreeNode parentNode)
    // validate param
    if (directory == null) return null;
    // create a node for this directory
    TreeNode DirNode = new TreeNode(directory.Name);
    // get subdirectories of the current directory
    System.IO.DirectoryInfo[] SubDirectories = directory.GetDirectories();
    // OutputDirectory(SubDirectories[0], "Directories");
    // output each subdirectory
    for (int DirectoryCount = 0; DirectoryCount < SubDirectories.Length; DirectoryCount++)
    OutputDirectory(SubDirectories[DirectoryCount], DirNode);
    // output the current directories file
    System.IO.FileInfo[] Files = directory.GetFiles();
    for (int FileCount = 0; FileCount < Files.Length; FileCount++)
    DirNode.ChildNodes.Add(new TreeNode(Files[FileCount].Name));
    } // if the parent node is null, return this node
    // otherwise add this node to the parent and return the parent
    if (parentNode == null)
    return DirNode;
    else
    parentNode.ChildNodes.Add(DirNode);
    return parentNode;
    This is my design
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
    <title></title>
    <style type="text/css">
    .auto-style2
    width: 412px;
    .auto-style3
    width: 174px;
    .auto-style4
    width: 743px;
    .auto-style5
    width: 506px;
    height: 226px;
    </style>
    </head>
    <body>
    <form id="form1" method="post" runat="server">
    <table align:"center" class="auto-style4" border="1" style="table-layout: fixed; border-spacing: 1px">
    <tr>
    <td class="auto-style3">
    <br />
    <br />
    <br />
    <br />
    </td>
    <td class="auto-style2">
    <br />
    <br />
    <br />
    <br />
    </td>
    </tr>
    <tr>
    <td class="auto-style3" valign="top">
    <asp:TreeView Id="MyTree" PathSeparator = "|" ExpandDepth="0" runat="server" ImageSet="Arrows" AutoGenerateDataBindings="False">
    <SelectedNodeStyle Font-Underline="True" HorizontalPadding="0px" VerticalPadding="0px" ForeColor="#5555DD"></SelectedNodeStyle>
    <NodeStyle VerticalPadding="0px" Font-Names="Tahoma" Font-Size="10pt" HorizontalPadding="5px" ForeColor="#000000" NodeSpacing="0px"></NodeStyle>
    <ParentNodeStyle Font-Bold="False" />
    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD"></HoverNodeStyle>
    </asp:TreeView>
    </td>
    <td class="auto-style2">
    <base target="_blank" /> <iframe frameborder="0" scrolling="yes" marginheight="0" marginwidth="0"
    src="" class="auto-style5"></iframe>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    Hi meghage,
    From your code, it is a WebForm project.
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You can consider posting it in asp.net forum for supports . Thanks.
    ASP.NET: http://forums.asp.net
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • New to Powershell - Please Help

    In short - I believe Powershell can achieve what is needed but I'm not sure how to compile the script. 
    I have roughly 2k directories including multiple levels of subdirectories. I would like to achieve the following:
    1. Identify all directories with 4 files or less within.
    2. Move found files to a directory "c:\DumpDir".
    3. "Cleanup" Delete all empty directories.
    4. Print report "not required" just a desire.
    After 4hrs of research I've only been able to come up with the identification piece, but when I try to include the move function things get odd. I finally admitted defeat and thought it best to seek help.
    "(gci C:\bends\ -r | ? {$_.PSIsContainer -eq $True}) | ? {$_.GetFiles().Count -eq 4} | select FullName"
    Thank you,
    Chris

    You are getting directories but you want to move files. Use the directory  to call the Get-ChildItem with the directory name:
    Get-ChildItem C:\temp -Directory -Recurse |
    Where {$_.GetFiles().Count -eq 4} |
    Get-ChildItem -File |
    Move-Item -Destination c:\temp -WhatIf
    ¯\_(ツ)_/¯

  • Error 1430 when adding a new VI to the program

    I have a program I developed in LV 2009 in 2009 and now I am updating it.  I accidently opened it up in 2010 and saved it.  There are Microsoft office tools that were built into LV 2009 that are removed in 2010 that I had used in my program.  So I had to save as previous version (2009).  After everything worked and I could run the code and compile I continued developing.  At one point I tried to compile and got an Error.
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1430 occurred at Create Folder in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Build.lvclass:Build_from_Wizard.vi->AB_UI_Frmwk_Build.lvclass:Build.vi->AB_UI_FRAMEWORK.vi->AB_Item_OnDoProperties.vi->AB_Item_OnDoProperties.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: The path is empty or relative. You must use an absolute path.
    <Not A Path>
    I have now figured out that if I add a new VI to the program, it gives this error.  If I remove the VI, it compiles with no errors.  If I add a blank VI with no code, it gives  the error.  I have worked as far as I could without adding a VI but now i need a pop up window and need to the VI.  The code is too large to fit the max 6MB requirements.
    Thanks
    Matt
    Solved!
    Go to Solution.

    Hi mattyk,
    When you say compile, do you mean press the run button? When exactly does this error show up?
    I suggest you try copying all of your VIs into a new project, and try running the new project. It sounds like your project may have been corrupted in the process of upgrading and re-saving to a previous version.
    I hope this helps! Regards,
    Emily C
    Applications Engineer
    National Instruments

  • OIM 11G Startup error

    Hi,
    The installation on OEL with weblogic went fine using appoim user (non-root).
    By mistake one of the team members during scheduled restart, started the weblogic and oim services as root user. It came up without any issues. But later when I tried to start the services using appoim user; it won't come up due to file permission issues. I manually changed the file permissions and tried to start it using appoim user, it would come up with lot of errors. And the login page is not properly loaded, and also unable to login.
    Log file is below
    <Apr 7, 2012 10:55:45 AM GST> <Notice> <Stdout> <BEA-000000> <<Apr 7, 2012 10:55:44 AM GST> <Error> <oracle.iam.platform.authz.impl> <IAM-1010000> <Encountered exception {0}
    java.lang.RuntimeException: java.lang.ClassNotFoundException
         at com.bea.security.MicroSM.getInstance(MicroSM.java:92)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.init(OESAuthzServiceImpl.java:139)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.<init>(OESAuthzServiceImpl.java:105)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at oracle.iam.platform.authz.vo.OESAuthzServiceFactory.getOESAuthzService(OESAuthzServiceFactory.java:57)
         at oracle.iam.platform.authz.impl.AuthorizationServiceImpl.<init>(AuthorizationServiceImpl.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884)
         at oracle.iam.platform.utils.SpringBeanFactory.getBean(SpringBeanFactory.java:75)
         at oracle.iam.platform.Platform.getBean(Platform.java:214)
         at oracle.iam.platform.Platform.getService(Platform.java:255)
         at oracle.iam.identity.usermgmt.impl.UserManagerImpl.<init>(UserManagerImpl.java:325)
         at oracle.iam.identity.usermgmt.internal.impl.UserManagerInternalImpl.<init>(UserManagerInternalImpl.java:48)
         at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:106)
         at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
         at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
         at oracle.iam.platformservice.api.ClientLoginSessionServiceEJB.loginSessionCreatedx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy218.loginSessionCreatedx(Unknown Source)
         at oracle.iam.platformservice.api.ClientLoginSessionService_1nfafx_ClientLoginSessionServiceRemoteImpl.loginSessionCreatedx(ClientLoginSessionService_1nfafx_ClientLoginSessionServiceRemoteImpl.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
         at $Proxy145.loginSessionCreatedx(Unknown Source)
         at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy217.loginSessionCreated(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:114)
         at oracle.iam.platform.OIMInternalClient.loginAsAdmin(OIMInternalClient.java:69)
         at oracle.iam.scheduler.impl.util.SchedulerUtil.getSchedulerService(SchedulerUtil.java:733)
         at oracle.iam.scheduler.webapp.SchedulerStartupServlet.startScheduler(SchedulerStartupServlet.java:92)
         at oracle.iam.scheduler.webapp.SchedulerStartupServlet.init(SchedulerStartupServlet.java:46)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassNotFoundException
         at oracle.iam.platform.authz.vo.OESClassLoader.loadClass(OESClassLoader.java:105)
         at com.bea.security.MicroSM.getInstance(MicroSM.java:81)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.init(OESAuthzServiceImpl.java:139)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.<init>(OESAuthzServiceImpl.java:105)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at oracle.iam.platform.authz.vo.OESAuthzServiceFactory.getOESAuthzService(OESAuthzServiceFactory.java:57)
         at oracle.iam.platform.authz.impl.AuthorizationServiceImpl.<init>(AuthorizationServiceImpl.java:128)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884)
         at oracle.iam.platform.utils.SpringBeanFactory.getBean(SpringBeanFactory.java:75)
         at oracle.iam.platform.Platform.getBean(Platform.java:214)
         at oracle.iam.platform.Platform.getService(Platform.java:255)
         at oracle.iam.identity.usermgmt.impl.UserManagerImpl.<init>(UserManagerImpl.java:325)
         at oracle.iam.identity.usermgmt.internal.impl.UserManagerInternalImpl.<init>(UserManagerInternalImpl.java:48)
         at oracle.iam.identity.usermgmt.impl.UserDetailsProviderImpl.getUserDetails(UserDetailsProviderImpl.java:106)
         at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setUserPreferences(AuthenticationContextUtilForEJB.java:137)
         at oracle.iam.platform.auth.impl.util.AuthenticationContextUtilForEJB.setAuthenticationContextInEJB(AuthenticationContextUtilForEJB.java:93)
         at oracle.iam.platformservice.api.ClientLoginSessionServiceEJB.loginSessionCreatedx(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy218.loginSessionCreatedx(Unknown Source)
         at oracle.iam.platformservice.api.ClientLoginSessionService_1nfafx_ClientLoginSessionServiceRemoteImpl.loginSessionCreatedx(ClientLoginSessionService_1nfafx_ClientLoginSessionServiceRemoteImpl.java:121)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
         at $Proxy145.loginSessionCreatedx(Unknown Source)
         at oracle.iam.platformservice.api.ClientLoginSessionServiceDelegate.loginSessionCreated(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy217.loginSessionCreated(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.iam.platform.OIMClient.loginSessionCreated(OIMClient.java:209)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:136)
         at oracle.iam.platform.OIMClient.login(OIMClient.java:114)
         at oracle.iam.platform.OIMInternalClient.loginAsAdmin(OIMInternalClient.java:69)
         at oracle.iam.scheduler.impl.util.SchedulerUtil.getSchedulerService(SchedulerUtil.java:733)
         at oracle.iam.scheduler.webapp.SchedulerStartupServlet.startScheduler(SchedulerStartupServlet.java:92)
         at oracle.iam.scheduler.webapp.SchedulerStartupServlet.init(SchedulerStartupServlet.java:46)
         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
         at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
         at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
         at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:220)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >>
    <Apr 7, 2012 10:55:45 AM GST> <Notice> <Stdout> <BEA-000000> <<Apr 7, 2012 10:55:45 AM GST> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : oracle.iam.platform.authz.api.AuthorizationService>>
    <Apr 7, 2012 10:55:45 AM GST> <Notice> <Stdout> <BEA-000000> <<Apr 7, 2012 10:55:45 AM GST> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : {0}
    java.lang.ClassNotFoundException
         at oracle.iam.platform.authz.vo.OESClassLoader.loadClass(OESClassLoader.java:105)
         at com.bea.security.MicroSM.getInstance(MicroSM.java:81)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.init(OESAuthzServiceImpl.java:139)
         at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.<init>(OESAuthzServiceImpl.java:105)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    Hi,
    I had faced same issue.
    Just try one thing.
    1. Remove all the contents from /tmp. and restart all the server with machine
    2. If above approach doesn't work
    What I did, I had given all the permission to oracle user Middleware directory recursively.
    Restart all the components with machine
    Do it your own risk.
    Thanks.
    kuldeep

  • Why do I get Error 42 when I build a RT-exe with numbers in the Target file?

    I can build a RT-exe without numbers in the Target Filename without any problems.
    As soon as I put a number in the Target Filename, lets say startup1.rtexe, I get the following error:
    Fehler 42 ist bei Ordner erstellen in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller aufgetreten
    Mögliche Ursachen:
    LabVIEW:  Allgemeiner Fehler.
    C:\Dokumente und Einstellungen\es-enn-extern1\Eigene Dateien\300. Programme\c\ni-rt\startup\startup.rtexe\LabVIEW 2009
    I use LV 2009, and I can't remember having this problem with LV 8.2 or 8.6. This made it a bit hard for me to figure out where the problem might be.
    Now I would like to use numbers in the Filename (e.g. version1.0.rtexe, version1.1.rtexe...). Any ideas how to make this work?
    Solved!
    Go to Solution.

    thanks for the answer Christian
    here is a dummy project where I experience the same problem (LV 2009).
    Message Edited by kein on 12-15-2009 09:01 AM
    Attachments:
    LV Project.zip ‏24 KB

  • My permissions seem to be borked, how do I fix this?

    I made a complete backup of the system with "rsync -aAXv", and set up my encryption. After restoring everything, and booting up and trying to login, openbox didn't want to start, and "startx" didn't work either. After a bit of testing I noticed that I didn't have the permissions to create the necessary temporary files and therefore x and openbox didn't start.
    I just ran "ls -l" on /home/john/.Xresources
    "-rw------- 1 john john 54 Sep  6 11:10 /home/john/.Xauthority"
    When I try to run openbox, I get this:
    "Openbox-Message: Unable to make directory '/home/john/.cache/openbox': Permission denied
    Openbox-Message: Unable to make directory "/home/john/.cache/openbox/sessions": Permission denied
    Openbox-Message: Failed to open the display from the DISPLAY environment variable."
    Where does the problem come from?
    Can using pcmanfm to copy files (ctrl-c + ctrl-v) cause this? I first had to copy the backup from my external harddrive (ext4) to my laptop (btrfs) and then back before I restored the files on my desktop pc.
    Last edited by Nordic89 (2014-09-07 10:10:01)

    When copying files/folders with root privilages, root becomes the owner of these files/folders. It may be that some of the directories and files you copied are owned by the root user/group and not user/group john. What you could do is change the permissions of all files in the directory recursively so that all files are owned by user/group john. This can be done using 'chown'. Login as root user or if you have administrative privilages, use 'sudo' followed by the below command to change the permissions of all the files in the directory "john" recursively:
    # chown -R john:john /home/john
    What this does is recursively (-R) change the user:group (ownership) of all directories and its content to john:john, thus allowing that user full acces to all files in that directory.
    To learn more about chown and user permissions:
    $ man chown
    Arch Wiki: File permissions and attributes
    Last edited by rgb-one (2014-09-13 17:10:48)

Maybe you are looking for

  • Connecting EHP4 to BI system

    I have a new sandbox ERP 6 EHP4 java system. I installed portal and portal core software units and ehp4 portal content, but did not install bi-java as we have a seperate system with bi-java installed Now I am trying to connect the ERP java system to

  • Using rewritable CDs in a Mac

    Hi there, We have bought a pack of Verbatim 4 x CD-RW rewritable CDs to use in out iMac. Unfortunatelky when pwe puyt a CD in the computer doesn't recognise the CD. Anyone know why and are there only certain formats of CD that work in an iMac?

  • Cldc cdc compatibility

    help me in this An application deveoped in cldc/midp environment,will it run in cdc/personal profile environment. Thanks in advance

  • Need to strip the leading ZERO using ABAP code.

    Hi Friends, I got a situation where i got customer number called 011. I need to write an ABAP in Transformation to strip the leading ZERO , 11 should be posted to the master data attribute. could you help me in the logic pls. Thanks in advance,

  • Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'

    Error launching office client : Cannot run the macro 'RegisterEPMXIIFn' I've been receiving the above error since last week. I've adjusted the macro settings in excel and tried reinstalling the epm addin numerous times and up till now i haven't manag