Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-22 Thread tomcat

On 22.07.2016 05:28, chandra sekhar wrote:

Actually, i didn't configure the Apex ORDS yet with DB.As i told you in
previous mail chain i just extracted and trying to see the apche tomcat
home page first before going to configure Apex ORDS.


a) If you are using Internet Explorer, go into the "extra" or "preferences" settings, and 
find and disable the "show friendly error pages" option.

You might then see what is really returned by Tomcat (or whatever the error 
really is).

b) out of the logfile which you posted earlier, I have extracted the following part, which 
shows


1) the end of a previous Tomcat startup sequence :


Jul 21, 2016 8:13:36 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 128687 ms


2) Then almost immediately (4 s later), a shutdown sequence :


Jul 21, 2016 8:13:40 PM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port.
Stopping the Server instance.
Jul 21, 2016 8:13:40 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-1036"]
Jul 21, 2016 8:13:40 PM org.apache.catalina.core.StandardService
stopInternal
INFO: Stopping service Catalina
Jul 21, 2016 8:13:40 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/apex_bkp] registered the JDBC driver
[oracle.jdbc.OracleDriver] but failed to unregister it when the web
application was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.
Jul 21, 2016 8:13:40 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-1036"]
Jul 21, 2016 8:13:40 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-1036"]


3) then, more than one hour later, a new startup :


Jul 21, 2016 9:32:36 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 21, 2016 9:32:36 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 21, 2016 9:32:37 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 633 ms
Jul 21, 2016 9:32:37 PM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Jul 21, 2016 9:32:37 PM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Jul 21, 2016 9:32:37 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive
/data1/app/apache-tomcat-7.0.55/webapps/apex.war
Jul 21, 2016 9:32:40 PM
oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder:
/data1/app/apache-tomcat-7.0.55/webapps/apex/apex
Default Database connection not configured properly
Jul 21, 2016 9:33:41 PM oracle.dbtools.rt.web.SCListener
contextInitialized
INFO: Oracle REST Data Services initialized
Oracle REST Data Services version : 2.0.8.163.10.40
Oracle REST Data Services server info: Apache Tomcat/7.0.55

Jul 21, 2016 9:33:50 PM org.apache.catalina.util.SessionIdGenerator
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using
[SHA1PRNG] took [8,478] milliseconds.
Jul 21, 2016 9:33:50 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive
/data1/app/apache-tomcat-7.0.55/webapps/apex.war has finished in 72,969 ms
Jul 21, 2016 9:33:50 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/data1/app/apache-tomcat-7.0.55/webapps/ROOT
Jul 21, 2016 9:33:50 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/data1/app/apache-tomcat-7.0.55/webapps/ROOT has finished in 36 ms
Jul 21, 2016 9:33:50 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/data1/app/apache-tomcat-7.0.55/webapps/apex_bkp
Jul 21, 2016 9:33:51 PM
oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder:
/data1/app/apache-tomcat-7.0.55/webapps/apex/apex_bkp
Jul 21, 2016 9:33:52 PM oracle.dbtools.rt.web.SCListener
contextInitialized
INFO: Oracle REST Data Services initialized
Oracle REST Data Services version : 2.0.8.163.10.40
Oracle REST Data Services server info: Apache Tomcat/7.0.55

Jul 21, 2016 9:33:52 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/data1/app/apache-tomcat-7.0.55/webapps/apex_bkp has finished in 2,089 ms
Jul 21, 2016 9:33:52 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/data1/app/apache-tomcat-7.0.55/webapps/apex_old
Jul 21, 2016 9:33:53 PM
oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration 

Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
Ok let me try and will get back to you

On Thursday, July 21, 2016, Mekkelsen Madden, Steve <
steve.mekkelsenmad...@pega.com> wrote:

