UTL_SMTP: can't connect to remote mail server (error: 421)

I'm trying to execute this command as SYS:
exec MYSCHEMA.send_mail_via_utl_smtp('[email protected]', '[email protected]', 'my subject', 'my message','mail.mydomain.com');
and I get this error:
Error starting at line 8 in command:
exec MYSCHEMA.send_mail_via_utl_smtp('[email protected]', '[email protected]', 'my subject', 'my message','mail.mydomain.com');
Error report:
ORA-29278: SMTP transient error: 421 Service not available
ORA-06512: at "SYS.UTL_SMTP", line 29
ORA-06512: at "SYS.UTL_SMTP", line 108
ORA-06512: at "SYS.UTL_SMTP", line 150
ORA-06512: at "MYSCHEMA.SEND_MAIL_VIA_UTL_SMTP", line 17
ORA-06512: at line 1
29278. 00000 - "SMTP transient error: %s"
*Cause:    A SMTP transient error occurred.
*Action:   Correct the error and retry the SMTP operation.
However, I can telnet successfully as root user to mail.mydomain.com. The stored procedure is:
create or replace
PROCEDURE send_mail_via_utl_smtp(
sender IN VARCHAR2,
recipient IN VARCHAR2,
subject IN VARCHAR2 DEFAULT NULL,
message IN VARCHAR2,
mailhost IN VARCHAR2 DEFAULT 'mailhost'
AS
mail_conn UTL_SMTP.connection;
crlf CONSTANT VARCHAR2(2) := CHR(13) || CHR(10);
smtp_tcpip_port CONSTANT PLS_INTEGER := 25;
BEGIN
mail_conn := UTL_SMTP.OPEN_CONNECTION(mailhost, smtp_tcpip_port);
UTL_SMTP.HELO(mail_conn, mailhost);
UTL_SMTP.MAIL(mail_conn, sender);
UTL_SMTP.RCPT(mail_conn, recipient);
UTL_SMTP.DATA(mail_conn, SUBSTR(
'Date: ' || TO_CHAR(SYSTIMESTAMP, 'Dy, dd Mon YYYY HH24:MI:SS TZHTZM') || crlf
|| 'From: ' || sender || crlf
|| 'Subject: ' || subject || crlf
|| 'To: ' || recipient || crlf
|| message,
1, 32767));
UTL_SMTP.QUIT(mail_conn);
END send_mail_via_utl_smtp;
Note that mail.mydomain.com is sitting on the application server, and not the database server (not sure if that is important here). Previously, I set things up doing the following as SYS user:
# cd $ORACLE_HOME/rdbms/admin
# sqlplus / as sysdba
SQL> @utlmail.sql;
Package created.
Synonym created.
SQL> @prvtmail.plb;
Package created.
Package body created.
Grant succeeded.
Package body created.
No errors.
SQL> ALTER SYSTEM SET smtp_out_server = "mail.mydomain.com" SCOPE=MEMORY;
System altered.
SQL> show parameter smtp_out_server
NAME TYPE VALUE
============
smtp_out_server string mail.mydomain.com
SQL> exec DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('my_acl_email.xml','for my db acl to send email', 'MYSCHEMA', TRUE, 'connect');
PL/SQL procedure successfully completed.
SQL> exec DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('my_acl_email.xml','mail.mydomain.com', 25, NULL);
PL/SQL procedure successfully completed.
It appears that the SYS user is permitted by the ACL, but is somehow blocked access to mail.mydomain.com on the application server. Are there any Linux configurations that need to occur in implementing this process? Or, am I missing something in configuring Oracle. I'm using 11.2.0.1.0. This is my first time setting this up. Does the database need to be cycled down then back up for any of these settings to take place?
Edited by: tem on Apr 20, 2012 2:45 PM

Thanks Justin, that helps a lot. Now, with the 'AUTH LOGIN' command, I'm getting the error:
ORA-29279: SMTP permanent error: 503 AUTH command used when not advertised
ORA-06512: at "SYS.UTL_SMTP", line 29
ORA-06512: at "SYS.UTL_SMTP", line 110
ORA-06512: at "SYS.UTL_SMTP", line 170
ORA-06512: at "JCLOCKGEN.SEND_MAIL_VIA_UTL_SMTP", line 22
ORA-06512: at line 1
29279. 00000 - "SMTP permanent error: %s"
*Cause:    A SMTP permanent error occurred.
*Action:   Correct the error and retry the SMTP operation.
UPDATE:
Actually, my procedure above uses this line:
UTL_SMTP.HELO(mail_conn, mailhost);
But I noticed Justin's code above uses:
UTL_SMTP.EHLO(mail_conn, mailhost);
When I change the HELO to EHLO, everything works fine. Here's the final code:
create or replace
PROCEDURE send_mail_via_utl_smtp(
sender IN VARCHAR2,
recipient IN VARCHAR2,
subject IN VARCHAR2 DEFAULT NULL,
message IN VARCHAR2,
mailhost IN VARCHAR2 DEFAULT 'mailhost',
auth_username IN VARCHAR2,
auth_password IN VARCHAR2
AS
mail_conn UTL_SMTP.connection;
crlf CONSTANT VARCHAR2(2) := CHR(13) || CHR(10);
smtp_tcpip_port CONSTANT PLS_INTEGER := 25;
BEGIN
mail_conn := UTL_SMTP.OPEN_CONNECTION(mailhost, smtp_tcpip_port);
UTL_SMTP.EHLO(mail_conn, mailhost);
--------------BEGIN AUTHENTICATION--------------
UTL_SMTP.command(mail_conn, 'AUTH LOGIN');
utl_smtp.command(mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode( utl_raw.cast_to_raw(auth_username))));
utl_smtp.command(mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode( utl_raw.cast_to_raw(auth_password))));
--------------END AUTHENTICATION--------------
UTL_SMTP.MAIL(mail_conn, sender);
UTL_SMTP.RCPT(mail_conn, recipient);
UTL_SMTP.DATA(mail_conn, SUBSTR(
'Date: ' || TO_CHAR(SYSTIMESTAMP, 'Dy, dd Mon YYYY HH24:MI:SS TZHTZM') || crlf
|| 'From: ' || sender || crlf
|| 'Subject: ' || subject || crlf
|| 'To: ' || recipient || crlf
|| message,
1, 32767));
UTL_SMTP.QUIT(mail_conn);
END send_mail_via_utl_smtp;
Edited by: tem on Apr 20, 2012 5:55 PM

