This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-09
Channels
- # announcements (3)
- # babashka (17)
- # beginners (75)
- # calva (43)
- # cider (1)
- # clj-kondo (54)
- # cljdoc (8)
- # cljs-dev (70)
- # clojure (83)
- # clojure-europe (27)
- # clojure-nl (4)
- # clojure-norway (4)
- # clojure-spec (8)
- # clojure-uk (13)
- # clojured (2)
- # clojurescript (47)
- # community-development (4)
- # conjure (2)
- # cursive (3)
- # datomic (5)
- # emacs (5)
- # events (3)
- # fulcro (13)
- # graalvm-mobile (19)
- # helix (2)
- # introduce-yourself (1)
- # jobs (2)
- # jobs-discuss (28)
- # kaocha (9)
- # livestream (11)
- # malli (15)
- # meander (24)
- # nextjournal (8)
- # off-topic (26)
- # pathom (1)
- # pedestal (8)
- # polylith (2)
- # portal (31)
- # re-frame (4)
- # reagent (10)
- # reitit (8)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (66)
- # spacemacs (20)
- # testing (6)
- # vim (15)
- # xtdb (7)
I’m using Jetty container, but when the server startup, a few log message pops up about Undertow server started, together with xnio & jboss thread message. Is there any other service that is using Undertow by default? I’m currently using pedestal 0.5.8, thx 🙇:skin-tone-2:
here it is, thx a lot in advance 🙇:skin-tone-2:
(defn service-map [env]
{:env :prod
::http/router :linear-search
::http/routes routes/routes
::http/type :jetty
::http/port (:port env)
::http/join? false
::http/enable-session {:store (cookie/cookie-store {:key (get-in env [:session :key])})
:cookie-name (get-in env [:session :name])
:cookie-attrs {:http-only true
:same-site :lax}}
::http/container-options {:max-threads 8}
::http/request-logger log/log-request})
(mount/defstate ^:dynamic *http*
:start (if (:dev cfg/*env*)
(-> (service-map cfg/*env*)
(merge {:env :dev
::http/routes #(deref #'routes/routes)})
http/default-interceptors
http/dev-interceptors
http/create-server
http/start)
(-> (service-map cfg/*env*)
http/default-interceptors
http/create-server
http/start))
:stop (http/stop *http*))
do you see logs for jetty starting up ? maybe there is some other dependency starting the undertow server
nop, those four lines are the only log output when server start, and I’m pretty sure that I’m using Jetty container, pedestal will complaint if I take out pedestal.jetty
from deps.edn, I’ve no clue why Undertow / JBoss message pops up? :thinking_face:
@ULS5BHEUR do you have shadow-cljs in your classpath? shadow-cljs produces this log output