[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Tomcat error at run-time.
From:       noel joseph <noelvinu1223 () gmail ! com>
Date:       2018-07-31 14:31:35
Message-ID: CA+P37ZUnmJQvaV=Z6s0mrg=5Zfqzy2yAzdTVxZv=P6troM818Q () mail ! gmail ! com
[Download RAW message or body]


Thank you so much Cris I will try your methods and let you know off the
results. Thanks for the quick response!

Cheers
Noel

On Tue, Jul 31, 2018, 6:44 PM Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Noel,
>
> On 7/31/18 2:54 AM, noel joseph wrote:
> > Hi, I am rather new to tomcat, I've been trying to embed tomcat in
> > a java application. I further want to convert this into a java web
> > start file so that on deploying it I can have a separate tomcat
> > server for my application. The error I am facing is...
> > org.apache.catalina.LifecycleException: A child container failed
> > during start.
>
> A "child container" usually ends up being something like an
> application. Do you have any logging enabled? If so, what does the log
> say? If not, try enabling logging and then checking the log. Tomcat is
> usually pretty verbose about what happened and what it happened to.
>
> > I tried a couple of methods to solve it but with no use, the error
> > still stays. I am using embedded tomcat 8.5.23, I changed it to the
> > latest tomcat 9.0.10 which fixed the error but then the server
> > didn't start. it just stops at.. WARNING: Creation of secureRandom
> > insatnce.....
>
> If you are hanging on creating SecureRandom, your server (or
> workstation) might have run out of cryptographic entropy. This can
> happen when you restart a server like Tomcat too rapidly and the OS
> doesn't have enough time to re-fill the entropy pool.
>
> Can you take a thread dump[1] of the running process the next time
> this stalls, just to be sure?
>
> > By reverting back to tomcat 8.5.23 this was solved but again I'm
> > facing the child container failed error.
> >
> > Please let me know if there is a fix to my issue or if there is a
> > better version of tomcat that I can use.
>
> The problem is likely with a component of your application. Logs will
> help discover the root of the problem.
>
> The decision to use Tomcat 8.5 or Tomcat 9.0 has more to do with your
> risk-aversion. Both versions are still under active development, but
> Tomcat 8.5 is more mature and stable (from a code perspective, not
> that it is any more reliable than 9.0). Both versions should be
> maintained for the next few years.
>
> Hope that helps,
> - -chris
>
> [1]
> https://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my
> _running_webapp_.3F
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAltgYMsACgkQHPApP6U8
> pFiNlA//bg52WqByfHyAAEMep0a47ZIZ5Bn8D951/p6k5fht/G31ZlzLXXwYzlBk
> Redx7Aozx2JG7C0mfPXKHxcr8TqxPcEFC4LDBPs+ywRNhIkGE+ZQtVfIS9+3Wmz1
> aKUsXiK0DYMiRHoHNY0V0G8Zt6sJNlT0MkFpAVbD3EcHm2vrw8T4G0+9lOslMe01
> Pd172hZ+xE9zpouceFNFPHJVWldwSgxrXNvQOV0VdBVTME7BGMf6yWzJrMxLTNj6
> z8EY501ZZd3awrva+JMRFnzQS4qS7dRBMgIP7qJ5S8LLH+OuWcJ99a1s1AAgX9hq
> x+bsuOugiZITz/GAD8+lbTIfiGeZefIALyekYCEwBH8lgMAqlZRhGc+H/5UsFwiX
> 1XEgDbaINHOrMWOBFJVAmT6b3pkSt/Rj2mnb0knYjRDVbcmkPyj3P1Px2opQjEkt
> adCxpCQYGDQh/Ddy+q0nj7flAkIgGRwQi7jIfLUJRvE00N0QlTNGscbXr+lzbQCr
> kh3xrvGsEWhiNluhZAosGmpwQPtcCByV4EBjNpvF4/p3mXEIOm/f+k9X816ian4B
> nDJOyjwDhxVFNVfHR7tP991CMPuQnK1SZf8wRj2S91Un9E+QOrtxusAOQch96M0D
> 4nKYH3vlduzaeqbdhSa5vAzsTVGffICl6PmowWeNGQ4I4c1vcBI=
> =x/SS
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic