• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Image problems

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Anywhere where I use images (when registering anew user, setting a personal image) I get an exception.

What is wrong with it? I have taken a look around and I see that there were many problems associated with images. However, I am not sure what that is.




Thank you
[originally posted on jforum.net by AnotherGuest]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the problem is access to graphic libraries.

If you are using Tomcat try adding -Djava.awt.headless=true on your catalina options.

Without this options on unix, graphics libraries are not available if your computer has X installed (or running I don't remember)
[originally posted on jforum.net by pala]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And Linux systems need at least the X11 base libraries loaded ...

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have Feodra Core 5 installed.

I'll add -Djava.awt... in my catalina options and see how that works.

How do I load X11 libraries? I am not sure what those are.

Thank you.
[originally posted on jforum.net by AnotherGuest]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

AnotherGuest wrote:Hi,

I have Feodra Core 5 installed.

I'll add -Djava.awt... in my catalina options and see how that works.

How do I load X11 libraries? I am not sure what those are.

Thank you.


X11 is a graphical "windowing" application/library for Linux systems. Do a Google search for X11 and Fedora .... you will find links to RPMs to install for your version of Fedora. Or, if you are familiar with using the RPM installer to search for packages to install, search for X11 Base Library.

Since you are running it on a server, you don't need the entire X11 system/setup, but you do need the base libraries to handle and process images.

[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
I'll try that out and see how that works.

[originally posted on jforum.net by AnotherGuest]
 
when your children are suffering from your punishment, tell your them it will help them write good poetry when they are older. Like this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic