I was trying to create installer for my J2EE application but got nowhere due to parsing exception on tomcat's server xml.
To make things simpler I tried to create installer which would install empty tomcat server and register it as windows service.
This is what I did:
Downloaded apache-tomcat-6.0.26 from the official site,(tried with 5.53 too)
Downloaded Advanced installer 7.7 trial from this site,
Started Advanced Installer and created new Tomcat project using the wizard,
- File>New and from the java tab "Tomcat Web Application"
- Next>Next>Exe setup file>Next>next>
- checked the "Tomcat files are placed directly in application folder" checkbox and pointed to the root of my tomcat root foldfer
- checked all checkboxes to offer the user to specify custom ports and selected "automatically use free port" for every port field
- next>next> unchecked java validation> next> next and finish
- the project builds and after that I run the setup file
- it lets me chose different ports for tomcat. On my pc 8080 was busy so it offered 8081 and also 8005 to 8006, I also uncheck the "run tomcat after install "
After the installation is complete I try to start the service manually but no luck.
Tomcat logs an parsing exception on service.xml config file.
The config file is really messed up. You can get the "original" and "generated" service.xml files and see the differences.
OS: Windows 7 professional, 64Bit edition.
Is there some known workaround for these? Does someone else had this problem?
Perhaps some older version of Advanced Installer that doesn't have this bug?
Regards,
--
Aleksandar
FOLLOW US
Get the latest news in Application Packaging