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: SSL client cert selection dialog not showing up on cloned deployment of tomcat 7 for windows x64

2016-01-20 Thread Gael Abadin
None of us had. Now both of us have, and still the same result ¯\_(ツ)_/¯

The DNS response is all the same, because for development we are using
internal lan ip access (or localhost), not domain-based. And self-signed
certificates.

I thought maybe it was some Java security configuration, but looking at it
on the Windows Control Panel widget we also have the same

Anyway, thanks for the tips! :-)




2016-01-19 16:49 GMT+01:00 Christopher Schultz :

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Gael,
>
> On 1/19/16 6:37 AM, Gael Abadin wrote:
> > Thanks for the reply :-)
> >
> > I've checked for all that!
> >
> > I even ended up copying my tomcat folder and my eclipse tomcat
> > configuration folder from my computer to his,
> >
> > So they are literally the same configuration.
> >
> > I know the connector configuration is being read because if, for
> > example, I remove the .keystore file I get an error. Or if I change
> > the port the SSL connector starts listening on that port on
> > deployment.
> >
> > Also, I made sure we are launching using the same JRE.
> >
> > I tried clientAuth="true" instead of "want". And accesing from my
> > browser on my computer. Still no client certificate request. Log
> > files don't show any errors.
> >
> > We even tried to reboot the system ^^'.
> >
> > Eclipse versions differ, but I don't see how that could result in
> > tomcat not requesting SSL client certs...
> >
> > Anyway, since we couldn't find the cause I recommended him to use a
> > fresh tomcat 7 install, download the last eclipse-JEE and java SDK,
> > using a new workbench, and starting a new project redownloading the
> > source files from the repo. It's a little overkill, but that should
> > do it...
>
> Is it possible that one of you has added-on for instance the
> "unlimited encryption" setting in the JRE and the other has not?
>
> I'm grasping at straws here because it seems like you've looked at all
> the usual things that could have gone wrong.
>
> Bad DNS response? (!!?)
>
> - -chris
>
> > 2016-01-19 1:59 GMT+01:00 Christopher Schultz
> >  :
> >
> >> Gael,
> >>
> >> On 1/11/16 11:46 AM, Gael Abadin wrote:
> >>> The server certificate is self signed. Appart from the typical
> >>> warning we see no errors when we check it.
> >>>
> >>> His system (windows) clock is synchronized using microsoft's
> >>> NTP server, same as mine.
> >>>
> >>> This is really weird because I have already delopoyed the same
> >>> app and config in two other systems, appart from mine, without
> >>> any issues, and
> >> his
> >>> and mine are basically the same...
> >>
> >> Run "diff" on the two conf/server.xml files from the two
> >> servers? Different conf/context.xml file? How about a
> >> conf/[engine]/[host]/[app].xml file making a difference in one or
> >> the other environment?
> >>
> >> -chris
> >>
> >> -
> >>
> >>
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> >
> -BEGIN PGP SIGNATURE-
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlaeWvEACgkQ9CaO5/Lv0PD+ZwCdEckChNr97VUhice9tPr5BnE9
> lp4AoILZ9L0uycFJx+hf4Tt7CMpDTPX7
> =2t5+
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 



.

Alberto Gael Abadin Martinez
Junior Developer

[image: IMATIA]

www.imatia.com

*Tel: *+34 986 342 774 ext 4531

*Email: *gael.aba...@imatia.com
Edificio CITEXVI
Fonte das Abelleiras, s/n - Local 27
36310 Vigo (Pontevedra)
España

.



.

Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
contener información confidencial, siendo para uso exclusivo del
destinatario. Queda prohibida su divulgación copia o distribución a
terceros sin la autorización expresa del remitente. Si usted ha recibido
este mensaje erróneamente, se ruega lo notifique al remitente y proceda a
su borrado. Gracias por su colaboración.
This message, and in the case of any file annexed to it, can have
confidential information, and it is exclusively for the use of the
addressee of the message. It is strictly forbidden to spread a copy or
distribute to third parties, without the express order of the sender. If
you have received this message mistakenly, we request you to notify to the
sender, and please be sure to erase it. Thank you for your collaboration.

.