Index owned by another user

hi all,
running a package.procedure from apex outputs:
ORA-13199: Index "INDEX_NAME" is owned by another user.
apex is using the owner schema.
any ideas / questions are very welcome.
ph

Other than the error message, this is an information-free zone. Where is the information requested in the FAQ and forum sticky threads?
- APEX version?
- DB version and edition?
- Web server architecture (EPG, OHS or APEX listener)?
- Browser(s) used?
>
running a package.procedure from apex outputs:
ORA-13199: Index "INDEX_NAME" is owned by another user.
apex is using the owner schema.
>
What "package.procedure"?
What "apex outputs"?
"apex is using the owner schema": which schema?
Can you replicate the problem on apex.oracle.com?
Generally the first thing to do on encountering an error message is to look it up in the documentation, where we find:
>
ORA-13199: string
Cause: This is an internal error.
Action: Contact Oracle Support Services.
>
Which is an unambiguous indication of the required course of action.
Additionally, searching the OTN forums and the web is might prove informative: if this has already been done and not proved helpful, then it would be helpful to say so.
The better a question is framed, the more likely you are to receive a rapid and helpful response.

Similar Messages

  • How to view index details of another user

    I can't view index detail of another schema in sql developer release 5.
    I'm doing this steps :
    1) I'm connecting with user lopes
    2) Open folder of user mrt
    3) Open table folder
    4) select a table xpto. At this point is openeda a frame details of table xpto. In this frame several information are displayed, when I select Indexes nothing is showed, but this table has a lot of indexes.
    How should I make this indexes information visible ? I think this form is using user_indexes.
    Thanks in advance.
    Danilo

    Who owns the indexes?
    I have cases where I am logged on as a user who has access to a table owned by another user, but indexes created and owned by the connected user (so would obviously be able to see them) are not displayed on the indexes tab for the table.
    I get the same problem with triggers owned by the connected user and dependencies to objects owned by the connected user not displaying on the table tab for tables owned by a different user.
    Presumably, rather than excluding indexes, triggers or dependencies owned by the current user, the details are being restricted to objects owned by the table owner.

  • How Can a User Access Georaster Data Owned by Another User

    We are unable to view raster data owned by one user with another user.
    Have a user that owns a Georaster table, and a spatial index table.
    We create another user, and grant him "SELECT", or "ALL" to these two tables.
    We still run into problems where the second user can not see some other table from the first user, so we run until we get an error message about some table, grant access to the table, and the next table, until we finally receive an error when trying to grant access to some table.
    "grant select on LGGI_DSC_COL_DBL_DATA_81 to schen;"
    ERROR at line 1:
    ORA-01720: grant option does not exist for 'LEICASYS.EDSC_VARRAY_DBL'
    Here are the users, and tables specific to our example
    User A: ORTHO (supplier)
    User B: SCHEN (consumer)
    We are trying to allow SCHEN view data from the raster table ORTHO.DEMOTB
    We grant SCHEN "ALL" on ORTHO.DEMOTB, ORTHO.LGGI_RDT_ORTHO_C1, ORTHO.LGGI_DSC_COL_MAP, then we fail granting access to ORTHO.LGGI_DSC_COL_DBL_DATA_81
    What are we doing wrong, it seems like this is a common work flow, we must be missing something obvious.

    Derrick,
    I suppose mashing up both Dan's answer and mine in this case is your best (and only option). The error, ORA-01720: grant option does not exist for 'LEICASYS.EDSC_VARRAY_DBL', is pointing to the fact that you not only have a GeoRaster table with GeoRaster and other native Oracle types, but also some extra user defined types (UDT) which your group has built to store nested arrays of information. Because the UDT in the table is its own object (just like a table is its own object) you must ALSO grant privileges to the UDT in order to use them in a cross-schema setup.
    In other words, this is not a simple "how do I use GeoRaster across schemas" question; this is a "how do I use GeoRaster, plus other UDTs that I have defined myself, across schemas" question.
    In this case you will have to login as a DBA or the user who created the EDSC_VARRAY_DBL type (LEICASYS), and specifically grant privileges on this type. Does that make sense? I know it's more work than what I alluded to before, but this is a different problem outside of the scope of GeoRaster.
    Finally, I work for Leica Geosystems, and noticed that your schema is called LEICASYS. If you would like to contact me directly you may do so at Justin dot Lokitz at lggi dot com.
    -Justin

  • Problem creating items in a folder owned by another user

    Hi
    Iam getting an exception when i try to create a folder owned (or shall i say) created by another user.Let me explain what iam doing :
    1. I have created a folder "INPRISE" under "/home".I have
    created an ACL "MyAcl" having group INPRISEGROUP
    as the ACE having all permissions.I have set the ACL "MyAcl" on the folder "INPRISE".
    2. I have created two users i1 and i2
    and placed them in the group INPRISEGROUP .Both these users have a link under thei home folder to "INPRISE" folder(achieved by using and addItem()).
    3. I could successfully login as i1 and create a folder "WebApps" under "INPRISE" and upload a document "A.txt" under "WebApps".
    4.But when i log in as "i2" and try to create a document "B.txt" under "WebApps" which was created by user "i1" i get the following exception :
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i1
    javawebserver: The home folder name is --> i1
    javawebserver: home folder
    javawebserver: **********Creating document in /home/i1/INPRISE/WebApps
    javawebserver: Created document..
    javawebserver: Setting permissions for the document....
    javawebserver: setting the access level
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: Got the user
    javawebserver: got the primary user profile
    javawebserver: THE HOME FOLDER IS --> i2
    javawebserver: The home folder name is --> i2
    javawebserver: home folder
    javawebserver: **********Creating document in /home/i2/INPRISE/WebApps
    javawebserver: Error while creating document.....
    javawebserver: oracle.ifs.common.IfsException: IFS-30002: Unable to create new
    LibraryObject
    javawebserver: oracle.ifs.common.IfsException: IFS-30048: Insufficient access t
    o add items to a Folder
    javawebserver: oracle.ifs.common.IfsException: IFS-30030: Permission not grante
    d on specified ACL
    javawebserver: at java.lang.Throwable.<init>(Compiled Code)
    javawebserver: at java.lang.Exception.<init>(Compiled Code)
    javawebserver: at org.omg.CORBA.UserException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.common.IfsException.<init>(Compiled Code)
    javawebserver: at oracle.ifs.server.S_AccessControlList.verifyStandardPermissi
    onEnabled(S_AccessControlList.java:602)
    javawebserver: at oracle.ifs.server.S_PublicObject.verifyPublicObjectPermissio
    n(S_PublicObject.java:2169)
    javawebserver: at oracle.ifs.server.S_Folder.verifyCanAddItem(S_Folder.java:10
    05)
    javawebserver: at oracle.ifs.server.S_Folder.addReference(S_Folder.java:719)
    javawebserver: at oracle.ifs.server.S_Folder.addReference(S_Folder.java:697)
    javawebserver: at oracle.ifs.server.S_PublicObject.postCreateAddToFolder(S_Pub
    licObject.java:2753)
    javawebserver: at oracle.ifs.server.S_PublicObject.extendedPostInsert(S_Public
    Object.java:995)
    javawebserver: at oracle.ifs.server.S_LibraryObject.postInsert(S_LibraryObject
    .java:1341)
    javawebserver: at oracle.ifs.server.OperationState.executeAtomicOperations(Com
    piled Code)
    javawebserver: at oracle.ifs.server.S_LibraryObject.createInstance(S_LibraryOb
    ject.java:2348)
    javawebserver: at oracle.ifs.server.S_LibrarySessio n.newLibraryObject(S_Librar
    ySession.java:6596)
    javawebserver: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_Library
    Session.java:6637)
    javawebserver: at oracle.ifs.server.S_LibrarySession.newPublicObject(S_Library
    Session.java:6619)
    javawebserver: at oracle.ifs.server.S_LibrarySession.DMNewPublicObject(S_Libra
    rySession.java:6407)
    javawebserver: at oracle.ifs.beans.LibrarySession.DMNewPublicObject(LibrarySes
    sion.java:6913)
    javawebserver: at oracle.ifs.beans.LibrarySession.NewPublicObject(LibrarySessi
    on.java:4564)
    javawebserver: at oracle.ifs.beans.LibrarySession.createPublicObject(LibrarySe
    ssion.java:2562)
    javawebserver: at oracle.ifs.utils.common.PublicObjectUtilities.createDocument
    (PublicObjectUtilities.java:537)
    javawebserver: at oracle.ifs.utils.common.PublicObjectUtilities.putAsDocumentW
    ithVersioning(PublicObjectUtilities.java:163)
    javawebserver: at oracle.ifs.adk.filesystem.IfsFileSystem.createDocument(IfsFi
    leSystem.java:922)
    javawebserver: at dp.DPDocManager.uploadDocument(DPDocManager.java:374)
    javawebserver: at ifs.jsp_sbin._dp._dpDoc._jspService(_dpDoc.java:115)
    javawebserver: at oracle.ifs.protocols.http.jsp.pagecompile.jsp.runtime.HttpJs
    pBase.service(HttpJspBase.java:94)
    javawebserver: at javax.servlet.http.HttpServlet.service(Compiled Code)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.runServlet(IfsJs
    pServlet.java:865)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.processJspPage(C
    ompiled Code)
    javawebserver: at oracle.ifs.protocols.http.jsp.IfsJspServlet.service(IfsJspSe
    rvlet.java:240)
    javawebserver: at javax.servlet.http.HttpServlet.service(Compiled Code)
    javawebserver: at com.sun.server.ServletState.callService(ServletState.java:22
    6)
    javawebserver: at com.sun.server.ServletManager.callServletService(ServletMana
    ger.java:936)
    javawebserver: at com.sun.server.ProcessingState.invokeTargetServlet(Processin
    gState.java:423)
    javawebserver: at com.sun.server.http.HttpProcessingState.execute(HttpProcessi
    ngState.java:79)
    javawebserver: THE ERROR MESSAGE IS IFS-30002: Unable to create new LibraryObje
    ct
    javawebserver: Setting permissions for the document....
    javawebserver: setting the access level
    javawebserver: at com.sun.server.http.stages.Runner.process(Runner.java:79)
    javawebserver: at com.sun.server.ProcessingSupport.process(Compiled Code)
    javawebserver: at com.sun.server.Service.process(Service.java:204)
    javawebserver: at com.sun.server.http.HttpServiceHandler.handleRequest(HttpSer
    viceHandler.java:374)
    javawebserver: at com.sun.server.http.HttpServiceHandler.handleRequest(Compile
    d Code)
    javawebserver: at com.sun.server.HandlerThread.run(Compiled Code)
    javawebserver:
    javawebserver:
    javawebserver: Error during JSP page processing: /ifs/jsp-bin/dp/dpDoc.jsp
    javawebserver: java.lang.NullPointerException
    The Code is :
    package dp;
    import oracle.ifs.beans.*;
    import oracle.ifs.common.*;
    import oracle.ifs.beans.parsers.*;
    import oracle.ifs.adk.security.*;
    import oracle.ifs.adk.filesystem.*;
    import java.io.*;
    import java.util.Locale;
    import javax.servlet.http.*;
    * The document manager bean for the Deal Planner app.
    * <p>
    * This class provides a login session/creates a new account in the IFS. The class
    * implements the <code>IfsHttpLogin</code> interface so it can share login data with other
    * beans.
    * @author Srinivas Sampige
    * @version 1.0
    * @see IfsHttpLogin
    public class DPDocManager implements IfsHttpLogin
    private String userName = "";
    private LibrarySession ifsSession = null;
    private FolderPathResolver fPathResolver = null;
    private IfsFileSystem ifsFileSystem; // File System object
    public DPDocManager()
    {//does nothing
    *Creates a new account in the IFS for
    *a new deal when the deal code is passed in.
    *@ param dealCode The deal code of the deal for which an account has to be created
    *@ param password A system generate d password for the account being created.
    *@ return String Will return "SUCCESS" on creating the account or the reason if an
    * error occurrs.
    public String createDealFolder(String dealCode)
    String result = "SUCCESS";
    try
    ifsSession = getIfsConnection("system","manager","ServerManager","i5ifs");
    ifsSession.setAdministrationMode(true);
    //create a new folder for this deal
    Folder dealFolder = createFolder("/home",dealCode);
    //create a group for this deal;place the group as
    //an access control entry in an access control list.
    //Set the access control list to the folder.
    AccessControlList acl = createDealGroup(dealCode);
    dealFolder.setAcl(acl);
    ifsSession.setAdministrationMode(false);
    }catch(IfsException ie)
    int code = ie.getErrorCode();
    System.out.println("THE ERROR CODE WHILE CREATING DEAL FOLDER IS -- "+code);
    ie.printStackTrace();
    result = ie.getMessage();
    return result;
    }//createDealFolder
    public String createUser(String userId,String password,String dealCode)
    String result = "SUCCESS";
    System.out.println("Creating user and adding to a group "+userId);
    try
    this.ifsSession = getIfsConnection("system","manager","ServerManager","i5ifs");
    ifsSession.setAdministrationMode(true);
    System.out.println("Logged in successully");
    //form the XML necessary for creating the simple user;
    //the new user in the IFS will be the Deal.User id will be the deal code;
    //password is fetched from the DEALS table.
    String simpleUserString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<SimpleUser>\n"
    + " <UserName>"+userId+"</UserName>\n"
    + " <Password>"+userId+"</Password>\n"
    + " <HomeFolderRoot>/home</HomeFolderRoot>\n"
    + "</SimpleUser>\n";
    System.out.println("Parsing "+simpleUserString);
    //invoke the XML parser for creating the new user
    StringReader userDefinition = new StringReader(simpleUserString);
    SimpleXmlParser xmlParser = new SimpleXmlParser(ifsSession);
    xmlParser.parse(userDefinition,null,null);
    //a valid user for a deal must belong to the deals group;add the user
    //to the appropriate group for the deal
    String userToGroupString = "<?xml version = '1.0' standalone = 'yes'?>\n"
    + "<DirectoryGroup>\n"
    + " <Update reftype='Name'>" + dealCode+"Group" + "</Update>\n"
    + " <Members>"
    + " <Member reftype='Name'>" + userId + "</Member>"
    + " </Members>"
    + "</DirectoryGroup>\n";
    //invoke the XML parser for adding the new user to the group
    StringReader groupUpdate = new StringReader(userToGroupString);
    xmlParser = new SimpleXmlParser(ifsSession);
    LibraryObject lo = xmlParser.parse(groupUpdate,null,null);
    System.out.println ("The LO returned by parse is " + lo);
    //link this user's home folder to the deal folder
    Collection c = ifsSession.getDirectoryUserCollection();
    DirectoryUser du = (DirectoryUser) c.getItems(userId);
    System.out.println("The DirectoryUser created is " + du.getDistinguishedName());
    //Folder homeFolder = (Folder) getIfsFileSystem().findPublicObjectByPath("/home/"+dealCode);
    Folder homeFolder = du.getPrimaryUserProfile().getHomeFolder();
    System.out.println("Home folder is"+homeFolder);
    homeFolder.addItem((Folder)getIfsFileSystem().findPublicObjectByPath("/home/"+dealCode));
    System.out.println("Created a link to the deal folder... ");
    ifsSession.setAdministrationMode(false);
    }catch(IfsException ie)
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return result;
    }//public
    /* public String addUserToGroup(String groupName)
    try
    InternetFileSystem ifs = getFileSystem();
    ifs.findPublicObjectByPath(goupName);
    }catch(IfsException ie)
    ie.setVerboseMessage(true);
    System.out.println("Problem while adding user to the group "+ie.getMessage());
    ie.printStackTrace();
    }//addUserToGroup
    *This method creates a group that for a particular deal.
    *All members having access to this deal must belong to thi                                                                                                            s
    * group.
    public AccessControlList createDealGroup(String dealCode)
    AccessControlList acl = null;
    try
    DirectoryGroupDefinition def = new DirectoryGroupDefinition(ifsSession);
    def.setAttribute("NAME",AttributeValue.newAttributeValue(dealCode+"Group"));
    DirectoryGroup dealGroup = (DirectoryGroup)ifsSession.createPublicObject(def);
    AccessControlListDefinition aclDef = new AccessControlListDefinition(ifsSession);
    AccessControlEntryDefinition aceDef = new AccessControlEntryDefinition(ifsSession);
    AccessLevel aLevel = new AccessLevel();
    aLevel.enableAllStandardPermissions();
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_ADDITEM);
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_CREATE);
    aLevel.disableStandardPermission(AccessLevel.ACCESSLEVEL_ALL);
    aceDef.setGrantee(dealGroup);
    aceDef.setDistinctAccessLevel(aLevel);
    aclDef.addAceDefinition(aceDef);
    acl = (AccessControlList) ifsSession.createPublicObject(aclDef);
    acl.setName(dealCode+"ACL");
    }catch(IfsException ie)
    System.out.println("error while creating group for deal");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return acl;
    }//createUser
    *makes a connection the the IFS and returns the LibrarySession object.
    *@param userName user name for a valid IFS account.
    *@param password password for a valid IFS account.
    *@param serviceName the IFS service name.
    *@param schemaPassword the IFS schema password.
    private LibrarySession getIfsConnection(String username, String password, String serviceName,
    String schemaPassword) throws IfsException
    LibraryService service = new LibraryService();
    CleartextCredential me = new CleartextCredential(username, password);
    ConnectOptions connection = new ConnectOptions();
    connection.setLocale(Locale.getDefault());
    connection.setServiceName(serviceName);
    connection.setServicePassword(schemaPassword);
    ifsSession = service.connect(me, connection);
    fPathResolver = new FolderPathResolver(ifsSession);
    ifsFileSystem = new IfsFileSystem(ifsSession);
    return ifsSession;
    }//getIfsConnection()
    public String loginToIfs(String userName,String password,String serviceName,String schemaPassword)
    String result = "SUCCESS";
    try
    getIfsConnection(userName,password,serviceName,schemaPassword);
    this.userName = userName;
    //getResolver().setHomeFolder("/home/"+userName);
    }catch(IfsException ie)
    int code = ie.getErrorCode();
    System.out.println("ERROR CODE "+code);
    result = "FAILED -- "+code+" -- "+ie.getMessage();
    System.out.println("Failed to login "+ie.getMessage());
    ie.printStackTrace();
    return result;
    }//loginToIfs
    public LibrarySession getSession()
    return ifsSession;
    }//getSession()
    public FolderPathResolver getResolver()
    return fPathResolver;
    public IfsFileSystem getIfsFileSystem()
    return ifsFileSystem;
    public Folder getHomeFolder()
    Folder homeFolder = null;
    try
    DirectoryUser user = ifsSession.getUser();
    System.out.println("Got the user");
    PrimaryUserProfile primary = user.getPrimaryUserProfile();
    System.out.println("got the primary user profile");
    homeFolder = primary.getHomeFolder();
    System.out.println("THE HOME FOLDER IS --> "+homeFolder);
    System.out.println("The home folder name is --> "+homeFolder.getName());
    }catch(IfsException ie)
    ie.printStackTrace();
    System.out.println("home folder");
    return homeFolder;
    }//getHomeFolderPath()
    * Called when this object is bound to the HTTP session object.
    * @param event The event when the object is bound to the Http session.
    public void valueBound(HttpSessionBindingEvent event)
    // do nothing
    * Called when this object is unbound from the HTTP session object.
    * @param event The event when the object is unbound to the Http session.
    public void valueUnbound(HttpSessionBindingEvent event)
    //release the reources like the ifsSession etc.
    fPathResolver = null;
    try
    if (ifsSession != null)
    ifsSession.di sconnect();
    }catch (IfsException e)
    e.printStackTrace();
    finally
    ifsSession = null; // release the resources
    }//valueUnbound()
    public Folder createFolder(Folder destinationFolder,String theNewFolderPath)
    Folder createdFolder = null;
    try
    System.out.println("<*---*> IN THE FOLDER "+destinationFolder);
    IfsFileSystem ifs = getIfsFileSystem();
    System.out.println("Creating the folder..");
    createdFolder = ifs.createFolder(theNewFolderPath,destinationFolder,true,null);
    System.out.println("Created the folder..");
    }catch(IfsException ie)
    System.out.println("ERROR CREATING A FOLDER IN THE DESTINATION FOLDER");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return createdFolder;
    }//createFolder(String inTheFolder,theNewFolder)
    public Folder createFolder(String inTheFolder,String theNewFolderPath)
    Folder createdFolder = null;
    try
    System.out.println("<*---*> IN THE FOLDER "+inTheFolder);
    IfsFileSystem ifs = getIfsFileSystem();
    System.out.println("Creating ANOTHER folder for test");
    Folder destinationFolder = (Folder) ifs.findPublicObjectByPath("/"+inTheFolder);
    System.out.println("The destination folder is "+destinationFolder);
    /* Folder destinationFolderMyTest = (Folder) ifs.findPublicObjectByPath("/home/c6/COREL/MY-TEST/");
    System.out.println("The destination folder my test is "+destinationFolderMyTest);*/
    createdFolder = ifs.createFolder(theNewFolderPath,destinationFolder,true,null);
    /* System.out.println("Created folder in destination folder ");
    createdFolder = ifs.createFolder(theNewFolderPath,(Folder) ifs.findPublicObjectByPath(inTheFolder),true,null);
    System.out.println("Created folder in MY-TEST ");*/
    }catch(IfsException ie)
    System.out.println("ERROR CREATING A FOLDER IN THE DESTINATION FOLDER");
    IfsException.setVerboseMessage(true);
    ie.printStackTrace();
    return createdFolder;
    }//createFolder(String inTheFolder,theNewFolder)
    *Method creates a folder in the path specified(the path includes the name of the folder
    *to be created).If a parent of any of the folders in the path
    *is not found then that folder is automatically created.
    public String createFolder(String folderPath)
    System.out.println("*-*-*-*-* Creating folder *-*-*-*-*");
    String result = "SUCCESS";
    try
    //ifsSession.setAdministrationMode(true);
    IfsFileSystem ifs = new IfsFileSystem(ifsSession);
    Folder folder = (Folder) ifs.findPublicObjectByPath("home/"+userName);
    ifs.createFolder(folderPath,(Folder) folder,true,null);
    }catch(IfsException ie)
    result = ie.getMessage();
    ie.printStackTrace();
    return result;
    }//createFolder
    //Upload a document to the ifs
    public Document uploadDocument(String localPath,String destinationPath)
    Document document = null;
    try
    IfsFileSystem ifs = new IfsFileSystem(ifsSession);
    FileInputStream fis = new FileInputStream(localPath);
    System.out.println("**********Creating document in "+destinationPath);
    document = ifs.createDocument("B.txt", fis, destinationPath, null, false, null);
    System.out.println("Created document..");
    }catch(IfsException e)
    System.out.println("Error while creating document.....");
    IfsException.setVerboseMessage(true);
    e.printStackTrace();
    System.out.println("THE ERROR MESSAGE IS "+e.getMessage());
    catch(Exception e)
    System.out.println("File not found/io exception ");
    e.printStackTrace();
    return document;
    }//uploadDocument
    * Adds an access control entry to the public object passed in.
    *@param PublicObject the publicObject for which permissions have to be set.
    public void setAccessControlOnObject(PublicObject publicObject)
    try
    System.out.println("Setting permissions for the document....");
    AccessControlListDefinition aclDef = new AccessControlListDefinition();
    aclDef.setName(publicObject+"ACL");
    AccessControlEntryDefinition aceDef = new AccessControlEntryDefinition();
    //this sets the acceess control entry's granntee as the "user" who ha s loggen on
    aceDef.setGrantee(ifsSession.getDirectoryUser());
    aceDef.enableGrantToWorld(false);
    String[] permissions = {"ACCESSLEVEL_NONE"};
    System.out.println("setting the access level");
    AccessLevel accessLevel = new AccessLevel(permissions);
    /*PermissionBundleDefinition pbDef = new PermissionBundleDefinition(ifsSession);
    PermissionBundle pb = (PermissionBundle) ifsSession.createSystemObject(pbDef);
    pbDef.setAccessLevel(accessLevel);
    pbDef.setAccessLevel(accessLevel);
    aceDef.addPermissionBundle(pb);*/
    aceDef.setDistinctAccessLevel(accessLevel);
    aclDef.addAceDefinition(aceDef);
    AccessControlList acl = (AccessControlList) ifsSession.createPublicObject(aclDef);
    publicObject.setAcl(acl);
    }catch(IfsException ie)
    System.out.println("The error while settin access control is -0> "+ie.getMessage());
    ie.setVerboseMessage(true);
    ie.printStackTrace();
    }//createAccessControlList
    }//class DPDocManager
    Note : since iam still experimenting with the code please ignore any irrelevant/wrong commenting.Iam using method "CreateDealFolder()" to create the folder "INPRISE" and "CreateUser()" to create users "i1","i2"

    Iam not able to set the main folder's (i.e INPRISE) acl (MyAcl) on the subfolder "MyFolder" because the owner of MyAcl is "system" whereas the owner of MyFolder is user "i1" .Which is the best way of solving these ownership issue which iam running into ? I want to be able to create different folders ,assign a group of uers to each of the folders who can create as well as modify,delete each other's folders/documents (as i have mentioned in my first post in this thread) ?
    thanks
    Srinivas

  • Can workbook owned by another user be deleted from the database

    Hello all,
    We are wanting to know if a workbook can be deleted from the database by someone other than the owner. We have a user that was once with the organization that created and uploaded several Discoverer reports to the database. However, they are no longer with the organization. If a change needs to be made to one of their reports, we can download a copy and modify it. However, when you upload the report and keep the same name, it creates a copy of the report in the database but now owned being by the new user. When users using Viewer retrieve a list of reports from the database, they are seing two reports with the same name in the listing, but owned by different people. We could always rename the new report. However, we would like to 'clean up' the production database by purging any obsolete or older verision reports regardless of who they are owned by.
    Thanks in advance for any input

    Hi,
    Yes we can do this, to the best of my knowledge here is my input: There are two ways to do this
    1) a) If that workbook has been shared with your id thne login as you in Discoverer Plus then open workbook and using SAVE AS and save the workbook and it wil save under your id.
    b) follow the below command to delete the workbook owned by old user
    2 )-->Login as EUL user (ex: EUL10_US) in Discoverer Administrator and export the workbook owned by the owner (no longer exist in the company: abc.workbookname) and save in your local drive
    -->Login as new user in Administrator and import the workbook from the local drive
    -->using below command delete the workbook owned by old user (*abc.workbookname*) by running at command prompt.
    dis51adm.exe /connect eul10_us/xxxxx@DBname /delete /workbook "abc.workbookname" /eul eul10_us /log C:\oracle\BIToolsHome_1\bin\Delete_wb_oatr.log
    Now you will have only one copy of the workbook in the database.
    hope this helps you.
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • WLS 12.1.2.0.0 : Another user (admin2) already owns the lock.

    hi
    Please consider a WebLogic Server 12.1.2.0.0 that is NOT in Production Mode (so in Development Mode).
    When is a button like "Take Lock & Edit" (ever) to be expected?
    Or messages like :
    - "admin2 is currently making changes."
    - "Another user (admin2) already owns the lock. You will need to either wait for the lock to be released, or take the lock."
    If both users "admin1" and "admin2" are in the "Administrators" group,
    the following scenario (sc1) seems to be reproducible:
    - (sc1-a) start a first browser session and login on the WLS admin-server console using "admin1"
    - (sc1-b) start a second browser session and login on the WLS admin-server console using "admin2"
    - (sc1-c) in the second browser session, click Deployments
    - (sc1-d) in the first browser session, click Deployments and see the "Take Lock & Edit" button and messages
    -- "admin2 is currently making changes."
    -- "Another user (admin2) already owns the lock. You will need to either wait for the lock to be released, or take the lock."
    The scenario (sc1) is included in the screencast
    at http://screencast.com/t/Yw3k3EI1
    - (q1) Is the lock message in scenario (sc1) intended behavior?
    It could be that these "locks" are causing our Jenkins jobs (doing an Ant wldeploy task) to fail when someone is "browsing" using the WebLogic Server console, with
    weblogic.management.provider.EditWaitTimedOutException: Waited 0 milliseconds
        at weblogic.management.provider.internal.EditLockManager.getEditLock(EditLockManager.java:259)
        at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:266)
        at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:297)
        at weblogic.deploy.internal.adminserver.EditAccessHelper.startEditSession(EditAccessHelper.java:72)
        at weblogic.deploy.internal.adminserver.operations.AbstractOperation.execute(AbstractOperation.java:236)
        at weblogic.management.deploy.internal.DeployerRuntimeImpl$2.run(DeployerRuntimeImpl.java:846)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.management.deploy.internal.DeployerRuntimeImpl.performDeployerActions(DeployerRuntimeImpl.java:840)
        at weblogic.management.deploy.internal.DeployerRuntimeImpl.deploy(DeployerRuntimeImpl.java:418)
    many thanks
    Jan Vervecken

    The answer to this "(q1) Is the lock message in scenario (sc1) intended behavior?" you already know. Just for good measure see the documentation on managing locks (5 Managing a Domain's Configuration with JMX). Note that in development mode the locking in the admin console is automatic, you can change this in Admin Console - click the preferences link, User Preferences tab, here you can change the 'Automatically Acquire Lock and Activate Changes' option.
    WebLogic provides a ConfigurationManagerMBean (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/EditServiceMBean.html?skipReload=true#ConfigurationManager) that provides methods for safely starting an edit session. You can use haveUnactivatedChanges (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/ConfigurationManagerMBean.html?skipReload=true#haveUnactivatedChanges) to check if there are any pending changes (this gives you an indication if someone that has taken a lock is doing some actual changes to the system, such that the ANT job can decide not to start an edit session). If there is an edit session going on and there are no pending changes you can call undoUnactivatedChanges (http://docs.oracle.com/middleware/1212/wls/WLMBR/mbeans/ConfigurationManagerMBean.html?skipReload=true#undoUnactivatedChanges) - now the ANT job can start a new edit session.
    The following example shows the use of the ConfigurationManager (in Java with JMX)
                            Object[] unactivatedChanges = (Object[]) editConnection.getAttribute(configManager, "UnactivatedChanges");
                            if (unactivatedChanges.length > 0) {
                                System.out.println("ACTIVATING CHANGES");
                                editConnection.invoke(configManager, "activate",
                                        new Object[] { new Long(120000) }, new String[] { "java.lang.Long" });
                            } else {
                                System.out.println("CANCEL EDIT SESSION");
                                editConnection.invoke(configManager, "cancelEdit", null, null);
    More information can be found on using the EditService and ConfigurationManager can be found here: Middleware Snippets: Automatic Scaling an Application Using WebLogic (and the references therein).

  • Investigating another user cache file. How do I bring it up, versus my own being brought up?

    I need to view another users cache content in 'about:cache' or another listing method. How do I accomplish this?

    Try:
    *http://www.nirsoft.net/utils/mozilla_cache_viewer.html

  • HT204053 What if I share the iPad with another user?

    How does iCloud work on the iPad if you share it with another user with their own account?

    You can create a new shared iCloud account as your primary iCloud account in Settings>iCloud, which you can use for backups, photo stream, Find My iPad and for syncing bookmarks and documents & data.  Then set up your two personal iCloud accounts as secondary accounts by going to Settings>Mail,Contacts,Calendars>tap Add Account>iCloud, and entering your separate iCloud account IDs.  Use thes secondary accounts to sync Mail & Notes, Contacts and Calendars.  This will allow you to keep your data in you secondary accounts separated rather than merged (although you will still be able to view each other's data on the shared iPad).  See this article for additional information on this: http://www.ilounge.com/index.php/articles/comments/sharing-itunes-icloud-account s-in-a-family/.

  • Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....

    Yes another user with problem with Apple Mobile Device Support, I am getting the error message: Service 'Apple Mobile Device'(Apple Mobile Device) failed to start. Vertify that you have sufficient privileges to start system service....I hit retry and it came up again. I hit ignore and it prompted me to hit finish so Itunes can open.   I looked thru alot of these posts on here to try and resolve this problem myself but it's not working too well...I downloaded Itunes to my desktop so I can right click it with the program i downloaded called WinRAR. I extracted it and then went into the folder called Itunes64setup. I saw the file called AppleMobileDeviceSupport64 in there so I began to try and download it on it's own. Well that didn't work as I planned and got this error message:
    Apple Mobile Device Support wasn't installed on your computer. The installer encountered errors before Apple Mobile Device Support could be configured. Your system has not been modified. To retry these operations at a later time,please run the installer again.
    Well I tried to run it again and came up with the same message...I see that some people got great support to help them so I am hoping someone can help me as well. I know "b nor" is very qualfied and hopefully can help me! Please advise what I can do. Thank you

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • How do I export photo's from one user acct. to another user acct

    Trying to export photo's from one user acct. to another user acct. on same computer into second users Iphoto app.

    File -> Export to the destop. Drag to Users/Shared Folder and then import from other account.
    Or use iPhoto Sharing:
    For iPhoto 09 (version 8.0.2) and later:
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • How Do You Transfer an iTunes Library to Another User on your Computer??

    I am trying to transfer my iTunes library to another user on my computer so that I won't have to download all over again the dozens of CDs that I have already downloaded onto my computer. It is for someone else in my family who just got their own iPod. I have WindowsXP. Does anyone know how to do this?

    Here follow these: They should help.
    http://www.apple.com/support/ipod/tutorial/ipgettingstartedt13.html
    How to Use your IPOD to Move Music to Your New Computer:
    http://docs.info.apple.com/article.html?artnum=300173-en
    Transferring Your Music Off Your IPOD Article:
    http://playlistmag.com/help/2005/01/2waystreet/

  • We are sorry, but we are unable to complete your request.•The Office 2007 Product Key provided is already associated with another user on this site. Please log in with the user information originally used with this Office 2007 Product Key.

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

    Over the years I have had many ISP and email addresses - but now we have  finally gone almost fully virtual...
    I have a live login and MS ID 4 my SkyDrive account but I only use my MS  touch with 8.1, SkyDrive and office 365 for mobility.
    And I still like to backup to my own server!!!
    What would be good is if I can put all the software licenses and product  keys of the software and keep a record of my mac addresses for  hardware  and even static IP's in a file or a secure location within the MS online  store.
    That's where MS wants me to get my computing needs from in future and I  will always be able to retrieve it in future but what about the $$$$$ I have  spent on software, hardware and applications prior to now???
    I know u guys love 2 collect data 4 marketing analysis,
    4 example I have an old PC that is still running a server from last century  - if you knew about it a simple script would allow you to offer upgrades or at  least relevant MS products - UNLIKE the rubbish adds I just turn off or tune out 
    now...
    Why cant I add products previous online email purchases into the 1 MS live  ID account where I can keep it together? If you make that available I don't have  to have separate steam accounts, EA game accounts, ASUS and adobe accounts etc 
    etc.
    What has brought me 2 this is I was looking for my office pro 2007 disks to  rebuild a HOME USE ONLY windows 7 laptop (NO touch screen so 8.1 is no benefit  at all)
    I HAVE 4 Genuine PRODUCT KEYs for Office 2007 BUT EVERY TIME I WENT TO  DOWNLOAD the software - regardless of the key I used - I got the error message:  We are sorry, but we are unable to complete your request.•The Office 2007  Product Key
    provided is already associated with another user on this site.  Please log in with the user information originally used with this Office 2007  Product Key.
    That's crap - This is a clean brand spanker install of Win7 and there was  nothing b4 I put the oem drivers from Toshiba back on.
    I looked at dozens of support pages and forum blogs and tried for hours to  get a copy to download - including incognito and other logins but because my  default PC name is also my MS Windows live ID the same error was repeated.
    I keep away from the non MS sites for these things and with good reason -  there were heaps of similar users with the same issue or very close to it that  had downloaded from a supposed MS copy from eValue or digital river etc and the  next
    thing was total corruption of the OS.
    EVENTUALLY I found a LIVE MS chat on a support site in the US and she gave  me a link to a slightly older version which will need updating and some reg edit  changes but so far, so good.
    The point is - what a crock !
    I should be able to just keep all my software, drivers, updates, service  packs, and versions that I have upgraded in the MS store.
    If Microsoft aren't going to support XP or Office 2003 and eventually 2007,  vista & Windows7 not far behind??? then that's still no excuse for them to  put these restrictions and limits when I OWN my copy of the software!!
    Unlike office 365 and SkyDrive space which is described in the T&C  (that we all read before ticking that radial button to agree of course) as ONLY  under a leased licence.
    IF Microsoft can support AND develop software that supports SQL2000  Servers, why is it so hard to archive and keep the same info for  everyone???

  • How do I move organized photos from dropbox to iPhoto and share with another user on the same mac?

    I have about 3,500 photos sitting in dropbox and just purchased my first mac yesterday.  My husband and I each have our own Ipad and our own user id's on the mac.  I moved two of the folders to Iphoto and it shows up on my screen in the right folders.  However, on my Ipad, it shows all of them under one Photostream and not organized.  They don't show up on my husband's "side of the computer" at all. 
    So my questions are:
    1.  How does one mirror their file organization on the Ipad?
    2.  How does one share all of the folders with another user on the same Ipad so they can view folders, and add pictures to the folders if they like?
    Thanks!

    1.  How does one mirror their file organization on the Ipad?
    If you use the Photo Stream, the organisation in iPhoto will be lost - there is just one endless stream.  YOu could sync your photos using iTunes. Then you will see the synced albums in the Photos.app on the iPad.
    See this link:   iOS and iPod: Syncing photos using iTunes
    How does one share all of the folders with another user on the same Ipad so they can view folders, and add pictures to the folders if they like?
    On the same iPad?  Do you mean on the same mac?
    If you want to share an iPhoto library between two users on the same mac, the iPhoto library should be on a separate disk partition or even better, on a separate external disk. Then you can set the flag "Ignore ownership on this volume" to avoid permission problems. Both of you will be able to browse the iPhoto library and can edit the photos within.
    See this support document:  iPhoto: Sharing libraries among multiple users
    If both of you want to keep separate iPhoto libraries but share the photos, you could share selected albums as Shared PhotoStreams and invite each other to browse them. This would require iOS 7. Do you have iOS 7 on your iPad?  Each Shared Photo Stream will be shown as a separate album on your iPad .
         iCloud: Using and troubleshooting Shared Photo Streams
    Regards
    Léonie

  • Another user's calendar appears when a date is selected in Mail message

    Just upgraded to Lion on our family Mac. My wife and I each have an account on the Mac and share an Apple ID for purchases.
    We each have an iPhone and have separate iCloud accounts. The shared Apple ID is used only for the App Store on the phones.
    iCloud is working great, and syncing correctly with our individual accounts on the Mac.
    But if I select a date that appears in a Mail message in my account on my Mac, the preview window for making an iCal event appears with my wife's calendar events, not mine!
    If I go ahead and create the event anyway, it correctly appears in my calendar, not in my wife's.
    Any way to prevent the display of another user's calendar when making an event from a date in a Mail message from your own account on a Mac running Lion?

    Duplicate thread!

  • Creating a materialized view for another user

    I don't seem to find the correct setup for this....
    With the user "dummy"
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    And the materialized view is created ok.
    With a DBA user:
    CREATE MATERIALIZED VIEW dummy.thetable BUILD IMMEDIATE REFRESH FORCE ON DEMAND AS select * from real.thetable;
    ORA-01031: insufficient privileges
    I don't want to be switching back and forth from the user to create materialized views, am I missing a permission here? DBA of course has create any materialized view

    From the SQL Reference Guide:
    To create a materialized view in another user&#8217;s schema:
    - You must have the CREATE ANY MATERIALIZED VIEW system privilege.
    - The owner of the materialized view must have the CREATE TABLE system privilege. The owner must also have access to any master tables of the materialized view that the schema owner does not own (for example, if the master tables are on a remote database), and to any materialized view logs defined on those master tables, either through a SELECT object privilege on each of the tables or through the SELECT ANY TABLE system privilege.
    I suspect that, if you first GRANT CREATE TABLE TO DUMMY, you will be able to create the MV.

Maybe you are looking for

  • FI - PCA Balance mismatch

    Dear Experts, There is a FI PCA mismatch. transaction posted in FI but not reflecting in PCA. The following is my scenario in production. 1.  User create a Bal Sheet GL X1234 in Jul-2011 2.  Did not inform to assign it to 3KEH 3.  Posted a few transa

  • Sap Bussiness Connector

    Hi Guys, We r using BC 4.7 on win 2k Howver the server ran out of disc space  when the audit log file for some reason grew to over 2gig in size As a quick fix - shutdown server - audit file was moved to another box Restarted BC Now I am getting an er

  • MRP profile custom field addition

    Dear experts, Is it possible to add a field to the MRP profile list of fields that come in MMD1/MMD2? I observed that not all the fields that appear in the material master MRP views are part of the MRP profile. Thanks Suman

  • Urgent!! Navigation for workflow

    I need complete navigations  for creating a workflow for Processing Credit Memo Requests. thank you in advance. with regards, vikranth.T

  • Cambiar ROM S960 Vibe X a español

    Hola recién adquiri el Vibe X S960 pero viene default con el ROM en chino, apenas pude configurar la interfaz a inglés pero todas las apps siguen en chino. Necesito saber que hacer para configurarlo a español, o por lo menos todo en inglés.