Notices: This section not yet converted to new layout. Download stats are rolling back out.

Axis2/Java (WAR)

1.6.1

Package test results have failed.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 1/6/2016.

Apache Axis2™ is a Web Services / SOAP / WSDL engine, the successor to the widely used Apache Axis SOAP stack. There are two implementations of the Apache Axis2 Web services engine - Apache Axis2/Java and Apache Axis2/C.This package provides an installer for the Apache Axis2/Java implementation.

The WAR (Web Archive) Distribution will be the web application of Axis2 which can be deployed in most of the servlet containers.

Overriding installation parameters example:

To install into a standalone installation of JBoss:

choco install axis2-war -params '"/InstallationPath:"c:\jboss\standalone\deployments\axis2.war""'

Additional notes

This package contains a dependency on JDK7. However if you have JDK8+ installed you should be able to
ignore the dependencies of this package using the -i argument during install.

To install Axis2/Java (WAR), run the following command from the command line or from PowerShell:

C:\> choco install axis2-war

To upgrade Axis2/Java (WAR), run the following command from the command line or from PowerShell:

C:\> choco upgrade axis2-war

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = $env:chocolateyPackageName
    $version = $env:chocolateyPackageVersion
    
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $url = "http://archive.apache.org/dist/axis/axis2/java/core/$version/axis2-$version-war.zip"
    $checksum = Get-WebFile "http://archive.apache.org/dist/axis/axis2/java/core/$version/axis2-$version-war.zip.md5" -Passthru
    Write-Verbose "Downloaded checksum: $checksum"
    
    $unzipLocation = "$toolsDir\temp"
    
    $installationPath = "c:\temp\axis2.war"
    
    $arguments = @{};
    $packageParameters = $env:chocolateyPackageParameters;
    
    if($packageParameters) {
    	Write-Host "PackageParameters: $packageParameters"
    	
    	$match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.\$]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
    	
    	#""" fixes issues with notepad++
    	
    	$option_name = 'option'
        $value_name = 'value'
    
    	if ($packageParameters -match $match_pattern ){
    	  $results = $packageParameters | Select-String $match_pattern -AllMatches
    	  $results.matches | % {
    			$arguments.Add(
    				$_.Groups[$option_name].Value.Trim(),
    				$_.Groups[$value_name].Value.Trim())
    		}
    	}
    	else
    	{
    	  Throw "Package Parameters were found but were invalid (REGEX Failure)"
    	}
    
    	 
    	if($arguments.ContainsKey("InstallationPath")) {
    	  $installationPath = $arguments["InstallationPath"];
    	  Write-Host "Value variable installationPath changed to $installationPath"
    	} else {
    	  Write-Host "Default InstallationPath will be used"
    	}
    	
    } else {
    	Write-Host "Package parameters will not be overwritten"
    }
    
    $packageArgs = @{
      packageName   = $packageName
      unzipLocation = $unzipLocation
      url           = $url
      checksum      =  $checksum
      checksumType  = 'md5'
    }
    
    Install-ChocolateyZipPackage @packageArgs
    Get-ChocolateyUnzip "$unzipLocation\axis2.war" $installationPath -packageName $packageName
    
    #include containing folder in the uninstall log file
    $zipExtractLogFullPath= Join-Path $env:ChocolateyPackageFolder axis2.war.txt
    Add-Content $zipExtractLogFullPath $installationPath
    
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    Uninstall-ChocolateyZipPackage -PackageName $env:chocolateyPackageName
    Uninstall-ChocolateyZipPackage -PackageName $env:chocolateyPackageName -ZipFileName axis2.war
    
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • The Apache Software Foundation

Copyright

Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.

Tags

Release Notes

http://s.apache.org/axis2-1.6.1

Version History

Version Downloads Last updated Status

Discussion for the Axis2/Java (WAR) Package

Ground rules:

  • This discussion is only about Axis2/Java (WAR) and the Axis2/Java (WAR) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Axis2/Java (WAR), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok