Can't connect to OS X Server SMTP?

Ive been trying to fix this for a couple of days now, i'm running OS X Server on an installation of Mountain Lion and am trying to get the Mail server part working.
I can connect to IMAP and login but not the SMTP, ive checked all the ports are forwarded and i'm just stumped at what to do now, my main.cf is:
queue_directory = /Library/Server/Mail/Data/spool
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /Library/Server/Mail/Data/mta
mail_owner = _postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
           PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
           xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = _postdrop
html_directory = /usr/share/doc/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix/examples
readme_directory = /usr/share/doc/postfix
dovecot_destination_recipient_limit = 1
mailbox_size_limit = 0
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
tls_random_source = dev:/dev/urandom
imap_submit_cred_file = /Library/Server/Mail/Config/postfix/submit.cred
use_sacl_cache = yes
mydomain_fallback = localhost
message_size_limit = 10485760
biff = no
mynetworks = 127.0.0.0/8, [::1]/128
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
recipient_delimiter = +
smtpd_tls_ciphers = medium
inet_protocols = all
inet_interfaces = all
config_directory = /Library/Server/Mail/Config/postfix
smtpd_enforce_tls = no
smtpd_use_pw_server = yes
relayhost =
smtpd_tls_cert_file = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.cert.p em
mydomain = my.domain.com
smtpd_pw_server_security_options = cram-md5,gssapi,login,plain
smtpd_sasl_auth_enable = yes
smtpd_helo_required = yes
smtpd_tls_CAfile = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.chain. pem
content_filter = smtp-amavis:[127.0.0.1]:10024
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination check_policy_service unix:private/policy permit
header_checks = pcre:/Library/Server/Mail/Config/postfix/custom_header_checks
myhostname = my.domain.com
smtpd_helo_restrictions = reject_non_fqdn_helo_hostname reject_invalid_helo_hostname
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/certificates/my.domain.com.CB71CACC46A9C512E4FE3B8986E6956558287A0F.key.pe m
enable_server_options = yes
recipient_canonical_maps = hash:/Library/Server/Mail/Config/postfix/system_user_maps
virtual_alias_maps = $virtual_maps hash:/Library/Server/Mail/Config/postfix/virtual_users
smtpd_sasl_local_domain = my.domain.com
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mailbox_transport = dovecot
virtual_alias_domains = hash:/Library/Server/Mail/Config/postfix/virtual_domains
alias_maps = hash:/Library/Server/Mail/Config/postfix/aliases
and Mail Server Log:
Oct 24 18:06:05 my.domain.com log[20676]: imap(pid 20765 user chloei): ID sent: name=iPhone Mail, version=10A405, os=iOS, os-version=6.0 (10A405)
Oct 24 18:06:06 my.domain.com log[20676]: imap(pid 20765 user chloei): Connection closed bytes=107/452
Sorry If i'm missing something obvious, i'm new to OS X Server

