Re: Tomcat 8.0.18 is not getting started

2016-01-20 Thread Anand
I have tried installing tomcat  8.0.30 from below location:
http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.30/bin/apache-tomcat-8.0.30-windows-x64.zip

JDK Used from below location

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

jdk-8u66-windows-x64.exe

Environment - Windows 7, JDK 1.8.
I haven't added any jars/application and other modifications in tomcat
configuration but the Tomcat startup fails with same error as earlier,
errors as below:

Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server version:Apache Tomcat/8.0.30
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server built:  Dec 1 2015 22:30:46 UTC
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server number: 8.0.30.0
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Name:   Windows 7
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Version:6.1
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Architecture:  amd64
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Version:   1.8.0_66-b18
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Vendor:Oracle Corporation
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_BASE:
C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_HOME:
C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30\conf\logging.properties
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30\endorsed
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30
Jan 20, 2016 5:38:13 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.30-windows-x64\apache-tomcat-8.0.30\temp
Jan 20, 2016 5:38:13 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.1.33 using APR
version 1.5.1.
Jan 20, 2016 5:38:13 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jan 20, 2016 5:38:14 PM org.apache.catalina.core.AprLifecycleListener
initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
Jan 20, 2016 5:38:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jan 20, 2016 5:38:14 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Jan 20, 2016 5:38:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1484 ms
Jan 20, 2016 5:38:14 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable
to start.
org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: java.lang.NoSuchMethodError:
org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V
at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:249)
at

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuck,

On 1/19/16 1:50 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
>> Subject: Re: Tomcat 8.0.18 is not getting started
> 
>> 1. Please don't top-post. André is continuing to bottom-post and
>> you are continuing to top-post. This makes the conversation
>> unreadable. The convention on this list is to top-post. [1]
> ^
> 
> Uh - no, the convention is to _not top-post.

Thanks for the correction: DO NOT TOP-POST. I inadvertently sent this
message prematurely -- I also didn't provide a reference for [1].

- -chris

[1] https://en.wikipedia.org/wiki/Posting_style
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlaek/0ACgkQ9CaO5/Lv0PAFfwCfWzmJyMB9YziJJwh3MXuLIfOu
gCkAn0zVh+AY5bSChtmUN5tUJ/40VEEX
=gXMX
-END PGP SIGNATURE-

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



RE: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: Tomcat 8.0.18 is not getting started

> 1. Please don't top-post. André is continuing to bottom-post and you
> are continuing to top-post. This makes the conversation unreadable.
> The convention on this list is to top-post. [1]
   ^

Uh - no, the convention is to _not top-post.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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



Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Anand
I haven't added any jars/application and other modifications in tomcat
configuration. The downloaded is not corrupted as i tried same
download(tomcat 8.0.018) on other systems, server started successfully. so
i am not sure its something with particular System.

Let me try to check with tomcat version  8.0.30, will share you results on
how it goes.


Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Anand
I tried to start the tomcat from command line by executing the startup.bat.

On Tue, Jan 19, 2016 at 6:40 PM, André Warnier (tomcat) 
wrote:

> On 19.01.2016 13:53, Anand wrote:
>
>> I am trying to install Tomcat 8.0.18 from location:
>>
>>
>> http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip
>>
>>
>>
>> JDK Used from below location
>>
>>
>> http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
>>
>> jdk-8u66-windows-x64.exe
>>
>> Environment - Windows 7, JDK 1.8
>>
>> I am not modifying any files(like wevb.xml) during startup and also not
>> added any 3rd party jars in tomcat lib directory.
>>
>> Tomcat is unable to start, fails with below error:
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server version:Apache Tomcat/8.0.18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server built:  Jan 23 2015 11:56:07 UTC
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Server number: 8.0.18.0
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: OS Name:   Windows 7
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: OS Version:6.1
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Architecture:  amd64
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: JVM Version:   1.8.0_66-b18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: JVM Vendor:Oracle Corporation
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: CATALINA_BASE:
>> C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: CATALINA_HOME:
>> C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>>
>> -Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\conf\logging.properties
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>>
>> -Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\endorsed
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>>
>> -Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>>
>> -Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
>> log
>> INFO: Command line argument:
>>
>> -Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\temp
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
>> lifecycleEvent
>> INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR
>> version 1.5.1.
>> Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
>> lifecycleEvent
>> INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
>> [false], random [true].
>> Jan 18, 2016 4:28:06 PM org.apache.catalina.core.AprLifecycleListener
>> initializeSSL
>> INFO: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
>> Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["http-apr-8080"]
>> Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
>> INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
>> Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina load
>> INFO: Initialization processed in 1621 ms
>> Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina start
>> SEVERE: The required Server component failed to start so Tomcat is unable
>> to start.
>> org.apache.catalina.LifecycleException: Failed to start component
>> [StandardServer[8005]]
>>  at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>>  at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>>
>> 

