Create Subfolders In Resource Directory

This should be a simple question, but I can't find any answers to it! In my iPhone project I'm trying to create sub directories inside the resource directory of my bundle, but the resources always end up in the bundle's root directory.
The only way I was able to get this to work was to create a new "Copy Files Build Phase" for each sub-directory I want to create. But there has to be an easier way, right?
Any suggestions?

To give you one example: my app has 2D grid with tiles that are generated by a Python script outside Xcode and then placed in the resource directory before compilation. Each tile as 8 distinct files, so I group them in a directory.
The app itself spiders through all the tiles at startup to create a data structure for each tile.
It could also have been solved by having a certain filename or create a plist with all the tiles, but this just was the most convenient way to do.
BTW, to the original poster: Xcode won't pick up dependencies on this. If you change files inside the directory and it's not a known file type, it won't update already present files in the build directory, so you'll have to a make clean before compiling. This has bitten me multiple times...

Similar Messages

  • Creating A File Resource Using Tomcat JNDI

    Hi guys,
    My problem is that I am creating a web service and I cannot get to a properties file without creating an absolute reference to that file. If I was creating a servlet I would simple use getServletContext() method to get a relative reference to it. However since it is an axis web service i have to deploy my applications in the WEB-INF/services directory, and because it does not interact with the axis servlet I cannot use getServletContext(). So i thought I could create a JNDI file resource reference in the tomcatHome/conf/context.xml file, similar to how I created a JNDI connection pool. The resouce definition looks like this;
    <Resource name="resource/dialogueEngineConfig" auth="Container"
                      type="java.io.File"
                      url="file:/Applications/apache-tomcat-5.5.1/webapps/axis2/META-INF/DialogueEngine.properties">
    </Resource>now I tried to access the resource in my code like this;
    // Obtain our environment naming
    Context envCtx = (Context) new InitialContext().lookup("java:comp/env");
    // Look up our file
    File  f = (File) envCtx.lookup("resource/dialogueEngineConfig");However I get a NamingException; 'Cannot create resource instance'
    I don't understand why I cant create a file resource in JNDI, it seems like a simple enough thing to do. Am I doing something wrong or missing something? Any help would be greatly appreciated.
    Thanks

    Hello xalien,
    I have the same problem. I need to access external xml config file via JNDI from my servlet, running on Tomcat 5.0.28. Have you manage to define an URL resource? If so, please provide an example how to do it. Many thanx.

  • SMS_MP_CONTROL_MANAGER Failed to create the CCM_Incoming Virtual Directory

    Hello -
    I'm hoping someone could help me with this problem. I've searched so many websites trying to resolve this issue and it seems no matter what I try I keep getting the same error message.
    I've followed the steps in setting up SCCM 07 from this web site which was very nicely done! I've also followed the directions on Microsofts Tech Net website on how to configure WebDav and IIS settings.
    I'm working on a Virtual Windows Server 2008 32-bit OS, SP2, SCCM 07 SP2, IIS7
    Here is the message I get in the log files:
    Message ID: 4963
    Process ID: 4364
    Thread ID: 7996
    Componet: SMS_MP_CONTROL_MANAGER
    MP Control Manager detected MPsetup has failed to create the CCM_Incoming Virtual Directory.
    Possible cause: The IIS IWAM account has expired, been disabled, or has invalid or too restrictive logon hours. You may verify this information by running the net user command line for the IWAM account. (i.e.: "net user IWAMMachineName)
    Solution: Use the output to verify that the account is enabled, and logon is possible during the time of installation. Note: You can use "net user" to modify the account properties.
    Possible cause: The IIS IUSR account has expired, been disabled, or has invalid or too restrictive logon hours. You may verify this information by running the net user command line for the IUSR account. (i.e.: "net user IWAMMachineName)
    Solution: Use the output to verify that the account is enabled, and logon is possible during the time of installation. Note: You can use "net user" to modify the account properties.
    Possible cause: The designated Web Site is disabled in IIS.
    Solution: Verify that the designated Web Site is enabled, and functioning properly.
    I could be completely wrong but I read somewhere that with the latest version of IIS doesn't install these user accounts. I checked to see if those accounts existed and they didn't.
    I've tried what this one website mentioned:
    http://myitforum.com...-directory.aspx
    - Remove the MP role from the Site Server. Watch the MPSetup.log to ensure that the removal is complete.
    - Uninstall the IIS component from the OS of the Site Server.
    - Reboot the Site Server.
    - Run ccmdelcert.exe from the SMS Toolkit.
    - Reinstall the IIS component (with BITS) on the OS of the Site Server.
    - Go into the IIS manager and allow WebDav.
    - Add the MP role to the Site Server. Watch the MPSetup.log to ensure that the installation completes correctly.
    These steps didn't seem to work, probably because it was for SMS 2003.
    Here is the MPmsi log file:
    <11-24-2009 17:39:28> SMSMP Setup Started....
    <11-24-2009 17:39:28> Parameters: C:\PROGRA~1\MICROS~3\bin\i386\ROLESE~1.EXE /install /siteserver:DELGADO SMSMP
    <11-24-2009 17:39:28> Installing Pre Reqs for SMSMP
    <11-24-2009 17:39:28> ======== Installing Pre Reqs for Role SMSMP ========
    <11-24-2009 17:39:28> Found 1 Pre Reqs for Role SMSMP
    <11-24-2009 17:39:28> Pre Req MSXML60 found.
    <11-24-2009 17:39:28> No versions of MSXML60 are installed. Would install new MSXML60.
    <11-24-2009 17:39:28> Enabling MSI logging. msxml6.msi will log to C:\Program Files\Microsoft Configuration Manager\logs\msxml6MSI.log
    <11-24-2009 17:39:28> Installing C:\Program Files\Microsoft Configuration Manager\bin\i386\00000409\msxml6.msi
    <11-24-2009 17:39:30> msxml6.msi exited with return code: 0
    <11-24-2009 17:39:30> msxml6.msi Installation was successful.
    <11-24-2009 17:39:30> ======== Completed Installion of Pre Reqs for Role SMSMP ========
    <11-24-2009 17:39:30> Installing the SMSMP
    <11-24-2009 17:39:30> Passed OS version check.
    <11-24-2009 17:39:30> IIS Service is installed.
    <11-24-2009 17:39:30> checking WebDAV configuraitons
    <11-24-2009 17:39:30> WebDAV is configured
    <11-24-2009 17:39:30> No versions of SMSMP are installed. Installing new SMSMP.
    <11-24-2009 17:39:30> Enabling MSI logging. mp.msi will log to C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log
    <11-24-2009 17:39:30> Installing C:\Program Files\Microsoft Configuration Manager\bin\i386\mp.msi CCMINSTALLDIR="C:\Program Files\SMS_CCM" CCMSERVERDATAROOT="C:\Program Files\Microsoft Configuration Manager" USESMSPORTS=TRUE SMSPORTS=80 USESMSSSLPORTS=TRUE SMSSSLPORTS=443 USESMSSSL=TRUE SMSSSLSTATE=0 CCMENABLELOGGING=TRUE CCMLOGLEVEL=1 CCMLOGMAXSIZE=1000000 CCMLOGMAXHISTORY=1
    <11-24-2009 17:40:24> mp.msi exited with return code: 1603
    <11-24-2009 17:40:24> Backing up C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log to C:\Program Files\Microsoft Configuration Manager\logs\mpMSI.log.LastError
    <11-24-2009 17:40:24> Fatal MSI Error - mp.msi could not be installed. 
    Component Services (DCOMCNFG) is running properly, no error messages when I was browsing around.
    Any advice would be greatly appricated!
    Thanks!

    Just read the post below
    http://social.technet.microsoft.com/Forums/en-AU/configmgrswdist/thread/5638cdf2-09d3-4750-995e-ae60973e86b8
    <Remember to copy tasks from task scheduler to some different location because it gets wiped off in process)
    Imp. Note: Running ccmclean /all on SCCM is one of these unsupported things.
    Remove the MP as a site system role (if it is still installed), wait for it to finish
    2.       
    Remove IIS completely
    4.     
    Reboot
    5.     
    Stop the Task Scheduler Service
    6.     
    Rename the %windir%\Tasks folder to something else (or move it)
    7.     
    Start the Task Scheduler Service (this will recreate the %windir%\Tasks folder)
    8.     
    Optional: Enable auditing on the \inetpub\wwwroot folder (and subfolders). Make sure to set local security policy to trap failures of file access.  We will need this in case we see
    the same security failure.
    9.     
    Reinstall IIS, BITS, WebDAV
    10. 
    Insure BITS and WebDAV are enabled
    11. 
    Reinstall the MP
    Server Engineer

  • FTP error-Unable to create new pooled resource: com.sap.aii.adapter.file.ft

    Hi,
    We have a scenario where XI receives a Idoc and based on the contents of Idoc, It will generate 5 different files and send it to the external FTP server.We configured 5 receiver channels for these 5 files.
    When this interface runs, most of the files will be delivered but some of the messages will be errored out.
    The receiver channel has shown the following error-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: com.sap.aii.adapter.file.ftp.FTPEx
    I tried to resend them by temperorily stopping other channels to reduce connections to this FTP server.But these messages again resulted with same error.
    Can someone suggest what might be the cause for this error.
    Thanks in advance.

    Hi ,
    As I am not sure about the problem so U just try all of the option I am writing below. It may help u as these are the probable solutions for this problem.
    1.perform Full CPA cache refresh using PIDIRUSER
    2.The problem seems to be in establishing the connection with the File server . This could be due to
    a. Wrong user name or password in receiver adapter .
    b. Firewall connection are not open
    actually you are saying that some files are being delivered so all the file has to be deliverd on same server on diffrent directory or all files are going on diffrent server at present I am assuming that all files are going on diffrent server so please check UID & PWD properly.if they are on same server but diff. directory it can be easily done using one Communication channel only.
    3. Finally please check the errorneous communication channel .
    to check your communication channels are working fine or not you can check in channel monitoring in PI7.0, adapter monitoring in Xi3.0.
    if you are on PI7.0, goto RWBCache monitoring select AE and cilck disply-select the date todays--check everything is greent here
    4.Please check your maximal connection pool .
    Regards,
    Saurabh

  • File Adapter - FTP - Unable to Create new pooled resource

    Hi Friends,
    I am getting the following error while using file adapter with FTP protocol...
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed.
    Can someone help me to solve this probelm..
    Regards,
    Shyam.

    Hi,
    Try to check the directory you have specified in the CC and also check whether you are able to connect to the FTP server with those login credential and access the directory specified.
    Also let me know whether it is working fine for other scenario's or not.
    Regards,
    Nithiyanandam

  • Applying Images from Resource Directory in JBuilder 2006

    Hi!
    I am having a nightmare on that.
    I've been trying to create a Choice List with Images, however, JBuilder never finds the images' location.
    I've tried creating a resource directory everywhere in my project folder, however, I coulnd't resolve the issue.
    The code where I get the error is as follows:         try{
              // create and array of image items
              Image images[] = {Image.createImage("/res/star.png"),
                                Image.createImage("/res/star.png"),
                                Image.createImage("/res/star.png")};
              // Create array of Strings relating to images
              String selections[] = {"Next", "Previous", "New"};
              // create List using arrays, add commands, Listen for events
              lsChoice = new List("Your Option:", List.IMPLICIT, selections, images);
              lsChoice.addCommand(cmExit);
              lsChoice.addCommand(cmAdd);
              lsChoice.setCommandListener(this);
            catch (java.io.IOException e){
              System.out.println("Unable to Find or Read .png file");
              System.out.println("Check if the path to .png file is correct!");
            }Like I said, it kept throwing IOException error regardless of where I've placed the resource directory in my project.
    Could anyone help me on that pls? I've wasted so much time on it, and I couldn't go any further with it...
    Thank you a lot!
    Message was edited by:
    Yav

    Instead of
    Image.createImage("/res/star.png")
    use
    Image.createImage("/star.png")

  • Can Dreamweaver create the remote root directory?

    Hi,
    Does Dreamweaver have the capability to create the remote
    root directory? As an example, if I define a remote site and I set
    the host directory to public/site3 where the public directory
    already exists on the server but site3 directory does not, can
    Dreamweaver create the site3 folder? Other programs will notify
    that the directory does not exist and ask if you'd like for it to
    be created. Dreamweaver just seems to give me error messages.
    I'm currently using a straight FTP program to create the
    directory before I define the remote site but it seems ridiculous
    to have to do this.
    Thanks!
    Julie

    > can Dreamweaver create the site3 folder?
    Sure.
    But - what do you expect this to do for you? Are you trying
    to have
    multiple sites on a single hosting account?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "[email protected]"
    <[email protected]> wrote in message
    news:fbutc7$88f$[email protected]..
    > Hi,
    >
    > Does Dreamweaver have the capability to create the
    remote root directory?
    > As
    > an example, if I define a remote site and I set the host
    directory to
    > public/site3 where the public directory already exists
    on the server but
    > site3
    > directory does not, can Dreamweaver create the site3
    folder? Other
    > programs
    > will notify that the directory does not exist and ask if
    you'd like for it
    > to
    > be created. Dreamweaver just seems to give me error
    messages.
    >
    > I'm currently using a straight FTP program to create the
    directory before
    > I
    > define the remote site but it seems ridiculous to have
    to do this.
    >
    > Thanks!
    > Julie
    >

  • List all folders, and subfolders, in a directory

    I'm trying to find a way to list all folders, and subfolders, in a directory.  I ran the code below and got a message that says 'Access is Denied'.  There is no way access is denied to that folder. How can I list all folders, and subfolders, in
    a directory?
    --'C:\Users\Ryan\Desktop\Coding\';
    set nocount on
    declare @curdir nvarchar(400)
    declare @line varchar(400)
    declare @command varchar(400)
    declare @counter int
    If (select count (*) from sys.objects where name='Output') <> 0 DROP TABLE output
    If (select count (*) from tempdb.sys.objects where name like '%#Tempoutput%') <> 0 DROP TABLE #Tempoutput  
    If (select count (*) from tempdb.sys.objects where name like '%#dirs%') <> 0 DROP TABLE #dirs  
    create table #dirs (DIRID int identity(1,1), directory varchar(400))
      Set @command = 'dir "C:\Users\Ryan\Desktop\Coding\Microsoft Access\" /S/O/B/A:D'
     insert into #dirs exec xp_cmdshell @command
      set @counter = (select count(*) from #dirs)
    create table #tempoutput (line varchar(400))
    create table output (Directory varchar(400), FileSize varchar(400))
        While @Counter <> 0
          Begin
            Declare @filesize int
            set @curdir = (select directory from #dirs where DIRID = @counter)
            set @command = 'dir "' + @curdir +'"'
            insert into #tempoutput
            exec master.dbo.xp_cmdshell @command
               select @line = ltrim(replace(substring(line, charindex(')', line)+1,len(line)), ',', ''))
               from #tempoutput where line like '%File(s)%bytes'
               Set @filesize  = Replace(@line, ' bytes', '')
            Insert into output (directory, Filesize) values (@curdir, @filesize)
            Set @counter = @counter -1
           End
           Delete from output where Directory is null
    select * from output
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Can you tell us how you're executing this code? Is it called from sql agent job or are you executing it by calling code directly?
    Did you try creating a proxy for xp_cmdshell and then executing it?
    http://www.mssqltips.com/sqlservertip/2143/creating-a-sql-server-proxy-account-to-run-xpcmdshell/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Is there a way to create subfolders in my POP inbox?

    Is there a way to create subfolders in a POP Inbox in Mail? I am using Mail 2.1.1 (752.3).

    David Gimeno Gost wrote:
    The standard Inbox, Drafts, Sent, Trash and Junk mailboxes are all managed automatically by Mail. You cannot create your own mailboxes there.
    But you can create local (On My Mac) folders and then create rules to send emails to those local folders upon receipt. You can get as creative as you like with local folders.

  • Is there any way to create subfolders instead of playlists for videos?

    I know that ipod has changed things up by adding a "tv show" feature in the video section. However, what if you have a video that doesn't fall into one of the categories already listed. That being, "Movies", "Music Videos", "TV Shows, and/or "Video Podcasts".
    Instead, what if you wanted to title a folder yourself. Does Apple not offer the capability yet?
    Furthermore, is there a way to categorize videos into an episode format, much like in the "TV Show" section, but in the "Movies" folder. Or can you sync videos into the "Video Podcast" section from itunes with the possibility of being able to create subfolders for view on the ipod.
    Any help would be greatly appreciated.

    iPods, unlike iTunes, don't support folders or subfolders for videos or music. So, for now, you'll have to make do with playlists.

  • How to create a table with directory which is on different machine

    Hi All,
    I have two servers one is db server db1 and another is app server app1
    I will get files from customer into app1 server in the path d:\files\incoming
    I want to create a table with directory (when I create that it will be mapped to db1) which maps to app1\d\files\incoming,
    please let me know how to achieve this,

    NSK2KSN wrote:
    Hi All,
    I have two servers one is db server db1 and another is app server app1
    I will get files from customer into app1 server in the path d:\files\incoming
    I want to create a table with directory (when I create that it will be mapped to db1) which maps to app1\d\files\incoming,
    please let me know how to achieve this,This is nothing to do with SQL or PL/SQL as such.
    The answer lies in the remit of your Windows administrator to create an alias or link that points
    from your db server to your app server.
    Once that is done, you can refer to the directory as if it was a local one situated on the db server, as normal.
    Edited by: Paul Horth on Feb 21, 2013 10:13 AM
    Changed Unix to Windows when I noticed the direction of the slashes.

  • Encountering error in creating a new resource

    Hi All,
    I am encountering the following error when I try to create a new resource.
    The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.StructureValue.createBaseValue could not find the structure definition for the flexfield specified by Application = OTA, Code = RES and Structure number = 101
    Apparently there is a problem with one of my Training Resource KFF structures.
    If someone has any solutions to this error, please share.
    Thanks
    - Manish

    Hi Vikas,
    Thanks for replying.
    I populated the 'Meaning' Column in RESOURCE_TYPE lookup with the values which are same as the name of structure.
    Recompiled the KFF as well.
    But still encountering the same error.
    Should I rather populate the same values in "Code" column ?
    Regards
    - Manish
    Edited by: 904775 on Dec 29, 2011 12:58 AM

  • Runtime error: Creating a simple resource in a CM repository

    Hi All,
         I am trying to create a simple Resource & a collection in a CM repository without properties.
         <b>The list of my imports is as follows:</b>
    import com.sapportals.htmlb.event.Event;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.wcm.repository.ICollection;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.IResourceContext;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.util.uri.RID;
         <b>I have written the following code:</b>
         IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
         com.sapportals.portal.security.usermanagement.IUser user =
                   (com.sapportals.portal.security.usermanagement.IUser) request.getUser().getUser();
                   <b>/* This is as per KM - Java iView - User Authentication */</b>
         try {
              IResourceContext context = new ResourceContext(user);
              RID rid = RID.getRID("/documents/test");
              ICollection parent = (ICollection) ResourceFactory.getInstance().getResource(rid, context);
              IResource resource = parent.createResource("file", null, null);
               } catch (Exception e1) {
              // problem while retrieving the resource
         <b>I am getting a portal Runtime error. The following is its error log:</b>
    Exception ID:07:49_28/06/05_0002_3055650
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
         at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <i><b>Caused by: java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/IResourceContext</b></i>
         at com.satyam.dynpage.MyDynpage.getPage(MyDynpage.java:23)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.getPage(PageProcessorComponent.java:193)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doOnNodeReady(PageProcessorComponent.java:62)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
         ... 21 more
    I don't know why am i getting an exception.
    Please help me in this regard.
    Thanks in advance.
    <b>Regards,
    Sai Krishna.</b>

    You need to put a sharing reference for "com.sap.km.application" in your portalapp.xml. Check out the following portalapp.xml. You can either put
    "com.sap.km.application" or "knowledgemanagement".
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb,com.sap.km.application"/>
      </application-config>
      <components>
        <component name="links_tree">
          <component-config>
            <property name="ClassName" value="com.ust.kmtree.display"/>
            <property name="SecurityZone" value="com.ust.kmtree/high_safety"/>
          </component-config>
          <component-profile>
            <property name="path" value="/documents/prakash"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>

  • Allow every user to create subfolders

    Hello everybody,
    after some changes in our internal role system I need your help.
    In BEX there you can go to
    open query or open workbook.
    Then hit the button "Roles"
    There we can see the menu with all visible folders.
    How can I allow every user to create subfolders within the folders he is already allowed to see?
    As I activate a certain role even I (administrator) gets a greyed out view.
    Is there a way that users can create new folders in a convenient way?
    Thanks for your help!
    Harry

    I think the DNSAdmins group will give them too much control over the server (change forwarders, etc..).
    Create a custom MMC snapin and assign related permissions. The picture below may give you an idea:
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Any reason NOT to create subfolders under user folder?

    I'm switching over from a 5+ year old MacBook Pro to a new one. I do a lot of audio recording and production work. On my old machine, which was my first Mac, I created a subfolder 'Recordings' under my user folder (let's say it's named "bob"). I don't remember why I did that. Probably I was thinking well, this stuff isn't documents.
    On the new machine, running Yosemite, I discovered that Apple in it's wisdom had made my "bob" user folder hidden, which meant I had to go figure out how to show it because there are some audio plugin settings files I needed to add manually from the old machine into my user/ Library area. Did that.
    BUT... I'm wondering if there is some reason why Apple changed the user folder to hidden (other than "you dumb users don't need to know about this stuff"), and specifically, if I should avoid creating any subfolders under my user folder? I would really rather not have my 'Recordings' folder  inside the Documents folder, but I guess I can if there's some good reason not to create subfolders under 'bob'.
    Thanks in advance.

    They didn't make it hidden (like the Library sub folder), but I believe it is no longer included in the sidebar by default. Probably for the reason you state. As you've found, you can add it back through Finder Preferences menu.
    Matt

Maybe you are looking for

  • ACH Company ID - Eletronic Payments

    We are on R12, I setup our internal bank account for ACH payments and created a new payment document for bank in the NACHA format. There is field on the "Format Payment Instructions with Text Output" which is by default the LE Registration Number. Th

  • Using organizer in Premiere Elements

    When I try to create a DVD of my slideshow while in PE8, I get a message that I need to download Premiere Elements. I have Premiere elements on my computer already. If I try to open the organizer while in Premier Elements, nothing happens. It seems a

  • Why is Apple remote desktop not working?

    I have 4 machines in a remote office that I need to connect to using ARD 3.6. I have a VPN connection working and am able to successfully control all but one of the machines. I have checked all of the settings and have confirmed that the Mac that ARD

  • Xcode 2.2 problem - during install

    Hi, running 10.3 on a Ti-book. Trying to install Xcode 2.2 so I can have the gcc and other C complilers installed. When trying to install, it goes through a checksum step which it fails every time - I get an "input/output" error. I have tried downloa

  • Computer crashing when trying to render

    My computer is crashing when I try to render. I have plenty of memory. I may have conflicts with other loaded programs but do not know what ones. Any ideas?