Hey
Im looking for a easy and fast way to install Apache Tomcat and Axis 2 on a Ubuntu box. I followed a guide but it left my PC a mess (I couldnt get updates correctly)
Thank you
Hey
Im looking for a easy and fast way to install Apache Tomcat and Axis 2 on a Ubuntu box. I followed a guide but it left my PC a mess (I couldnt get updates correctly)
Thank you
Quick gist: for a clean, maintainable setup install Java and Tomcat from Ubuntu’s packages, then deploy Axis2 as the WAR (don’t mix manual Tomcat installs with distro packages). is correct that Tomcat is easiest via apt; Axis2 itself is normally deployed by dropping the Axis2 WAR into Tomcat’s webapps. If your machine can’t update, repair the package state before continuing. (packages.ubuntu.com)
A practical sequence (adjust package name for your Ubuntu release if needed):
sudo apt update
sudo apt install default-jdk tomcat9 tomcat9-admin wget unzip
# download the Axis2 WAR distribution from the Apache Axis2 download page,
# extract the axis2.war and deploy it into Tomcat:
unzip axis2-*-war.zip
sudo cp axis2.war /var/lib/tomcat9/webapps/
sudo chown tomcat:tomcat /var/lib/tomcat9/webapps/axis2.war
sudo systemctl restart tomcat9 Use the Tomcat Manager webapp to upload the WAR instead if you prefer. For the current Axis2 WAR file, fetch the WAR distribution from the Axis2 downloads page. (axis.apache.org)
If the previous install “mucked up” apt/dpkg (updates fail, half-configured packages), first try these safe repair steps, then re-attempt the Tomcat/Axis2 install:
sudo apt update
sudo apt --fix-broken install
sudo dpkg --configure -a
sudo apt autoremove Back up config files before purging packages and preview removals with apt -s purge 'tomcat*' if you need to remove stray installs. (askubuntu.com)
Final tips: verify Java is on PATH (java -version), check Tomcat logs (Ubuntu packages send output to syslog or /var/log/tomcat9/), and open to run the Axis2 “Validate” page and drop .aar files into the exploded axis2/WEB-INF/services directory once the WAR is expanded. Logs and the Axis2 admin page give the best clues if something fails.
Jump to Post— rubberman 1,355Tomcat is installable from aptitude (apt-get) and synaptic package managers. I don't know about Axis2. I am installing an Ubuntu 12.04 image on a VM over the next couple of days (the DVD's are downloading now), so I'll reply back about that when I know a bit more. Usually, if …
Tomcat is installable from aptitude (apt-get) and synaptic package managers. I don't know about Axis2. I am installing an Ubuntu 12.04 image on a VM over the next couple of days (the DVD's are downloading now), so I'll reply back about that when I know a bit more. Usually, if you can install a package from the system repositories, it is preferable to installing from source or whatever.
Tomcat is installable from aptitude (apt-get) and synaptic package managers. I don't know about Axis2. I am installing an Ubuntu 12.04 image on a VM over the next couple of days (the DVD's are downloading now), so I'll reply back about that when I know a bit more. Usually, if you can install a package from the system repositories, it is preferable to installing from source or whatever.
Yeah, Tomcat is the easy part; The hard part is Axis 2.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.