Re: Tomcat Hangs up and doesn't start

2017-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mahmoud,

On 3/20/17 6:36 AM, Mahmoud Ramadan wrote:
> Thanks for the reply , i solved my issue by disabling the Centos
> firewall

Don't do that!

Instead, open the single port that you need (port 8080) and leave the
firewall running.

> now i can browse the server remotely , thanks

And all your services are exposed to the rest of the network. Enjoy
all of the SSH login attempts.

- -chris

> On Sun, Mar 19, 2017 at 6:45 PM, Felix Schumacher < 
> felix.schumac...@internetallee.de> wrote:
> 
>> Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan:
>> 
>>> But whenever i use the command [root@localhost ~]# service
>>> tomcat status tomcat dead but subsys locked
>>> 
>>> I see the service dead , i tried to remove the
>>> /var/lock/subsys/tomcat and restarting the service again or
>>> rebooting the system but still get " tomcat dead but subsys
>>> locked " and can not get anything when browsing 
>>> http://10.1.1.25:8080
>>> 
>> You showed us, that you were running tomcat as a normal console
>> app (which seemed to work, as Andre pointed out). Now you are
>> expecting it to have been somehow magically transformed into a
>> unix service?
>> 
>> That will probably not work.
>> 
>> What happens, when you stop the console app (the catalina.sh run)
>> and start tomcat as a service alone (with service tomcat start)?
>> 
>> Note, that I haven't used CentOS before and don't know, what init
>> system it uses. I always found it easier, to download an
>> unmodified version of tomcat from the apache tomcat homepage and
>> start from there.
>> 
>> Felix
>> 
>>> 
>>> Best Regards,
>>> 
>>> Mahmoud Ramadan Ali
>>> 
>>> Network and VOIP Specialist.
>>> 
>>> Mobil: (+2) 01276877112
>>> 
>>> Blog | Website 
>>> | LinkedIn 
>>> 
>>> 
>>> On Sun, Mar 19, 2017 at 3:30 PM, André Warnier (tomcat)
>>>  wrote:
>>> 
>>> On 19.03.2017 12:59, Mahmoud Ramadan wrote:
 
 Hi all,
> I've installed Tomcat on Centos 6.2 and when i try to start
> the service it hangs up at " INFO: Server startup in 6935
> ms " and stays forever , below the debugs , thanks
> 
> What do you expect it to "do" after starting up ?
 It's a HTTP server, so when it's done with starting up, it
 waits for HTTP requests, to process them. The logfile (or the
 console, if that is where you are running it) won't show
 anything else, unless there are errors processing requests
 (or until you stop tomcat).
 
 In other words : there is nothing abnormal in the log which
 you show below. To me, it looks like a perfectly healthy
 tomcat, just waiting for something to do.
 
 
 [root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
> Using CATALINA_BASE:   /opt/tomcat7 Using CATALINA_HOME:
> /opt/tomcat7 Using CATALINA_TMPDIR: /opt/tomcat7/temp Using
> JRE_HOME:/opt/java/jre1.7.0_04 Using CLASSPATH: 
> /opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
>
> 
Mar 19, 2017 11:22:15 AM 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
>
> 
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-bio-8080"] Mar
> 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol
> init INFO: Initializing ProtocolHandler ["http-bio-8443"] 
> Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol
> init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] 
> Mar 19, 2017 11:22:15 AM
> org.apache.catalina.startup.Catalina load INFO:
> Initialization processed in 1234 ms Mar 19, 2017 11:22:15
> AM org.apache.catalina.core.StandardService startInternal 
> INFO: Starting service Catalina Mar 19, 2017 11:22:15 AM
> org.apache.catalina.core.StandardEngine startInternal INFO:
> Starting Servlet Engine: Apache Tomcat/7.0.23 Mar 19, 2017
> 11:22:19 AM org.apache.catalina.startup.HostConfig 
> deployDirectory INFO: Deploying web application directory
> /opt/tomcat7/webapps/examples Mar 19, 2017 11:22:19 AM
> org.apache.catalina.startup.HostConfig deployDirectory 
> INFO: Deploying web application directory
> /opt/tomcat7/webapps/orktrack 0 [pool-2-thread-1] INFO
> context  - OrkTrack ContextInitialized() log4jConfigFile is
> logging.properties 0 [pool-2-thread-1] INFO context  -
> OrkTrack ContextInitialized() configFile is
> orktrack.config.xml 1 [pool-2-thread-1] INFO context  -
> OrkTrack ContextInitialized() HibernateConfigFile is
> database.hbm.xml 2 [pool-2-thread-1] INFO context  -
> OrkTrack 

