This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Starting tomcat
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2013
08:48 AM
Starting tomcat
Hi,
After installation, I want to call a .bat file which resides in tomcat directory.
In Post-install, create an Execute Script/Batch File.
Then what command must be written to work this batch file?
I want to call startup.bat file under "apache-tomcat-6.0.37/bin/startup.bat" which resides under my install directory?
Thanks
After installation, I want to call a .bat file which resides in tomcat directory.
In Post-install, create an Execute Script/Batch File.
Then what command must be written to work this batch file?
I want to call startup.bat file under "apache-tomcat-6.0.37/bin/startup.bat" which resides under my install directory?
Thanks
(9) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 04, 2013
11:49 PM
Hi,
You could store the apache install location using an InstallAnywhere variable and then use that in the execute batch file action. Something like $APACHE_INSTALL_LOCATION$/bin/startup.bat
You could store the apache install location using an InstallAnywhere variable and then use that in the execute batch file action. Something like $APACHE_INSTALL_LOCATION$/bin/startup.bat
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2013
05:28 AM
Hi,
Apache is already included to the installation files. So the statement I wrote is below.
$USER_INSTALL_DIR$$/$_$PRODUCT_NAME$_installation$/$apache-tomcat$/$bin$/$startup.bat
Apache is already included to the installation files. So the statement I wrote is below.
$USER_INSTALL_DIR$$/$_$PRODUCT_NAME$_installation$/$apache-tomcat$/$bin$/$startup.bat
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2013
05:45 AM
Yes, that should be fine, provided apache-tomcat is the actual directory you have apache installed. Are you facing any issues with that?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2013
06:30 AM
Tomcat is portable. Actually when I double click on startup. bat command line appears and works fine (Normal behaviour: Command line window always appears ).
But with this command there is no window opening.When I investigate logs, it logs as Successful.
Am I doing something wrong?
You can simply test it with downloading tomcat (zip) from the link
http://tomcat.apache.org/download-70.cgi
Thanks
But with this command there is no window opening.When I investigate logs, it logs as Successful.
Am I doing something wrong?
You can simply test it with downloading tomcat (zip) from the link
http://tomcat.apache.org/download-70.cgi
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2013
11:38 PM
After the installation is complete, check if apache tomcat service has started. I don't think it matters if the command line window opens or not. What is the exact issue you're facing?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2013
06:53 AM
Service is not starting. Thats the exact problem.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2013
11:26 PM
Ok. Is the CATALINA_HOME and JAVA_HOME set before you start the service?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2013
02:38 AM
In installanywhere application, I did not set any of them. Is it necessary?
But the .bat file that I'm trying to work, includes these assignments.
But the .bat file that I'm trying to work, includes these assignments.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2013
02:49 AM
Also there is one more problem.
I'm creating a simple project and adding a readme.txt file into files. In post install I'm adding an execute file action. As target file, I'm choosing that readme.txt file. After installation there is no txt file opens.
Is it normal?
Note: I'm doing no other settings.
I'm creating a simple project and adding a readme.txt file into files. In post install I'm adding an execute file action. As target file, I'm choosing that readme.txt file. After installation there is no txt file opens.
Is it normal?
Note: I'm doing no other settings.