Add a resource to an existing resource group

Hi,
I configure two resources(AD, LDAP) as a resource group.
After assigning the resource group to some users, I add a resource (oracle) to the resource group.
How does IdM create users to an additional new resource?
By default, IdM does not create users automatically by detecting addition of resource.
Thanks in advance.

Hi,
I configure two resources(AD, LDAP) as a resource
group.
After assigning the resource group to some users, I
add a resource (oracle) to the resource group.
How does IdM create users to an additional new
resource?
By default, IdM does not create users automatically
by detecting addition of resource.
Thanks in advance.if i am not wrong....i assume u want to accomplish the following things
1)create a group of resources
2)assign users to that group
3)add additional resources to the group in point 1.
what u expect to see here is, that the users who were assigned to the group shud have their accounts created automatically on the new resource
if this is what u expect ...
i suggest that u create a ROLE ....and add the resources there...
ASSIGN this role to ur users...
henceforth whenever u add a new resource to the ROLE the already existing users assigned to the role will get their accounts automatically created on the new resources...
HOPE THIS HELPS

Similar Messages

  • How to handle "The specified resource does not exist" exception while using entity group transactions to purge WADLogs table

    Hi,
    We have a requirement to purge the Azure WADLogs table on a periodic basis. We are achieving this by using Entity group transactions to delete the
    records older than 15 days. The logic is like this.
    bool recordDoesNotExistExceptionOccured = false;
    CloudTable wadLogsTable = tableClient.GetTableReference(WADLogsTableName);
    partitionKey = "0" + DateTime.UtcNow.AddDays(noOfDays).Ticks;
    TableQuery<WadLogsEntity> buildQuery = new TableQuery<WadLogsEntity>().Where(
    TableQuery.GenerateFilterCondition("PartitionKey",
    QueryComparisons.LessThanOrEqual, partitionKey));
    while (!recordDoesNotExistExceptionOccured)
    IEnumerable<WadLogsEntity> result = wadLogsTable.ExecuteQuery(buildQuery).Take(1000);
    //// Batch entity delete.
    if (result != null && result.Count() > 0)
    Dictionary<string, TableBatchOperation> batches = new Dictionary<string, TableBatchOperation>();
    foreach (var entity in result)
    TableOperation tableOperation = TableOperation.Delete(entity);
    if (!batches.ContainsKey(entity.PartitionKey))
    batches.Add(entity.PartitionKey, new TableBatchOperation());
    // A Batch Operation allows a maximum 100 entities in the batch which must share the same PartitionKey.
    if (batches[entity.PartitionKey].Count < 100)
    batches[entity.PartitionKey].Add(tableOperation);
    // Execute batches.
    foreach (var batch in batches.Values)
    try
    await wadLogsTable.ExecuteBatchAsync(batch);
    catch (Exception exception)
    // Log exception here.
    // Set flag.
    if (exception.Message.Contains(ResourceDoesNotExist))
    recordDoesNotExistExceptionOccured = true;
    break;
    else
    break;
    My questions are:
    Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    Would this logic fail in any particular case?
    How would this approach change if this code is in a worker which has multiple instances deployed?
    I have come up with this code by referencing the solution given
    here by Keith Murray.

    Hi Nikhil,
    Thanks for your posting!
    I tested your and Keith's code on my side, every thing worked fine. And when result is null or "result.count()<0", the While() loop is break. I found you code had some logic to handle the error "ResourceDoesNotExist" .
    It seems that the code worked fine. If you always occurred this error, I suggest you could debug your code and find which line of code throw the exception.   
    >> Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Base on my experience, we could use code (like the above logic code) and using the third party tool to delete the entities manually. In my opinion, I think the code is every efficient, it could be auto-run and save our workload.
     >>Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    In you code, you used the "recordDoesNotExistExceptionOccured " as a flag to check whether the entity is null. It is a good choice. I had tried to deleted the log table entities, but I used the flag to check the result number.
    For example, I planed the query result count is 100, if the number is lower than 100, I will set the flag as false, and break the while loop. 
    >>Would this logic fail in any particular case?
    I think it shouldn't fail. But if the result is "0", your while loop will always run. It will never stop. I think you could add "recordDoesNotExistExceptionOccured
    = true;" into your "else" block.
    >>How would this approach change if this code is in a worker which has multiple instances deployed?
    You don't change anything expect the "else" block. It would work fine on the worker role.
    If any question about this issue, please let me know free.
    Regards,
    Will
    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.

  • Link existing resource to Active Directory

    I am working with an existing implementation of Project Server 2010 where Active Directory is used to synchronize resources.  When initially implementing this environment, it was decided that most people in the department would be created as resources,
    however, they would not be given the "logon to Project Server" permission (they were created manually).  There have been some cases where these existing resources have later needed to have access to the server, so they are added to the necessary
    AD group, and synchronized into Project Server.  Due to the existing account already being in the resource pool, it creates a 2nd resource with the same name but the windows user account tagged to the end (example, Jane Doe [DOMAIN\jdoe]). 
    Is there any way to update the existing resource information so that Project Server knows to link that resource with the new resource in Active Directory?  We have tried manually selecting "logon to Project Server" and entering the windows
    user ID, but it has the same behavior (adds a second resource to the enterprise resource pool). 
    I understand that you can prevent active directory from synchronizing that account, but we are hoping there is a better solution that doesn't disable the inherant functionality of AD sync.
    Thank you and let me know if you need additional information.

    Which group you have mapped with Resource pool sync.
    When you sync reosurce pool with AD in that case only resource will be added to the project server i mean to say :
    The "logon to Project Server" button is unchecked
    The Windows User Account is not  populated
    The user is not added to the out of box Team Members security group
    http://technet.microsoft.com/en-us/library/gg982985(v=office.14).aspx
     http://technet.microsoft.com/en-us/library/gg750243(v=office.14).aspx
    these link will give you better idea.
    For giving user permission you map project server group with AD groups this will give you proper access.
    For resources you use resource pool sync .     
    No Project Server user accounts will be automatically created for resources that are added to the Enterprise Resource Pool through Active
    Directory synchronization.
    If you go with 2nd approach you will not face any problem in future.
    Once you do resource pool sync it will create reosurces without user login.
    Then you can map Project Permission group with AD group it will add user account to the users who are present in ad. 
    For this you have to create different- different groups in Ad as per project server group and add user as per your need in ad group. be careful do not t map project server group
    with group which you are suing for resource pool mapping sync.  
    kirtesh

  • Error while adding oracle database resource to the fail safe group

    Hi,
    we are installaing ERP 6.0 EHP4 , oracle10.2.04  in MSCS
    During the step, Adding the oracle Database Resource to the fail safe
    group , I am getting the error.
    28  13:21:57    ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<SID>_OFS.ora is not located on a cluster disk
    29  13:21:57    ** WARNING : FS-10404: The database uses a nonclustered disk in one of the system parameters.  Value of parameter is C:\ORACLE\<SID>\102\RDBMS\AUDIT
    30  13:21:58    ** ERROR : FS-10036: The resource uses disk SAP HDD, which is also used by cluster resource SAP VIP in another group
    31  13:21:58    ** ERROR : FS-10778: The Oracle Database resource provider failed to configure the cluster resource <SID>.WORLD
    32  13:21:58    ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
    33  13:21:58    ** ERROR : FS-10497: Starting clusterwide rollback of the operation
    34  13:21:58  FS-10488:<primary node name> : Starting rollback of operation
    35  13:21:58   > FS-10090: Rolling back Oracle Net changes on node <primary node name>
    I am having one local disk C: one shared disk Z: and quorum disk Q:
    Shared disk Z: is already used for SAP<sid> group.
    Regards,
    Joel

    Joeldhanaraj wrote:>
    > Hi,
    >
    > we are installaing ERP 6.0 EHP4 , oracle10.2.04  in MSCS
    >
    > During the step, Adding the oracle Database Resource to the fail safe
    > group , I am getting the error.
    >
    > 28  13:21:57    ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<SID>_OFS.ora is not located on a cluster disk
    > 29  13:21:57    ** WARNING : FS-10404: The database uses a nonclustered disk in one of the system parameters.  Value of parameter is C:\ORACLE\<SID>\102\RDBMS\AUDIT
    > 30  13:21:58    ** ERROR : FS-10036: The resource uses disk SAP HDD, which is also used by cluster resource SAP VIP in another group
    > 31  13:21:58    ** ERROR : FS-10778: The Oracle Database resource provider failed to configure the cluster resource <SID>.WORLD
    > 32  13:21:58    ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
    > 33  13:21:58    ** ERROR : FS-10497: Starting clusterwide rollback of the operation
    > 34  13:21:58  FS-10488:<primary node name> : Starting rollback of operation
    > 35  13:21:58   > FS-10090: Rolling back Oracle Net changes on node <primary node name>
    >
    > I am having one local disk C: one shared disk Z: and quorum disk Q:
    >
    > Shared disk Z: is already used for SAP<sid> group.
    Hi Joel,
    how about following the advice given by the error message and moving the mentioned files/folder (init<sid>_OFS.ora, AUDIT folder) to a clustered resource disk?
    just my 2 pence...

  • Issue while adding DB resources to the fail safe group

    Hi,
    we are installaing ERP 6.0 EHP4 , oracle10.2.04 in MSCS
    During the step, Adding the oracle Database Resource to the fail safe
    group , I am getting the error.
    28 13:21:57 ** WARNING : FS-10288: Parameter file C:\oracle\BCP\102\database\init<SID>_OFS.ora is not located on a cluster disk
    29 13:21:57 ** WARNING : FS-10404: The database uses a nonclustered disk in one of the system parameters. Value of parameter is C:\ORACLE\<SID>\102\RDBMS\AUDIT
    30 13:21:58 ** ERROR : FS-10036: The resource uses disk SAP HDD, which is also used by cluster resource SAP VIP in another group
    31 13:21:58 ** ERROR : FS-10778: The Oracle Database resource provider failed to configure the cluster resource <SID>.WORLD
    32 13:21:58 ** ERROR : FS-10890: Oracle Services for MSCS failed during the add operation
    33 13:21:58 ** ERROR : FS-10497: Starting clusterwide rollback of the operation
    34 13:21:58 FS-10488:<primary node name> : Starting rollback of operation
    35 13:21:58 > FS-10090: Rolling back Oracle Net changes on node <primary node name>
    I am having one local disk C: one shared disk Z: and quorum disk Q:
    Shared disk Z: is already used for SAP<sid> group.
    Regards
    Joel

    No crossposting please!
    Error while adding oracle database resource to the fail safe group

  • 404 Not Found, the requested resource does not exist

    Hi gurus,
    We're faciing an issue where when we submit data back to the SRM shopping cart from the MDM catalog UI, we intermittently get a "404 Not Found, the request resource does not exist" error page.
    Below is the HTTP trace upon item checkout:
    POST     200     text/html; charset=UTF-8     https://server/webdynpro/dispatcher/sap.com/tcmdmsrmcat~uisearch/MDM_SRM_UI_App?sap-wd-cltwndid=0cf753a3797111dfa7c662676002500a&sap-wd-appwndid=0cf753a4797111df966b62676002500a&sap-wd-norefresh=X
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js?7.0103.20091012142306
    GET     404     text/html     https://server/webdynpro/resources/sap.com/tcmdmsrmcat~uisearch/Components/com.sap.mdm.srmcat.uisearch.master.Master/ProductForm30703.html
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/blank.html?7.0103.20091012142306
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/backprevention.html
    GET     (Cache)     text/html     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/html/backdummy.html
    GET     (Cache)     application/x-javascript     https://server/webdynpro/resources/sap.com/tcwddispwda/global/SSR/js/autorelax.js
    The page https://server/webdynpro/resources/sap.com/tcmdmsrmcat~uisearch/Components/com.sap.mdm.srmcat.uisearch.master.Master/ProductForm30703.html is where the 404 error is being generated. And this error is also intermittent, so some time, the page will load with GET 200, but other times, it will show GET 404.
    Does anyone know what this ProductForm#####.html does? The ##### is a numerical value that seems to be incrementing on every catalog submission back to SRM shopping cart.
    MDM build 03.69
    Thanks.

    Sudhanshu appreciate your quick responses and the intermittent error is what's troubling me as well.
    Let me run through the SRM SC scenario for example:
    1. In shopping cart professional > Add Item > SRMMDM Catalog
    2. In the SRM-MDM catalog > Add an item to cart > Checkout
    3. After checkout, is where the intermittent error comes. Sometimes, the ProductForm.html is generated without a problem, and the product data is returned to the SRM SC in line 1.
    4. When we're back in the SRM SC professional > Add Item > SRMMDM Catalog  to punchout to the catalog again.
    5. Again, in the SRM-MDM catalog > Add an item to cart > Checkout
    6. Boom...the ProductForm.html page generates a 404 error.
    The scenario is similar from SUS to MDM, where for example, the first (or second or third) MDM punch out works, then all of a sudden, the 404 error is generated and it's always at the ProductForm.html where the 404 code is given.  I have yet to find a pattern to see what triggers this 404 error. Sometimes the first MDM punchout will generate this 404 error. Sometimes it will work up to 4 or 5 punchouts before the 404 error is generated.
    I'm have our BASIS team do a thorough analysis at the portal level to look for errors and still waiting for SAP's response.
    Another interesting thing is that this ONLY  happens in our dev box. In our QA box, we don't see such a behavior.
    Thanks for your time!

  • Web Dynpro image not found: The requested resource does not exist

    Hi everybody,
    I'm experiencing a strange Poltergeist, so I would like to cry out the issue and hope any kind sould could help me
    In my WebDynpro application, I show a JPG picture which is located in the own project, that means in "src/mimes/Components/metromadrid.net.formacion.Cursos". The image appears correctly in my Development environment, but when the activity is moved to the Consolidation System (I'm using JDI), the image doesn't appear. If I try to access it directly, via URL, the messagen shown is "404 Not found: The requested resource does not exist.." (the URL accessed is http://hostname:port/webdynpro/resources/metromadrid.es/formacionapp/Components/metromadrid.net.formacion.Cursos/foto_vacia.jpg)
    The point is that in the same Consolidation environment I have already some applications with images, which are found and loaded without any problem.
    I have checked if the image appears in the corresponding active repository and everything seems alright (I mean I can see the file there).
    Any idea? It would be really appreciated, since my time to solve the problem expires in few days...
    Thank you very much in advance!!
    Isidro Lopez

    Hi Isidro,
    your mime files were most probably not added to your NWDI activities when developing your Web Dynpro DC. This means when adding these mime files to the src/mimes/<comp package>.<Comp name> folder the Web Dynpro Tools have most probably not detected the new mime files. When testing your application on in your local development environment all images appear as they exist on your local file system. As missing mimes do not cause a CBS build failure you won't encounter a designtime error.
    Please check whether the corresponding mimes are listed as   'local only' (house symbol) in your DTR perspective. In case they are listed as 'local only' you must explicitly add them to an activity.
    I have also encountered this missing mime problem before but I have not started any investigation to really determine the reason for it.
    Best regards, Bertram

  • 404 Not Found,   Error: The requested resource does not exist.

    Hi all,
    When I try to access VC with the http://localhost:50400/vc where 04 is the CE1 instance, it returns the following error:
    404 Not Found
      Error: The requested resource does not exist.
    Any clues. Just to add that the CE1 servers are running green and nwa is accessible on same url.
    Regards.

    Hi
    Try with following link (VC should be in Caps) -
    http://localhost:50400/VC/default.jsp
    Also check whether you have proper admin roles assigned to your user id.
    Regards
    Sandeep
    Edited by: Sandeep Patki on Sep 16, 2009 8:47 AM

  • The requested resource does not exist - EAR - Jsp

    Hy!
    Following a tutorial I'm trying to create a small application in the Developer Studio.
    I created a Table, an EJB-Project with an Entity Bean and a Stateless Session Bean, a Web-Project with a JSP-File and an EAR which I deployed. Now the JSP form should be available at http://[server-name]:50000/employee/view.
    But I get:
    404   Not Found - SAP J2EE Engine/6.40
    The requested resource does not exist.
    Details:     Go to main page of this application!
    "main page" is a link which refers to http://localhost:50000/index.html which is the SAP Engine Start Page.
    This is my first experience with sap netweaver. So I don't know where I should start to search for the problem or how to solve it.
    In the web.xml of the WebProject there is the following code for the servlet mapping:
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>/NewEmployee.jsp</jsp-file>
    </servlet>
    <servlet-mapping>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <url-pattern>/view</url-pattern>
    </servlet-mapping>
    This is the code in the application.xml of the ear which should make it possible to access the webproject under .../employee.
    <module>
         <web>
              <web-uri>EmployeeWeb.war</web-uri>
              <context-root>employee</context-root>
         </web>
    </module>
    Best Regards,
    Carina

    Hy!
    I tried several changes and found out, I just had to remove the ' / ' bevor NewEmployee.jsp in the jsp-file - tag.
    <servlet>
         <servlet-name>NewEmployee.jsp</servlet-name>
         <jsp-file>NewEmployee.jsp</jsp-file>
    </servlet>
    Now it works and I'm able to test the jsp. There's a form and after a submit a jndi-lookup is performed.
    Object ref=jndiContext.lookup("java:comp/ev/ejb/EmployeeService");
    It seems the EJB reference in the web.xml:
             <ejb-ref>
              <ejb-ref-name>ejb/EmployeeService</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <home>com.sap.bsp.EmployeeServicesHome</home>
              <remote>com.sap.bsp.EmployeeServices</remote>
              <ejb-link>EmployeeEjb.jar#EmployeeServicesBean</ejb-link>
         </ejb-ref>
    doesn't work, because I get:
    com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/ev/ejb/EmployeeService.
    Looking forward to a hint
    Best regards,
    Carina

  • Error :-The requested resource does not exist while opening the adobe form

    hello Experts,
    We are in Portal implementation face with ECC6 EHP4 and Portal EHP1
    We have developed adobe  form using HCM forms and processes and done the required configuration in SPRO
    When we are trying to open the form from ESS we are getting below error
    404 not found
    The requested resource does not exist.
    Please look into this issue and let us know any thing we are missing
    Sincerely
    Paresh

    is ADS working correctly?
    1.  Use transaction SA38 to execute the program FP_TEST_00.
           Detailed information about this test program and about how you
           should then proceed is given in the Adobe Document Services
           Configuration Guide in the Help Portal under:
           http://help.sap.com/saphelp_nw2004s/helpdata/en/37/504b8cbc2848a4
           94facfdc09a359b1/frameset.htm -> Adobe Document Services
           Configuration Guide -> Configuring the Web Service -> Securing
           Access to the Web Service ->Configuration Check -> Configuration
           Check for PDF-Based Forms in ABAP
           -  If the FP_TEST_00 form is displayed in the print preview, the
              ADS configuration is correct.
              -> If you use scenarios with an interactive PDF, proceed with
              point 5. Otherwise, proceed with the test under point 6.
           -  If the system displays an error message instead of a form, the
              configuration of ADS is incorrect.
              -> Carry out the additional tests from point 2 onwards.
    2.  Use transaction SA38 to execute the program FP_PDF_TEST_00.
        This enables you to check the RFC connection to ADS  (see the
        reference to the documentation given above).
           -  If the system displays the version number of ADS, the
              configuration of the RFC connection is correct.
    read the note 944221
    Please paste the whole error? Is any dump in ST22

  • CRM Upgrade from 7.0 to EhP1 Error - The requested resource does not exist

    Hello All,
    We have recently upgrade our pilot system in CRM from CRM 7.0 to Ehp1. The upgrade was successful.
    However, when I login into the WebUI, I get an error message as follows:
    404 Not Found
    The requested resource does not exist
    Details: Go to main page of this application
    I got in touch with the Basis team and tried to activate some services through SICF that were deactivated because of the upgrade. But we still encounter the above error everytime I tried logging into WebUI.
    I kindly request to provide some pointers towards the resolution of the same.
    Thanks and regards,
    VSK.

    Hi,
    please try to activate all SICF services under sap->bc->bsp.
    If needed deactivate them and activate afterwards again to be sure all services are active.
    Good luck
    Kind regards
    Manfred

  • Comm Channel - "requested resource does not exist"

    Good day,
    Can someone help me with this error I get. We have a file to file scenario and everything works fine but the file never gets created on the receiver side, all messages says successful but in the comm channel monitor for the receiver adapter I get "Message processing completed successfully" but if I click on the message ID it say's " The requested resource does not exist." [Screen Print|http://www.photostand.co.za/images/t6432okl1tu6wzubwymj.gif]
    Thanks,
    Jan

    Hi Jan,
    Are you able to process messages from other interfaces? If not then there is an issue with the post installation. Please Check the SAP Note: 817920
    If you are not able to process messages only for this interface then there might be a configuration issue..
    Follow the link provided by the other SDNer. Please check and let us know the results.
    Thanks,

  • "insufficient existing resources to complete requested service" IO problem?

    Hi, my application reads from a repository of 1 million documents and then do some processing (very simple and requires little memory or computation) then outputs to another repository, where output files are placed in a flat structure, i.e., 1 million files in a single folder, not organised into any subfolders. I know this is a bad design and Im about to change it, but not sure if this is the cause of my problem (see following).
    My program haulted and threw exception *"insufficent existing resources to complete requested service"* every time it reached about 800k documents. And after I got this exception, my WinXP OS starts to misbehave, like sometimes I cannot open applications properly, and sometimes memory reference address issues, and once I tried to run JAVA IDE (intellij 7.0) again and I got this message:
    "ERROR: transport error 202: recv failed during handshake: No buffer space available (maximum connections reached?)"
    Also I tried to list all open files in a console, but the command hangs and without responding, looks like there are too many things to list or too little resources available to complete the operation.
    All these problems go away if I restart system.
    I have confirmed the following possible causes and they do not apply:
    - unclosed IO's , I checked the code and all IO operations properly instantiated and closed;
    - memory leak, java profiler shows memory consumption well below allocated max, and very stable (test on 100k documents, not whole of 1million though)
    I do not have any clue now as how this problem happend and how I can solve it. I wonder if placing all 800k documetns in a single folder causes problem? I know that if I try to call File.listFiles() on a folder with too many files that will cause memory problem. But I didnt have this kind of method call at all, but simply writing a particular file to that folder. Does this cause problem too? I am about to change this and to organise the output folder to subfolders, but is this the right dirrection to take?
    I am sorry that my description may be insufficient to truely debug the problem, but that is all I can get and it does look strange to myself too. Please could you throw in your ideas - any thoughts about the exception message, even any guess on what would be causes to this etc...
    Any thoughts are very much appreciated!
    Thanks so much inadvance!

    Hi Paul, thanks. I have did as you suggested, implemented a standalone program to test the issue. What I did is, I wrote a simple program which extends Thread, and creates 1 million files and write empty content and store to disk. Then I tested with 4 instances of such class, i.e., 4 threads writing 4 milllion files in total to disk - but to different locations, so there's no writing-to-same-file issues. And the system crashes at certain point.
    I then did another test to make the problem clearer. instead of running the 4 threads in parallel, I only create a new thread after previous one has completed. and this time still it crashes for the same reason, and at about 2.5million files have been created.
    The crash looks severe, as it simply crashes the system and I cannot do anything but to force shut down my pc. Then a restart asks to check disk integrity, and reported alot messages like :
    "deleting orphaned file xyx.xml ......" from drive X where X is the drive that the files are written to.
    Here I attach my testing code:
    public class TestClass extends Thread{
    public void process (String inputPath, String outputRootPath){
    FileStoreProxy p=new FileStoreProxy(outputRootPath);   // a FileStoreProxy keeps record of a root directory where files are created and
    // written to. It also creates subfolder (File.mkdirs()) such that every 10000 files
    //are stored in a subfolder under the root directory. The class doesnt do any IO
    List<File> folders = FileLoader.getFolderRecursive(new File(inputPath)); // this method loads all folders from inputPath. InputPath is a disk
    // directory that contains more than 1million xml files
    for (File folder : folders) {
      File[] files = folder.listFiles();
        for (File f : files) {
          if (f.isFile()) {
             FileOutputStream stream = null;
             try {
                  File newFile = new File(p.nextBestLocation()+"/"+f.getName());  //basically this line creates a new file whose path is composed by
    //the directory returned by FileStoreProxy, plus the filename as the input filename.
                  stream = new FileOutputStream(newFile, false);          // create an outputstream
                  stream.write("test".getBytes());                                  //write to the file
             catch (IOException ioe) {
                e.printStackTrace()
             finally {
                if (stream != null) {
                   try {
                      stream.close();
                      stream = null;
                   } catch (IOException ioe) {
                     e.printStackTrace();
    }And here is the class which creates four threads
    TestClass tc1 = new TesetClass;
    tc1.process("input_file_repository","f:/temp/outputpath1");
    while (!tc1.isFinished()){        // isFinished() is a method in TestClass, which tells whehter the thread has finished running.
    TestClass tc2 = new TesetClass;
    tc2.process("input_file_repository","f:/temp/outputpath2");
    while (!tc2.isFinished()){        // isFinished() is a method in TestClass, which tells whehter the thread has finished running.
    TestClass tc3 = new TesetClass;
    tc3.process("input_file_repository","f:/temp/outputpath3");
    while (!tc3.isFinished()){        // isFinished() is a method in TestClass, which tells whehter the thread has finished running.
    TestClass tc4 = new TesetClass;
    tc4.process("input_file_repository","f:/temp/outputpath4");
    while (!tc4.isFinished()){        // isFinished() is a method in TestClass, which tells whehter the thread has finished running.
    }Hope this helps... I had a feeling that the cause of the problem is that File IO is doing too fast such that some resources (file handle for example?) are not released in time and are floating somewhere, as a result, after some point it crashes. And later on the OS disk check reports that there are orphan files which are created by the program.
    Any ideas much appreciated! thanks!

  • GCWebservice not found (The requested resource does not exist)

    Dear expert,
    According to the following link, there is a standard web service allowing the update of xml file into portal :
    http://help.sap.com/saphelp_banking60/helpdata/de/45/485c1a5b875b3ee10000000a1553f6/frameset.htm
    The problem is that I get the message "  The requested resource does not exist." when I launch the URL http://<server>:<port>/GCWebservice/Config1?wsdl (where <server> and <port> are the server and port number for my portal).
    Please do you know how to assist on this topic ? do you know how we can access to the GCWebservice and eventually download it to the portal ?
    Thanks and regards

    Hi all ,
    Thanks for the replies .
    Shravan ,
    I pinged my XI and is working . we have already added 
    the IP Address and the host name , but the same error
    is coming .
    Anirban,
    Checked all the necessary services again as suggested
    by  you .
    Andreas ,
    > is to set the abap profile parameter
           LOCALHOSTFULL to the fqhn.
    Can you please let me know where to set the abap
    profile parameter "LOCALHOSTFULL" as suggested by you .
    Thanks
    Shikha

  • Need urgent help :'The requested resource does not exist error'

    Hi All,
    I am getting 'The requested resource does not exist error' when trying to acess http://machinename:50000/irj
    Even when i access http://machinename:50000, i get the same 'The root directory does not exist' error. I checked in visual admin, there is no other application deployed except my application.
    Any clues? Pls help
    thanks
    bhawna

    HI ,
    Did succeed to solve your problem. I am running into same problem.
    Any help is welcome.
    Thank u very much.

Maybe you are looking for