Hi Christopher,
You’ll want to make sure that *all* the files in webapps are readable by the user that is executing Tomcat. For more details check here: https://wiki.xnat.org/display/XNAT16/Configuring+the+XNAT+Environment
If that doesn’t fix it, let’s check the output from your Java console when the applet is attempting to load. To make the Java console appear, launch your Java Control Panel. On Ubuntu this would typically be JAVA_HOME/bin/jcontrol (JAVA_HOME being the JRE that your web browser is using). On the Advanced tab, under Java console, check “Show console”. Also under Debugging, check “Enable tracing” and “Enable logging”. Restart your web browser and attempt to upload some images again. When the applet attempts to launch, the console should pop up with some output in it, which you can post here.
Hope that helps.
Evan
From: xnat_di...@googlegroups.com [mailto:xnat_di...@googlegroups.com]
On Behalf Of Christopher Coello
Sent: Wednesday, October 17, 2012 2:54 AM
To: xnat_di...@googlegroups.com
Subject: [XNAT Discussion] UploadAssistantApplet problem
Dear XNAT community,
I have partially deployed XNAT 1.6 on Ubuntu 12.04. All the installation procedure went really smoothly. I'm now testing the client functionality, and I have been confronted to a first dead-end.
When trying to upload an image, a pop-up window appears calling the applet org.nrg.upload.ui.UploadAssistantApplet.
First I got the error already reported by Alex (28/4/11) :
load: class org.nrg.upload.ui.UploadAssistantApplet not found
I manually checked the presence of the file in the Apache webapp folder as suggested by Kevin. But I saw that permission of files was restricted to read write only for admin.
So I change it to chmod 755 UploadAssistantApplet.jnlp
Now the applet seems to be found, but the screen is all white except the little logo of XNAT on the bottom (see attached file).
What to do now ? Any help would be welcome.
Best,
--
Christopher Coello, Ph.D.
Preclinical PET/CT unit
http://www.med.uio.no/imb/english/research/about/infrastructure/pet/
Institute of Basic Medical Sciences
Faculty of Medicine, University of Oslo
tel. +4745154516
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/xnat_discussion/-/xMKADYdiJQQJ.
To post to this group, send email to
xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to
xnat_discussi...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/xnat_discussion?hl=en.
Hello,I am having the same problem. I installed XNAT on a centos 6.2 virtual machine to test it out, but the applet crashes with the same error. Here is the console trace:Java Plug-in 1.6.0_33Using JRE version 1.6.0_33-b03-424-11M3720 Java HotSpot(TM) 64-Bit Server VMUser home directory = /Users/pauly----------------------------------------------------c: clear console windowf: finalize objects on finalization queueg: garbage collecth: display this help messagel: dump classloader listm: print memory usageo: trigger loggingq: hide consoler: reload policy configurations: dump system and deployment propertiest: dump thread listv: dump thread stackx: clear classloader cache0-5: set trace level to <n>----------------------------------------------------load: class org.nrg.upload.ui.UploadAssistantApplet not found.java.lang.ClassNotFoundException: org.nrg.upload.ui.UploadAssistantAppletat sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:195)at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:249)at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:179)at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:160)at java.lang.ClassLoader.loadClass(ClassLoader.java:247)at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:690)at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3045)at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1497)at java.lang.Thread.run(Thread.java:680)Exception: java.lang.ClassNotFoundException: org.nrg.upload.ui.UploadAssistantAppletThere is no problem with jar files copying from xnat tree to the tomcat tree, and all the files in the tomcat tree are R/W by user tomcat.Thanks!
Paul
To view this discussion on the web visit https://groups.google.com/d/msg/xnat_discussion/-/hn7Kl-OwC3UJ.
To post to this group, send email to xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/xnat_discussion/-/dDh9IjcR52UJ.
To post to this group, send email to xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.
Re: the Java 7 build thing, I don’t think that’s it. Even when built with the 1.7 JDK, source and target compatibility is set to Java 6. I’m not even certain which compiler was used to build the latest version, since it may have been built on a different machine depending on which developer did the last build and pushed the code. But I can run it on Java 6 on my Windows machine with no issue, so I don’t think that’s the problem.
As far as getting things to work with Chrome, I’m really not sure what to say about that. My Chrome tells me that I don’t have the Java plugin installed at all, which is consistent with what I understand about the 32-bit browser not being at all aware of the 64-bit Java installation. It’s really hard to say, though, because it may depend on what order things got installed (e.g. installed a JDK, then a browser, then a JDK, etc.) which can affect how the plugin is configured within the browser and also because the configuration of the Java plugin within the browser is really opaque. It doesn’t appear on the normal plugin page, for example, there are no options that can be set within the browser itself, etc.
At this point, there are no other upload options outside of applets directly in XNAT. Believe me, it’s precisely because of issues like this that we’d love to have something else, but there are two primary issues that keep us tied to applets:
· A robust DICOM metadata management API in dcm4che that simply doesn’t exist in any other client technology that has easy cross-platform execution capabilities (i.e. there’s no dcm4flash or the like)
· Signed applets are one of the few ways we can operate outside of a tightly restricted sandbox and be able to browse your local hard drive
Depending on your network configuration, you could consider setting up the XNAT DICOM SCP receiver so that you can do C-STOREs from your scanner and PACS to XNAT. Generally, though, this only works with short-haul transports (like, the scanner is in the same building as the XNAT server).