Tag Info

New answers tagged

1

The nmap results were the biggest hint that the problem was not the network configuration with VirtualBox. The issue was with Tomcat. I opened the conf/server.xml file in my Tomcat home directory. Then I changed the line <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" ...


0

Your application possibly delays stop (or start) phase. Read these instruction and check the deployed application: http://wiki.apache.org/tomcat/HowTo/FasterStartUp If it won't help, there is a problem with Upstart-Tomcat compatibility. Upstart tends to start some less common services too early, which sometimes leads to crashes or other unexpected ...


4

Two issues: You also need to export the variable into the environment as follows: export CATALINA_HOME=/opt/apache-tomcat-8.0.24 Since you are using /etc/profile, it won't take effect in X again, until you logout and in again of your xsession, not just your shell. Also sudo cannot find ./startup.sh. You need to be in the same directory as this ...


5

sudo ./startup.sh command will execute the startup.sh script in your current directory. This you should do: Add this line to /etc/profile for setting path while booting( Permanent change) export CATALINA_HOME=/opt/apache-tomcat-8.0.24 To set path temporarily execute above command in the current shell. and excute this: sudo ...


0

I think there is a permission problem. You can solve this problem by either changing the permission of tomcat installation directory or by changing the ownership of the tomcat installation directory. Changing the ownership: Let's say that there is a user: tookuk and group: tookuk then you can change the ownership of directory from root:root to ...


1

Add to the /etc/profile file(For system wide change) or to ~/.bash_profile( local user) export CATALINA_HOME=/opt/apache-tomcat-8.0.23


3

chmod will change the permissions, while chown will change the owner and group of a file. In this case you're erroneously using chmod where you should be using chown. This is an error in the tutorial you're following, you didn't really do anything wrong but the instructions were mistaken. I suggest you find a book on basic Unix commands so you can learn ...



Top 50 recent answers are included