> I would suggest speaking to whoever configured the production environment
> as there is something missing or not backed up.  I just installed 7.0.55
> without making any changes at all, just a clean download, unpack and
> started tomcat.  I was taken directly to the Tomcat manager console even
> though no app or drivers were specified.  The best (in my experience) is to
> install a clean version of Tomcat and port/migrate your production changes
> to the new instance.  This way you can be sure you have everything
> configured properly and it is a clean tomcat environment.  If you have hard
> coded IP, Server Names, File Paths that are specific to Production and not
> this environment, you'll never get it working this way.  I'm sure others in
> this chain will suggest doing the same approach.  Start fresh, start clean,
> make sure it starts, then make changes.
>
> Good luck!
> Steve
>
> From: chandra sekhar [mailto:chandra.c...@gmail.com <javascript:;>]
> Sent: Thursday, July 21, 2016 11:29 PM
> To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com <javascript:;>
> >
> Cc: Tomcat Users List <users@tomcat.apache.org <javascript:;>>
> Subject: Re: Tomcat starts but home page cannot open with url
> http://localhost:8080
>
> Actually, i didn't configure the Apex ORDS yet with DB.As i told you in
> previous mail chain i just extracted and trying to see the apche tomcat
> home page first before going to configure Apex ORDS.
>
> On Thu, Jul 21, 2016 at 11:26 PM, chandra sekhar <chandra.c...@gmail.com
> <javascript:;>> wrote:
> Hi Steve,
>
> Now,Tomcat is up and running.But still i am unable to see the
> homepage.Please advice.
>
> Regards,
> chandra
>
> On Thu, Jul 21, 2016 at 11:20 PM, Mekkelsen Madden, Steve <
> steve.mekkelsenmad...@pega.com <javascript:;>> wrote:
> Hi Chandra,
>
> It does not appear to be an issue with port 8080 or 8005 (the default
> shutdown port), as Tomcat does try to startup, stays up for several minutes
> and does a proper shutdown (assuming you initiated the shutdown as shown in
> the logs).  Otherwise, you would see “bind” exceptions in the logs where it
> is trying to access a port that is available and they both look good.
>
> What is showing repeatedly in the log is that the context.xml or data
> sources you use to connect to the database for your application isn’t
> configured properly (Default Database connection not configured properly).
> If you have specified the database SID/Port/Server details from the
> tnsnames.ora file, make sure you have the correct jdbc driver for the
> database on the linux server you installed Tomcat to and it can connect to
> the database.  Everything else looks good in the logs except for the db
> connection and deploying your application in the webapps/ folder.  If it
> depends on the DB to load, it would fail and then you’d get a http 404
> error (page not found) because it never loaded.
>
> -Steve
>
> From: chandra sekhar [mailto:chandra.c...@gmail.com <javascript:;>]
> Sent: Thursday, July 21, 2016 11:06 PM
> To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com <javascript:;>
> >
> Cc: Tomcat Users List <users@tomcat.apache.org <javascript:;>>
> Subject: Re: Tomcat starts but home page cannot open with url
> http://localhost:8080
>
> Hi Steve,
>
> Please find the below details.
>
> 1.The port 8080 is available.But,need to check if there is a firewall
> issue like port or IP block.
>  netstat -tlnp |grep java
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> tcp0  0 :::127.0.0.1:8005   :::*
>LISTEN  28914/java
> tcp0  0 :::8080 :::*
>  LISTEN  28914/java
>
> 2.Yes.i took entire directory of apache tomcat.
> 3.Please find below log info.
>
> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> Jul 21, 2016 7:38:14 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 637 ms
> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service 

RE: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread Mekkelsen Madden, Steve
I would suggest speaking to whoever configured the production environment as 
there is something missing or not backed up.  I just installed 7.0.55 without 
making any changes at all, just a clean download, unpack and started tomcat.  I 
was taken directly to the Tomcat manager console even though no app or drivers 
were specified.  The best (in my experience) is to install a clean version of 
Tomcat and port/migrate your production changes to the new instance.  This way 
you can be sure you have everything configured properly and it is a clean 
tomcat environment.  If you have hard coded IP, Server Names, File Paths that 
are specific to Production and not this environment, you'll never get it 
working this way.  I'm sure others in this chain will suggest doing the same 
approach.  Start fresh, start clean, make sure it starts, then make changes.

Good luck!
Steve

From: chandra sekhar [mailto:chandra.c...@gmail.com] 
Sent: Thursday, July 21, 2016 11:29 PM
To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com>
Cc: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat starts but home page cannot open with url 
http://localhost:8080

Actually, i didn't configure the Apex ORDS yet with DB.As i told you in 
previous mail chain i just extracted and trying to see the apche tomcat home 
page first before going to configure Apex ORDS.

On Thu, Jul 21, 2016 at 11:26 PM, chandra sekhar <chandra.c...@gmail.com> wrote:
Hi Steve,

