Javamail with 2 NIC, cannot connect to host port 25

Hi
How do I use Javamail on a PC with 2 NIC connection? 1 to the internet and another to another network.
I tried disable the one to another network and my program can work. If both network connection is up, I received connection error to host at port 25.
Do I need to add anything to my program for it to work on 2 NIC PC?
          java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
          //Set the host smtp address
          Properties props = new Properties();
          props.put("mail.transport.protocol", "smtp");
          props.put("mail.smtp.host", SMTP_HOST_NAME);
          props.put("mail.smtp.starttls.enable","true");
          Authenticator auth = new SMTPAuthenticator();
          //auth = null;
          Session session = Session.getDefaultInstance(props, auth);
          session.setDebug(false);
          // create a message
          Message msg = new MimeMessage(session);
          MimeBodyPart attachFilePart = new MimeBodyPart();
          FileDataSource fds = new FileDataSource(attachment);
          attachFilePart.setDataHandler(new DataHandler(fds));
          attachFilePart.setFileName(fds.getName());
          Multipart mp = new MimeMultipart();
          MimeBodyPart textPart = new MimeBodyPart();
          textPart.setContent(message, "text/plain");
          mp.addBodyPart(textPart);
          mp.addBodyPart(attachFilePart);
          InternetAddress[] addressTo = new InternetAddress[recipients.size()];
          for (int i = 0; i < recipients.size(); i++)
               addressTo[i] = new InternetAddress(recipients.get(i));
          msg.setRecipients(Message.RecipientType.TO, addressTo);
          msg.setSubject(subject);
          msg.setContent(mp);
          Transport.send(msg);Thanks for the help.
Regards,
Shawn

Normally the networking system on your PC will choose the appropriate interface to connect
to the host you're trying to connect to. If that's not working, it's probably a Windows problem.
Follow the JavaMail FAQ tip for debugging connection problems by connecting with telnet,
if that fails as well, it's definitely a Windows problem.