Similar Messages

  • Can't connect to X11 Windows Server - Error

    Dear All,
    Greetings!!
    We had successfully installed ECC6.0 EHP7 with HANA Database on SUSE 11 SP3. Now we are in the process of upgrading the components in the ECC via SUM. When we try to start the upgrade via SUM using <SID>ADM userid in the Linux Machine, we are getting an JAVA Error like "Can't connect to X11 Windows Server". Please find the complete error log in the attached screenshot (SUM.pmg).
    But when we try the same with the root userid, we can able to see the SUM GUI Opening Screen.
    Please help us with suggestions or solutions at the earliest.
    Regards,
    Ela

    Hello Ella,
    Please follow the SUM upgrade guide for starting the SUM tool.
    Start the SL controller on primary application server with command :
    ./STARTUP
    After this, you can access the GUI from the browser :
    http://<host>:4239/
    Problem you described, seems to be related to variables.
    Please set the variable DISPLAY for the SIDADM user.
    Thanks.
    Regards,
    Gaurav

  • Can't connect to remote SQL Server 2014 Standard with VS 2012

    Hi all,
    I am trying to create a development environment using SQL Server 2014 (not Express).  The SQL server instance is on a Windows 8.1 Pro machine in a non-domain environment.  I have Visual Studio 2012 installed on the same machine which can connect
    to the SQL server instance without problems.  I have another machine with VS 2012 that cannot connect.  SQL server is configured for mixed authentication.  The SSDT on the remote machine can see the SQL server networked instance, but will not
    connect with SQL authentication. 
    I have rounded up all the usual suspects;
    - The SQL server service is running
    - Remote connections are enabled on SQL server and the relevant firewall ports are open.
    - TCP/IP and named pipes are enabled
    - Remote connections are enabled in Management Studio
    - SQL Server Browser service in enabled and running
    What am I missing?  I have been out of developer mode for a few years and all of the tools have changed, but I seem to be missing something obvious.
    Many thanks in advance,
    Tim
    Tim in Dublin

    Hello,
    Have you configured the Windows Firewall on the Visual Studio computer too? Is there any other security software on those
    2 computers?
    Can you ping between both computers by computer name? If not, try connecting using the IP address. For example:
    10.0.0.10,1433
    1433 is the default SQL Server port number.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • DNSreport says it can't connect to my mail server...although the mail works

    When I run a test on my virtual domain at www.dnsreport.com I get the following FAILURE:
    ======
    ERROR: I could not complete a connection to any of your mailservers!
    mail.thermal3p.com: Timed out [Last data sent: RCPT TO: ]
    If this is a timeout problem, note that the DNS report only waits about 40 seconds for responses, so your mail may work fine in this case but you will need to use testing tools specifically designed for such situations to be certain.
    ======
    Mail is being received and sent via the virtualmailhost with only one known problem which is the reason I ran the report - one server keeps bouncing my outbound messages back with this vague error:
    <[email protected]>: host
    INBOUND.FILTER.THEPLANET.com[216.185.111.115] said: 550 Denied. S1 (in reply to RCPT TO command)
    Here is the full report on my virtual domain:
    http://www.dnsreport.com/tools/dnsreport.ch?domain=thermal3p.com
    It would help if I could just narrow down wether it is a DNS record problem or a server setup problem. To me the server seems to be fine, but I also can't figure out what I've done wrong in the DNS setup. DNS records are hosted at GoDaddy.
    THANKS,
    Keith

    Your mail server is answering, but isn't answering
    with its MX name in the DNS record:
    Can I tell if that is a DNS issue or a Server issue?
    It's your choice. Depends on what you want the mail server's name to be. One option would be to change your MX record in your DNS zone file so that the MX host name matches the name announced by your server. Another option would be to change the name announced by your server to match the MX record in your DNS zone file.
    Reverse DNS is wrong (some servers won't accept
    email from you unless reverse DNS matches the
    HELO/EHLO name):
    I believe this is why the one server is bouncing me.
    The IT told me to check that. Now the problem is
    that I don't know how to fix it.
    That's why I posted the entire response for your reverse DNS query. Here it is again:
    ; <<>> DiG 9.3.2 <<>> -x 71.154.29.157 ptr
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5937
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;157.29.154.71.in-addr.arpa. IN PTR
    ;; ANSWER SECTION:
    157.29.154.71.in-addr.arpa. 7200 IN PTR adsl-71-154-29-157.dsl.rcsntx.sbcglobal.net.
    ;; AUTHORITY SECTION:
    29.154.71.in-addr.arpa. 172800 IN NS ns1.pbi.net.
    29.154.71.in-addr.arpa. 172800 IN NS ns2.pbi.net.</div>
    The "Authority" for the 29.154.71.in-addr.arpa. subdomain are the nameservers at pbi.net. The person responsible for that nameserver needs to change the PTR record for 157.29.154.71.in-addr.arpa. from adsl-71-154-29-157.dsl.rcsntx.sbcglobal.net. to the name announced by your server (see above, first get the announced name to match your MX record).
    Do you think I should be talking to my service
    provider (sbcglobal.net) or the DNS host (godaddy) or
    Myself (the hack that is responsible for setting up
    the server)?
    If you start talking to yourself, people wonder. Your service provider (sbcglobal.net) is the one that has to handle this.
    Russ
    Xserve G5 2.0 GHz 2 GB RAM   Mac OS X (10.4.8)   Apple Hardware RAID, ATTO UL4D, Exabyte VXA-2 1x10 1u

  • I can't connecting with my mail server

    Hi,
    I have an ipod touch 4g. And since two weeks every time I want to check my mail's and open the normal mail app from apple is there standing 'no connecting with the server please try it later again' and then when i try it later the same thing apeared. What can I do, because it's very important for me to check my mails from my ipod and to sent some.
    Please Help me. Thanks befor

    Can you access the account from other devices?
    Does Safari work?
    Have you tried when connected to another wifi network?
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • HT1277 Multiple accounts on same domain in Apple Mail blocks connection to the mail server.

    I am trying to run two separate mail accounts on my Mac in Apple Mail, both using the same domain name. I don't want to use aliases because one is a personal mail account and the other is a helpdesk one, with different signatures. I also want to keep emails for those accounts separate.
    I can get the first account working fine. When I add the second account, Apple Mail tells me it can't connect to the mail server for either account. As soon as I remove the second account, the first account starts working again.
    Anyone know why this might be?
    The mail server is Postfix running on a Linux server. My Mac is running OS X Lion v10.7.5.
    The mail accounts are IMAP - I also access them from my iPhone 3GS (iOS 6). Again, I can get the first one working from the iPhone, but as soon as I add the second one it falls over.

    If the email service you were trying to connect to was an icloud email account, then the outgoing server can't possibly be right (yahoo.com???).  If it's to yahoo, then the "apple.smtp.mail" part certainly looks suspicious.  Are you sure the server address wasn't changed at some point?
    So the first question for you is..  which email service were you trying to use?  Yahoo or icloud (or something else)?

  • SMTP error from remote mail server after initial connection:

    Hello folks. I having some serious issues sending email to clients with .mac accounts. I keep on getting the following error. Can someone help? I have replaced email address names with "Blank@...) for obvious reasons.
    This message was created automatically by mail delivery software.
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    [email protected]
    SMTP error from remote mail server after initial connection:
    host smtp-mx1.mac.com [17.148.20.64]: 452 try later:
    retry timeout exceeded
    ------ This is a copy of the message, including all the headers. ------
    Return-path: <[email protected]>
    Received: from ip72-207-229-240.br.br.cox.net ([72.207.229.240] helo=[192.168.0.102])
    by srv3.purenrg.com with esmtp (Exim 4.68)
    (envelope-from <[email protected]>)
    id 1JFeOb-0001FZ-5F
    for [email protected]; Thu, 17 Jan 2008 18:43:41 -0500
    Message-Id: <[email protected]>
    From: "[email protected]" <[email protected]>
    To: Cindy Barnes <[email protected]>
    Content-Type: multipart/alternative; boundary=Apple-Mail-3--1032078955
    Mime-Version: 1.0 (Apple Message framework v915)
    Subject: invoice 520 is overdue
    Date: Thu, 17 Jan 2008 17:43:40 -0600
    X-Mailer: Apple Mail (2.915)
    X-PopBeforeSMTPSenders: [email protected]{
    --Apple-Mail-3--1032078955
    Content-Type: text/plain;
    charset=US-ASCII;
    format=flowed
    Content-Transfer-Encoding: 7bit

    I'm sure someone will give more detail, but it looks like the server blocked your address because it thinks it's a spam source.  If you're not spamming, then it might be someone on the same network spamming, or malware on your computer doing it.  Or it could just be a mistake.  try calling whoever runs your mail server and see if they can give you more information.

  • I can't set up gmail in my iPad 2. Keep on saying ' can't connect with SSL and ask me whether to connect without using SSL, then I press 'yes' and it said again IMAP is not working and tell me to see network connection and incoming mail server.

    I can't set up gmail in my iPad 2. Keep on saying ' can't connect with SSL and ask me whether to connect without using SSL, then I press 'yes' and it said again IMAP is not working and tell me to see network connection and incoming mail server. No idea how to do anymore. Already tried to figure out. But not work. Can anyone pls help me?

    Nope, doesn't pass verification. I get the spinner for a minute or so, then the alert about setting it up without SSL. Are you suggesting I disable Fetch and Push BEFORE I enter the account details? Because I never get past the account details screen, unless I choose "Set up without SSL" after the warning.

  • An encrypted connection to your mail server is not available.

    I've seen various people that have experienced the issue of having the following message appear when setting up an email account in Outlook 2013 "An encrypted connection to your mail server is not available" however none of the solutions i've came
    across have helped me so far.
    The Windows 7 laptop I was installing office 2013 on previously ran office 2007 and the email worked fine on it (it's a Microsoft 365 email account). I had a spare license for office 2013 so I uninstalled office 2007 and installed office 2013. But when I
    tried to set up the email got the message "An encrypted connection to your mail server is not available".
    I tried the same email address in outlook web app and it works fine. I've tried setting it up on a Windows 8 pc and also another Windows 7 laptop both with Outlook 2013 and it works fine, so I knew it wasn't the email settings server side etc. that was causing
    the problem, so I therefore thought it was a computer issue. I also tried manually setting the email up instead of using auto-discover but that didn't work either.
    I have uninstalled and re-installed office again to see if that worked but experienced the same issue.
    Yesterday on a whim I tried another email on the affected laptop (it's a colleagues and also same domain email and also a Microsoft 365 account) and it worked ok. I'm now thinking that there must be some file somewhere or something in the registry blocking
    the email being set up again as it was previously used on the laptop.
    Anyone with any suggestion I've been stuck on this for a couple of weeks now and it's really bugging me?
    (I originally posted this in the office forum but they referred me here).

    Hi Dave-Houston,
    According to your description, I notice that you cannot properly configure Outlook with your primary office 365 account after reinstall Outlook client.
    If I have misunderstand your concern, please don’t hesitate to let me know.
    If possible, please try to configure your e-mail account on another computer. If it works fine, it indicate that the issue is relate to your computer, for example residual registry information about primary account, incorrect username and password.
    Please try to open Control Panel--> User Accounts---> Credential Manager, double check whether store some incorrect credential. If so, we can delete it and try again.
    Additional, please try to re-create a user account  for testing. More details about
    Create a user account, please refer to:
    http://windows.microsoft.com/en-us/windows/create-user-account#create-user-account=windows-7
    If problem persists, please pay attention to the link below, for your reference:
    https://support.microsoft.com/kb/2404385?wa=wsignin1.0
    Best Regards,
    Allen Wang

  • Oracle 10.2 on AIX -- need to connect to remote SQL server by dblink

    oracle 10.2 on AIX -- need to connect to remote SQL server by dblink
    i didn't see a odbc diectory in our oracle home path. how do i know odbc driver is installed in the oracle on our AIX server.
    If it is there, do i just need to modify the odbc.ini and then the inithsodbc.ora, linster.ora, tnsnammes.ora files, or am I missing something
    Appreciate your response
    Edited by: user10876711 on May 12, 2011 9:18 AM
    Edited by: user10876711 on May 12, 2011 9:18 AM

    when you want to connect from Oracle to a SQl Server you need the Oracle Gateway (HSODBC or even better Dg4ODBC) and a FOREIGN ODBC DRIVER for your foreign database - a SQL Server ODBC driver. You have to get this driver from a 3rd party vendor - Oracle does not offer any foreign ODBC drivers.
    So before being able to use DG4ODBC/HSODBC you need to install from a 3rd paryt vendor a SQL Server ODBC driver. Commercial vendrs are for example Data Direct, Openlink or Easysoft.
    On Unix ODBC drivers commonly also require a driver manager. If the ODBC driver vendor does not ship one with the ODBC driver you can get it from www.unixodbc.org

  • Error when connecting to IMAP mail server - untrus...

    I am using a Nokia N97 with the v21 firmware.
    I am connecting to a mail server via IMAP, using the phone's mail client (not mail for exchange). This has previously worked perfectly, however now I cannot update my inbox and view the emails.
    When I try to update the inbox, I get a dialogue box that says "Website has sent an untrusted certificate". After choosing "allow permanently", the inbox does not update. The message comes up every time I try to update (even when I've previously chosen "allow permanently".
    I can however successfully send emails via the SMTP server using the phone (IMAP for sending is restricted, so have to use SMTP).
    Does anyone have any ideas on why this is happening, and how I can solve it? I've also contacted the IT guys for the mail server, as I'm not sure whether the problem lies with the mail server or the phone, or both.

    Make sure you are using right security protocol, for IMAP you need to enable TLS/SSL. Go to email settings> Incoming mail > Security.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Setting up CF mail server to connect to ISP mail server

    I would like to setup a testing evironment and use my ISP's
    mail server to test and create CF mail applications.
    When I tried connecting to the ISP's mail server which is
    "smtp.comcast.net " I received the following message from
    CF admin "Connection Verification Failed". I also tried
    entering my user name and password before the server name
    (e.g.: [email protected]:[email protected]
    What would cause the communication failure from the CF server
    to the ISP's mail server?
    If I cannot get this to run what alternatives do I have?
    I am using WinXP pro. Can I install a mail server on my local
    machine and configure CF admin to connect
    to the mail server on my local machine?

    You can install the SMTP server on your computer.
    Control Panel > Add/Remove Programs > Add/Remove
    Windows Components >
    Internet Information Services > Details . check the SMTP
    Service checkbox
    Then use localhost as the mail server.
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "TonySDev" <[email protected]> wrote in
    message
    news:eilfo4$n31$[email protected]..
    >I would like to setup a testing evironment and use my
    ISP's mail server to
    >test
    > and create CF mail applications.
    > When I tried connecting to the ISP's mail server which
    is
    > "smtp.comcast.net "
    > I received the following message from
    > CF admin "Connection Verification Failed". I also tried
    entering my user
    > name
    > and password before the server name
    > (e.g.: [email protected]:[email protected]
    >
    > What would cause the communication failure from the CF
    server to the ISP's
    > mail server?
    > If I cannot get this to run what alternatives do I have?
    > I am using WinXP pro. Can I install a mail server on my
    local machine and
    > configure CF admin to connect
    > to the mail server on my local machine?
    >
    >

  • Flex mobile connect to remote secure server!!

    Hi guys
    I'm a beginner with flex mobile.
    i'm trying to create an appllication flex mobile. and i have to connect to remote secured server (apache) to get some services deployed.
    i did it and when i try with emulator from flash builderit's worked, a pop up window started to enter a login and password for connect to the remote server. it's okay, i get a result.
    but now when i try this application with my mobile phone, application launched correctly but i can't connect to remte server ( i dont have anythig like a popup to enter the login and pssword).
    i need your help.
    thanks

    Did you ever figure this out? I'm having the same issue.

  • 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.

Maybe you are looking for

  • Jdbc Sender Adapter and Acks

    Hi, am I right in saying that the JDBC Sender Adapter can't request XI system level acknowledgements. Due to this it is necessary to establish an integrations process fed with the data from the sender adapter, sending it to the target system and rece

  • Printing Issues in wireless mode

    I recently purchased an HP2025dn printer and installed on my home network. I have a G5 Mac Pro hardwired on the net, and the printer works fine. I have an Airport Extreme with two laptops connected wirelessly. I cannot print from either one; one is a

  • Using macbook w/ bad battery

    My battery is shot but for reasons too complicated to go into I can't get it replaced, at least not right now. Can I continue to use my Macbook Pro just plugged in, or will this make the computer explode or fry itself? Is there a way to switch to som

  • Explorer Version for MDM 5.5 SP06

    Hi, I was wondering if MDM 5.5 SP06 supports any other internet explorer version than IE6? I found a note (1422355) regarding 7.1 where support for IE 8 is mentioned, but nothing about the 5.5 version. I think the PAM mentions IE6, but I just want to

  • Windows 7 not starting after selecting Launch startup repair

    I accidentally pressed the off button on my computer and when I tried to start it gives me the message Windows failed to start, so I selected launch startup repair (recommended). Now, it is taking forever to fix the system and is frozen, does anyone