Now,Tomcat is up and running.But still i am unable to see the homepage.Please 
advice.

Regards,
chandra

On Thu, Jul 21, 2016 at 11:20 PM, Mekkelsen Madden, Steve 
<steve.mekkelsenmad...@pega.com> wrote:
Hi Chandra,

It does not appear to be an issue with port 8080 or 8005 (the default shutdown 
port), as Tomcat does try to startup, stays up for several minutes and does a 
proper shutdown (assuming you initiated the shutdown as shown in the logs).  
Otherwise, you would see “bind” exceptions in the logs where it is trying to 
access a port that is available and they both look good.

What is showing repeatedly in the log is that the context.xml or data sources 
you use to connect to the database for your application isn’t configured 
properly (Default Database connection not configured properly).  If you have 
specified the database SID/Port/Server details from the tnsnames.ora file, make 
sure you have the correct jdbc driver for the database on the linux server you 
installed Tomcat to and it can connect to the database.  Everything else looks 
good in the logs except for the db connection and deploying your application in 
the webapps/ folder.  If it depends on the DB to load, it would fail and then 
you’d get a http 404 error (page not found) because it never loaded.

-Steve

From: chandra sekhar [mailto:chandra.c...@gmail.com]
Sent: Thursday, July 21, 2016 11:06 PM
To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com>
Cc: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat starts but home page cannot open with url 
http://localhost:8080

Hi Steve,

Please find the below details.

1.The port 8080 is available.But,need to check if there is a firewall issue 
like port or IP block.
 netstat -tlnp |grep java
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 :::127.0.0.1:8005       :::*                        
LISTEN      28914/java
tcp        0      0 :::8080                     :::*                        
LISTEN      28914/java

2.Yes.i took entire directory of apache tomcat.
3.Please find below log info.

Jul 21, 2016 7:38:14 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 21, 2016 7:38:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 637 ms
Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive 
/data1/app/apache-tomcat-7.0.55/webapps/apex.war
Jul 21, 2016 7:38:18 PM oracle.dbtools.common.config.file.ConfigurationFolder 
logConfigFolder
INFO: Using configuration folder: 
/data1/app/apache-tomcat-7.0.55/webapps/apex/apex
Default Database connection not configured properly
Jul 21, 2016 7:39:19 PM oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle REST Data Services initialized
Oracle REST Data Services version : 2.0.8.163.10.40
Oracle

Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
Actually, i didn't configure the Apex ORDS yet with DB.As i told you in
previous mail chain i just extracted and trying to see the apche tomcat
home page first before going to configure Apex ORDS.

On Thu, Jul 21, 2016 at 11:26 PM, chandra sekhar <chandra.c...@gmail.com>
wrote:

