Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos client info server: NuclosClientThreadContextHolder, stack trace, DEV mode, round trip, SQL, 3.14, analysis.

globe with meridians Language: Deutsch · English

hammer and wrench Detailed client information in the server

Analyze client call sites on the server – DEV mode and NuclosClientThreadContextHolder.

Status
colourPurple
titleHow-to
Status
colourBlue
titleDeveloper
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2
Hinweis
titlePurpose

Intended purely for testing, e.g. to analyze unnecessary round trips and SQL queries.

From version 3.14, the client's call sites can be processed on the server. The client must be started in DEV mode; then its thread stack trace is sent to the server.

Codeblock
languagejava
try {
   NuclosClientThreadContextHolder holder = SpringApplicationContextHolder.getBean(NuclosClientThreadContextHolder.class);
   if(holder.isSupported()) {
      LOG.info(holder.getNuclosStackTraceElement().toString());
   }
}  catch(Exception e) {
      // handle Exception here
}

NuclosClientThreadContextHolder.getNuclosStackTraceElement() returns all elements with nuclos in the package name.

Related pages

gear Transferring data from the server to the client


Reverse.

Open →