App Connect

 View Only
Expand all | Collapse all

Can't access my workspace

  • 1.  Can't access my workspace

    Posted Thu February 10, 2022 12:37 AM
    Hi team, 

    I'm using ACE Ver:12 and currently maintaining 6 workspaces for my applications.

    When I switch to different workspace I'm facing an eclipse log error issue and can't able to access the applications. Most of the importanta data and collections are in that workspace.

    Can anyone please let me know how to solve this issue in detail.

    waiting for the exact resolution from you that I'm facing with.

    Sending the error message screenshot.

    Thanks,
    Abhiram.




    ------------------------------
    Abhiram Emmadishetty
    ------------------------------


  • 2.  RE: Can't access my workspace

    Posted Thu February 10, 2022 01:03 AM
      |   view attached
    Hi

    Sending the log file error data.

    ------------------------------
    Abhiram Emmadishetty
    ------------------------------

    Attachment(s)

    log
    .log.log   80 KB 1 version


  • 3.  RE: Can't access my workspace

    Posted Thu February 10, 2022 07:41 AM

    Hi,

    In your ACE Toolkit Eclipse .log file we can see

    !MESSAGE Application error
    !STACK 1
    java.lang.OutOfMemoryError: Java heap space

    You can increase the available heap space for Eclipse by following this guide: FAQ How do I increase the heap size available to Eclipse

    The ACE Toolkit eclipse.ini is located at <install root>/tools

    HTH



    ------------------------------
    Martin Boag
    Software Developer
    IBM
    ------------------------------



  • 4.  RE: Can't access my workspace

    Posted Thu February 10, 2022 11:25 PM
    Hi,

    I tried to follow the steps but getting the error

    Please tell me the exact steps.



    Thanks

    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 5.  RE: Can't access my workspace

    IBM Champion
    Posted Fri February 11, 2022 05:08 AM
    Edited by Francois Brandelik Fri February 11, 2022 05:10 AM
    If you run eclipse -vmargs -Xmx2048M you have to run eclipse from %mqsi_base_filepath%\tools
    If you just run ace toolkit without testnode you have to make sure the vmargs are set in tools\eclipse.ini

    Enjoy

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 6.  RE: Can't access my workspace

    Posted Mon February 14, 2022 04:09 AM
    Hello Abhiram, 
     If you run eclipse from the ACE console then ensure you are in the tools directory first.    e.g use c:\Program Files\IBM\ACE\12.0.1.0\tools

    ------------------------------
    Paul Lacy
    ------------------------------



  • 7.  RE: Can't access my workspace

    Posted Thu February 10, 2022 11:54 PM
    Hi,

    I cannot see eclipse folder in my drive only .eclipse is available. So how to move further.

    please let me know.

    Thanks

    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 8.  RE: Can't access my workspace

    Posted Tue February 15, 2022 06:07 AM

    Hi

    The instructions I linked are for generic Eclipse - for ACE use it as a guide to make changes in ACE Toolkit eclipse.ini which is located at <install root>/tools, so in your case ":\Program Files\IBM\ACE\12.0.1.0\tools\eclipse.ini". Once you have edited eclipse.ini to add your vmargs, then simply run the ACE Toolkit from the normal windows menu.

    HTH



    ------------------------------
    Martin Boag
    Software Developer
    IBM
    ------------------------------



  • 9.  RE: Can't access my workspace

    Posted Wed February 16, 2022 06:49 AM
    Hi

    I accessed the file & changed Xmx value to 2048m & tried it. But still can't able to access.

    Can u exactly send the information what to be inserted in this eclipse.ini txt file.



    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 10.  RE: Can't access my workspace

    Posted Mon February 21, 2022 05:12 AM
    Hi,

    Waiting for the response that I've posted in the previous message.

    Kindly, waiting for resolution.

    Thanks

    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 11.  RE: Can't access my workspace

    Posted Mon February 21, 2022 05:56 AM
    Hello Abhiram,  
     The eclipse.ini looks fine to me.
     It should be just a change to the -Xmx1024m line and make -Xmx2024m.  
     Are you still seeing the original out of memory error in the .log file or is it the pop up menu that indicates the java was not found ?  
    If it is the memory error then perhaps you need increase the memory setting again.    
    if it is the pop up error message then try running it from the tools directory of the console window or run it from the windows start menu. 
    There were a number of fixes delivered since 12.0.1.0 for the eclipse upgrade so you could consider moving to a later level. 




    ------------------------------
    Paul Lacy
    ------------------------------



  • 12.  RE: Can't access my workspace

    Posted Sat February 26, 2022 02:43 AM
    1. Are you still seeing the original out of memory error in the .log file or is it the pop up menu that indicates the java was not found ?  -------Yes I'm still getting java.lang.OutOfMemoryError: Java heap space & java.lang.NullPointerException.

    2. If it is the memory error then perhaps you need increase the memory setting again.----Increased to -Xmx2048m.

    3. if it is the pop up error message then try running it from the tools directory of the console window or run it from the windows start menu.-----How to run from console. I need the procedure.

    Tried with all above things mentioned earlier. Finally, I was not able to access workspace. Please give us some resolution.




    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 13.  RE: Can't access my workspace

    IBM Champion
    Posted Sat February 26, 2022 04:00 AM
    It might not be the heap but the stack. With the heap at 2048M did you also double up on the stack? (from memory -Xss)
    To run from the command line: from the ACE directory run:
    ace toolkit without testnode​
    from the tools directory run
    eclipse​


    ------------------------------
    Francois Brandelik
    ------------------------------



  • 14.  RE: Can't access my workspace

    Posted Sun February 27, 2022 10:40 PM
    Hi

    ace toolkit without testnode​​
    Tried this but still the error remains same.
    Error showing to see log file. In log file i can see Java heap space & java. Lang. Null Pointer Exception.




    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 15.  RE: Can't access my workspace

    IBM Champion
    Posted Mon February 28, 2022 07:51 AM
    Could be a corrupted workspace. Have you tried renaming the .metadata (to .metadata.backup) directory in your workspace?

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 16.  RE: Can't access my workspace

    Posted Mon February 28, 2022 10:51 PM
    No. But that workspace containing data tested. Used the command to increase the heap size then also showing the same error.

    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 17.  RE: Can't access my workspace

    IBM Champion
    Posted Tue March 01, 2022 03:41 AM
    Ok so let's have a look at your VMArgs and specifically the stack (-Xss). There was an Apar out there that said it had to be a minimum
    -vmargs
    -Xquickstart
    -Xms1024m
    -Xmx2048m
    -Xmnx128m
    -Xgcpolicy:gencon
    -Xss4m
    -XX:PermSize=256m
    -XX:MaxPermSize=256m
    -XX:+UseParallelGC
    -Declipse.p2.data.area=@config.dir/../p2/
    ​
    of 2M and could show as 1M only in the .ini and you'd need to change that.
    Here are the parameters I am using:

    ------------------------------
    Francois Brandelik
    ------------------------------



  • 18.  RE: Can't access my workspace

    Posted Tue March 01, 2022 11:16 PM
    Hi,

    Thanks for the VMargs.... Able to access the workspace but my whole applications & data corrupted.


    ------------------------------
    Abhiram Emmadishetty
    ------------------------------



  • 19.  RE: Can't access my workspace

    Posted Wed March 02, 2022 04:08 AM
    Hello Abhiram,  
     What I suggest you do is:
    1) create a new workspace.   
    2) right click in the navigator and select import 
    3) expand the general tab and select Existing Projects into a Workspace.  
    4) click on next
    5) ensure root directory is selected and click on browse.  
    6) navigate to your old workspace and click on select (you want the old workspace dir as the root .   
    7) You should see a list of all your projects in that workspace .
    8) select the ones you want to import
    8) you can either use the default option  which means the projects are not copied into the workspace or you tick the option to copy the projects into the new workspace.  
    9)  Press on finish and the new workspace should show the import projects.  
    If that does not work then you need to raise a support call with IBM support.    
    Regards,

    ------------------------------
    Paul Lacy
    ------------------------------



  • 20.  RE: Can't access my workspace

    Posted Wed March 02, 2022 06:09 AM
    Hi Paul Lacy,
    Thanks for the procedure. It's not working. As of now my whole workspace data is missing. I'll raise a support call with IBM.


    ------------------------------
    Abhiram Emmadishetty
    ------------------------------