We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Ashish
Posts: 3
Joined: Tue Mar 04, 2014 8:26 am

Build an installer for Java Web application

I want to build an installer for my Java Web application.Please let me know the step by step procedure of doing inn Advance Installer.
I am using :
JDK 1.6
Tomcat 7
Database - mysql
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Build an installer for Java Web application

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can follow our "Java Product Installation" tutorial steps. Then, you can add Tomcat and MySQL server as prerequisites to your installation package.

Also, here is a list of threads which could be useful for you:
- installing tomcat and deploying war file
- install and configure mysql

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ashish
Posts: 3
Joined: Tue Mar 04, 2014 8:26 am

Re: Build an installer for Java Web application

Hi Daniel,

Thanks for explaining it an effecient way.I am stuck in one thing.

In the link you provided for creating a java product installation(http://www.advancedinstaller.com/user-g ... -java.html), it describes installation of a Desktop application.In 'Add Installation Files' section it is selecting jar file.But I am generating war file.So do I select the whole application folder for installation in this section?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Build an installer for Java Web application

Hello,

First of all I apologize for my misleading answer. Indeed, our "Java Product Installation" tutorial describes how to create an installation project for a Java desktop application. In order to create an installation project for a Java web application you can use our "Tomcat Web Application" installer template. I think the "installing tomcat and deploying war file" thread should be useful for you.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ashish
Posts: 3
Joined: Tue Mar 04, 2014 8:26 am

Re: Build an installer for Java Web application

I am using Tomcat web Application Installer Template.

In this,while following the steps,there is a "Add files to your Project" section.

There I selected the application folder of my project in "Install Tomcat as a prerequiste" section.
In the second part, (i.e) "Install Tomcat as a bundle" section,
I selected the Tomcat folder inside my application and it is showing error that don't have service.bat and server.xml file whereas it is already present in the folder.

Please help me so that Ican move further.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Build an installer for Java Web application

Hello,

Please take a look on our "Issues with selecting Tomcat Bundle folder" thread which debates a similar issue.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”