1.4 Documentation

57 views
Skip to first unread message

Timothy Olsen

unread,
May 21, 2008, 3:16:31 PM5/21/08
to xnat_di...@googlegroups.com

In preparation for the eventual release of XNAT 1.4 we are starting to rebuild our documentation.

 

Some of you may have seen that I moved the instructions for building XNAT 1.4 from CVS to the WIKI.  Please use this from now on (rather than the old discussion group post) as am gradually making tweaks to it.

http://nrg.wikispaces.com/XNAT_Source

 

I’ve put together a first draft of the 1.4 User Guide.  I’ll gradually be moving this to the WIKI and expanding it.  In the meantime it’s in the discussion group files:

http://groups.google.com/group/xnat_discussion/files

File Name: XNAT User Guide.doc

 

 

We’ll gradually be putting together more specific documentation.

Initial thoughts are:

 

Store XAR Documentation

Web Service Tools

Pipeline Documentation

Site Administration Documentation

XNAT Extension Guidelines

XNAT Development Best Practices (Eclipse configuration, code structure, etc).

 

 Is there anything else in particular you would like to see?

david

unread,
May 27, 2008, 11:27:08 AM5/27/08
to xnat_discussion
Hi, Tim:

I am looking forward to those documents.
Right now, I would like to know the right way for the installation and
usage under Windows environment.

I have removed all about version 1.3 which worked for web UI except
for image example.

After I installed the version 1.4b, I can not browse the XNAT. and the
setup does not create the folders for
xdat.archive.location=E:/xnat14/xnat/xnatArchive
xdat.prearchive.location=E:/xnat14/xnat/xnatPreArchive
xdat.cache.location=E:/xnat14/xnat/xnatCache
xdat.project.image.thumbnail.location=E:/xnat14/xnat/xnatCache/
xnatThumbnails
xdat.project.image.lo_res.location=E:/xnat14/xnat/xnatCache/
LoResImages

It deployed web app xnat and copied it into C:\Program Files\Apache
Software Foundation\Tomcat 5.5\webapps
but url http://localhost:8080/xnat does not work.

David

On May 21, 3:16 pm, Timothy Olsen <t...@npg.wustl.edu> wrote:
> In preparation for the eventual release of XNAT 1.4 we are starting to rebuild our documentation.
>
> Some of you may have seen that I moved the instructions for building XNAT 1.4 from CVS to the WIKI.  Please use this from now on (rather than the old discussion group post) as am gradually making tweaks to it.http://nrg.wikispaces.com/XNAT_Source

Jon Moody

unread,
May 27, 2008, 1:06:53 PM5/27/08
to xnat_discussion
Tim:

It would be helpful to have documentation of the xnat.xsd itself that
would clarify the terminology and intent of the various types.

Also, documentation of the Web Services API would be extremely helpful
for those who want to interact with an XNAT site via python scripts or
whatever. I found a page through google at http://nrg.wikispaces.com/XNAT+Web+Services+API
but it's not clear if this page is current or applies to 1.4.
--
Jon

Kevin Archie

unread,
May 27, 2008, 5:18:11 PM5/27/08
to xnat_di...@googlegroups.com
The page you mentioned documents a very early API for a project in early stages of development. It certainly won't be ready for 1.4.

- Kevin
________________________________________
From: xnat_di...@googlegroups.com [xnat_di...@googlegroups.com] On Behalf Of Jon Moody [jbm...@gmail.com]
Sent: Tuesday, May 27, 2008 12:06 PM
To: xnat_discussion
Subject: Re: 1.4 Documentation

Timothy Olsen

unread,
May 27, 2008, 5:29:48 PM5/27/08
to xnat_di...@googlegroups.com
David,

Sorry for the delay in getting back to you.

In 1.4 the archive/prearchive/cache/etc paths are touched/created until they are used. So, I wouldn't expect those folders to be created until you begin upload image files.

Your deployment problem is an oddity. I've never encountered a problem like this. It is either an issue with all of the files not being copied into the webapp, the webapp startup failing, or an issue with your database.

Are their any errors in your TOMCAT_HOME/logs/Catalina.out file? Have you tried deleting the generated webapp folder, running update.bat without the auto deploy variable, and copying the generated war file into the webapp?

Tim

-----Original Message-----
From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com] On Behalf Of david
Sent: Tuesday, May 27, 2008 10:27 AM
To: xnat_discussion
Subject: Re: 1.4 Documentation

david

