Search

Deploy first app in Tomcat

1. Create a folder app1 under TOMCAT_HOME/webapps

2. Create a file first.html with below content under webapps.

    <h1>Hello world</h1>
   
3. Folder structure looks like

How to start and stop Apache Tomcat in windows and linux?

Windows:

 In windows generally Tomcat start with system, you can see it in task bar. If you want to start it manually, follow below steps.

1. Open command Prompt.
2. Go to TOCAT_HOME(It is tomcat installation location in my case it is C:\Program Files\Apache Software Foundation\Tomcat 7.0)
3. Go to bin folder.

What is Apache Tomcat?


Apache Tomcat is Application server from 'Apache software foundation', which is open source. It is used to run Java web applications. Current stable version is 8.5.11, click here to download.

This host supports Intel VT-x, but Intel VT-x is disabled.


If you get above error msg while installing VM, just go to boot options and enable IntelVT.

Unable to start OIDMON in opmnctl

If you are below errors while starting opmnctl

[pid: 29628] [tid: 0] Guardian: Connecting to database, connect string is oiddb
[pid: 29628] [tid: 0] Guardian: [gsdsiConnect] ORA-28001, ORA-28001: the password has expired
[pid: 29628] [tid: 0] Guardian: [oidmon]: Unable to connect to database,
            will retry again after 10 sec


It looks like your ODS user password is expired.

How to make Oracle DB user password never expires?

After connecting to DB execute below command to make all DB users password never expires.

SQL> alter profile DEFAULT limit PASSWORD_LIFE_TIME  unlimited;