Clarity

Expand all | Collapse all
  • 1.  GEL error

    Posted May 15, 2012 09:43 AM
    Good day.

    I've installed GEL client, but when I try to exec or validate script I get an exception:

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.werken.forehead.Forehead.run(Forehead.java:551)
    at com.werken.forehead.Forehead.main(Forehead.java:581)
    Caused by: com.niku.union.config.ConfigurationException: Error unmarshalling config file: properties.xml
    at com.niku.union.config.ConfigurationManager.fetchConfigFileObject(ConfigurationManager.java:4489)
    at com.niku.union.config.ConfigurationManager.fetchConfigObject(ConfigurationManager.java:3902)
    at com.niku.union.config.ConfigurationManager.getProperties(ConfigurationManager.java:652)
    at com.niku.union.config.ConfigurationManager.getRawProperties(ConfigurationManager.java:630)
    at com.niku.union.config.ConfigurationManager.isSingleTenantMode(ConfigurationManager.java:786)
    at com.niku.union.utility.UtilityThreadLocal.init(UtilityThreadLocal.java:102)
    at com.niku.union.gel.GELClient.invoke(GELClient.java:83)
    at com.niku.union.gel.GELClient.main(GELClient.java:57)
    ... 6 more
    Caused by: java.io.IOException: The system cannot find the path specified
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)
    at com.niku.union.config.ConfigurationManager.getConfigFileProperties(ConfigurationManager.java:4297)
    at com.niku.union.config.ConfigurationManager.fetchConfigFileObject(ConfigurationManager.java:4346)
    ... 13 more

    Why?


  • 2.  RE: GEL error

    Posted May 15, 2012 10:02 AM
    Error unmarshalling config file: properties.xml
    think that that error is raised when you run GEL from the command line and you don't have all the "config files" (from the application) available to your command line GEL call.

    The "Why Hello World is useful" document in the zip file attached to the FAQ thread talks about/solves this issue - its just a matter of copying some files from your APP server to the local directories I recall.


  • 3.  RE: GEL error

    Posted May 15, 2012 12:02 PM
    Sadly, this didn't help.

    I've replaced the 'lib' folder from thirteen version with a 'lib' folder from twelve version.


  • 4.  RE: GEL error
    Best Answer

    Posted May 15, 2012 12:29 PM

    mpanfilov wrote:

    Sadly, this didn't help.
    OK, you are perhaps experiencing something different to THIS THREAD then when that suggestion did "fix" it. :unsure:

    EDIT : perhaps I'm reading that other thread wrong then; but I have got GEL working OK in v13 and all I can recall doing is copying a bunch "properties" files to my local GEL installed file system? :wacko:


  • 5.  RE: GEL error

    Posted May 16, 2012 05:17 AM
    I thought that 'properties.xml' is the solution.

    First I've copied only 'properties.xml' file, then entire '.setup' folder, but GEL as yet raises an exception.

    Anyway your documents is very useful, thanks :)
    I'm trying to find out the 'normal' way to make GEL work.

    There is a another question. What table is responsible for summary tasks? In other words, how to know the 'nesting' level of the task, the 'parent' task for particular task via NSQL-queries?


  • 6.  RE: GEL error

    Posted May 16, 2012 05:37 AM

    mpanfilov wrote:

    What table is responsible for summary tasks? In other words, how to know the 'nesting' level of the task, the 'parent' task for particular task via NSQL-queries?
    That information is just in the PRTASK table ; there are a PRWBSLEVEL and PRWBSSEQUENCE numbers.... the parent task will be a task that is a higher task (in sequence) with a lower level.

    A summary task will be a task that the next task (in sequence order) is of a higher level.

    The nesting depth is just the level.

    etc


  • 7.  RE: GEL error

    Posted May 16, 2012 06:38 AM
    There is another dimension to that
    PRISTASK has to be 0 for summary level items.

    Most of the time PRISTASK and PRWBSLEVEL go hand in hand, but with some fancy intendation at certain places (or editing the project XOG read out) you can create WBS structures that do not exactly go by the book.
    There is also WBS_NNBSEQ which might be useful.

    Martti K.


  • 8.  RE: GEL error

    Posted May 16, 2012 06:52 AM

    another_martink wrote:

    PRISTASK has to be 0 for summary level items
    I didn't realise that, so have learned something today! :grin:


  • 9.  RE: GEL error

    Posted May 18, 2012 12:36 PM
    Thanks :)


  • 10.  RE: GEL error

    Posted Jul 20, 2012 01:40 PM
    I had the same problem with V13. Instead of copying the whole lib directory, I copied over union.jar from V12 to workaround the problem. I also tried copying over .setup directory from NSA server, it didn't help.
    Thanks for this greate post.
    -christine


  • 11.  RE: GEL error

    Posted Jun 04, 2014 11:43 AM

    CLRT-66436 (S2) - V13 GEL command included with the XOG client download no longer works as it requires a full Clarity installation in order to work.

    Synopsis:
    Something changed in v13 with respect to using GEL from the xogclient.zip. It now throws exceptions about not being able to unmarshal the properties.xml file. It will only work when run from the "bin" directory under a full v13 Clarity installation.

    Test with this script:

    <gel:script
    xmlns:core="jelly:core"
    xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary">

    <gel:out>testing</gel:out>

    </gel:script>

    Steps to Reproduce:
    1. Download the xogclient.zip that comes with Clarity 13.0.0.7005.
    2. Unzip the file.
    3. Create a text file with the GEL script listed above called test.txt.
    4. Run: gel.bat test.txt.

    Expected: A single line of the output appears with "testing" in the output.

    Actual: An exception is thrown: Caused by: com.niku.union.config.ConfigurationException: Error unmarshalling config file: properties.xml.

     

    thank you.

    kumar



  • 12.  Re: GEL error

    Posted Nov 07, 2014 09:48 AM

    Hi,

     

    We have the same problem ("error unmarshalling properties.xml"). I understand that the solution is to copy files from the Clarity server to the local GEL folder.

    Does someone know more precisely which files to copy, and where ?

    Thanks

    Stephane



  • 13.  Re: GEL error

    Broadcom Employee
    Posted Nov 07, 2014 10:58 AM

    Hi Stephanie,

     

    The FAQ they are talking about is now at the following link:

     

    https://communities.ca.com/message/2297925#2297925

     

    If you scroll to the bottom of the page, you will find gel.zip which contains the Why Hello World is useful doc that they are talking about as well as a couple of other useful docs on gel.

     

    I hope this helps.

     

    Jeanne Gaskill

    Senior Support Engineer - Clarity

    CA Technologies



  • 14.  Re: GEL error

    Posted Nov 07, 2014 11:08 AM

    Hi Jeanne,

     

    I was looking for this FAQ !  The documentation in the gel.zip is VERY useful, I will study it next week,

    Thanks a lot for your help,

    Stéphane



  • 15.  Re: GEL error

    Posted Nov 07, 2014 11:49 AM

    I needed to place three xml file into: (D:\CAStuff\XogClient was where I unzipped it)

     

    D:\CAStuff\XogClient\.setup\templates\config

     

    The file were:

     

    caches.xml

    properties.xml

    tenants.xml

     

    V/r,

    Gene



  • 16.  Re: GEL error

    Posted Nov 12, 2014 07:25 AM

    Hi gcubed,

     

    Thanks for your help, I will try it ASAP

     

    Cordialement,

     

    Stéphane ROBIOLLE

    Direction Plan Projet / PMO Groupe

    Espace Gestion de Projet

     

     

     

    De :    gcubed <communityadmin@communities-mail.ca.com>

    A :     Stephane ROBIOLLE <srobiolle@macif.fr>,

    Date :  07/11/2014 17:49

    Objet : Re:  - GEL error

     

     

     

     

    CA Communities

     

    GEL error

    reply from gcubed in CA PPM - View the full discussion

     

    I needed to place three xml file into: (D:\CAStuff\XogClient was where I

    unzipped it)

     

    D:\CAStuff\XogClient\.setup\templates\config

     

    The file were:

     

    caches.xml

    properties.xml

    tenants.xml

     

    V/r,

    Gene

     

     

    Reply to this message by replying to this email, or go to the message on

    CA Communities

    Start a new discussion in CA PPM by email or at CA Communities

    Following GEL error in these streams: Inbox



  • 17.  Re: GEL error

    Posted Nov 13, 2014 09:09 AM

    Hello,

     

    I finally solved my GEL problems, by following these steps :

    - create a config folder under XOG, at the same level as "bin"

    - copy properties.xml from our Clarity server (

    /opt/clarity/13.3.0/config/properties.xml)  in this folder

     

    I just needed this file, not the two others. Copying the files in

    .setup\templates\config, as you propsed and as the GEL FAQ tells to do,

    did not work for me (i'm under windows XP, maybe that's the reason)

     

    Thanks for your help,

     

    Cordialement,

     

    Stéphane ROBIOLLE

    Direction Plan Projet / PMO Groupe

    Espace Gestion de Projet

     

     

     

    De :    gcubed <communityadmin@communities-mail.ca.com>

    A :     Stephane ROBIOLLE <srobiolle@macif.fr>,

    Date :  07/11/2014 17:49

    Objet : Re:  - GEL error

     

     

     

     

    CA Communities

     

    GEL error

    reply from gcubed in CA PPM - View the full discussion

     

    I needed to place three xml file into: (D:\CAStuff\XogClient was where I

    unzipped it)

     

    D:\CAStuff\XogClient\.setup\templates\config

     

    The file were:

     

    caches.xml

    properties.xml

    tenants.xml

     

    V/r,

    Gene

     

     

    Reply to this message by replying to this email, or go to the message on

    CA Communities

    Start a new discussion in CA PPM by email or at CA Communities

    Following GEL error in these streams: Inbox