unread,
May 29, 2008, 11:43:52 AM5/29/08
to xnat_discussion
No report about any error, except for the following, but the version
1.3 works.
+++++++++++
HTTP Status 404 - /xnat
--------------------------------------------------------------------------------
type Status report
message /xnat
description The requested resource (/xnat) is not available.
++++++++++++
Folder xnat is copied in C:\Program Files\Apache Software Foundation
\Tomcat 5.5\webapps\
URL http://localhost:8080/ works for Tomcat page, so setup Tomcat
successfully.
What would be the possible problem with the database?
There are 694 functions, 327 sequences, 371 tables, 117 triggers, and
41 views.

The last modified date of file setup.bat is July 11, 2006.
The last last modified date of file setup.sh is July 13, 2006.

David
> but urlhttp://localhost:8080/xnatdoes not work.
>
> David
>
> On May 21, 3:16 pm, Timothy Olsen <t...@npg.wustl.edu> wrote:
> > In preparation for the eventual release of XNAT 1.4 we are starting to rebuild our documentation.
>
> > Some of you may have seen that I moved the instructions for building XNAT 1.4 from CVS to the WIKI.  Please use this from now on (rather than the old discussion group post) as am gradually making tweaks to it.http://nrg.wikispaces.com/XNAT_Source
>
> > I've put together a first draft of the 1.4 User Guide.  I'll gradually be moving this to the WIKI and expanding it.  In the meantime it's in the discussion group files:http://groups.google.com/group/xnat_discussion/files
> > File Name: XNAT User Guide.doc
>
> > We'll gradually be putting together more specific documentation.
> > Initial thoughts are:
>
> > Store XAR Documentation
> > Web Service Tools
> > Pipeline Documentation
> > Site Administration Documentation
> > XNAT Extension Guidelines
> > XNAT Development Best Practices (Eclipse configuration, code structure, etc).
>
> >  Is there anything else in particular you would like to see?- Hide quoted text -
>
> - Show quoted text -

david