Tomcat 8.0.18 is not getting started

2016-01-19 Thread Anand
I am trying to install Tomcat 8.0.18 from location:

http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip



JDK Used from below location

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

jdk-8u66-windows-x64.exe

Environment - Windows 7, JDK 1.8

I am not modifying any files(like wevb.xml) during startup and also not
added any 3rd party jars in tomcat lib directory.

Tomcat is unable to start, fails with below error:
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server version:Apache Tomcat/8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server built:  Jan 23 2015 11:56:07 UTC
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server number: 8.0.18.0
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Name:   Windows 7
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Version:6.1
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Architecture:  amd64
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Version:   1.8.0_66-b18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Vendor:Oracle Corporation
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_BASE:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_HOME:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\conf\logging.properties
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\endorsed
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\temp
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR
version 1.5.1.
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jan 18, 2016 4:28:06 PM org.apache.catalina.core.AprLifecycleListener
initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1621 ms
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable
to start.
org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: java.lang.NoSuchMethodError:
org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V
at
org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:249)
at

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat

On 19.01.2016 13:53, Anand wrote:

I am trying to install Tomcat 8.0.18 from location:

http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip



JDK Used from below location

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

jdk-8u66-windows-x64.exe

Environment - Windows 7, JDK 1.8

I am not modifying any files(like wevb.xml) during startup and also not
added any 3rd party jars in tomcat lib directory.

Tomcat is unable to start, fails with below error:
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server version:Apache Tomcat/8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server built:  Jan 23 2015 11:56:07 UTC
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server number: 8.0.18.0
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Name:   Windows 7
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Version:6.1
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Architecture:  amd64
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Version:   1.8.0_66-b18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Vendor:Oracle Corporation
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_BASE:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_HOME:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\conf\logging.properties
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\endorsed
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\temp
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR
version 1.5.1.
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jan 18, 2016 4:28:06 PM org.apache.catalina.core.AprLifecycleListener
initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1621 ms
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server component failed to start so Tomcat is unable
to start.
org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:497)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: java.lang.NoSuchMethodError:
org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V
 at

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat

On 19.01.2016 14:36, Anand wrote:

I tried to start the tomcat from command line by executing the startup.bat.


Ok.  Again, I am not the ultimate expert, but the key error below seems to be 
around

Caused by: java.lang.NoSuchMethodError:
org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V

I don't know exactly what that means, but since you are on Windows 7, I would first make 
sure that you are not experiencing some conflict with "User Account Control" or similar, 
and that the directories where Tomcat needs to write (as it is started in a command 
window, under the user account which you use to login into Windows), can actually be 
written by this Tomcat (the "logs" directory, and the "work" directory for instance).

(This may not be the ultimate reason for the error, but it may be a triggering 
factor).



On Tue, Jan 19, 2016 at 6:40 PM, André Warnier (tomcat) 
wrote:


On 19.01.2016 13:53, Anand wrote:


I am trying to install Tomcat 8.0.18 from location:


http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip



JDK Used from below location


http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

jdk-8u66-windows-x64.exe

Environment - Windows 7, JDK 1.8

I am not modifying any files(like wevb.xml) during startup and also not
added any 3rd party jars in tomcat lib directory.

Tomcat is unable to start, fails with below error:
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server version:Apache Tomcat/8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server built:  Jan 23 2015 11:56:07 UTC
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Server number: 8.0.18.0
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Name:   Windows 7
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: OS Version:6.1
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Architecture:  amd64
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Version:   1.8.0_66-b18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: JVM Vendor:Oracle Corporation
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_BASE:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: CATALINA_HOME:
C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:

-Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\conf\logging.properties
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:

-Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\endorsed
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:

-Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:

-Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
Jan 18, 2016 4:28:05 PM org.apache.catalina.startup.VersionLoggerListener
log
INFO: Command line argument:

-Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\temp
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.1.32 using APR
version 1.5.1.
Jan 18, 2016 4:28:05 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Jan 18, 2016 4:28:06 PM org.apache.catalina.core.AprLifecycleListener
initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.1j 15 Oct 2014)
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Jan 18, 2016 4:28:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1621 ms
Jan 18, 2016 4:28:06 PM org.apache.catalina.startup.Catalina start
SEVERE: The required Server 

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Anand
I have executed the startup.bat using administrative privileges and also
tried installing at different locations, got the same error.  i.e opened
the cmd.exe (Run as Administrator) and then started tomcat by executing
startup.bat.

On Tue, Jan 19, 2016 at 7:53 PM, André Warnier (tomcat) 
wrote:

> On 19.01.2016 14:36, Anand wrote:
>
>> I tried to start the tomcat from command line by executing the
>> startup.bat.
>>
>
> Ok.  Again, I am not the ultimate expert, but the key error below seems to
> be around
>
> Caused by: java.lang.NoSuchMethodError:
> org.apache.naming.NamingContext.setExceptionOnFailedWrite(Z)V
>
> I don't know exactly what that means, but since you are on Windows 7, I
> would first make sure that you are not experiencing some conflict with
> "User Account Control" or similar, and that the directories where Tomcat
> needs to write (as it is started in a command window, under the user
> account which you use to login into Windows), can actually be written by
> this Tomcat (the "logs" directory, and the "work" directory for instance).
> (This may not be the ultimate reason for the error, but it may be a
> triggering factor).
>
>
>> On Tue, Jan 19, 2016 at 6:40 PM, André Warnier (tomcat) 
>> wrote:
>>
>> On 19.01.2016 13:53, Anand wrote:
>>>
>>> I am trying to install Tomcat 8.0.18 from location:



 http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip



 JDK Used from below location



 http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

 jdk-8u66-windows-x64.exe

 Environment - Windows 7, JDK 1.8

 I am not modifying any files(like wevb.xml) during startup and also not
 added any 3rd party jars in tomcat lib directory.

 Tomcat is unable to start, fails with below error:
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Server version:Apache Tomcat/8.0.18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Server built:  Jan 23 2015 11:56:07 UTC
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Server number: 8.0.18.0
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: OS Name:   Windows 7
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: OS Version:6.1
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Architecture:  amd64
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Java Home: C:\Program Files\Java\jdk1.8.0_66\jre
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: JVM Version:   1.8.0_66-b18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: JVM Vendor:Oracle Corporation
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: CATALINA_BASE:
 C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: CATALINA_HOME:
 C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:


 -Djava.util.logging.config.file=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\conf\logging.properties
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:
 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:


 -Djava.endorsed.dirs=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\endorsed
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:


 -Dcatalina.base=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:


 -Dcatalina.home=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18
 Jan 18, 2016 4:28:05 PM
 org.apache.catalina.startup.VersionLoggerListener
 log
 INFO: Command line argument:


 -Djava.io.tmpdir=C:\Tomcat\apache-tomcat-8.0.18-windows-x64\apache-tomcat-8.0.18\temp
 Jan 18, 2016 4:28:05 PM 

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anand,

On 1/19/16 10:06 AM, Anand wrote:
> I have executed the startup.bat using administrative privileges and
> also tried installing at different locations, got the same error.
> i.e opened the cmd.exe (Run as Administrator) and then started
> tomcat by executing startup.bat.

Several things:

1. Please don't top-post. André is continuing to bottom-post and you
are continuing to top-post. This makes the conversation unreadable.
The convention on this list is to top-post. [1]

2. Tomcat 8.0.18 is fairly old (~1 year). If possible, use the latest
version (currently 8.0.30).

3. My wild guess is that you have somehow damaged your Tomcat
installation. Other than downloading and unzipping the distribution,
then running the bin\startup.bat script, have you done anything else
to Tomcat? Installed extra libraries (especially in lib/)? Dropped any
applications into the webapps/ directory?

- -chris
-BEGIN PGP SIGNATURE-
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlaeXGUACgkQ9CaO5/Lv0PCH2wCfWWPOlF+5Thd1/qUbVoOdd4No
rAUAn0vwfhXvMBcu3kfFCBg36QPSWUeM
=s+RE
-END PGP SIGNATURE-

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