> Hi Steve,
>
> Now,Tomcat is up and running.But still i am unable to see the
> homepage.Please advice.
>
> Regards,
> chandra
>
> On Thu, Jul 21, 2016 at 11:20 PM, Mekkelsen Madden, Steve <
> steve.mekkelsenmad...@pega.com> wrote:
>
>> Hi Chandra,
>>
>> It does not appear to be an issue with port 8080 or 8005 (the default
>> shutdown port), as Tomcat does try to startup, stays up for several minutes
>> and does a proper shutdown (assuming you initiated the shutdown as shown in
>> the logs).  Otherwise, you would see “bind” exceptions in the logs where it
>> is trying to access a port that is available and they both look good.
>>
>> What is showing repeatedly in the log is that the context.xml or data
>> sources you use to connect to the database for your application isn’t
>> configured properly (Default Database connection not configured properly).
>> If you have specified the database SID/Port/Server details from the
>> tnsnames.ora file, make sure you have the correct jdbc driver for the
>> database on the linux server you installed Tomcat to and it can connect to
>> the database.  Everything else looks good in the logs except for the db
>> connection and deploying your application in the webapps/ folder.  If it
>> depends on the DB to load, it would fail and then you’d get a http 404
>> error (page not found) because it never loaded.
>>
>> -Steve
>>
>> From: chandra sekhar [mailto:chandra.c...@gmail.com]
>> Sent: Thursday, July 21, 2016 11:06 PM
>> To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com>
>> Cc: Tomcat Users List <users@tomcat.apache.org>
>> Subject: Re: Tomcat starts but home page cannot open with url
>> http://localhost:8080
>>
>> Hi Steve,
>>
>> Please find the below details.
>>
>> 1.The port 8080 is available.But,need to check if there is a firewall
>> issue like port or IP block.
>>  netstat -tlnp |grep java
>> (Not all processes could be identified, non-owned process info
>>  will not be shown, you would have to be root to see it all.)
>> tcp0  0 :::127.0.0.1:8005   :::*
>>LISTEN  28914/java
>> tcp0  0 :::8080 :::*
>>LISTEN  28914/java
>>
>> 2.Yes.i took entire directory of apache tomcat.
>> 3.Please find below log info.
>>
>> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.AprLifecycleListener init
>> INFO: The APR based Apache Tomcat Native library which allows optimal
>> performance in production environments was not found on the
>> java.library.path:
>> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>> Jul 21, 2016 7:38:14 PM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["http-bio-8080"]
>> Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 637 ms
>> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardService
>> startInternal
>> INFO: Starting service Catalina
>> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardEngine
>> startInternal
>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
>> Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive
>> /data1/app/apache-tomcat-7.0.55/webapps/apex.war
>> Jul 21, 2016 7:38:18 PM
>> oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
>> INFO: Using configuration folder:
>> /data1/app/apache-tomcat-7.0.55/webapps/apex/apex
>> Default Database connection not configured properly
>> Jul 21, 2016 7:39:19 PM oracle.dbtools.rt.web.SCListener
>> contextInitialized
>> INFO: Oracle REST Data Services initialized
>> Oracle REST Data Services version : 2.0.8.163.10.40
>> Oracle REST Data Services server info: Apache Tomcat/7.0.55
>>
>> Jul 21, 2016 7:39:27 PM org.apache.catalina.util.SessionIdGenerator
>> createSecureRandom
>> INFO: Creation of SecureRandom instance for session ID generation using
>> [SHA1PRNG] took [8,639] milliseconds.
>> Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deployment of web application archive
>> /data1/app/apache-tomcat-7.0.55/webapps/apex.war has finished in 72,898 ms
>> Jul 21, 2016 7:39:27 PM o

Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
Hi Steve,

Now,Tomcat is up and running.But still i am unable to see the
homepage.Please advice.

Regards,
chandra

On Thu, Jul 21, 2016 at 11:20 PM, Mekkelsen Madden, Steve <
steve.mekkelsenmad...@pega.com> wrote:

> Hi Chandra,
>
> It does not appear to be an issue with port 8080 or 8005 (the default
> shutdown port), as Tomcat does try to startup, stays up for several minutes
> and does a proper shutdown (assuming you initiated the shutdown as shown in
> the logs).  Otherwise, you would see “bind” exceptions in the logs where it
> is trying to access a port that is available and they both look good.
>
> What is showing repeatedly in the log is that the context.xml or data
> sources you use to connect to the database for your application isn’t
> configured properly (Default Database connection not configured properly).
> If you have specified the database SID/Port/Server details from the
> tnsnames.ora file, make sure you have the correct jdbc driver for the
> database on the linux server you installed Tomcat to and it can connect to
> the database.  Everything else looks good in the logs except for the db
> connection and deploying your application in the webapps/ folder.  If it
> depends on the DB to load, it would fail and then you’d get a http 404
> error (page not found) because it never loaded.
>
> -Steve
>
> From: chandra sekhar [mailto:chandra.c...@gmail.com]
> Sent: Thursday, July 21, 2016 11:06 PM
> To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com>
> Cc: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: Tomcat starts but home page cannot open with url
> http://localhost:8080
>
> Hi Steve,
>
> Please find the below details.
>
> 1.The port 8080 is available.But,need to check if there is a firewall
> issue like port or IP block.
>  netstat -tlnp |grep java
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> tcp0  0 :::127.0.0.1:8005   :::*
>LISTEN  28914/java
> tcp0  0 :::8080 :::*
>  LISTEN  28914/java
>
> 2.Yes.i took entire directory of apache tomcat.
> 3.Please find below log info.
>
> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.AprLifecycleListener init
> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> Jul 21, 2016 7:38:14 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"]
> Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 637 ms
> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardService
> startInternal
> INFO: Starting service Catalina
> Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardEngine
> startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
> Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> /data1/app/apache-tomcat-7.0.55/webapps/apex.war
> Jul 21, 2016 7:38:18 PM
> oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
> INFO: Using configuration folder:
> /data1/app/apache-tomcat-7.0.55/webapps/apex/apex
> Default Database connection not configured properly
> Jul 21, 2016 7:39:19 PM oracle.dbtools.rt.web.SCListener contextInitialized
> INFO: Oracle REST Data Services initialized
> Oracle REST Data Services version : 2.0.8.163.10.40
> Oracle REST Data Services server info: Apache Tomcat/7.0.55
>
> Jul 21, 2016 7:39:27 PM org.apache.catalina.util.SessionIdGenerator
> createSecureRandom
> INFO: Creation of SecureRandom instance for session ID generation using
> [SHA1PRNG] took [8,639] milliseconds.
> Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deployment of web application archive
> /data1/app/apache-tomcat-7.0.55/webapps/apex.war has finished in 72,898 ms
> Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory
> /data1/app/apache-tomcat-7.0.55/webapps/ROOT
> Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deployment of web application directory
> /data1/app/apache-tomcat-7.0.55/webapps/ROOT has finished in 36 ms
> Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig
> deployDirectory
> INFO: Deploying web application directory
> /data1/app/apache-tomcat-7.0.55/webapps/apex_bkp
> Jul 21, 2016 7:39:29 PM
> oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
> IN

