Skip to main content
Participating Frequently
June 24, 2008
Question

Axis Version

  • June 24, 2008
  • 4 replies
  • 676 views
We have ColdFusion MX 7 Enterprise edition installed on a Windows 2003 platform. I have been asked what version of Axis do we have and I cannot find that information. I looked in the CF Admin site.
    This topic has been closed for replies.

    4 replies

    aldrichtAuthor
    Participating Frequently
    June 24, 2008
    Thanks! I ran the code and got my answer.
    Participating Frequently
    June 24, 2008
    quote:

    Originally posted by: aldricht@ferris.edu
    Thanks! I ran the code and got my answer.


    very good! :-D
    Inspiring
    June 24, 2008
    Thanks for the tip :)
    Participating Frequently
    June 24, 2008
    :-D
    Participating Frequently
    June 24, 2008
    Hi,

    try this code:
    <cfscript>
    versionAxis = createObject("java", "org.apache.axis.utils.Messages").getMessage("axisVersion");
    WriteOutput(versionAxis);
    </cfscript>
    Inspiring
    June 24, 2008
    CFTofinha wrote:
    > versionAxis = createObject("java", "org.apache.axis.utils.Messages").getMessage("axisVersion");
    > WriteOutput(versionAxis);

    Good thought. Now that you mention it, I realized axis has a built in "version" class for this purpose ;-)

    <cfscript>
    version = createObject("java", "org.apache.axis.Version").getVersion();
    WriteOutput(version);
    <cfscript>
    Participating Frequently
    June 24, 2008
    quote:

    Originally posted by: -==cfSearching==-
    Good thought. Now that you mention it, I realized axis has a built in "version" class for this purpose ;-)

    <cfscript>
    version = createObject("java", "org.apache.axis.Version").getVersion();
    WriteOutput(version);
    <cfscript>



    yes and simpler!

    Veri good! :-D
    Inspiring
    June 24, 2008
    One way is to open the axis.jar with a tool like pkzip, 7zip, etc and view the manifest file with wordpad. It should contain the version. Do not delete or unzip anything from the jar. That could cause serious problems.

    The axis jar should located in the lib folder (ie c:\cfusionmx7\lib\axis.jar) and the manifest file should be located in the meta-inf folder: META-INF\MANIFEST.MF