Re: Tomcat Hangs up and doesn't start

2017-03-20 Thread Mahmoud Ramadan
Hi ,
Thanks for the reply , i solved my issue by disabling the Centos firewall ,
now i can browse the server remotely , thanks

Best Regards,

Mahmoud Ramadan Ali

Network and VOIP Specialist.

Mobil: (+2) 01276877112

Blog | Website
| LinkedIn


On Sun, Mar 19, 2017 at 6:45 PM, Felix Schumacher <
felix.schumac...@internetallee.de> wrote:

> Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan:
>
>> But whenever i use the command
>>   [root@localhost ~]# service tomcat status
>> tomcat dead but subsys locked
>>
>> I see the service dead , i tried to remove the /var/lock/subsys/tomcat and
>> restarting the service again or rebooting the system but still get "
>> tomcat
>> dead but subsys locked " and can not get anything when browsing
>> http://10.1.1.25:8080
>>
> You showed us, that you were running tomcat as a normal console app (which
> seemed to work, as Andre pointed out). Now you are expecting it to have
> been somehow magically transformed into a unix service?
>
> That will probably not work.
>
> What happens, when you stop the console app (the catalina.sh run) and
> start tomcat as a service alone (with service tomcat start)?
>
> Note, that I haven't used CentOS before and don't know, what init system
> it uses. I always found it easier, to download an unmodified version of
> tomcat from the apache tomcat homepage and start from there.
>
> Felix
>
>>
>> Best Regards,
>>
>> Mahmoud Ramadan Ali
>>
>> Network and VOIP Specialist.
>>
>> Mobil: (+2) 01276877112
>>
>> Blog | Website
>> | LinkedIn
>> 
>>
>> On Sun, Mar 19, 2017 at 3:30 PM, André Warnier (tomcat) 
>> wrote:
>>
>> On 19.03.2017 12:59, Mahmoud Ramadan wrote:
>>>
>>> Hi all,
 I've installed Tomcat on Centos 6.2 and when i try to start the service
 it
 hangs up at " INFO: Server startup in 6935 ms " and stays forever ,
 below
 the debugs , thanks

 What do you expect it to "do" after starting up ?
