X11 server problem

Product:           Java Web Application
Operating system:     RedHat Linux 7.1
Web Server:     Tomcat
Application server:     Tomcat 3.2.4
Database server:     MySQL 3.23.49
Java Architecture:     JSP (presentation) + Java Bean (Business logic)
We are doing image annotation in some of our Java beans using Java AWT package with the following code. When we are running this code on a RedHat Linux 7.1 web server, we get "X11 server error" which says that the display variable can't have a value of :0. When we try to set the value for using xhost command it says that it is unable to set the value. I have logged is as the root. The same command runs successfully in local RedHat Linux 7.1 machine and the application is running without any problem. What could be wrong? Can any other parameter affect this? If, so how to set them? Or do we need to istall any other packages or patches?
f_obj_frame = new Frame();
f_obj_frame.addNotify();
          MediaTracker mt=new MediaTracker(f_obj_frame);
          image=Toolkit.getDefaultToolkit().getImage(f_str_source_path);
          mt.addImage(image,0);
          mt.waitForAll();
          f_int_width = image.getWidth(f_obj_frame);
          f_int_height = image.getHeight(f_obj_frame);
          offscreen = f_obj_frame.createImage(f_int_width,f_int_height);
          f_obj_graphics = offscreen.getGraphics();
          f_obj_graphics.drawImage(image,0,0,f_obj_frame);
f_obj_graphics.setColor(f_obj_font_color);
f_obj_graphics.setFont(f_obj_font_style);
          setXYPosition();
f_obj_graphics.drawString(f_str_annotate_text,f_int_Xpos,f_int_Ypos);
encodeGif();
          mt.removeImage(image);
     f_obj_frame.removeNotify();
          mt=null;

You seem to have a problem with your DISPLAY environment variable.
Do echo $DISPLAY to see what the DISPLAY is set to.

