Well well well... David, you gave me a good track. I have already not
understand what are the consequences... but I will tell you what I have
done:
I wanted to restart the computer but a colleague told me to try to
launch a Xterm to see if Xcommand could be passed. So I have started a
xserver on my laptop (on windows). I have launched an Xterm thrue my ssh
session... and the Xterm has been launched.Then I have tried the
ImageManipulation servlet with a web-brower (just after I launched the
Xterm...) ... and Ô miracle, the image appears and my tomcat server were
still runing.
...
But I wanted to do more tests... I have killed my Xserver (on my laptop)
and I have tried again the ImageManipulation servlet with my
web-browser... and I didn't have the image and the tomcat server fell
down...
:-\
Is there some woodoo's spirits in fedora-commons or can someone explain
where is the problem of my manipulation? Well I understand that my
problem is around the xserver... bu what is missing in my configuration?
Greeeeetings
Pierre-Yves
PS: sorry to leave. I won't respond before monday. Bye.
David Kennedy a écrit :
I had this same problem and "resolved" it by allowing access to the
display for the user I started tomcat with. I did this with 'xauth
add'. I don't know if this is the right solution, there is probably a
better one.
I think the problem has to do with this command in
ImageManipulation.java:
new ImagePlus("temp", img)
From the ImageJ api documentation:
*ImagePlus*
public *ImagePlus*(java.lang.String title,
java.awt.Image img)
Constructs an ImagePlus from an Image or BufferedImage. The first
argument will be used as the title of the window that displays the
image. Throws an IllegalStateException if an error occurs while
loading the image.
This may provide a clue to why ImageManipulation wants to use X
Dave
-----
David Kennedy
Systems Programmer
Perkins Library, Duke University
(919) 613-6831
[email protected]
begin:vcard
fn:Pierre-Yves JALLUD
n:JALLUD;Pierre-Yves
email;internet:[email protected]
tel;work:04-72-69-52-79
url:http://cc.in2p3.fr
version:2.1
end:vcard
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users