Similar Messages

  • Error while connecting to Microsoft Exchange server using javamail: "com.sun.mail.util.MailConnectException: Couldn't connect to host, port: host name , 993; timeout -1"

    I am trying to read mails from my outlook microsoft exchange server. Following is the code:
    public void readEmailsFromOutlook(/*String host, String username, String password*/ ) throws MessagingException, IOException {
          String host = "hostname";
          String username = "domain\\username";
          String password = "password"
          // Create empty properties
          Properties props = System.getProperties();
          props.setProperty("mail.smtp.auth","true");
          props.setProperty("mail.store.protocol","imaps");
          props.setProperty("mail.imap.auth.plain.disable","true");
          props.setProperty("mail.imap.host",host);
          props.setProperty("mail.imap.port","993");
          props.setProperty("mail.imap.user",username);
          props.setProperty("mail.imap.pwd",password);
          props.setProperty("mail.imap.debug","true");
          props.setProperty("mail.imap.ssl.protocols","SSL");
          props.setProperty("mail.imap.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
          props.setProperty("mail.imap.socketFactory.fallback", "false");
          props.setProperty("mail.imap.socketFactory.port", "993");
          // Get session
                     Session session = Session.getInstance(props, new ExchangeAuthenticator(username, password));
          session.setDebug(true);
          // Get the store
          Store store = session.getStore("imaps");
          //Store store = session.getStore();
          store.connect(host, username, password);
          // Get folder
          Folder folder = store.getFolder("INBOX");
          folder.open(Folder.READ_ONLY);
          BufferedReader reader = new BufferedReader(new InputStreamReader(
              System.in));
          // Get directory
          Message message[] = folder.getMessages();
          for (int i = 0, n = message.length; i < n; i++) {
            System.out.println(i + ": " + message[i].getFrom()[0] + "\t"
                + message[i].getSubject());
            System.out.println("Read message? [YES to read/QUIT to end]");
            String line = reader.readLine();
            if ("YES".equalsIgnoreCase(line)) {
              System.out.println(message[i].getContent());
            } else if ("QUIT".equalsIgnoreCase(line)) {
              break;
          // Close connection
          folder.close(false);
          store.close();
    But it threw the following error:
    DEBUG: setDebug: JavaMail version 1.5.1
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Oracle]
    DEBUG IMAPS: mail.imap.fetchsize: 16384
    DEBUG IMAPS: mail.imap.ignorebodystructuresize: false
    DEBUG IMAPS: mail.imap.statuscachetimeout: 1000
    DEBUG IMAPS: mail.imap.appendbuffersize: -1
    DEBUG IMAPS: mail.imap.minidletime: 10
    DEBUG IMAPS: trying to connect to host <hostname>,port 993, isSSL true
    com.sun.mail.util.MailConnectException: Couldn't connect to host, port: 10.75.250.60, 993; timeout -1;
      nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:693)
    at javax.mail.Service.connect(Service.java:345)
    at javax.mail.Service.connect(Service.java:226)
    at com.capgemini.utilities.Utilities.readEmailsFromOutlook(Utilities.java:1261)
    Whats wrong with my code?
    Please help!!!!

    You're using the "imaps" protocol, but you've set properties for the "imap" protocol.  Change all the property names from mail.imap.* to mail.imaps.*.
    Also, get rid of all the socket factory properties.
    If you still can't connect, see these connection debugging tips.
    Most likely you're using the wrong host name or port number.  In almost all cases, it's better to just let JavaMail choose the correct port number.

  • Cannot connect to Host with user name J2EE_ADMIN !!!

    Hi all,
    this exception when deploy from NWDS04s:
    <i><b>Caught exception while checking the login credentials for SAP J2EE Engine. Cannot connect to Host with user name J2EE_ADMIN</b></i>
    Complete exception:
    <i>Result
    => deployment aborted : file:/D:/DOCUME1/VITO1.PAL/LOCALS~1/Temp/temp23237GivaudanNavigation.ear
    Aborted: development component 'GivaudanNavigation'/'local'/'LOKAL'/'0.2006.03.20.16.50.48':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [milds2004] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Access Denied.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted</i>
    Any help will be appreciate. Thx.
    Vito

    Hi Nagarajan,
    it seems not good
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>sdm changepassword "sdmhome=D:\usr\sap\GVD\
    DVEBMGS01\SDM\program" "newpassword=ADMIN1"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_java_home=D:/j2sdk1.4.2_09
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_64bit_switch=
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_heap_size=128
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_memory_switch=-Xmx128M
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>set sdm_com="D:/j2sdk1.4.2_09\bin\java"  -X
    mx128M  -jar "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar"
    D:\usr\sap\GVD\DVEBMGS01\SDM\program>"D:/j2sdk1.4.2_09\bin\java"  -Xmx128M  -jar
    "D:\usr\sap\GVD\DVEBMGS01\SDM\program\bin\SDM.jar" changepassword "sdmhome=D:\u
    sr\sap\GVD\DVEBMGS01\SDM\program" "sdmhome=D:\usr\sap\GVD\DVEBMGS01\SDM\program"
    "newpassword=ADMIN1"
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addI
    viewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBased
    SecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator g
    enerateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem
    startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConf
    igurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHiera
    rchicalContext lookup
    Starting SDM - Software Deployment Manager...
    tc/SL/SDM/SDM/sap.com/SAP AG/7.0005.20051006181702.0000
    Initializing Network Manager (50117)
    Checking if another SDM is running on port 50118
    SDM is integrated in JStartupFramework. No repository changing commands are poss
    ible.
    Processing error. Return code: 4
    Could U help, pls? Thx
    Vito

  • ERROR:Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]

    Dear All,
    When I try to deploy WD application, it gives me this following error and doesn't deploy.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [MTW02SDEP02] with user name: [Administrator]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during getInitialContext operation. No server is running. [Root exception is
    Caused by: com.sap.engine.services.security.exceptions.BaseLoginException: Exception in creating new RemoteLoginContext instance.
         at com.sap.engine.services.security.remote.login.RemoteLoginContextExt.<init>(RemoteLoginContextExt.java:34)
         at com.sap.engine.services.jndi.implclient.LoginHelper.clientSideLogin(LoginHelper.java:81)
         at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:355)
         ... 38 more
    Caused by: com.sap.engine.services.rmi_p4.P4ConnectionException: Possible problem: no available running server node. Check your running servers.
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:709)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.getException(P4ObjectBrokerClientImpl.java:697)
         at com.sap.engine.services.rmi_p4.Parser.newRequest(Parser.java:180)
         at com.sap.engine.services.rmi_p4.Connection.run(Connection.java:427)
         ... 1 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi
    Try this
    1. Is this is the remote server?
       if yes make one entry in host file under C:\WINDOWS\system32\drivers\etc
        format   :  <server ip>  <servername>
        restart NWDS
    2.If not then put the Ip address  instead of name inside Window--preference --Sap server Check.
    3. Put some different UserId and Password who has deployment rights
    Best Regards
    Satish Kumar

  • "Cannot connect to host:" - Visual Administrator Error

    Dear Experts,
    I am unable to login using Visual administrator and the portal is also down. When i try to login using VA it gives the error
    Cannot connect to Host:XXX and Port:XXXX
    and when i try to call the portal url i get a page cannot be displayed error is displayed.
    I have tried the following solution with out any luck.
    Cannot startup visual administrator due to UME logon client details changed
    /thread/731863 [original link is broken]
    Cannot startup visual administrator due to UME logon client details changed
    Very urgent. Please help ASAP
    Thank you
    Thanu

    Hi Tomas Gustafsson,
    Thank for the reply,
    dev_jcontrol
    dev_server0
    dev_dispatcher
    -> Displays the line as programming code 
    Hallo

  • Running Toolkit - Cannot connect socket to port

    Hi,
    Can anybody help me to try and execute any program with the J2ME Toolkit. After loading the jad file from the samples I get the following error. This happens irrespective of the application I try and the applications do run on the Nokia toolkit I have installed. The error is as follows:
    Running with storage root DefaultColorPhone
    Cannot connect socket to port 3279
    Windows error code 10061
    Cannot open socket for LIME events on port 3279
    I am running Windows XP Pro, JSDK1.4.2.
    Thanks for your help.
    Sean Mac

    when i run the j2me toolkit 21 get the following message and the device disapears after a second...
    cannot connect socket to port 1047
    Windows error code 10061
    cannot open socket for LIME events on port 1047
    plzzz reply

  • SFTP cannot connect to host

    Weird issue here. Probably not DW's fault, but this seemed like the best place to start asking.
    I'm using DW CS3 on a laptop running 64-bit Vista Ultimate, and it's connect via WLAN. On this machine I cannot connect to a site over SFTP. I get an immediate "Cannot connect to host" error. All normal FTP sites work fine. I also cannot connect to this SFTP site using CuteFTP on this machine.
    However, on another PC, which is running XP Pro and is directly on the LAN (same network), I can connect to the same SFTP site successfully with DW CS3. The site settings are the same: I exported them from one machine to the other.
    At first I thought it might be an issue with the Vista machine's Windows Firewall, but I disabled that, and got the same error.
    I've Googled a bit for problems pertaining specifically to Vista and/or Wi-fi with SFTP, but so far no luck. I'd prefer to use the laptop as that is my primary work machine, but at least I can use the alternate PC to work on this site until I get this figured out.
    Any ideas?
    Thanks,
    Greg

    It definitely feels like a firewall kind of issue.  Do you have a firewall set on either of your Dreamweaver installations? You can set this up in the Preferences panel (screenshot attached). 
    Hi Josh,
    That's what I thought. So I temporarily disabled the firewall (Windows Firewall) on the laptop, but that didn't fix it. (The PC on which it does work has ESET's firewall.)
    There's also a firewall on my D-LINK router, but its logs didn't show any blocking in real time.

  • FTP connection error w/DW5.5 - cannot connect to host

    I was able to upload to my site on Monday, but the next day I started receiving the FTP error: cannot connect to host. It's not an issue with my provider and I can post using net2ftp.com and Filezilla, but not in Dreamweaver CS5.5.
    I went to the manage site area and created an Adobe Test Server - I receive the same error.
    I've studied several discussions, but I can't get this to work. Any new ideas?
    Craig

    I've been managing this site for a long time and update coupons on it approximately every 60 days. For some reason, I'm not having problems:
    I opened DW CS5 today and made the changes necessary to update coupons. I was able to connect to the host server with no problem but most of my coupon images were not showing up. DW tells me I have 70 broken links, which can't be the case because I've reviewed them. Some links work and are the same as the broken links other than the file name. Unable to figure it out, I thought maybe restarting my Mac would help. However, upon logging back into DW, I am now unable to connect to the host server. I get an FTP error notice that the file doesn't exist or there is a permissions problem. Funny thing is, I can connect successfully if I test the connection through the Site Management window.
    Has anyone else had this issue and if so, what is the solution? I feel like this is probably a simple fix, but I cannot for the life of me determine what it is! If anyone knows a solution, I'd really appreciate the help!
    -Toni

  • Cannot connect socket to port

    ok here is deal.
    the WTK was working fine for the existing demos.
    then i tried to write code of my own, since the code couldnt compile (javax.microediton.* wasnt found) i overwrite the existing installation with a new, and the compile was fine......
    But now i cant "Run" any project/class i get this ERROR msg:
    Project "Games" loaded
    Project settings saved
    Building "Games"
    Build complete
    ------>
    Running with storage root DefaultColorPhone
    Cannot connect socket to port 1179
    Windows error code 10050
    Cannot open socket for LIME events on port 1179
    what have i donw wrong, how can i fix this? Already tried to re-install but nothing .
    Ty for any help.

    ok in the J2ME WTK 2.2 Beta 2 i get the problem i mention before ,error while running,(BUILD IS FINE) but now on any port and i mean ANY
    in the J2ME WTK 2.1_02 version,on the other hand, I Cannot Build (even the presaved sun classes) but i can RUN......
    should i build in the 2.2 and then copy/paste the class files in the 2.1 directory and run from there? i imagine that could be a solution but not an error solving one.
    This is WEIRD???????? :confused:
    Can some one give me a FULL istraction what to do?
    I am using the 1.5 SDK (java 5.0) but this should be irrelevant since both the runing and the building are "partially" done..... im not joking i cant image what is wrong........ btw did i mention that my computer has its own will?

  • Cannot connect to Host

    Cannot connect to Host: ?  
    Posted: Apr 9, 2007 1:40 PM         Reply      E-mail this post 
    Hi
    I have installed Sneak Preview in my system. When i am executing the Web Dynpro application its asking for SDM password. I have given the password which i am using for RemoteGUI.bat. I am able to login to RemoteGUI using the same passord. But when ever i have given the same password to the in SDM in Web Dynpro i am getting the following error
    <b>
    Error: Aborted: development component 'Sample'/'local'/'LOKAL'/'0.2007.04.08.19.37.49':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [compaq] with user name: [Administrator]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Cannot authenticate the user.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)</b>
    But my password is correct..
    One more question.. How to create SLD in Sneak Previrew....
    Please Help Me
    Best Regards
    Ravi Shankar B

    Hi Ravi,
    there could be two reasons:
    1. Check whether you have made entry in Hosts file for your system hostname and IP address mapping. If not, you have to make entry in the host file.
    2. Did you change the password of Administrator? If you have changed password of Administrator then, Open config tool and go to the secure store. Here, provide Same password of Adminsitrator in J2EE admistrator password field.
    Password of Administrator in UME and in config tool should be same at all the time.
    After doing this, try to deploy your application once again.
    Regards,
    Bhavik

  • ERROR: Cannot connect to Host: [SERVER] with user name: [J2EE_ADMIN]

    Hello SAP experts
    I have started to deploy java SPS on a solution manager system, but has encountered some problems.
    I've tried both JSPM and SDM, but get the following error:
    Software Component 'ADSSAP'/ 'sap.com'/ 'SAP AG' / '1000 .7.00.16.0.20080610114809''/ '1 ':
    Caught exception mens checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Can not connect to Host: [SERVER.domain] with user name: [J2EE_ADMIN]
    Check your login information.
    Exception is:
    com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception vid getInitialContext surgery. No server is running. [Root exception is com.sap.engine.services.
    I can not log on Visual admin, with user J2EE_ADMIN, I've checked the user is not locked in the ABAP stack. I have activated SAP * on the JAVA stack, but still can not log on, get this error:
    Error while connecting
    com.sap.engine.services.security.exceptions.BaseLoginException: Can not create new remote login context.
    I've run out of ideas, please some suggestions.

    SOLVED - Note 609603

  • How 2 config OID 10.1.2.02 OAS install? Cannot get past HOST / Port screen?

    My problem is I cannot figure out HOW to install / configure OID, so that I get past the host / port screen ... there is nothing in my Programs links that indicates anything. The "DIPadmin" won't let me log in ... I am really stuck and really annoyed. Don't even know if I need OID, but can't seem to install OAS10g w/o it.
    The installation guide does NOT EVEN HAVE "Internet Directory" IN THE INDEX of a 380 page document ... it devotes a WHOLE CHAPTER to how to set up users ... BUT IT SEEMS TO BE A BIG SECRET as to what the host name and port number should be.
    Can ANYONE Clarify this for me??
    I am trying to install 10.1.2.0.2 (I do not think I want the BEA weblogic server, at least, not yet). What I want is a server for Forms/Reports 10g, maybe BI, maybe portal ... don't know if I really need a repository. ... and also want to use ApEx via this Apache webserver config, if at all possible (can I put a DBLINK in the metadata repository, to link to the real db? do I want to?)
    I will be buy-you-a-beer-at-ODTUG-grateful, if someone could clue me in as to what I am missing.
    Suzanne

    I can see the enormous torment you got in your attempts to install OAS and because of your years of this torture, let me share you some notes here.
    Let me try what could be an easy way to have an OAS installation with version 10.1.2.0.2. This will be good for a portal installation. minor changes can lead you to install BI or webcache types.
    there is a whole bunch of assumptions and details that are important but they may again give problems for a new person in installing the OAS. so I am skipping them all. this installation will be a simple single system install with both infra and midtier on the same system. you can run the second part of the installation (midtier on another system too which should be connected in the network). but again, first have the simplest piece, then look for sophistication.
    i can see that you are working on Windows system.
    edit etc/hosts file
    please beware; this assumes that you are using a clean system. that means, no other applications are critically relying on your etc/hosts file. and editing this file will not affect their functioning. also, i am assuming that this machine that you have will not be exposed behind your company's firewalls. so even by naming it www.myfirstoas.com, you won't actually be going to this URL on internet.
    edit your etc/hosts file as follows, then you should be all set:
    xx.x.x.xxx www.myfirstoas.com
    give the ip address of your machine in this case;
    Now install the Infrastructure first:
    These will be the answers of the first few questions asked;
    Infra Home: Infra1012
    Location: D:\ORACLE\Infra1012
    Confirmed that I have administrator privileges on the machine;
    -- orcldefaultsubscriber=dc=myfirstoas,dc=com
    automatic port assignments
    go with the suggested namespace = dc=myfirstoas,dc=com
    DB Name: infra.myfirstoas.com
    SID : infra
    using same password for:
    SYS, SYSTEM, SYSMAN, DBSNMP : myfirstoas01
    instance name : Infra1012
    ias_admin pwd : myoasadmin01
    click install
    -- that should be all you need to install the Infrastructure 10.1.2.0.2.
    now i would advise that you keep writing all installation info in your notes and save it. Also copy and paste the message of successful completion in it, and save it.
    now reboot your system.
    now install Middletier;
    after reboot, rerun the OUI installer:
    Midtier Home: Midtier1012
    Location: D:\ORACLE\Midtier1012
    Confirm that you have administrator privileges on the machine;
    -- orcldefaultsubscriber=dc=myfirstoas,dc=com
    -- configured with OID on
    host : www.myfirstoas.com
    port : 389
    username: orcladmin
    pwd : myoasadmin01 (note that this is the pwd for your ias_admin account for infra)
    DB connect string: www.myfirstoas.com:1521:infra.myfirstoas.com:infra.myfirstoas.com
    instance name: Midtier1012
    ias_admin pwd: oasAdmin02 (i kept the two ias_admin pwds different to highlight that the infra and midtier instances are different)
    click install
    -- that should be enough to install midtier.
    again, always keep all installation info in your notes and save it. Also copy and paste the message of successful completion in it, and save it.
    also, always reboot your system after any installation to avoid weird transient problems.
    it should all be done in about 3 hours or so.
    hope that helps!
    AMN

  • Installed 10g on W2K3 concurrently with 9i - cannot connect to 10g

    On a Windows 2003 server running Oracle 9i, I installed the Oracle 10g database. After the installation, I'm unable to connect to 10g database but can connect fine to the 9i instance. .
    At the SQL prompt, while trying to log as system/manager@STR05CI I get the following errors:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    If I connect as sysdba to start the database, I encounter the following errors:
    SQL>Connected to an idle instance
    SQL>startup
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_STR05CI'
    Some of the things done:
    -Two ORACLE_HOMES installed
    -Two different ORACLE_SID (one for 9i -D5BSM - and one for 10g - STR05CI)
    -Shutdown the listener for 9i and running only the listener for 10g
    -modified slqnet. ora with SQLNET.AUTHENTICATION_SERVICES= (NONE)
    -All ports on 1521
    Pasted below is the status of the listener:
    C:\Documents and Settings\svc-ciams-dev>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.3.0 - Production on 11-APR-2008 16:20
    :59
    Copyright (c) 1991, 2006, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.3.0 - Produ
    ction
    Start Date 11-APR-2008 14:41:34
    Uptime 0 days 1 hr. 39 min. 26 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File C:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=USTO-DAPP-STR05.am.corp.amgen.com)(P
    ORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=USTO-DAPP-STR05.am.corp.amgen.com)(P
    ORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=USTO-DAPP-STR05.am.corp.amgen.com)(P
    ORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "D5BSM" has 1 instance(s).
    Instance "D5BSM", status READY, has 1 handler(s) for this service...
    Service "D5BSMXDB" has 1 instance(s).
    Instance "D5BSM", status READY, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "STR05CI.AM.CORP.AMGEN.COM" has 1 instance(s).
    Instance "STR05CI", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Besides the things listed above, I've been unable to locate other instructions on how to install two different database versions on the same server.
    Also, how do I resolve the 'status UNKNOWN' for the STR05CI instance so that it becomes READY?
    Any help would be appreciated.
    Thanks!

    You have an entry LOCAL_LISTENER in your spfile, that's not necessary (at least for single - non RAC - instances) as long as listener is running on port 1521. If you specify this parameter, you have to add address resolution to tnsnames.ora .
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Basically that means database is not started, it also happens when tnsnames.ora entry points to an non-existing SID.
    'UNKNOWN' means there's a static entry for the instance in listener.ora, 'READY' is shown when there was a dynamic registration of the instance with the database. PMON background process does this automatically, when there's no entry in listener.ora and listener runs on port 1521.
    Werner

  • Please, help me with the ''Cannot connect to iTunes store'' problem

    The same common problem can't be fixed .. I tried every possible solution, none of them worked.I tried changing date and time, reset network settings.None of them worked with me
    Please help me to solve this problem

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • How can get Dreamweaver to stop error message: an ftp error has occurred- cannot connect to host?

    Dreamweaver is locking me out when I try to connect to the host via ftp. I get the error message: "An ftp error has occurred - cannot make connection to host". This error message started yesterday when I used the wrong host ftp address too many times. I have since received the correct ftp address from my website host, but the system won't even let me log in...it just gives me that error message when I click the connection button on the panel. My website host recommends that I uninstall Dreamweaver and re-install it again. My concern is, if I un-install the Dreamweaver app, which I downloaded from the Cloud, will the Cloud know I've un-installed Dreamweaver and allow me to download it again? Please help.

    See my response in your most recent thread. Please don't double post like that - it can confuse things considerably when replies come in to both threads.

Maybe you are looking for

  • How do I block other users on one computer?

    My family shares one PC. When I open itunes, everything that's been downloaded by everyone is automatically shown, even when we're not signed in to individual accounts. For example, if I download a song, it's added to everyone's account. I would like

  • Photo Gallery Auto Start

    I've gone through the photo gallery tutorial: http://www.adobe.com/devnet/dreamweaver/articles/spry_photo_album.html And it worked just fine for me. But now I'd like to create a photo gallery for a homepage that loops through a couple of images. I've

  • Very Important Edge and Missed calls

    Hello Apple forums so can you test this for me. 1.turn wifi off and connect via edge 2.go to youtube play a movie 3. why movie is playing phone your iphone. does the video stop and you get a pop up to answer the call. now if the answer is no and it g

  • How to get the difference between two columns in a column group

    Hi All, My first time here and really new to programming. I would like to get the difference between 2 columns that are inside  a column group. Here is my sample table below: The Column Group is PeriodNumber and can only choose 2. like 1 and 2.. I wo

  • Oracle 10g Vs Oracle 11g Scripts

    Hi We have a production environment that has Oracle 11g and development environment with Oracle 10g. Scripts for: 1. Creating tables with constraints 2. Insert/Update/Delete records 3. Create Triggers 4. Create Stored Procedure will be developed in O