RE: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread Mekkelsen Madden, Steve
Hi Chandra,

It does not appear to be an issue with port 8080 or 8005 (the default shutdown 
port), as Tomcat does try to startup, stays up for several minutes and does a 
proper shutdown (assuming you initiated the shutdown as shown in the logs).  
Otherwise, you would see “bind” exceptions in the logs where it is trying to 
access a port that is available and they both look good.

What is showing repeatedly in the log is that the context.xml or data sources 
you use to connect to the database for your application isn’t configured 
properly (Default Database connection not configured properly).  If you have 
specified the database SID/Port/Server details from the tnsnames.ora file, make 
sure you have the correct jdbc driver for the database on the linux server you 
installed Tomcat to and it can connect to the database.  Everything else looks 
good in the logs except for the db connection and deploying your application in 
the webapps/ folder.  If it depends on the DB to load, it would fail and then 
you’d get a http 404 error (page not found) because it never loaded.

-Steve

From: chandra sekhar [mailto:chandra.c...@gmail.com] 
Sent: Thursday, July 21, 2016 11:06 PM
To: Mekkelsen Madden, Steve <steve.mekkelsenmad...@pega.com>
Cc: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat starts but home page cannot open with url 
http://localhost:8080

Hi Steve,

Please find the below details.

1.The port 8080 is available.But,need to check if there is a firewall issue 
like port or IP block.
 netstat -tlnp |grep java
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 :::127.0.0.1:8005       :::*                        
LISTEN      28914/java
tcp        0      0 :::8080                     :::*                        
LISTEN      28914/java

2.Yes.i took entire directory of apache tomcat.
3.Please find below log info.

Jul 21, 2016 7:38:14 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 21, 2016 7:38:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 637 ms
Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 21, 2016 7:38:14 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.55
Jul 21, 2016 7:38:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive 
/data1/app/apache-tomcat-7.0.55/webapps/apex.war
Jul 21, 2016 7:38:18 PM oracle.dbtools.common.config.file.ConfigurationFolder 
logConfigFolder
INFO: Using configuration folder: 
/data1/app/apache-tomcat-7.0.55/webapps/apex/apex
Default Database connection not configured properly
Jul 21, 2016 7:39:19 PM oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle REST Data Services initialized
Oracle REST Data Services version : 2.0.8.163.10.40
Oracle REST Data Services server info: Apache Tomcat/7.0.55

Jul 21, 2016 7:39:27 PM org.apache.catalina.util.SessionIdGenerator 
createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using 
[SHA1PRNG] took [8,639] milliseconds.
Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive 
/data1/app/apache-tomcat-7.0.55/webapps/apex.war has finished in 72,898 ms
Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/data1/app/apache-tomcat-7.0.55/webapps/ROOT
Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory 
/data1/app/apache-tomcat-7.0.55/webapps/ROOT has finished in 36 ms
Jul 21, 2016 7:39:27 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory 
/data1/app/apache-tomcat-7.0.55/webapps/apex_bkp
Jul 21, 2016 7:39:29 PM oracle.dbtools.common.config.file.ConfigurationFolder 
logConfigFolder
INFO: Using configuration folder: 
/data1/app/apache-tomcat-7.0.55/webapps/apex/apex_bkp
Jul 21, 2016 7:39:29 PM oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle REST Data Services initialized
Oracle REST Data Services version : 2.0.8.163.10.40
Oracle REST Data Services server info: Apache Tomcat/7.0.55

