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]
Pierre-Yves JALLUD <[email protected]>
05/07/2009 06:57 AM
To
cc
fedora-commons-users <[email protected]>
Subject
Re: [Fedora-commons-users] [Fedora-commons-developers] A ImageManipulation
that kill my fedora daemon!
When I saied I "re-installed my fedora server", I talked about the
fedora-commons software. I don't manage the computer but I manage the
fedora-commons software.
Below the result of the lsb_release -a:
LSB Version:
:core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release: 5.3
Codename: Tikanga
About the X server... the log message talk about X connection, that's
true. But I have another server where a fedora-commons is running
without X server, and the imagemanip servlet is working correctly. Maybe
is it a stupid supposition, but the X server could be provided by the
tomcat server... or something like that...
The server where the imagemanip servlet is working correctly is:
LSB Version:
:core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: ScientificSL
Description: Scientific Linux SL release 4.5 (Beryllium)
Release: 4.5
Codename: Beryllium
But I want to insiste to the fact that the servlet was working on the
computer... but I don't know what has been done ... and the servlet
doesn't work any more... I know that you can't guess what happened,
especially with the informations I gave to you... but if someone has
allready had this problem, he propably could give me informations... if
he solved it.
Pierre-Yves
arne anka a écrit :
> hm, so far it looks like the imagemanip needs an X display to perform
its
> tasks.
> i read "re-installed my fedora server" as reinstalled fedora itslef --
but
> apparently you menat the whole server.
> in that case you most likely missed to install an X server (something
like
> xvfb or even xserver-xorg-video-dummy -- though i don't know how "dummy"
> that one is).
>
> what kind of server is that and what do you do with it? what os was/is
> installed?
>
>
------------------------------------------------------------------------------
> 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
>
>
[attachment "pierre-yves_jallud.vcf" deleted by David
Kennedy/Libraries/Provost/Academic/Univ/Duke]
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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