unread,
May 29, 2008, 11:52:03 AM5/29/08
to xnat_discussion
there is error in C:\Program Files\Apache Software Foundation\Tomcat
5.5\logs\catalina.2008-05-26 and others. But I do not understand it.
"SEVERE: Error deploying web application directory xnat"
--------------
May 26, 2008 10:04:38 AM org.apache.coyote.http11.Http11AprProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 26, 2008 10:04:38 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
May 26, 2008 10:04:38 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 578 ms
May 26, 2008 10:04:38 AM org.apache.catalina.core.StandardService
start
INFO: Starting service Catalina
May 26, 2008 10:04:38 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 26, 2008 10:04:38 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 26, 2008 10:05:07 AM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory xnat
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
1853)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
875)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1330)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1209)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1068)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3956)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:
926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:
889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
May 26, 2008 10:05:07 AM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 26, 2008 10:05:07 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 26, 2008 10:05:07 AM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource
May 26, 2008 10:05:07 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 29477 ms
May 26, 2008 3:19:53 PM org.apache.coyote.http11.Http11AprProtocol
pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
May 26, 2008 3:19:53 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
May 26, 2008 3:19:54 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
May 26, 2008 3:19:54 PM org.apache.catalina.startup.HostConfig
undeployApps
WARNING: Error while removing context [/xnat]
java.lang.NullPointerException
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:
884)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:
1191)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
313)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
1055)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
1067)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:
448)
at org.apache.catalina.core.StandardService.stop(StandardService.java:
510)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:
734)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
May 26, 2008 3:19:54 PM org.apache.coyote.http11.Http11AprProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
May 26, 2008 3:19:54 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:11:09 PM org.apache.coyote.http11.Http11AprProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 26, 2008 4:11:09 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:11:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 547 ms
May 26, 2008 4:11:09 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 26, 2008 4:11:09 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 26, 2008 4:11:09 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 26, 2008 4:11:24 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory xnat
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
1853)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
875)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1330)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1209)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1068)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3956)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:
926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:
889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
May 26, 2008 4:11:24 PM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 26, 2008 4:11:24 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:11:24 PM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource
May 26, 2008 4:11:24 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15249 ms
May 26, 2008 4:26:53 PM org.apache.coyote.http11.Http11AprProtocol
pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
May 26, 2008 4:26:53 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:26:54 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
May 26, 2008 4:26:54 PM org.apache.catalina.startup.HostConfig
undeployApps
WARNING: Error while removing context [/xnat]
java.lang.NullPointerException
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:
884)
at
org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:
1191)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1162)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
313)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
1055)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
1067)
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:
448)
at org.apache.catalina.core.StandardService.stop(StandardService.java:
510)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:
734)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
May 26, 2008 4:26:54 PM org.apache.coyote.http11.Http11AprProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
May 26, 2008 4:26:54 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:28:26 PM org.apache.coyote.http11.Http11AprProtocol
init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 26, 2008 4:28:26 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:28:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 610 ms
May 26, 2008 4:28:27 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 26, 2008 4:28:27 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
May 26, 2008 4:28:27 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
May 26, 2008 4:29:09 PM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory xnat
java.lang.UnsupportedClassVersionError: Bad version number in .class
file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
1853)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
875)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1330)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1209)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1068)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:
966)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3956)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:
4230)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:
760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:
740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:
544)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:
926)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:
889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:
492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:
311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
120)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1022)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:
443)
at
org.apache.catalina.core.StandardService.start(StandardService.java:
448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:
700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
May 26, 2008 4:29:09 PM org.apache.coyote.http11.Http11AprProtocol
start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 26, 2008 4:29:09 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 26, 2008 4:29:09 PM org.apache.catalina.storeconfig.StoreLoader
load
INFO: Find registry server-registry.xml at classpath resource
May 26, 2008 4:29:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 42695 ms
-----------------------

David
> but urlhttp://localhost:8080/xnatdoes not work.
>
> David
>
> On May 21, 3:16 pm, Timothy Olsen <t...@npg.wustl.edu> wrote:
> > In preparation for the eventual release of XNAT 1.4 we are starting to rebuild our documentation.
>
> > Some of you may have seen that I moved the instructions for building XNAT 1.4 from CVS to the WIKI.  Please use this from now on (rather than the old discussion group post) as am gradually making tweaks to it.http://nrg.wikispaces.com/XNAT_Source
>
> > I've put together a first draft of the 1.4 User Guide.  I'll gradually be moving this to the WIKI and expanding it.  In the meantime it's in the discussion group files:http://groups.google.com/group/xnat_discussion/files
> > File Name: XNAT User Guide.doc
>
> > We'll gradually be putting together more specific documentation.
> > Initial thoughts are:
>
> > Store XAR Documentation
> > Web Service Tools
> > Pipeline Documentation
> > Site Administration Documentation
> > XNAT Extension Guidelines
> > XNAT Development Best Practices (Eclipse configuration, code structure, etc).
>

Timothy Olsen

unread,
May 29, 2008, 11:51:21 AM5/29/08
to xnat_di...@googlegroups.com
I wouldn't expect a database problem to result in the problems you're getting. That was more of a wild guess. When the database is empty, or corrupt it can cause odd results when XNAT tries to query it. However, that usually displays a different error message (which specifically references the database).

The only time I've encountered this error before is when the webapp is not actually deployed to the webapps directory. Did you try the war method?

To try the war:
Delete the TOMCAT/webapps/xnat directory.
From XNAT_HOME run: bin/update.sh
Copy the generated war file into the webapp:
XNAT_HOME/deployments/xnat/target/xnat.war to TOMCAT/webapps/xnat.war

Timothy Olsen

unread,
May 29, 2008, 11:58:37 AM5/29/08
to xnat_di...@googlegroups.com
Is the java version being used to setup the XNAT install different from the version being used by your TOMCAT server? The bad version number message usually relates to using an older java vm to run code that was compiled under a more recent java version.

If you are running Tomcat via the GUI manager there is an option in the properties somewhere for setting the java version. A good way to see if this is the issue would be to start tomcat via its bin/startup.bat from within the same terminal you used to run the setup/update scripts. This would guarantee that the same java version was being used for both.

david

unread,
Jun 2, 2008, 5:16:51 PM6/2/08
to xnat_discussion
Thanks, Tim,

It is the problem on the Java version.
I responsed to you last week, but seems that it was not posted.

Another question about what you comment above "In 1.4 the archive/
prearchive/cache/etc paths are touched/created until they are used.
So, I wouldn't expect those folders to be created until you begin
upload image files. "

When I login as admin, the home displays with many empty textboxes:
---------------------------
Site ID :
Site URL : http://localhost:8080
Site Admin Email Address : filled
SMTP Host (Server) : filled
Require Login to access site: true
Enable new registrations to access site immediately : true
Default Archive Location :/
Default Prearchive Location :
Default Cache Location :
Default Build Location :
FTP Location :
Pipeline Installation Location :E:\xnat14\xnat/pipeline\
-------------------------
Whenever I try to fill them out and save, it will not work. That is,
they keep the original contents.

When upload images, I can only upload zip file but only on the falf
way, the upload process stops and stores a part of file (24%)in the
folder: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps
\xnat.
Rather than what I specified in build.properties file,
xdat.archive.location=E:/xnat14/xnat/xnatArchive.

The upload error message: Error: Upload Failed. Please retry at a
later time or contact technical support.

David
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> 1853)
>         at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> 875)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> 1330)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> 1853)
>         at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> 875)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> 1330)
>         at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> 120)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> 1022)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>         at
>
> ...
>
> read more »- Hide quoted text -

Timothy Olsen

unread,
Jun 2, 2008, 5:23:31 PM6/2/08
to xnat_di...@googlegroups.com
David,

When you attempt to modify the paths in the Default Settings dialog, and it fails, does it log any errors (TOMCAT_HOME/webapp/xnat/logs/*.log)?

Tim


Thanks, Tim,

David

> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> 1853)
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> 875)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1330)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> 1853)
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> 875)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> 1330)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

david

unread,
Jun 3, 2008, 10:42:09 AM6/3/08
to xnat_discussion
Hi, Tim:

I checked this folder. There is no log file dated in June.

When I click SAVE button, it postbacks the original setting without
any other information.

Dabin
> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> > 1853)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> > 875)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > 1330)
> >         at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:

Timothy Olsen

unread,
Jun 3, 2008, 11:39:29 AM6/3/08
to xnat_di...@googlegroups.com
Something is still amiss in your installation. The log files are generated daily. If there aren't any there, that is a sign of a problem. Without error logs, it is difficult to predict the issue. Is there a chance that the user account that is running Tomcat doesn't have permission to write to the logs directory?

Tim


Hi, Tim:

Dabin

> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> > 1853)
> > at
> > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> > 875)
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> > 1330)
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

david

unread,
Jun 3, 2008, 12:09:02 PM6/3/08
to xnat_discussion
It is possible that the problem is the path access
permision to those folders.

What does it mean by Default Build Location? Is it the path to xnat.
For example: E:/xnat14/xnat

David
> > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> > > 1853)
> > >         at
> > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> > > 875)
> > >         at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > 1330)
> > >         at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> > > 120)
> > >         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
> > > 1055)
> > >         at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:
> > > 1067)
> > >         at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:
> > > 448)
> > >         at org.apache.catalina.core.StandardService.stop(StandardService.java:
> > > 510)
> > >         at org.apache.catalina.core.StandardServer.stop(StandardServer.java:
> > > 734)
> > >         at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
> > >         at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
>

Timothy Olsen

unread,
Jun 3, 2008, 12:18:10 PM6/3/08
to xnat_di...@googlegroups.com
The build path is unused at present. It was integrated in the development version in anticipation of its use in pipeline/workflows. But, that hasn't taken shape yet. It is currently ignored everywhere except the Default Settings page.

Most of the paths specified in that page are ignored until they are used. The only path which is used in the page submit is the cache path (where your settings are exported for use by other XNAT tools in development).

Any errors thrown in the process should be logged to the TOMCAT_HOME/webapp/xnat/logs directory. The fact that it isn't logging anything there is a problem.

Have you tried installing XNAT on a different machine to confirm whether or not these issues are limited to your current setup? Perhaps, that would shed some light on what is going on here.

Tim

David

> > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> > > 1853)
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> > > 875)
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> > > 1330)
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

> > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

david

unread,
Jun 3, 2008, 12:40:48 PM6/3/08
to xnat_discussion
After changing the permision by unchecking read only (but it always
sets all for system) on E:\xnat14\xnat and fill out all empty
textboxes (no mater they are reasonable or not), Save button works and
web server returns a new page that seems to be expected. Only one
folder for caching is created, and 4 log files dated on 08-06-02
(yesterday) are displayed for xdat, access, velocity, and turbine in
TOMCAT_HOME/webapp/xnat/logs. No log files for today (the date and
time on this machine is 08-06-03). Before, only log files displayed
are dated in May. Funny! Did they stay somewhere else, and then came
to where they are supposed to live?


David
> > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> > > > 1853)
> > > >         at
> > > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> > > > 875)
> > > >         at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > > 1330)
> > > >         at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:

Timothy Olsen

unread,
Jun 3, 2008, 12:45:14 PM6/3/08
to xnat_di...@googlegroups.com
The active log file for today would not include the timestamp in the name. For example, today's access log would be called 'access.log' until tomorrow, when it would be moved to 'access.log.08-06-03'.

Tim


David

> > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> > > > 1853)
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> > > > 875)
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> > > > 1330)
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

david

unread,
Jun 5, 2008, 12:08:19 PM6/5/08
to xnat_discussion
Thanks, I got it.

I have other questions:

1. In your XNAT User Guide, you say that XNAT is built on a core XML
Schema model which represents the common structure of neuro-imaging
data. What is the file name of the core XML Schema and where is it?

2. Could you give me a step by step scenario for uploading image files
from the scratch (suppose that I use xnat via the web browser at first
time) so
that I find a right way in the process and figure out whether I have
installation problem or I
am doing something wrong or did the process in wrong order?

For example, to upload images, we should do the following in order
1) login and home page displayed
2) fill out some empty textboxes on home page (What is FTP location?
FTP server, or directory for FTP data)
3) Create subject: fields need to fill in and field data type (e.g.,
what is
ID type, number or string?)
4) Zip a set of dicom images in some way (including DICOM folder and
DICOMDIR file)
5) and so on..



David
> > > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> > > > > 1853)
> > > > >         at
> > > > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.ja­va:
> > > > > 875)
> > > > >         at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > > > 1330)
> > > > >         at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja­va:
> > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo­rt.java:
> > > > > 120)
> > > > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > > > > 1022)
> > > > >         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> > > > >         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:
> > > > > 1014)
> > > > >         at
>

Timothy Olsen

unread,
Jun 5, 2008, 1:50:27 PM6/5/08
to xnat_di...@googlegroups.com
1. core XML Schema is 'xnat.xsd'. It is located in your projects folder at XNAT_HOME/projects/xnat/src/schemas/xnat/xnat.xsd. There are some other xml schema in that schemas folder, but xnat.xsd is the core xnat schema.

2. test installation instructions

Have you tried steps 11 - 13 on the wiki installation guide? http://nrg.wikispaces.com/XNAT_Source
They were intended to walk you through that process. Is there anything more you are looking for? I can add it to that page.

Tim


Thanks, I got it.

I have other questions:

David

> > > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:
> > > > > 1853)
> > > > > at
> > > > > org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:
> > > > > 875)
> > > > > at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
> > > > > 1330)
> > > > > at
> > > > > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:

> > > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:

david

unread,
Jun 6, 2008, 11:38:52 AM6/6/08
to xnat_discussion
Step 13 has not been completely successful. I can not view them.
Maybe, I need to create something else first. Anyway, before archive
the sample1.zip from prearchive, what I should do (create
subject, ...)? By the way, In the web page of xnat_source, the sample
links point to the same file sample1.zip.

I have my DICOM data, say, in folder dicomdata which contains folder
DICOM and file DICOMDIR. I zip dicomdata into dicomdata.zip, then I
fails to upload this zip file. Sometimes, upload fails at the state:
upload 100% but extract/review 35%.

I think that the path to FTP is set incorrect (not for server, just
for data). How can I reset this path?

Another problem on creating subject. Before setup paths, when I create
a subject, there are ID, name, birthday, and so on on the web form.
Right now, there are only ID field and education years and socia...

David
> > > > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassL­oader.java:
> > > > > > 1853)

Timothy Olsen

unread,
Jun 6, 2008, 11:54:36 AM6/6/08
to xnat_di...@googlegroups.com
You should be able to create a subject from within the MR archiving dialog. The place where you would reference a pre-created subject, also has an option for creating a subject. Many users who aren't doing longitudinal research, create the subject from this page and consider it as part of the MR archiving sequence. Or, you have the option of precreating the subject from the link on the Project report (especially important for longitudinal datasets).

Perhaps our DICOM tools are having trouble with your DICOM files. I would recommend downloading DICOMBrowser form the NRG site: http://nrg.wustl.edu/projects/DICOM/DicomBrowser.jsp. It uses the same libraries to process DICOM. If it can read the DICOM, then the webapp should be able to.

The FTP path should not impact anything (unless you've separately setup the XNAT FTP Server). You should be able to put a dummy value in that field, and then ignore it.

The fields which show up in the insert/edit subject dialogs are determined by the field groups you select in the 'Manage Custom Variables' section of the Project report.

David

> > > > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:

david

unread,
Jun 6, 2008, 12:43:18 PM6/6/08
to xnat_discussion
Thanks.

I have a basic question which confuss me.

There are a lot of concepts in using xnat, such as project, data type,
subject, custom variable, session, and so on.
What are the relationships between them? If there is a diagram for
those relationships, it is very helpful. for example, we know what we
should do first before do something.

David

Timothy Olsen

unread,
Jun 6, 2008, 12:46:22 PM6/6/08
to xnat_di...@googlegroups.com
Thanks for your question. More thorough documentation is in the works. It will be available before XNAT 1.4 is officially released. But, we have a few more features to work out, before turning completely to documentation.

If you have a more specific question, I'd be happy to answer it now.

david

unread,
Jun 6, 2008, 1:39:03 PM6/6/08
to xnat_discussion
Tim

Question on archiving sample 1: the following are what I did in order.

1. I created project: first project with data types: Subject:checked,
PETS: checked, MRIs: checked, CTs: checked,
and accessibility: protected. Abbreviation: FP

2. Go to Project tab and click Upload Images button:

Upload sample1.zip successful.
3. Go to View perarchive: under Session, click Sample_ID_1_MR.

4. Session summary page: try to archive the sample1.
Fill out form:
Projects IDs:
ID: 1
Subject Details:
Option 2: create a new subject
ID: 1
EducationYears: 12
Socioeconomic Status: 1
Click SAVE

Session Details: not change the default

Scan Details: keep the default and select quality of Usable
and t2_spc_1mm_p2 type: SPC

Click button Archive
Get error:
+++++
HTTP Status 404 - /app/template/
XDATScreen_report_xnat_mrSessionData.vm/search_field/
xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
xnat:mrSessionData/project/FP

--------------------------------------------------------------------------------

type Status report

message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
search_element/xnat:mrSessionData/project/FP

description The requested resource (/app/template/
XDATScreen_report_xnat_mrSessionData.vm/search_field/
xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
xnat:mrSessionData/project/FP) is not available.


--------------------------------------------------------------------------------

Apache Tomcat/5.5.26
++++++

David

Timothy Olsen

unread,
Jun 6, 2008, 1:51:08 PM6/6/08
to xnat_di...@googlegroups.com
It appears your Site URL may not be configured properly (in the Default Settings). The archiving sequence ends with a redirect to the report page (to prevent re-submits of the Insert action). The redirect uses the Site URL.

In a default install, you should set the SITE URL to http://localhost:8080/xnat. The wiki doc is a little less forceful, stating you can 'probably' use http://localhost:8080/xnat. That is because some users may configure tomcat in a way which changes the URL. For example, you could substitute localhost for your machine name (to make it accessible from other machines). You could remove the port number, if you configure Apache (or something else) to route requests from port 80 to Tomcat. You could remove the /xnat webapp specification, if you configure Tomcat to route all requests to the XNAT webapp. But in a vanilla, non-customized Tomcat install you should use http://localhost:8080/xnat.

To modify this, login as the admin user. Click 'More Options' under Administration. Click 'Set Default Settings'. Change the Site URL appropriately.

david

unread,
Jun 6, 2008, 1:55:02 PM6/6/08
to xnat_discussion
More information.

Even though there is an error in the above process for archiving
images, there are some things happened.

Go back to Projects tab and select First project, I can see one more
record for MRIs and subject 1.
Click on Subject ID: 1
Get form Subject details: 1
There is an experiments table on the bottom. Expriment: MR session
Click on MR Session, the form of "MR session: 1" is displayed, and
there is a scan summary.

Scan have three records numbered 4, 5, 6. For example, number 4
content includs the following but there is no image (stack snailshot).
----
Quality usable
Image
Vox. Res. 1.0, 1.0, 1.0
FOV 256 x 256
TR 2400.0
TE 3.08
TI 1000.0
Flip 8
Sequence *tfl3d1_ns
------
Click on View Images, a window pops up but no image display but
session information.

David
> ---------------------------------------------------------------------------­-----
>
> type Status report
>
> message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> search_element/xnat:mrSessionData/project/FP
>
> description The requested resource (/app/template/
> XDATScreen_report_xnat_mrSessionData.vm/search_field/
> xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> xnat:mrSessionData/project/FP) is not available.
>
> ---------------------------------------------------------------------------­-----

Timothy Olsen

unread,
Jun 6, 2008, 1:59:46 PM6/6/08
to xnat_di...@googlegroups.com
When you view the MR Session Report, and it lists the scans, are there file counts and sizes for the files in those scans? Are they accurate?

Tim

-----Original Message-----
From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com] On Behalf Of david
Sent: Friday, June 06, 2008 12:55 PM
To: xnat_discussion
Subject: Re: 1.4 Documentation


More information.

David

> --------------------------------------------------------------------------------


>
> type Status report
>
> message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> search_element/xnat:mrSessionData/project/FP
>
> description The requested resource (/app/template/
> XDATScreen_report_xnat_mrSessionData.vm/search_field/
> xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> xnat:mrSessionData/project/FP) is not available.
>

> --------------------------------------------------------------------------------

david

unread,
Jun 17, 2008, 3:51:18 PM6/17/08
to xnat_discussion
Hi, Tim:

I was back from vacation.

I have used Site URL: http://localhost:8080/xnat
When I view images, only summary is displayed in the bottom box. The
top area for images is "Red cross".

At Archive stage, I got error but files are in the directory.

David

On Jun 6, 1:51 pm, Timothy Olsen <t...@npg.wustl.edu> wrote:
> It appears your Site URL may not be configured properly (in the Default Settings).  The archiving sequence ends with a redirect to the report page (to prevent re-submits of the Insert action).  The redirect uses the Site URL.
>
> In a default install, you should set the SITE URL tohttp://localhost:8080/xnat.  The wiki doc is a little less forceful, stating you can 'probably' usehttp://localhost:8080/xnat.  That is because some users may configure tomcat in a way which changes the URL.  For example, you could substitute localhost for your machine name (to make it accessible from other machines).  You could remove the port number, if you configure Apache (or something else) to route requests from port 80 to Tomcat.  You could remove the /xnat webapp specification, if you configure Tomcat to route all requests to the XNAT webapp. But in a vanilla, non-customized Tomcat install you should usehttp://localhost:8080/xnat.
> ---------------------------------------------------------------------------­-----
>
> type Status report
>
> message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> search_element/xnat:mrSessionData/project/FP
>
> description The requested resource (/app/template/
> XDATScreen_report_xnat_mrSessionData.vm/search_field/
> xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> xnat:mrSessionData/project/FP) is not available.
>
> ---------------------------------------------------------------------------­-----

david

unread,
Jun 17, 2008, 4:39:31 PM6/17/08
to xnat_discussion
Tim,

I have used site URL: http://localhost:8080/xnat.
But I do not know why the archiving generated error but images there,
and images can not displayed.

David

On Jun 6, 1:51 pm, Timothy Olsen <t...@npg.wustl.edu> wrote:
> It appears your Site URL may not be configured properly (in the Default Settings).  The archiving sequence ends with a redirect to the report page (to prevent re-submits of the Insert action).  The redirect uses the Site URL.
>
> In a default install, you should set the SITE URL tohttp://localhost:8080/xnat.  The wiki doc is a little less forceful, stating you can 'probably' usehttp://localhost:8080/xnat.  That is because some users may configure tomcat in a way which changes the URL.  For example, you could substitute localhost for your machine name (to make it accessible from other machines).  You could remove the port number, if you configure Apache (or something else) to route requests from port 80 to Tomcat.  You could remove the /xnat webapp specification, if you configure Tomcat to route all requests to the XNAT webapp. But in a vanilla, non-customized Tomcat install you should usehttp://localhost:8080/xnat.
> ---------------------------------------------------------------------------­-----
>
> type Status report
>
> message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> search_element/xnat:mrSessionData/project/FP
>
> description The requested resource (/app/template/
> XDATScreen_report_xnat_mrSessionData.vm/search_field/
> xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> xnat:mrSessionData/project/FP) is not available.
>
> ---------------------------------------------------------------------------­-----

david

unread,
Jun 19, 2008, 5:05:09 PM6/19/08
to xnat_discussion
Some info on the files, for example
----
MR Session: 1

Active Processes
xnat_tools/Transfer: Queued Start Time: 2008-06-06 13:36:41.0

Processing Exception

Accession #: FP_2_MR_1
Date: 2006-12-14
Scanner: MEDPC
Subject: 1
Gender:
Handedness:
Age: --



Scan Summary


Scan Type Archive Note
4 MPRAGE 177 files, 12.15Mb
Quality usable
Image
Vox. Res. 1.0, 1.0, 1.0
FOV 256 x 256
TR 2400.0
TE 3.08
TI 1000.0
Flip 8
Sequence *tfl3d1_ns

5 MPRAGE 177 files, 12.01Mb
Quality usable
Image
Vox. Res. 1.0, 1.0, 1.0
FOV 256 x 256
TR 2400.0
TE 3.08
TI 1000.0
Flip 8
Sequence *tfl3d1_ns

6 SPC 177 files, 9.94Mb
Quality usable
Image
Vox. Res. 1.0, 1.0, 1.0
FOV 256 x 256
TR 3200.0
TE 455.0
Flip 120
Sequence *spc3d1_278ns


-------------

but there is no snapshot for images. How do I know if these are
correct?


However, I can download images as zip file which size = 32 mb with
name FP_2_MR_1_6_19_2008_16_53_10.zip

David
> > ---------------------------------------------------------------------------­-----
>
> > type Status report
>
> > message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> > search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> > search_element/xnat:mrSessionData/project/FP
>
> > description The requested resource (/app/template/
> > XDATScreen_report_xnat_mrSessionData.vm/search_field/
> > xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> > xnat:mrSessionData/project/FP) is not available.
>
> > ---------------------------------------------------------------------------­-----

Timothy Olsen

unread,
Jun 19, 2008, 5:16:26 PM6/19/08
to xnat_di...@googlegroups.com
David, we updated the xnat_1_4b_061008 with a new image viewer jar today. This could fix your issue.

To incorporate the change...

cd $XNAT_HOME
cvs update
cp plugin-resources/webapp/xnat/applet/PlexiViewerLite.jar projects/xnat/src/applet/
bin/update.sh -Ddeploy=true


Then retry the image viewer.

Tim


Tim,

David

> --------------------------------------------------------------------------------


>
> type Status report
>
> message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> search_element/xnat:mrSessionData/project/FP
>
> description The requested resource (/app/template/
> XDATScreen_report_xnat_mrSessionData.vm/search_field/
> xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> xnat:mrSessionData/project/FP) is not available.
>

> --------------------------------------------------------------------------------

david

unread,
Jun 23, 2008, 11:53:11 AM6/23/08
to xnat_discussion
Thank you, I will try it.

But In the previous version, I was confussed the Java Console output
with PlexiViewerLite.jar, when I click View Images.
PlexiViewerLite.jar is located in C:\Program Files\Apache Software
Foundation\Tomcat 5.5\webapps\xnat\applet.
However, Java Console output indicate that class
org.nrg.plexiViewer.lite.applet.PlexiViewerApplet not found.

David


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

load: class org.nrg.plexiViewer.lite.applet.PlexiViewerApplet not
found.
java.lang.ClassNotFoundException:
org.nrg.plexiViewer.lite.applet.PlexiViewerApplet
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
load: class org.nrg.plexiViewer.lite.applet.PlexiViewerApplet not
found.
java.lang.ClassNotFoundException:
org.nrg.plexiViewer.lite.applet.PlexiViewerApplet
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
> > ---------------------------------------------------------------------------­-----
>
> > type Status report
>
> > message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> > search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> > search_element/xnat:mrSessionData/project/FP
>
> > description The requested resource (/app/template/
> > XDATScreen_report_xnat_mrSessionData.vm/search_field/
> > xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> > xnat:mrSessionData/project/FP) is not available.
>
> > ---------------------------------------------------------------------------­-----

david

unread,
Jun 23, 2008, 12:41:02 PM6/23/08
to xnat_discussion
Tim,

I did it by using Tortoise Update and successfully perform the
following commands:
>copy plugin-resources/webapp/xnat/applet/PlexiViewerLite.jar projects/xnat/src/applet/
> bin/update.bat -Ddeploy=true


However, we have the same problem.
The Java Console output from popup is shown in the previous post.
-------------

David
> > ---------------------------------------------------------------------------­-----
>
> > type Status report
>
> > message /app/template/XDATScreen_report_xnat_mrSessionData.vm/
> > search_field/xnat:mrSessionData.id/search_value/FP_2_MR_1/
> > search_element/xnat:mrSessionData/project/FP
>
> > description The requested resource (/app/template/
> > XDATScreen_report_xnat_mrSessionData.vm/search_field/
> > xnat:mrSessionData.id/search_value/FP_2_MR_1/search_element/
> > xnat:mrSessionData/project/FP) is not available.
>
> > ---------------------------------------------------------------------------­-----
Reply all
Reply to author
Forward
0 new messages