ok, seems that for some reason there was no alias.db in /Library/Server/Mail/Config/postfix i've now created it and its letting me connect, however now when i try and send its not and im not recieving any emails either...here are the logs:
SMTP:
Oct 24 23:41:45 my.domain.com postfix/postscreen[29849]: CONNECT from [209.85.212.181]:60575 to [192.168.3.105]:25
Oct 24 23:41:51 my.domain.com postfix/postscreen[29849]: PASS NEW [209.85.212.181]:60575
Oct 24 23:41:51 my.domain.com postfix/smtpd[29851]: connect from mail-wi0-f181.google.com[209.85.212.181]
Oct 24 23:41:51 www /usr/libexec/postfix/greylist.pl[29858]: Temporary message rejection to: <[email protected]> from: <[email protected]> sent from: [209.85.212.181] for: 60 seconds due to greylisting
Oct 24 23:41:52 my.domain.com postfix/smtpd[29851]: NOQUEUE: reject: RCPT from mail-wi0-f181.google.com[209.85.212.181]: 450 4.7.1 <[email protected]>: Recipient address rejected: Service is unavailable; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mail-wi0-f181.google.com>
Oct 24 23:41:52 my.domain.com postfix/smtpd[29851]: disconnect from mail-wi0-f181.google.com[209.85.212.181]
Oct 24 23:44:19 my.domain.com postfix/smtpd[30384]: warning: hostname 94.197.127.104.threembb.co.uk does not resolve to address 94.197.127.104: nodename nor servname provided, or not known
Oct 24 23:44:19 my.domain.com postfix/smtpd[30384]: connect from unknown[94.197.127.104]
Oct 24 23:44:20 my.domain.com postfix/smtpd[30384]: 18940959F71: client=unknown[94.197.127.104], sasl_method=PLAIN, sasl_username=chloei
Oct 24 23:44:20 my.domain.com postfix/cleanup[30391]: 18940959F71: message-id=<[email protected]>
Oct 24 23:44:20 my.domain.com postfix/qmgr[29530]: 18940959F71: from=<[email protected]>, size=549, nrcpt=1 (queue active)
Oct 24 23:44:20 my.domain.com postfix/smtpd[30394]: connect from localhost[127.0.0.1]
Oct 24 23:44:20 my.domain.com postfix/smtpd[30394]: 82C1C959F7C: client=localhost[127.0.0.1]
Oct 24 23:44:20 my.domain.com postfix/cleanup[30391]: 82C1C959F7C: message-id=<[email protected]>
Oct 24 23:44:20 my.domain.com postfix/qmgr[29530]: 82C1C959F7C: from=<[email protected]>, size=1011, nrcpt=1 (queue active)
Oct 24 23:44:20 my.domain.com postfix/smtp[30392]: 18940959F71: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.51, delays=0.24/0.01/0.01/0.26, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 82C1C959F7C)
Oct 24 23:44:20 my.domain.com postfix/qmgr[29530]: 18940959F71: removed
Oct 24 23:44:20 my.domain.com postfix/pipe[30396]: 82C1C959F7C: to=<[email protected]>, relay=dovecot, delay=0.09, delays=0.01/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
Oct 24 23:44:20 my.domain.com postfix/qmgr[29530]: 82C1C959F7C: removed
IMAP logs show nothing

Similar Messages

  • How can I connect to a windows server from a mac book pro

    How can I connect to a windows server from a mac book pre?

    I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
    I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
    Any help is greatly appeciated.

  • Can I connect to a windows server to veiw and download files to mark and return to server??

    Can I connect to a windows server to download and view files and return to server???

    I use the FTP on the Go Pro app to do just this. I don't know what kind of servers I connect to though but I've not had any problems connecting.
    I connect and select a file. I update the file, then tap save. The file is uploaded back to the server and the original version is ved just in case I might need it.

  • How can I connect to a UNIX server to execute a command?

    How can I connect to a UNIX server and execute a command using PowerShell? My shell script is sitting on one server, while the UNIX box is on another.
    also, I don't like the idea of hardcoding a username/password within the script file in order to do so.
    -Nothing to see. Move along.

    You will need a library to handle SSH connections.
    I'm using SSH.NET, you can find info on it here : http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library
    It has a bit of a learning curve but the web site has some fairly good tutorials.

  • Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'

    I'm using the pre-installed versions of php and mysql under Mac OS X Server 10.4.4 running on a G4 and am unable to get anything involving mysql to work.
    I ssh to the server and enter various commands in Terminal:
    on typing "mysql" I get
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    and on typing "mysqladmin version" I get
    mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
    On typing "sudo mysqld_safe" I get
    Starting mysqld daemon with databases from /var/mysql
    STOPPING server from pid file /var/mysql/MyServer.local.pid
    070722 16:06:05 mysqld ended
    /var/mysql/MyServer.local.err contains
    070722 16:06:04 mysqld started
    070722 16:06:04 [Warning] Setting lowercase_tablenames=2 because file system for /var/mysql/ is case insensitive
    070722 16:06:04 InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    070722 16:06:05 InnoDB: Starting log scan based on checkpoint at
    InnoDB: log sequence number 0 43634.
    /var/mysql has permissions 775.
    The line
    mysql.default_socket = /var/mysql/mysql.sock
    is in /etc/php.ini
    whereis mysqladmin ->
    /usr/bin/mysqladmin
    whereis mysql ->
    /usr/bin/mysql
    ls /var/mysql ->
    MyServer.local.err
    ib_logfile1
    mysql
    ib_logfile0
    ibdata1
    test
    Can't find my.cnf or my.ini anywhere
    Can't find mysql.sock anywhere
    I'm trying to get a bug database running (mantis) under Mac OS X Server 10.4.4 that I can access from local clients.
    I'm trying to follow directions at http://www.mantisbugtracker.com/manual/manual.installation.php
    without knowing anything about mysql or php and I'm stuck on step 3:
    "Next we will create the necessary database tables and a basic configuration
    file."
    I get a message saying
    "Does administrative user have access to the database? ( Lost connection to MySQL server during query )"
    I don't even know if following the mantis directions has resulted in the creation of a database or not. Where would it be?
    Thanks for any help.
    Intel iMac   Mac OS X (10.4.10)  

    I've just done a clean install of OSX Server and added the latest MYSQL packaged installer. Afterwards I found the lock file in /private/tmp/mysql.lock
    The easiest way to solve this problem is to create a symbolic link so that the lock file appears to be in right place.
    e.g.
    cd /var
    sudo mkdir mysql <== this assumes the directory is missing
    cd mysql
    sudo ln -s /private/tmp/mysql.sock mysql.sock
    After this msql commands should work fine, and you've not fiddled with the security settings on users/groups.
    HTH
    Christian

  • I have trying for days to download Firefox 4.1. It goes through all the motions, but when it gets to the final step, it can't connect with the download server. What should I do? It keeps telling me this download is strongly recommended.

    It downloads everything, but when I re-start, it can not connect to the download server.
    I've left it open and it never connects.

    Your UserAgent indicates that you used Firefox 3.6.17 to post here. <br />
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
    What does it say about the version of Firefox you have in '''Help > About Firefox'''?
    If it says Firefox 4.0 or 4.0.1, see if this helps you: <br />
    https://support.mozilla.com/en-US/kb/Websites+or+add-ons+incorrectly+report+incompatible+browser

  • "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"

    Data Services=3.1
    Repository=12.2.2.0000
    Red Hat Enterprise 5
    Designer,Job Server,Job Engine=12.2.2.3
    After an unscheduled server reboot with DS up and running when trying to start a job in either Data Services Management Console or DS Designer getting the following:
    "Can't connect to local MySQL server through socket '/tmp/mysql.sock'"
    The mysql.sock have never been in /tmp and on the production server it does not exist there and the production server is up and running correctly. If a link is created to mysql.sock(/home/user/boedge31/bobje/mysql) the job will start but return this message: 
    "Cannot retrieve <Version> from the repository. Additional database information: <SQL submitted to ODBC data source <localrepo> resulted in error <MySQL ODBC 3.51 Driver mysqld-5.0.46-enterprise No database selected>. The SQL submitted is <select VERSION, SECURITYKEY, GUID from AL_VERSION where NAME = 'Repository Version'"
    I checked and AL_VERSION and the Version field exist. 
    Before the shut down DS was working correctly and had no issues.  My best guess is a part of the repository was corrupted during the unscheduled shut down.  It seems like DS has "forgotten" some of the settings.  
    Any suggestions on a possible solution?

    The issue has been solved. 
    There was a bad path in $LD_LIBRARY_PATH.
    Removed the path and DS started working again.

  • [Servlet Error]-[Can't connect to X11 window server using ':0.0&#39

    i m using repot engin to disply report its running in windows well in my local machine but whn i deployeed it to test server (AIX) it gave me this error server is websphere
    E SRVE0026E: [Servlet Error]-[Can&#39;t connect to X11 window server using &#39;:0.0&#39; as the value of the DISPLAY variable.]: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
         at java.awt.Font.initializeFont(Font.java:333)
         at java.awt.Font.<init>(Font.java:368)
         at com.actuate.ereport.engine.templateio.TmplReader.getFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.getFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.handleFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.closeObjects(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.endElement(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.startParsing(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.ReadTemplateFromBytes(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.ACJEngine.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.ACJEngine.readTemplate(Unknown Source)
         at com.actuate.ereport.eapi.factory.DesignFactoryImpl.load(Unknown Source)
         at com.actuate.ereport.eapi.factory.DesignFactoryImpl.load(Unknown Source)
         at ccrmsweb.actions.PrintRpts.execute(PrintRpts.java:129)
    Please tell me wht exactly i have to do, i men exactly its very urgent

    Check this thread:
    Re: Can't connect to X11 window server using 'localhost:0.0'

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.

    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.(Font.java:298)
         at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

    A Java AWT, X11 problem posted in the weblogic ejb newsgroup. I haven't been in here for long, but
    that has to be a first.
    If you have the DISPLAY env variable set to :0.0, you have to be at the console on a Solaris box
    running the XServer. 'xdm' I think is the code that has to be running. Also, I think the format is
    <hostname:0.0> or better <hostname:0> unless you are on a multi-headed workstation. Something like:
    export DISPLAY=hostname:0
    where hostname is the name of the host running an XServer and the .xhosts file allows access to the
    XServer from the display client.
    Apparently, you are not at the console?
    Anyway, I don't think there is a newsgroup here that I could even recommend to cross-post this to as
    it is not a WebLogic question. I think I would try the Discussion Forums at http://java.sun.com.
    Bill
    "D. Alvarado" wrote:
    Hi,
    I'm running WebLogic 5.1 sp10 on a Solaris box and I get the
    following error:
    java.rmi.RemoteException: java.lang.InternalError: Can't connect to
    X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:120)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
    at java.awt.Font.initializeFont(Font.java:264)
    at java.awt.Font.(Font.java:298)
    at com.hrw.xls.EmailXLSThread.getCellWidth(EmailXLSThread.java:162)
    caused by the following code fragment:
    Font f = new Font(fontName, fontStyle, fontHeight);
    FontMetrics fm = (new Panel()).getFontMetrics(f);
    Have I just forgotten to set an environment variable? I would prefer
    not to install bulky pieces of software, but if that's what it takes
    to get over this error, so be it.
    Thanks, Dave A.

  • Can't connect to X11 window server using ':0.0' as the value of the DISPLAY

    i try to use jfreechart to create a piechart on a aix os with jdk1.3.1 and the aix system does not have a xwindow installed
    and the found the following error
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:77)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java(Compiled Code))
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)
    at java.awt.Font.initializeFont(Font.java:285)
    at java.awt.Font.<init>(Font.java:319)
    at org.jfree.chart.plot.PiePlot.<clinit>(PiePlot.java:230)
    i got the tip of passing -Djava.awt.headless=true to vm to disable system graphic calls but after restart weblogic i still get the same error
    i am wondering if this case has something to do with jdk 1.3.1, and perhaps newer versions of jdk can take the parameter and operate correctly
    is that right?

    is headless option supported in jdk1.3.1?No,
    It was added in JDK 1.4:
    http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4281163
    Kaj

  • Can't connect to X11 window server using

    java.lang.InternalError: Can't connect to X11 window server using "Ip" as the value of the DISPLAY variable.
    I get the above error when I try to create an instance of the JProgressBar.
    I have not been able to create a workaround.
    One suggestion that I had was to use the following system command.
    System.setProperty("java.awt.headless","true");
    That gave me a null pointer exception.
    I also tried setting the compiler parameters to make this process headless, but it did not make any difference.
    I am running this code in a Unix environment.
    Any ideas?

    Hi
    Generally in Unix environment the server should accept the connections from clients. Run the xhost + command on the server to which you are trying to connect and then try your application.
    Thanks
    Srinivas

  • Can't connect to X11 window server using ':0.0'

    I tried to deploy a sampel BIBean application (JSP+BIBean) to standalone OC4J( install on AIX).
    When I launch the jsp from windows browser,I got the following error message.
    And I export DISPLAY=IP address:0.0 and bounce the OC4J, the IP address is the machine which I launch the browser and JSP. The I can lanuch the BIBean sample application successfuly (I can see the crosstab, grap...).
    But this means that only my machine's browser can access application, not others.. Is ther anything wrong with my configurations.. Please help!!!
    500 Internal Server Error
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.     at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)     at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:77)     at java.lang.Class.forName1(Native Method)     at java.lang.Class.forName(Class.java:142)     at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:72)     at java.awt.Font.initializeFont(Font.java:285)     at java.awt.Font.<init>(Font.java:319)     at oracle.dss.dataView.managers.ViewStyle.<clinit>(ViewStyle.java:6600)     at oracle.dss.thin.beans.dataView.BaseTitle.<init>(BaseTitle.java:50)     at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:31)     at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:42)     at oracle.dss.thin.beans.dataView.ThinDataview.<init>(ThinDataview.java:131)     at oracle.dss.thin.beans.gridView.ThinGridView.<init>(ThinGridView.java:123)     at oracle.dss.thin.beans.crosstab.ThinCrosstab.<init>(ThinCrosstab.java:216)     at java.lang.Class.newInstance0(Native Method)     at java.lang.Class.newInstance(Class.java:262)     at oracle.dss.persistence.persistencemanager.client.DefaultObjectFactory.getObjectInstance(DefaultObjectFactory.java:199)     at oracle.dss.persistence.persistencemanager.client.DefaultStateHandler.recreatePersistableFromStateAgent(DefaultStateHandler.java:357)     at oracle.dss.metadataManager.client.handlers.persistence.PersistenceMetadataHandler.getObjectInstance(PersistenceMetadataHandler.java:242)     at oracle.dss.metadataManager.client.MetadataManager.getUserObject(MetadataManager.java:3168)     at oracle.dss.metadataManager.common.MDFolder.lookup(MDFolder.java:355)     at oracle.dss.metadataManager.common.MDFolder.lookup(MDFolder.java:539)     at oracle.dss.addins.thin.common.BaseThinSession.loadView(BaseThinSession.java:110)     at oracle.dss.addins.thin.common.BasePresentationHandler.createBIThinObject(BasePresentationHandler.java:806)     at oracle.dss.addins.jspTags.PresentationTag.createThinObject(PresentationTag.java:102)     at oracle.dss.addins.jspTags.BIBaseTag.getThinObject(BIBaseTag.java:72)     at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:162)     at viewerJSP.jspService(_viewerJSP.java:84)     [SRC:/viewerJSP.jsp:7]     at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)     at java.lang.Thread.run(Thread.java:512)

    Hi, Kelly
    Thanks for your kind response.
    The X-server should work, when I export DISPLY to a remote X-server.
    How about ImageServlet.. It seems that the ImageServlet has more advantages than X-server or XVBF
    I tried to configure OC4J using ImageServlet follow UIX developer's guide. But I was not able to force OC4J to use ImageSevlet. But OC4J is stll try to find X-sever..
    I modified the web.xml file for the sample application I deployed.
    Is this a right configuration? What is the different
    <servlet>^M
    <servlet-name>uix</servlet-name>^M
    <servlet-class>oracle.cabo.servlet.UIXServlet</servlet-class>^M
    <init-param>^M
    <servlet-name>uix</servlet-name>^M
    <servlet-class>oracle.cabo.image.servlet.ImageServlet</servlet-class>^M

  • Java.lang.InternalError: Can't connect to X11 window server using ':0.0'

    Hi all,
    I am getting the following error while running the JSP program.
    Actually we are running our applications in REMOTE LINUX SERVER (Redhat 7.0).
    Installed Softwares : jdk1.3.1_02 & Resin-2.1.0
    500 Servlet Exception
    java.lang.InternalError: Can't connect to X11 window server using ':0.0'
    as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.<init>(Font.java:298)
         at CreateImage.create(CreateImage.java:22)
         at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:485)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:484)
    After getting this error i have logged in from local and set the DISPLAY varible as ':0.0'.
    But there is no improvemnt and getting the error like,
    java.lang.NoClassDefFoundError
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:120)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:58)
         at java.awt.Font.initializeFont(Font.java:264)
         at java.awt.Font.<init>(Font.java:298)
         at CreateImage.create(CreateImage.java:22)
         at send2trinity_jsp._jspService(/sms/send2trinity.jsp:136)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:485)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:181)
         at com.caucho.server.http.Invocation.service(Invocation.java:291)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:341)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:271)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:136)
         at java.lang.Thread.run(Thread.java:484)
    How should i solve this problem? Have anybody faced the same problem ?
    Please help.
    Thanks in advance.
    Bye.

    Hi all,
    Thanks a lot for ur reply. It worked me atlast.I have installed JDK1.4 and try to run my program.But it was creating some junk value instaed of creating picture. Actullay my programme needs some third party fonts , it was not loading after i have upgraded. But what i did is , copied the fonts file in to <Java_home>/jre/lib/fonts/ directory. Now it's working fine.
    I have done another thing .I am using resin-2.1.0 to serve my JSp pages . So i have added $JAVA_ARGS="-Djava.awt.headless=true"; in wrapper.pl . If u will not add this line then iot will not work for you.
    Thank u once again.
    Bye.

  • Can't connect to X11 window server

    hi,
    I get the above error when I run a JSP.
    java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:54)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:115)
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:53)
         at java.awt.Font.initializeFont(Font.java:259)
         at java.awt.Font.(Font.java:293)
         at com.sanderson.tallyman.util.PerformMultiFormat.get_no_of_lines(PerformMultiFormat.java:477)
    The line which is throwing this error is as follows:
    new Font(strfont_name,Font.PLAIN,istrfont_size_to_int);
    We are running our WebServer (Borland Application Server) in Solaris machine and calling the JSP from a windows client.
    I think it is somewhere related to DISPLAY parameter of the Solaris machine and the xhost file???
    Any inputs???
    Regards

    You need to connect to a X-Server, since you are using java.awt.Font
    The Font implementation needs a graphical subsystem (it has something to do with Frame.addNotify, ...)
    I've heard about a simple (FrameBuffer?) XServer implementation without a graphical output. Perhaps you may find some more information in the FAQ section for JAVA/JSP

  • Can't connect to X11 windows server

    Hi all, I am having problems installing oracle in Fedora Core 1.
    This is where i'm stuck at and im not sure what to do.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2004-11-24_09-23-44AM. Please wait ...[student@BI GCPU026 Disk1]$ Oracle Universal Installer, Version 10.1.0.3.0 Production
    Copyright (C) 1999, 2004, Oracle. All rights reserved.
    Xlib: connection to ":0.0" refused by server
    Xlib: No protocol specified
    Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
    :0.0
    :0.0
    Unable to start an interactive install session because of the following error:Can't connect to X11 window server usi ng ':0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP ad dress>:<screen>, where the <screen> is usually '0.0'.
    Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment va riable:
    - For csh: % setenv DISPLAY 192.168.1.128:0.0
    - For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
    Use the following command to see what shell is being used:
    echo $SHELL
    Use the following command to view the current DISPLAY environment variable setting:
    echo $DISPLAY
    - Make sure that client users are authorized to connect to the X Server.
    To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the sessio n and type the following command:
    % xhost +
    To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native o perating system such as 'xclock':
    % <full path to xclock... see below>
    If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance .
    Typical path for 'xclock': '/usr/X11R6/bin/xclock'

    The problem maybe in (Fedora):
    1. X server is running with "nolisten tcp" parameter. Check the configuration
    2. Check the settings of GDM or KDM

Maybe you are looking for