Similar Messages

  • Installing 11g on Linux X11 server problem

    Hi,
    when I launche Runinstaller on Linux Xubuntu to install DB 11 g I have :
    Checking swap space: must be greater than 150 MB. Actual 6165 MB Passed
    Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY variable is set. Failed <<<<
    Some requirement checks failed. You must fulfill these requirements before
    continuing with the installation,at which time they will be rechecked.
    Continue? (y/n) [n] Y
    Rechecking installer requirements....
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-09-26_04-15-32PM. Please wait ...oracle@us-xubuntu:/mnt/source/labtop/oradata/source_oracle_11g/database$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.87' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
    Many thanks for your help.

    That's right, but if you are directly on the console, then :0.0 is enough. The xhots + command allows any client to use the display to launch its Xterm clients, such as OUI from oracle.
    ~ Madrid

  • Solaris 10 for x88 install issue: cannot start X11 server

    AFter fixing my "can't set locale" problem I am moving onto the "Server for display :0 can't be started" issue.
    Checking /etc/dtc/Xerrors yields:
    1) error (PID 380) : Server unexpectedly died
    2) error (PID 380) : Server for display :0 can't be started
    I've tried running kdmconfig and setting XSun not XOrg. I am using a 2 channel KVM with a 3 button mouse (the only PS2 mouse I have lying around...) but it seems to pick it up without any problems. But, editing the config and saving (F4...) doesn't work. The changes don't commit and running kdmconfig again I see the choices have not changed.
    Also, I notice this message when I try to boot up:
    svccfg (/tmp/kdm_svccfg_cmds, ;ine 1): Pattern 'application/x11/x11-server' doesn't match any instances or services.
    Feel free to reply direct to me g.h.lawrence<at>gmail.com if you wish. Thanks in advance for any and all replies.
    Greg

    Hello Greg,
    unfortunately you're posting in the wrong forum.
    These forums are for Sun Hardware, you have a configuration problem with a piece of software - the x-server. Please post in one of these forums
    Solaris on x86
    http://forum.sun.com/jive/forum.jspa?forumID=291
    Installation
    http://forum.sun.com/jive/forum.jspa?forumID=292
    General Solaris 10 Discussion
    http://forum.sun.com/jive/forum.jspa?forumID=298
    Michael

  • Netbackup 6.0 admin console ssh tunnel to osx X11 server

    Hey guys, I have been attempting to use the built in xfree X server included with OSX, I have no problems using the ssh -X command to tunnel to the netbackup media server. I run the jnbpa java administration console, and the window opens on the mac, it is titled correctly, but none of the text or functions come over. (I know its all working, I have a linux session under parallels that exports the admin console with no problems). At first I thought it might be fonts or something, since the box pops up, shows the menubar on it, its just a grey scquare where the username/password/server should be. I then found out that the whole instance is actually frozen up. I cant close the grey box ethier. I have to xkill from another xterm or actually close the entire X11 server to close the attempt? Any help would be greatly apperciated.
    Thanks in advance, its a real pain having to Virtual a Linux session just to export a X window. Talk about a waste of resources.
    Thanks again.
    John

    Common, there has to been some "real" sys admins out there using mac's, its bsd for pete's sake. Maybe this bump will bring this back to the top where someone can maybe offer some insight. I've been reading about darwin ports, maybe xfree86 running as the XServe will help. But apple's X11 server should work as well. HELP...
    Thanks

  • How to fix "server problem" error message when trying to use PhoneGap build service.

    I have a site that is now optimized for mobile devices and want to use the PhoneGap Build service in Dreamweaver CS6 to make a native app.  Unfortunately, I keep getting the "We seem to be having server problems." error message when I try to create a new project.  I did notice that the configuration file was created at the site root.  I've seen a few other similar threads on this, but no solution.  I've checked on any firewall issues (none) and know that the PhoneGap server is not down.  The problem is on my end.
    Thanks,
    Loren

    Not an answer to the server problem, but I have posted the PhoneGap Build process here: http://forums.adobe.com/message/4669054#4669054. It might help anyone still having problems.

  • [Fwd: Starting Managed server problem ......]

    Forwarding to the security news group...
    -------- Original Message --------
    Subject: Starting Managed server problem ......
    Date: 1 Jun 2004 23:02:53 -0700
    From: Sameer <barsatkiraat2001>
    Newsgroups: weblogic.developer.interest.management
    Hi All,
    I need you guy's help in this regard, that I am using solaris 8 and
    installed Weblogic8.1 Server.
    My Scenario is;
    Have configured Admin Server and Managed server with nodemanager on one
    unix machine.
    So, what am facing the problem;
    I am not able to get run Managed server after starting the nodemanager
    and admin server, getting the error in nodemanager logs that is :
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090482>
    <BAD_CERTIFICATE alert was received from PortalQA - 10.12.10.94. Check
    the peer to determine why it rejected the certificate chain (trusted CA
    configuration, hostname verification). SSL debug tracing may be required
    to determine the exact reason the certificate was rejected.>
    And in Admin Server logs it's saying;
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090504>
    <Certificate chain received from PortalQA - 10.12.10.94 failed hostname
    verification check. Certificate contained AdminQA but check expected
    PortalQA>
    The WebLogic Server did not start up properly.
    Exception raised:
    'weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.'
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <NodeManager> <BEA-300038>
    <The node manager is unable to monitor this server. Could not create an
    SSL connection to the node manager. Reason :
    [Security:090504]Certificate chain received from PortalQA - 10.12.10.94
    failed hostname verification check. Certificate contained AdminQA but
    check expected PortalQA>
    Reason: weblogic.management.configuration.ConfigurationException: Due to
    faulty SSL configuration, this server is unable to establish a
    connection to the node manager.
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Emergency> <WebLogicServer>
    <BEA-000342> <Unable to initialize the server:
    weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.>
    If some one can help me, I do appreciate in all due respect.
    Sameer.

    Hello Satya/All,
    I'm also experiencing the exact problem you are facing. It would be great if
    somebody could help in this regard at the earliest.
    Thanks, senthil
    Satya Ghattu <[email protected]> wrote:
    Forwarding to the security news group...
    -------- Original Message --------
    Subject: Starting Managed server problem ......
    Date: 1 Jun 2004 23:02:53 -0700
    From: Sameer <barsatkiraat2001>
    Newsgroups: weblogic.developer.interest.management
    Hi All,
    I need you guy's help in this regard, that I am using solaris 8 and
    installed Weblogic8.1 Server.
    My Scenario is;
    Have configured Admin Server and Managed server with nodemanager on one
    unix machine.
    So, what am facing the problem;
    I am not able to get run Managed server after starting the nodemanager
    and admin server, getting the error in nodemanager logs that is :
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090482>
    <BAD_CERTIFICATE alert was received from PortalQA - 10.12.10.94. Check
    the peer to determine why it rejected the certificate chain (trusted
    CA
    configuration, hostname verification). SSL debug tracing may be required
    to determine the exact reason the certificate was rejected.>
    And in Admin Server logs it's saying;
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <Security> <BEA-090504>
    <Certificate chain received from PortalQA - 10.12.10.94 failed hostname
    verification check. Certificate contained AdminQA but check expected
    PortalQA>
    The WebLogic Server did not start up properly.
    Exception raised:
    'weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.'
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Warning> <NodeManager> <BEA-300038>
    <The node manager is unable to monitor this server. Could not create
    an
    SSL connection to the node manager. Reason :
    [Security:090504]Certificate chain received from PortalQA - 10.12.10.94
    failed hostname verification check. Certificate contained AdminQA but
    check expected PortalQA>
    Reason: weblogic.management.configuration.ConfigurationException: Due
    to
    faulty SSL configuration, this server is unable to establish a
    connection to the node manager.
    <Jun 2, 2004 9:44:26 AM GMT 04:00> <Emergency> <WebLogicServer>
    <BEA-000342> <Unable to initialize the server:
    weblogic.management.configuration.ConfigurationException: Due to faulty
    SSL configuration, this server is unable to establish a connection to
    the node manager.>
    If some one can help me, I do appreciate in all due respect.
    Sameer.

  • Photoshop CS2: name server problem: Is there a solution?

    Hi!
    I have Photoshop CS2. I can't start the program anymore because of the already well known name server problem... (DEAR ADOBE!! HOW COULD YOU!!! )
    Now, what can I do? As far as I know I purchased the software for an unlimited amount of time (thanks to the fact that there weren't any clouds, halleluja!)
    Can anybody help me, please? Is there a way "around"?
    Thanks a lot!!!
    Christiane

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • I keep getting Server problems when trying to sign into messages

    Hi can anyone help, I have an Imac, and Lion  X 10.7.3, I have downloaded Messages Beta, evertytime I try to register it will not let me, telling me Server Problems try again later? Has anyone come across this? And can anyone help? Thank you.

    Hi can anyone help, I have an Imac, and Lion  X 10.7.3, I have downloaded Messages Beta, evertytime I try to register it will not let me, telling me Server Problems try again later? Has anyone come across this? And can anyone help? Thank you.

  • I recently updated Firefox and now it will not open. It says there is a proxy server problem.

    I was requested to update the program and now it says there is a proxy server problem.

    Hi:
    You can try this COMPRESSOR TROUBLESHOOTING document:
    http://docs.info.apple.com/article.html?artnum=302845
    Hope it helps !
      Alberto

  • Firefox periodically drops my Verizon/Yahoo email site indicating it cannot find the server. Verizon alledges there are no server problems.

    My email page will crash and the message received is:Firefox can't find the server at us.mc844.mail.yahoo.com. Repeated reloading does not help. After a period of time from 5 minutes to an hour the site can be accessed and is Ok for several days. The the problem reoccurs several times in the same day. When my email provider is contacted they indicate no server problems.

    Report your error messages so your peers, like me, can make suggestions..
    Official recommendations are on http://help.yahoo.com/l/us/verizon/mail/ymail/basics/mail-12859445.html NOTE THE URL's Stick with them if using YAHOO.  I have not found a newer recommendation for pop.yahoo.verizon.net that you mention, and the help page was updated this month.
    Note some have had trouble with missing intermediate certificates so get encryption errors.  Shouldn't happen (except if you are missing the root certificate, which is your responsibility),  but can be fixed by installing manually.
    Some have reported needing to specify [email protected] rather than just userid, I believe on the SMTP side.  Normally you specify only userid and password without the @verizon.net.

  • Mail Server Problem

    The mail server problem has been resolved, mail is working as designed....yeah!!

    silly discusting board, I've got 3 replies in my email but it's not showing here ...
    anyway, this time I found after some chasing my tail .... that the mail preferences had wiped my password and I needed to reinstall it, then instruct it to go online and some other click stuff ....
    and it seems to be ok now ....
    but each round in past 2 weeks has been different "fix" .... or wait ....
    sorry for anyone without master email for 5 days, that's just not right ....
    I'm afraid that as apple starts "giving away" email accounts to build the cloud into something much bigger than the mobile me was .... that their folo up will fail and we will find ourselves not with the same apple durability / consistency but with the "hey it's free" attitude ....
    let's see

  • Email server problem - failed to connect to server

    Since Friday 27th August I've been having trouble connecting to the email server for my BT Yahoo account. It simply can't find the server, even though none of the account settings have changed and it has worked fine for years. Weirdly, sometimes it works and emails come through (so the settings are obviously fine) but then it will stop working for no apparent reason. I use Thunderbird as my email client, but I tested the account in Outlook Express and it gives the same error. The account works fine over webmail, and through my iPhone, however.
    It seems like this is a DNS error rather than software related - is there anything BT-related that could be causing this, or any simple fixes? I've tried rebooting the HomeHub but that doesn't seem to have made a difference. I work from home, so this is a really annoying problem.

    Lynx wrote:
    Interesting - we have exactly the same problem. Haven't been able to download for days. This has happened with two different computers with different anti-virus systems - so one assumes it's not suddenly that. I can access my e-mail online and reply (having to bcc myself, so when it does eventually work I have copies on my outlook express. It was working perfectly one night and the next morning just stopped - nothing happened in between.
    I have tried to find out what the error number means, but no-one - not even BT's Help section - seem to have the solution. Have you ever seen the Eddie Izzard sketch on YouTube? This is definately one of those moments!
    If you find a solution - would really appreciate you posting it on here, so I can fix mine. Will do the same for youi.
    Hi.
    This sort of problem is hard to determine. It could be a few things, including a corruption of the mail account (which can last for a short time or a number of days), it could be a local problem - which you've ruled out by the different computer check, or perhaps a "stuck" email - say one which is spam/virus attached and the online checking systems failing to pass through it, or possibly a stale IP address.
    The latter 2 are easy to check, the first via webmail and see if there is anything near the "top" of the list that may cause a problem, moving to a new folder, and try again. The last can be tried by power cycling the router to get a new IP address. Disconnect the broadband and router for say 15 minutes and then reconnect to try again.
    If there was a major server problem, there would be lots more complaints.
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • I have just installed Lion OS and Face Time encounters server problems on sign up. I have sought the firewall problem without success and even temporarily turned off firewall with no success.

    I have just installed Lion OS and Face Time encounters server problems on sign up. I have sought to rectify the firewall problem without success and even temporarily turned off firewall with no success. Any ideas?

    Some folks have discovered that changing their DNS service fixes FaceTime connection issues.
    The ideal way is to configure your modem/router with DNS service, but often settings in System Preferences/Network/Advanced/DNS on your Mac will override the router settings. Try either of these;
    OpenDNS
    208.67.222.222, 208.67.220.220
    Google Public DNS
    8.8.8.8, 8.8.4.4

  • TS4002 Anybody having icloud server problems today? No incoming mail

    Dear all,
    I'm not receiving any mail guz Icloud tells me it has a server problem. I can send mail but not receive any. I can send myself a message using gmail sending it to my own gmail adres and I receive in my Mail program, no problem, it's just the ME account that does not work on any of my apple devices. I've checked the setting in the prefference from the Mail program, they all seam normal......ANY tips???
    Thank you so much,
    Simon

    Most inconvenient... trying to run a business and I made the mistake of using my me.com acct. for business rather than the old Yahoo acct.   I haven't been able to receive email all day either.
    Seeing that it's affecting less than 1% of it's customers, really is annoying for some reason. 

  • Could Not Sign In:  A server problem is blocking Apple ID sign in.  Try signing in later.

    After a successful iOS 5 upgrade to my iPhone 3GS, I began going through the setup wizard the phone takes you through upon initial use.  However, I'm unable to make it past the part where you are supposed to "Sign In with an Apple ID".  The steps to reproduce the problem are:
    Click "Sign In with an Apple ID".
    Per the "Have MobileMe and an ITunes Account?" instructions, I opt to type in my MobileMe e-mail address (e.g. [email protected]) and password.
    Click "Next".
    Specify birthday.
    Click "Next".
    Click "Agree".
    Click "Agree" on popup.
    A popup error is produced which reads "Could Not Sign In:  A server problem is blocking Apple ID sign in.  Try signing in later.".
    Click "OK" which takes you back to the initial sign in screen.
    I have tried logging in since 2am ET.  It is now 8:17am ET.  The server should not be down for over 6 hours.  Any ideas?
    Thanks in advance for any assistance offered!

    Hi Natalie,
    I was able to workaround this issue by clicking the "Skip" option on the first screen.  Afterwards, I went back and manually entered my me.com Apple ID in Settings | iCloud and my iTunes Apple ID in Settings | Store.  Doing it this way doesn't ask you to enter your birthday and I haven't yet found where that is supposed to be set.  However, everything appears to be working correctly without it.  Hope this helps!
    Brad

Maybe you are looking for

  • My iMac sorrows... #1, #2, #3, #4 and now maybe #5

    Well, for those who have read my other posts regarding my horrific experiences of iMac terror, I do truly hope this is the last. iMac #1: 24" Aluminum iMac 2.4Ghz had original and common freezing problem, was replaced on day #88 after 11 days of sitt

  • How can I use two database in Dataset in SSRS?

    Hi, I am using one query to generate my SSRS report. In that query I am using subquery. Now I am pulling data from multiple tales. DB used in sub query is different than the rest of the tables DB.(So total I am using 2 DB(Database)) So I see that in

  • How do you know the object is from another database through db link

    I have a table named a2z_people. I searched dba_objects, I found this is a public synonym. How can I know the real table name in the another database. Where is this table come from? In another words, what's the source database? Thanks!

  • WRT160N won't connect to tv

    I'm having an issue getting my tv to start connecting again to the wireless router. Have tried pin setup (timed out & didn't connect...attempted at least 10 times in this fashion) Have tried entering the password (router seems to refuse the connectio

  • How to calculate PCT free size oracle 11g

    Hi, I have table create table T_LOB_DATA ID NUMBER not null, LOB_NAME VARCHAR2(256), DATE_TIME TIMESTAMP(6), LOB_DATA BLOB not null, LOB_NO NUMBER not null, LOBALD VARCHAR2(32) i have 100000-200000 records in table and in this table 30k-40k Lob recor