Finding the jar file for a particular Method

Anjali66
edited November 17, 2017 in Documentum #1

Hi All,

In the DA, there is a method that is created by another developer who use to work here before me. I cannot find the JAR file for that method on content server. Is there any way, I can find the jar file for that method. Below is the screen shot of that method.I also looked in the below directory:

\\server\D$\Documentum\jboss7.1.1\server\DctmServer_MethodServer\deployments\ServerApps.ear\DmMethods.war\WEB-INF\lib

Method.gif

Any help will be apprecaited.

Thank You.

Answers

  • DCTM_Guru
    DCTM_Guru Member
    edited November 16, 2017 #2

    The JMS also looks for lib files under here:

    \\server\D$\Documentum\dba\java_methods


    If it isnt there, then your develop may have imported the jar as part of module (content file in the repository).  Log into DA and look under:


    /System/Modules/com.xyz.abc.DispositionWorkflow

  • Anjali66
    edited November 17, 2017 #3

    Hi,

    I found the JAR file under /System/Modules/com.xyz.abc.DispositionWorkflow. How do I export the file to my c:\drive or any drive. I want to see the contents of the JAR file. How can I do that? I trying doing Export, but it did something behind the scenes, but don't know where the JAR file is. Once I get the JAR file, I can extract the contents to my C:\ drive. Below are the screen shot of what I found. Any help will be greatly appreciated.


    issue1.gif

    issue2.gif

  • You could try the following the queries, and identify the location of the jar. by replacing with the exact jar name.

    DQL> select * from dmc_jar where object_name like '%Disposition%'

    dump,c,
    dump,c,
    displays folder_location

    OR

    API>?,c,select r_object_id,object_name from dmc_jar where object_name='Disposition.....jar'

    09.....

    API> getpath,c,09....

    Check the bof cache on the content server, you should be able to see the jars.

    Rohanna Dodla
    Subject Matter Expert (SME), Documentum

    image