You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by hwaastad <he...@waastad.org> on 2017/05/31 06:53:53 UTC

Thread naming...

Hi,
this might seem as a silly question:
Is there a naming standard in tomee for thread names?
Usually its like: 
http-apr-8080-exec-9

but others have like:
EjbTimerPool - 276 (having spaces)

/hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Thread-naming-tp4681788.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Thread naming...

Posted by Romain Manni-Bucau <rm...@gmail.com>.
our org.apache.openejb.util.DaemonThreadFactory have this space in its
"pattern"


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-31 9:02 GMT+02:00 hwaastad <he...@waastad.org>:

> OK,
> but why the \s+?
>
> /hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Thread-naming-tp4681788p4681790.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Re: Thread naming...

Posted by hwaastad <he...@waastad.org>.
OK,
but why the \s+?

/hw



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Thread-naming-tp4681788p4681790.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Thread naming...

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

*-exec-* ones come from tomcat (the connector) where openejb tends to use
either qualified names (org.apache....scheduler or class shortname like
EjbTimerPool) so no real coding standard there.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-31 8:53 GMT+02:00 hwaastad <he...@waastad.org>:

> Hi,
> this might seem as a silly question:
> Is there a naming standard in tomee for thread names?
> Usually its like:
> http-apr-8080-exec-9
>
> but others have like:
> EjbTimerPool - 276 (having spaces)
>
> /hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Thread-naming-tp4681788.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>