Jul 21, 2016 7:39:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory 
/data1/app/apache-tomcat-7.0.55/webapps/apex_bkp has finished in 2,110 ms
Jul 21, 2016 7:39:29 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web

Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
: 2.0.8.163.10.40
Oracle REST Data Services server info: Apache Tomcat/7.0.55

Jul 21, 2016 9:52:21 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/data1/app/apache-tomcat-7.0.55/webapps/apex_old has finished in 62,238 ms
Jul 21, 2016 9:52:21 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/data1/app/apache-tomcat-7.0.55/webapps/i
Jul 21, 2016 9:52:21 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deployment of web application directory
/data1/app/apache-tomcat-7.0.55/webapps/i has finished in 27 ms
Jul 21, 2016 9:52:21 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 21, 2016 9:52:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 146344 ms

Regards,
chandra



On Thu, Jul 21, 2016 at 9:42 PM, Mekkelsen Madden, Steve <
steve.mekkelsenmad...@pega.com> wrote:

> Still not enough detail to help.  Did you look at the log files to see
> what errors are occurring during Tomcat startup?  Assuming no firewall is
> blocking port 8080 on the machine you untarred it too, if you did take a
> full backup by tar'ing the entire folder with the webapps folder too, it
> should work the same as production as long as a) port 8080 is available to
> use, b) shutdown default port 8005 (or whatever is referenced) is available
> including AJP ports, etc, c) you got "ALL" the files including any hard
> coded external references to files/folders, etc and setup the environment
> the same/similar as production so it will work wherever you put it.  Start
> with the logs, they will provide more details than you think.
>
> -Original Message-
> From: chandra sekhar [mailto:chandra.c...@gmail.com]
> Sent: Thursday, July 21, 2016 9:30 PM
> To: Tomcat Users List <users@tomcat.apache.org>
> Subject: Re: Tomcat starts but home page cannot open with url
> http://localhost:8080
>
> Hi,
>
> Please find the below info.
>
> Platform ?   --> Linux x86_64 bit
> Where did you get that Tomcat from ? --> just tar backup of Production If
> Windows, the zip version or the installer ?--> Linux x86_64 bit
>  apache-tomcat-7.0.55
> And how you are trying to "get home page",--> Extracted the tar backup and
> started tomcat.Tomcat running on 8080 port.
> And what you get instead of that home page. --> Page cannot be displayed
>
> Regards,
> Chandra
>
> On Thu, Jul 21, 2016 at 5:31 PM, André Warnier (tomcat) <a...@ice-sa.com>
> wrote:
>
> > On 21.07.2016 21:51, chandra sekhar wrote:
> >
> >> Hi All,
> >>
> >> Can anybody,please help me or give me advice why i am not getting
> >> home page of tomcat after extraction or installation of
> >> apache-tomcat-7.0.55.
> >>
> >> Appreciated your help.
> >>
> >> Maybe, if you provide some more information.
> > Platform ?
> > Where did you get that Tomcat from ?
> > If Windows, the zip version or the installer ?
> > And how you are trying to "get home page", And what you get instead of
> > that home page.
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>


RE: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread Mekkelsen Madden, Steve
Still not enough detail to help.  Did you look at the log files to see what 
errors are occurring during Tomcat startup?  Assuming no firewall is blocking 
port 8080 on the machine you untarred it too, if you did take a full backup by 
tar'ing the entire folder with the webapps folder too, it should work the same 
as production as long as a) port 8080 is available to use, b) shutdown default 
port 8005 (or whatever is referenced) is available including AJP ports, etc, c) 
you got "ALL" the files including any hard coded external references to 
files/folders, etc and setup the environment the same/similar as production so 
it will work wherever you put it.  Start with the logs, they will provide more 
details than you think.

-Original Message-
From: chandra sekhar [mailto:chandra.c...@gmail.com] 
Sent: Thursday, July 21, 2016 9:30 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Tomcat starts but home page cannot open with url 
http://localhost:8080

Hi,

Please find the below info.

Platform ?   --> Linux x86_64 bit
Where did you get that Tomcat from ? --> just tar backup of Production If 
Windows, the zip version or the installer ?--> Linux x86_64 bit
 apache-tomcat-7.0.55
And how you are trying to "get home page",--> Extracted the tar backup and 
started tomcat.Tomcat running on 8080 port.
And what you get instead of that home page. --> Page cannot be displayed

Regards,
Chandra

On Thu, Jul 21, 2016 at 5:31 PM, André Warnier (tomcat) <a...@ice-sa.com>
wrote:

> On 21.07.2016 21:51, chandra sekhar wrote:
>
>> Hi All,
>>
>> Can anybody,please help me or give me advice why i am not getting 
>> home page of tomcat after extraction or installation of 
>> apache-tomcat-7.0.55.
>>
>> Appreciated your help.
>>
>> Maybe, if you provide some more information.
> Platform ?
> Where did you get that Tomcat from ?
> If Windows, the zip version or the installer ?
> And how you are trying to "get home page", And what you get instead of 
> that home page.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread Mark Eggers
Chandra,

On 7/21/2016 6:30 PM, chandra sekhar wrote:
> Hi,
> 
> Please find the below info.
> 
> Platform ?   --> Linux x86_64 bit
> Where did you get that Tomcat from ? --> just tar backup of Production
> If Windows, the zip version or the installer ?--> Linux x86_64 bit
>  apache-tomcat-7.0.55
> And how you are trying to "get home page",--> Extracted the tar backup and
> started tomcat.Tomcat running on 8080 port.
> And what you get instead of that home page. --> Page cannot be displayed
> 
> Regards,
> Chandra
> 
> On Thu, Jul 21, 2016 at 5:31 PM, André Warnier (tomcat) 
> wrote:
> 
>> On 21.07.2016 21:51, chandra sekhar wrote:
>>
>>> Hi All,
>>>
>>> Can anybody,please help me or give me advice why i am not getting home
>>> page
>>> of tomcat after extraction or installation of apache-tomcat-7.0.55.
>>>
>>> Appreciated your help.
>>>
>>> Maybe, if you provide some more information.
>> Platform ?
>> Where did you get that Tomcat from ?
>> If Windows, the zip version or the installer ?
>> And how you are trying to "get home page",
>> And what you get instead of that home page.

Please respond below the original post or in line, per mailing list. See:

http://tomcat.apache.org/lists.html#tomcat-users

item 6.

Do you have a firewall blocking port 8080?

. . . just my two cents
/mde/



signature.asc
Description: OpenPGP digital signature


Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
Hi,

Please find the below info.

Platform ?   --> Linux x86_64 bit
Where did you get that Tomcat from ? --> just tar backup of Production
If Windows, the zip version or the installer ?--> Linux x86_64 bit
 apache-tomcat-7.0.55
And how you are trying to "get home page",--> Extracted the tar backup and
started tomcat.Tomcat running on 8080 port.
And what you get instead of that home page. --> Page cannot be displayed

Regards,
Chandra

On Thu, Jul 21, 2016 at 5:31 PM, André Warnier (tomcat) 
wrote:

> On 21.07.2016 21:51, chandra sekhar wrote:
>
>> Hi All,
>>
>> Can anybody,please help me or give me advice why i am not getting home
>> page
>> of tomcat after extraction or installation of apache-tomcat-7.0.55.
>>
>> Appreciated your help.
>>
>> Maybe, if you provide some more information.
> Platform ?
> Where did you get that Tomcat from ?
> If Windows, the zip version or the installer ?
> And how you are trying to "get home page",
> And what you get instead of that home page.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread tomcat

On 21.07.2016 21:51, chandra sekhar wrote:

Hi All,

Can anybody,please help me or give me advice why i am not getting home page
of tomcat after extraction or installation of apache-tomcat-7.0.55.

Appreciated your help.


Maybe, if you provide some more information.
Platform ?
Where did you get that Tomcat from ?
If Windows, the zip version or the installer ?
And how you are trying to "get home page",
And what you get instead of that home page.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat starts but home page cannot open with url http://localhost:8080

2016-07-21 Thread chandra sekhar
Hi All,

Can anybody,please help me or give me advice why i am not getting home page
of tomcat after extraction or installation of apache-tomcat-7.0.55.

Appreciated your help.

Thanks,
Chandra