>>> It's a HTTP server, so when it's done with starting up, it waits for HTTP
>>> requests, to process them. The logfile (or the console, if that is where
>>> you are running it) won't show anything else, unless there are errors
>>> processing requests (or until you stop tomcat).
>>>
>>> In other words : there is nothing abnormal in the log which you show
>>> below. To me, it looks like a perfectly healthy tomcat, just waiting for
>>> something to do.
>>>
>>>
>>> [root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
 Using CATALINA_BASE:   /opt/tomcat7
 Using CATALINA_HOME:   /opt/tomcat7
 Using CATALINA_TMPDIR: /opt/tomcat7/temp
 Using JRE_HOME:/opt/java/jre1.7.0_04
 Using CLASSPATH:
 /opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
 Mar 19, 2017 11:22:15 AM 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
 Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
 INFO: Initializing ProtocolHandler ["http-bio-8080"]
 Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
 INFO: Initializing ProtocolHandler ["http-bio-8443"]
 Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
 INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
 Mar 19, 2017 11:22:15 AM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 1234 ms
 Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardService
 startInternal
 INFO: Starting service Catalina
 Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardEngine
 startInternal
 INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
 Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory /opt/tomcat7/webapps/examples
 Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
 deployDirectory
 INFO: Deploying web application directory /opt/tomcat7/webapps/orktrack
 0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
 log4jConfigFile is logging.properties
 0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
 configFile is orktrack.config.xml
 1 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
 HibernateConfigFile is database.hbm.xml
 2 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized():
 TomcatHome is set to /opt/tomcat7
 2017-03-19 11:22:19,440 net.sf.oreka.orktrack.OrkTrack  INFO -
 
 2017-03-19 11:22:19,453 

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread Felix Schumacher

Am 19.03.2017 um 14:09 schrieb Mahmoud Ramadan:

But whenever i use the command
  [root@localhost ~]# service tomcat status
tomcat dead but subsys locked

I see the service dead , i tried to remove the /var/lock/subsys/tomcat and
restarting the service again or rebooting the system but still get " tomcat
dead but subsys locked " and can not get anything when browsing
http://10.1.1.25:8080
You showed us, that you were running tomcat as a normal console app 
(which seemed to work, as Andre pointed out). Now you are expecting it 
to have been somehow magically transformed into a unix service?


That will probably not work.

What happens, when you stop the console app (the catalina.sh run) and 
start tomcat as a service alone (with service tomcat start)?


Note, that I haven't used CentOS before and don't know, what init system 
it uses. I always found it easier, to download an unmodified version of 
tomcat from the apache tomcat homepage and start from there.


Felix


Best Regards,

Mahmoud Ramadan Ali

Network and VOIP Specialist.

Mobil: (+2) 01276877112

Blog | Website
| LinkedIn


On Sun, Mar 19, 2017 at 3:30 PM, André Warnier (tomcat) 
wrote:


On 19.03.2017 12:59, Mahmoud Ramadan wrote:


Hi all,
I've installed Tomcat on Centos 6.2 and when i try to start the service it
hangs up at " INFO: Server startup in 6935 ms " and stays forever , below
the debugs , thanks


What do you expect it to "do" after starting up ?
It's a HTTP server, so when it's done with starting up, it waits for HTTP
requests, to process them. The logfile (or the console, if that is where
you are running it) won't show anything else, unless there are errors
processing requests (or until you stop tomcat).

In other words : there is nothing abnormal in the log which you show
below. To me, it looks like a perfectly healthy tomcat, just waiting for
something to do.



[root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
Using CATALINA_BASE:   /opt/tomcat7
Using CATALINA_HOME:   /opt/tomcat7
Using CATALINA_TMPDIR: /opt/tomcat7/temp
Using JRE_HOME:/opt/java/jre1.7.0_04
Using CLASSPATH:
/opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
Mar 19, 2017 11:22:15 AM 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
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 19, 2017 11:22:15 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1234 ms
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/examples
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orktrack
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
log4jConfigFile is logging.properties
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
configFile is orktrack.config.xml
1 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
HibernateConfigFile is database.hbm.xml
2 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized():
TomcatHome is set to /opt/tomcat7
2017-03-19 11:22:19,440 net.sf.oreka.orktrack.OrkTrack  INFO -

2017-03-19 11:22:19,453 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
starting ...
2017-03-19 11:22:19,472 config  WARN - ConfigManager.load: config file
/etc/orkweb//orktrack.config.xml is empty or does not exist.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
started successfully.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO -

Mar 19, 2017 11:22:20 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/manager
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/host-mana
ger
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orkweb
2017-03-19 

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread Mahmoud Ramadan
But whenever i use the command
 [root@localhost ~]# service tomcat status
tomcat dead but subsys locked

I see the service dead , i tried to remove the /var/lock/subsys/tomcat and
restarting the service again or rebooting the system but still get " tomcat
dead but subsys locked " and can not get anything when browsing
http://10.1.1.25:8080


Best Regards,

Mahmoud Ramadan Ali

Network and VOIP Specialist.

Mobil: (+2) 01276877112

Blog | Website
| LinkedIn


On Sun, Mar 19, 2017 at 3:30 PM, André Warnier (tomcat) 
wrote:

> On 19.03.2017 12:59, Mahmoud Ramadan wrote:
>
>> Hi all,
>> I've installed Tomcat on Centos 6.2 and when i try to start the service it
>> hangs up at " INFO: Server startup in 6935 ms " and stays forever , below
>> the debugs , thanks
>>
>
> What do you expect it to "do" after starting up ?
> It's a HTTP server, so when it's done with starting up, it waits for HTTP
> requests, to process them. The logfile (or the console, if that is where
> you are running it) won't show anything else, unless there are errors
> processing requests (or until you stop tomcat).
>
> In other words : there is nothing abnormal in the log which you show
> below. To me, it looks like a perfectly healthy tomcat, just waiting for
> something to do.
>
>
>> [root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
>> Using CATALINA_BASE:   /opt/tomcat7
>> Using CATALINA_HOME:   /opt/tomcat7
>> Using CATALINA_TMPDIR: /opt/tomcat7/temp
>> Using JRE_HOME:/opt/java/jre1.7.0_04
>> Using CLASSPATH:
>> /opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
>> Mar 19, 2017 11:22:15 AM 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
>> Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["http-bio-8080"]
>> Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["http-bio-8443"]
>> Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
>> Mar 19, 2017 11:22:15 AM org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1234 ms
>> Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardService
>> startInternal
>> INFO: Starting service Catalina
>> Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardEngine
>> startInternal
>> INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
>> Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /opt/tomcat7/webapps/examples
>> Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /opt/tomcat7/webapps/orktrack
>> 0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
>> log4jConfigFile is logging.properties
>> 0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
>> configFile is orktrack.config.xml
>> 1 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
>> HibernateConfigFile is database.hbm.xml
>> 2 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized():
>> TomcatHome is set to /opt/tomcat7
>> 2017-03-19 11:22:19,440 net.sf.oreka.orktrack.OrkTrack  INFO -
>> 
>> 2017-03-19 11:22:19,453 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
>> starting ...
>> 2017-03-19 11:22:19,472 config  WARN - ConfigManager.load: config file
>> /etc/orkweb//orktrack.config.xml is empty or does not exist.
>> 2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
>> started successfully.
>> 2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO -
>> 
>> Mar 19, 2017 11:22:20 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /opt/tomcat7/webapps/manager
>> Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /opt/tomcat7/webapps/host-mana
>> ger
>> Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
>> deployDirectory
>> INFO: Deploying web application directory /opt/tomcat7/webapps/orkweb
>> 2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
>> log4jConfigFile is /etc/orkweb//logging.properties
>> 2017-03-19 11:22:21,201 root  INFO -
>> 
>> 2017-03-19 11:22:21,201 root  INFO - OrkWeb starting ...
>> 2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
>> HibernateConfigFile is database.hbm.xml
>> 2017-03-19 11:22:21,652 root  INFO - OrkWeb 

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread tomcat

On 19.03.2017 12:59, Mahmoud Ramadan wrote:

Hi all,
I've installed Tomcat on Centos 6.2 and when i try to start the service it
hangs up at " INFO: Server startup in 6935 ms " and stays forever , below
the debugs , thanks


What do you expect it to "do" after starting up ?
It's a HTTP server, so when it's done with starting up, it waits for HTTP requests, to 
process them. The logfile (or the console, if that is where you are running it) won't show 
anything else, unless there are errors processing requests (or until you stop tomcat).


In other words : there is nothing abnormal in the log which you show below. To me, it 
looks like a perfectly healthy tomcat, just waiting for something to do.




[root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
Using CATALINA_BASE:   /opt/tomcat7
Using CATALINA_HOME:   /opt/tomcat7
Using CATALINA_TMPDIR: /opt/tomcat7/temp
Using JRE_HOME:/opt/java/jre1.7.0_04
Using CLASSPATH:
/opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
Mar 19, 2017 11:22:15 AM 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
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 19, 2017 11:22:15 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1234 ms
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/examples
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orktrack
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
log4jConfigFile is logging.properties
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
configFile is orktrack.config.xml
1 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
HibernateConfigFile is database.hbm.xml
2 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized():
TomcatHome is set to /opt/tomcat7
2017-03-19 11:22:19,440 net.sf.oreka.orktrack.OrkTrack  INFO -

2017-03-19 11:22:19,453 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
starting ...
2017-03-19 11:22:19,472 config  WARN - ConfigManager.load: config file
/etc/orkweb//orktrack.config.xml is empty or does not exist.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
started successfully.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO -

Mar 19, 2017 11:22:20 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/manager
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/host-manager
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orkweb
2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
log4jConfigFile is /etc/orkweb//logging.properties
2017-03-19 11:22:21,201 root  INFO -

2017-03-19 11:22:21,201 root  INFO - OrkWeb starting ...
2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
HibernateConfigFile is database.hbm.xml
2017-03-19 11:22:21,652 root  INFO - OrkWeb ContextInitialized():
TomcatHome is set to /opt/tomcat7
2017-03-19 11:22:21,663 root  INFO - OrkWeb started successfully.
2017-03-19 11:22:21,663 root  INFO -

2017-03-19 11:22:22,736 org.apache.tapestry.ApplicationServlet  INFO -
Initialized application servlet 'orkweb': 457 millis to create HiveMind
Registry, 1,060 millis overall.
Mar 19, 2017 11:22:22 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/ROOT
Mar 19, 2017 11:22:22 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/docs
Mar 19, 2017 11:22:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 19, 2017 11:22:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Mar 19, 

Tomcat Hangs up and doesn't start

2017-03-19 Thread Mahmoud Ramadan
Hi all,
I've installed Tomcat on Centos 6.2 and when i try to start the service it
hangs up at " INFO: Server startup in 6935 ms " and stays forever , below
the debugs , thanks

[root@localhost ~]# sh /opt/tomcat7/bin/catalina.sh run
Using CATALINA_BASE:   /opt/tomcat7
Using CATALINA_HOME:   /opt/tomcat7
Using CATALINA_TMPDIR: /opt/tomcat7/temp
Using JRE_HOME:/opt/java/jre1.7.0_04
Using CLASSPATH:
/opt/tomcat7/bin/bootstrap.jar:/opt/tomcat7/bin/tomcat-juli.jar
Mar 19, 2017 11:22:15 AM 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
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
Mar 19, 2017 11:22:15 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Mar 19, 2017 11:22:15 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1234 ms
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardService
startInternal
INFO: Starting service Catalina
Mar 19, 2017 11:22:15 AM org.apache.catalina.core.StandardEngine
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/examples
Mar 19, 2017 11:22:19 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orktrack
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
log4jConfigFile is logging.properties
0 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
configFile is orktrack.config.xml
1 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized()
HibernateConfigFile is database.hbm.xml
2 [pool-2-thread-1] INFO context  - OrkTrack ContextInitialized():
TomcatHome is set to /opt/tomcat7
2017-03-19 11:22:19,440 net.sf.oreka.orktrack.OrkTrack  INFO -

2017-03-19 11:22:19,453 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
starting ...
2017-03-19 11:22:19,472 config  WARN - ConfigManager.load: config file
/etc/orkweb//orktrack.config.xml is empty or does not exist.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO - OrkTrack
started successfully.
2017-03-19 11:22:20,956 net.sf.oreka.orktrack.OrkTrack  INFO -

Mar 19, 2017 11:22:20 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/manager
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/host-manager
Mar 19, 2017 11:22:21 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/orkweb
2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
log4jConfigFile is /etc/orkweb//logging.properties
2017-03-19 11:22:21,201 root  INFO -

2017-03-19 11:22:21,201 root  INFO - OrkWeb starting ...
2017-03-19 11:22:21,201 root  INFO - OrkWeb ContextInitialized():
HibernateConfigFile is database.hbm.xml
2017-03-19 11:22:21,652 root  INFO - OrkWeb ContextInitialized():
TomcatHome is set to /opt/tomcat7
2017-03-19 11:22:21,663 root  INFO - OrkWeb started successfully.
2017-03-19 11:22:21,663 root  INFO -

2017-03-19 11:22:22,736 org.apache.tapestry.ApplicationServlet  INFO -
Initialized application servlet 'orkweb': 457 millis to create HiveMind
Registry, 1,060 millis overall.
Mar 19, 2017 11:22:22 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/ROOT
Mar 19, 2017 11:22:22 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory /opt/tomcat7/webapps/docs
Mar 19, 2017 11:22:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Mar 19, 2017 11:22:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8443"]
Mar 19, 2017 11:22:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Mar 19, 2017 11:22:22 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6935 ms


Best Regards,

Mahmoud Ramadan Ali

Network and VOIP Specialist.

Mobil: (+2) 01276877112

Blog | Website
| LinkedIn