Kasper,
Are you creating a new database or reusing the old database?
The StoreXML steps should not be run during a system upgrade when you are reusing the same database. It would attempt to reset the administrative accounts to their original state and you would likely undo some changes you had made. Please review the installation instructions here:
https://wiki.xnat.org/display/XNAT16/How+to+Upgrade+XNAT#HowtoUpgradeXNAT-Update
Regarding your fresh installation, confirm that your tomcat server is shutdown when running this step (or it will try to use web services). Also, the -project attribute shouldn’t be necessary here.
Tim
--
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 post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
2013-07-23 14:48:09,740 [http-bio-8080-exec-7] ERROR org.nrg.xnat.helpers.merge.MergeSessionsA -
java.lang.NullPointerException
at org.nrg.xnat.utils.CatalogUtils.populateStats(CatalogUtils.java:1001)
at org.nrg.xnat.helpers.merge.MergePrearcToArchiveSession.finalize(MergePrearcToArchiveSession.java:54)
at org.nrg.xnat.helpers.merge.MergePrearcToArchiveSession.finalize(MergePrearcToArchiveSession.java:32)
at org.nrg.xnat.helpers.merge.MergeSessionsA.call(MergeSessionsA.java:165)
at org.nrg.xnat.archive.PrearcSessionArchiver.call(PrearcSessionArchiver.java:561)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase$12.extSync(PrearcDatabase.java:580)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase$12.extSync(PrearcDatabase.java:577)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase$LockAndSync.run(PrearcDatabase.java:1176)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase._archive(PrearcDatabase.java:601)
at org.nrg.xnat.helpers.prearchive.PrearcDatabase.archive(PrearcDatabase.java:550)
at org.nrg.xnat.archive.FinishImageUpload.call(FinishImageUpload.java:106)
at org.nrg.xnat.restlet.resources.prearchive.PrearcSessionResource.handlePost(PrearcSessionResource.java:223)
...
Hey Christoph,
I can see where the error is occurring and can guess why it’s occurring, at least in the immediate analysis. For some reason the file count is returning null, which might make sense since the prearc session build process appears to be failing. Could you possibly make one of the sessions that’s causing this failure available to us to test?
Believe me, this initial part of the process is working for us here in the lab or we would have noticed that we couldn’t get any imaging data into our imaging data management server J
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
--
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 post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
Well that’s weird. A couple things.
Your axis.log and velocity.log messages are basically red herrings. That axis.log message will pop up on every server restart since we don’t have that wsdd configuration so it always uses its default set up. The velocity log is due partly to some mangled Velocity structures in the code and partly due to the age of the version of Velocity that we have.
The xdat.log message is probably the real error, but it’s really strange. It comes from here:
return XDAT.getConfigService().replaceConfig(username, reason, IP_WHITELIST_TOOL, IP_WHITELIST_PATH, Joiner.on("\n").join(getLocalhostIPs()));
getLocalhostIPs() does what you think it would do: returns the various values for the IP addresses for the localhost. This is used to filter out multiple logins for a single user when, e.g., pipelines run on the XNAT server. So something must be going wrong in there then nulling out the List<String> that gets returned.
Try this: in your deployed web app, edit the file WEB-INF/conf/log4j.properties. Look for the line:
log4j.category.org.nrg.xdat=ERROR, xdat
Replace ERROR with INFO, restart Tomcat, then try again. You should find a message in your xdat.log that has a message something like “Localhost is an unknown host”. Let me know what that says.
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com]
On Behalf Of Simon Doran
Sent: Tuesday, July 23, 2013 12:20 PM
To: xnat_di...@googlegroups.com
Subject: [XNAT Discussion] Re: Announcing the release of XNAT 1.6.2.1!
Dear Rick et al.
--
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 post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
Christoph,
It turns out that you ran across a bug in the development code that also ended up affecting our development servers. I just pushed a change up to the development repo on Bitbucket if you want to try to revert back to the development tip. Of course, this sort of thing is why pulling from the development tip can be a little scary J Thanks for the good info on the problem!
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
--
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 post to this group, send email to
xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/groups/opt_out.
The reason 1.6.1 worked with no problem is that it didn’t do this at all. The problem was that then every session for an account showed up and freaked people out, since it would say something along the lines of “10 sessions from 3 IPs r u being teh haxx0rzed ono!!!!” Or something like that.
So we put in the filtering to remove sessions that we knew had to be benign, which includes any analogs of localhost, but can also include other whitelisted IPs:
· Yes, you can configure additional IPs to filter out, e.g., sessions spawned from back-end processing like grid engine or Hadoop clusters
· No, there’s no documentation on how to do this yet
· Yes, I really need to work on that, but it was a late fix to address issues with CNDA users, so the docs haven’t made it yet
That’s excellent that you were able to work out a solution to the issue. I’ll put a fix in the code to just ignore localhost synonyms that can’t resolve. I had assumed that localhosts would all be good, but clearly I hadn’t counted on the devilish ingenuity of the NHS ;)
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com] On Behalf Of Simon Doran
Sent: Wednesday, July 24, 2013 6:32 AM
To: xnat_di...@googlegroups.com
Sorry, me again, this time regarding the upgrade documentation at https://wiki.xnat.org/display/XNAT16/How+to+Upgrade+XNAT#