sspak9's Profile
Agile Talent
246
Points

Questions
5

Answers
46

  • Agile Talent Asked on February 9, 2017 in Other APIs.

    Re; Log4J :
    Use the SAME log4j.jar file that is in the Agile PLM.  Look under  your installation folder/agileDomain/lib

    Re:JDK version.
    Use the same JDK version (7 or 8) installed on your Agile PLM application server when you setup Eclipse Configure Build Path.

    Re; Class not found
    Are you using the same AgileAPI.jar / pxapi.jar file in you dependency (i.e. Configure Build  Path ).  Does this file exist under your integration/sdk/lib folder ?

    Re: drop down not showing
    1) did you clear the cache ?
    2) as a last resort, clear sdk cache, remove existing PX.jar file , stop app server, clear all content of  servers fold, restart app server , re-deploy and verify

    A suggestion on verifying if the px shows up in the drop down is to build an empty PX class that just return success and deploy with the ONLY dependency on AgileAPI.jar and pxapi.jar.  If this class shows up, then you can start adding extra dependencies. and do “hot deployment”.

    • 2166 views
    • 8 answers
    • 0 votes
  • Agile Talent Asked on February 7, 2017 in Agile PLM (v9).

    Thank you all for good answers… Well,  I tried to see where the potential oracle logo could be hidden and found few candidates, but do NOT wish to spend time testing if that image in the archive file is really being used by the report generation logic.  I am sharing my script if anyone wishes to explore on their own.

    The scripts lists all the images in archive files from a top folder where you wish to start the search.  I am basically looking at jar/ear/war files and checking to see if it contains files that ends with .gif , .png, or .jpg.  After manually looking at the list in “all.txt” file, I pulled few files to my desktop and looked at the images…There are many potential images that match the Oracle logo in the PDF file….  I was hoping for a single image match…:-(

    Thanks
    Sang
    ———————-
    rm all.txt
    find . -type f | grep ‘.jar$|.war$|.ear$’ | xargs -I ‘{}’ ./findme.sh {}

    Content of the file: findme.sh

    #!/bin/sh
    rm result.txt
    jar tfv $1 | grep ‘.png$|.jpg$|.gif$’ > result.txt
    filesize=$(wc -c < result.txt)
    if [ $filesize -gt 1 ] ; then
    echo “***** check file: $1 *****”
    echo “***** FILE: $1 *****” >> all.txt
    cat result.txt >> all.txt
    echo “” >> all.txt
    fi

    • 2280 views
    • 4 answers
    • 0 votes
  • Agile Talent Asked on January 27, 2017 in Software Development Kit (API).

    Start slow if you never worked using web services.  Read up on auto creating client stub using WSDL.  If you’re more familiar with Microsoft world, use Visual Studio to create stubs by pointing to one of the core services: (example: http://server/CoreService/services/AdminMetadata?WSDL to get methods for managing admin stuff ).  If using Java, read up on web service guide for using ANT to auto create the stubs.  Before you start calling the web service end points, play around using SOAP UI.

    Use SOAP UI to get a feel of how to leverage the service in terms of what’s required/optional.

    Replicate the same action in C# or Java… Start slow by calling one method that doesn’t require input and process the output.

    • 2305 views
    • 1 answers
    • 0 votes
  • Hi, I believe the issue is due to the SMTP server you are connecting to and NOT due to the internal Agile SDK logic.  Please check if you can connect directly to your server from outside of SDK code and verify.

    • 1951 views
    • 1 answers
    • 0 votes
  • Agile Talent Asked on October 19, 2016 in Other APIs.

    Thank you Kevin.  I was trying to check automated way to get that and learned that there is NO SDK API for User Monitor.  However, you can query the database directly.  The table USER_SESSION and USER_USAGE_HISTORY tables contain the information I want.

    • 5791 views
    • 2 answers
    • 0 votes
  • Are you creating the factory using the cluster specific way ?
    AgileSessionFactory factory = AgileSessionFactory.refreshInstance(URL);

    Below will NOT work on cluster:
    AgileSessionFactory factory = AgileSessionFactory.getInstance(URL);

    • 4592 views
    • 3 answers
    • 0 votes