"admin" page not found, "admin/event-service" page not found, "admin/users" page not found

150 views
Skip to first unread message

santo...@gmail.com

unread,
Apr 19, 2023, 12:10:50 PM4/19/23
to xnat_discussion
Can someone help me, it appears

"admin" page not found, "admin/event-service" page not found, "admin/users" page not found

Glen Tomkowiak

unread,
Apr 30, 2023, 12:37:47 PM4/30/23
to xnat_discussion
Experiencing this same issue but only after running do-release-upgrade on Ubuntu 20.04 LTS to Ubuntu 22.04 LTS

Rick Herrick

unread,
May 1, 2023, 10:00:49 AM5/1/23
to xnat_discussion
There are many possible causes for this kind of error. We can’t even begin to guess at the cause without more info:
  • XNAT version
  • Any installed plugins and the version of those plugins
  • OS
  • Java version
  • Tomcat version
  • Any info from the XNAT and Tomcat logs that might be relevant
Rick Herrick
Senior Software Developer


------ Original Message ------
From "Glen Tomkowiak" <gtom...@gmail.com>
To "xnat_discussion" <xnat_di...@googlegroups.com>
Date 4/29/2023 4:12:11 PM
Subject [XNAT Discussion] Re: "admin" page not found, "admin/event-service" page not found, "admin/users" page not found

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/75721706-ce7a-43fe-bdca-0e6ee19f0994n%40googlegroups.com.

Glen Tomkowiak

unread,
May 1, 2023, 10:17:12 AM5/1/23
to xnat_discussion
I unfortunately reverted the server to our Ubuntu 20.04 image.
But we are running the following:
XNAT version 1.8.7.1, build: 30
Ubuntu 20.04 LTS
Tomcat9 (from ubuntu repo)
OpenJDK8 (from ubuntu repo)

The closest I could get to a useful error message is a crash in Catalina.out whenever I hit certain pages, notable the admin page.

29-Apr-2023 22:00:14.653 SEVERE [http-nio-8080-exec-11] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() forservlet [dispatcher] in context with path [] threw exception [java.lang.UnsupportedClassVersionError: org/eclipse/jdt/internal/compiler/env/INameEnvironment has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0] with root cause
        java.lang.UnsupportedClassVersionError: org/eclipse/jdt/internal/compiler/env/INameEnvironment has been compiled by a morerecent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versionsup to 52.0

My best guess is the Tomcat9 version on Ubuntu 22.04 LTS is built with a newer version of Java perhaps?  Then this causes issues with XNAT being built with Java8?  I only think this because all advice for this error message is to move to Java 11.

Either way the best option for me was to rollback my server VM to Ubuntu 20.04 LTS, since the database / file storage is separate and this was possible without major issues.

John Flavin

unread,
May 1, 2023, 10:26:30 AM5/1/23
to xnat_di...@googlegroups.com

Brad Zoltick

unread,
May 1, 2023, 10:53:21 AM5/1/23
to xnat_di...@googlegroups.com
This solved my issue with running XNAT version 1.8.7.1 on Ubuntu 22.04.2

image.png
Brad Zoltick


Ekaterina Zilonova

unread,
Sep 13, 2023, 8:59:35 AM9/13/23
to xnat_discussion
Hi all, 

I am getting the same issue (admin page not found), and screenshot above did not help. It sometimes works and sometimes "admin page not found". I cannot figure out what changes or what does it depend on, any ideas? Because it does not feel stable. 

Versions: xnat 1.8.9.1;  Ubuntu 22.04.3 LTS; openjdk version "1.8.0_382"; Apache Tomcat/9.0.80

Best regards, Katja

Rick Herrick

unread,
Sep 13, 2023, 10:49:44 AM9/13/23
to xnat_di...@googlegroups.com
Are you seeing any messages in the XNAT or Tomcat logs when these pages fail to display?

Rick Herrick
Senior Software Developer


------ Original Message ------
From "Ekaterina Zilonova" <zilonova...@gmail.com>
To "xnat_discussion" <xnat_di...@googlegroups.com>
Date 9/13/23, 6:05:41 AM
Subject Re: [XNAT Discussion] Re: "admin" page not found, "admin/event-service" page not found, "admin/users" page not found

Ekaterina Zilonova

unread,
Sep 13, 2023, 1:12:18 PM9/13/23
to xnat_discussion
Hey  Rick, 

There were the following things around time it was not working. Is it some improper closing? How can it be prevented?

WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [xnat] appears to have started a thread named [DefaultQuartzScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:253)
 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [xnat] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal) and a value of type [org.restlet.Context] (value [org.restlet.Context]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [xnat] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal]) and a value of type [org.restlet.data.Response] (value [org.restlet.data.Response]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

Thanks in advance!
Best regards, Katja

Rick Herrick

unread,
Sep 13, 2023, 3:02:41 PM9/13/23
to xnat_di...@googlegroups.com
These messages show pretty reliably on Tomcat shutdown, so I don’t think they’re related to your problem. Could you try the following:
  1. Shut down Tomcat
  2. Clear your XNAT and Tomcat log folders (e.g. move all the files in there currently to a temp folder somewhere or just delete them if you don’t need them)
  3. Restart Tomcat
  4. Try to go to your admin pages
  5. Presuming the error occurs, copy all the non-empty logs without shutting Tomcat down
Depending on where you have the logs stored, you could do something like this:

find /data/xnat/home/logs /var/log/tomcat9 -type f -size +0 | tar -T - -czf logs.tgz

Once you have those captured, look through those to see if there’s anything interesting showing up.

Rick Herrick
Senior Software Developer
He/him/his/hey you




------ Original Message ------
From "Ekaterina Zilonova" <zilonova...@gmail.com>
To "xnat_discussion" <xnat_di...@googlegroups.com>
Date 9/13/23, 10:45:25 AM
Subject Re: Re[2]: [XNAT Discussion] Re: "admin" page not found, "admin/event-service" page not found, "admin/users" page not found

Reply all
Reply to author
Forward
0 new messages