Problems connecting from Forms 6i to Personal Oracle

I have loaded Oracle 8i Personal Edition in the following directory c:\Oracle\Oar81 and Forms 6i in c:\Orawin95 on my local PC. I'm running windows 98 OS. I have been able to use SQL*Plus to query the customer and sales_order demo databases sucessfully. I've also went out to DOS and started up the listner. However when I bring up Forms Builder and try to connect to the database I get the following error: ORA-01034: Oracle not available. I am logging in as scott/tiger. Do I need to specify a database name? Do you have specific suggestions on how to get the Oracle database and Forms Builder talking?

I have tried your solution and it did not work. Is there another proposition. It seems there is a lot of bugs in oracle forms 6i or personal oracle 8i.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by p g ([email protected]):
Hi,
I isntalled oracle8i in H:\oracle\ora81 and forms6i in H:\oracle\orant. In order to access tables from oracle8i into froms6i, I copied the service block
CSCPRJ.DCS =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = prashant)(PORT = 1521)))
(CONNECT_DATA =
(SERVICE_NAME = CSCPrj)
from my oracle home tnsnames.ora file
H:\oracle\ora81\network\admin\tnsnames.ora
and pasted it in forms home tnsnames.ora file
H:\oracle\orant\NET80\ADMIN\tnsnames.ora
No reboot necessary..
This let me access my tables from forms6i.
Hope this helps
prashant<HR></BLOCKQUOTE>
null

Similar Messages

  • How do I connect from  forms 6i  and SQL Plus to Oracle XE?

    I have successfully installed Oracle database XE on my work labtop. This machine has already oracle forms,reports,sqlplus installed locally. I have tnsnames.ora file in orant/net80/admin directory. I have created an entry in this tnsnames.ora file copied from the tnsnames.ora file created during the installation of XE in the directory where xe is installed.
    I can connect to XE from dos promt by typing sqlplus system/password@xe. But if I go to sqlplus 8.0 (Windows) and try to connect , I get a tnsnames error. Same as when connecting from forms.
    Someone please advice. Also If i create an application using Oracle Database Xe
    and Oracle forms 6i , Is there any way that I can embedd the database in the forms to distribute as a package.?
    Thanks
    George

    George,
    please give us a bit more details:
    1) You are on Windows XP SP2, right?
    2) please post the result of your tnsping80
    D:\Oracle>tnsping80 xe
    TNS Ping Utility for 32-bit Windows: Version 8.0.6.3.0 - Production on 12-JAN-2006
    08:24:27
    (c) Copyright 1997 Oracle Corporation.  All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))
    OK (360 msec)3) In which order did you install the oracle software, XE was last, right?
    4) Can you still connect using Forms to your other databases? Is everything else still working, just the connect to XE doesn't work?
    5) please post your PATH variable:
    echo %PATH%
    6) please post the XE entry from your tnsnames.ora
    7) please post the result of your "normal" tnsping:
    tnsping xe
    Also If i create an
    application using Oracle Database Xe
    and Oracle forms 6i , Is there any way that I can
    embedd the database in the forms to distribute as a
    package.?Sure, XE is meant to be embedded by other solutions. I guess Oracle will have detailed documentation on how to create a package, preinstall the necessary schemas and objects and distribute it together with your forms and reports.
    ~Dietmar.

  • How to connect from VC++ 6.0 to Oracle 8i

    Can anybody tell me how to connect from
    VC++ 6.0 to Oracle 8i which is installed
    in server (without installing in client)

    Whats the problem you are facing, from what I see its pretty straight forward. Edit the system object, from 'Show Category' drop down select Internet Transaction Server, hit the modify button at the extreme right and your good to go.
    Thanks,
    GLM

  • I can't connect to Wi-Fi - keeps timing out. No problem connecting from other laptops / phones. Stopped working after I did a system upgrade. What can I do?

    I can't connect to Wi-Fi - keeps timing out. No problem connecting from other laptops / phones. Stopped working after I did a system upgrade. What can I do? I am on OS X Yosemite.

    Take each of the following steps that you haven't already tried, until the problem is resolved. Some of these steps are only possible if you have control over the wireless router.
    Step 1
    Turn Wi-Fi off and back on.
    Step 2
    Restart the router and the computer. Many problems are solved that way.
    Step 3
    Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
    Step 4
    Run the Network Diagnostics assistant.
    Step 5
    In OS X 10.8.4 or later, run Wireless Diagnostics and fix the issues listed in the Summary, if any.
    Step 6
    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
    Step 7
    You may need to change other settings on the router. See the guidelines linked below:
    Recommended settings for Wi-Fi routers and access points
    Potential sources of interference
    Step 8
    Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    Step 9
    Reset the System Management Controller (SMC).

  • Forms 6i on personal Oracle 8i and polite 8i

    Hi,
    Does anyone have a clue about the reason I cant get to run forms 6i on personal Oracle 8i or polite 8. I keep getting an error saying no listner, althou I dont need a listner when I am using single machine. same seting was working on polite 8 and forms 6. I can run sql plus 8 fine on same machine. Please respond to my email. thanks

    Forms 6 does need a listener to eb able to talk to Oracle 8i even though they are on the same machine. This is because they reside in different Oracle homes and cannot 'see' each other. The listener should be started automatically with Oracle 8i, make sure you have a TNSNAMES entry for the 8i database in your Forms Net8 Oracle Home (probably ORANT or ORAWIN9x - not sure about Windows 2000!).
    hth
    Simon

  • Problem connecting from Oracle to MS Excel - 64 bit

    Hello,
    I have problem connecting to excel from oracle 11.2 using DG4ODBC.
    OS - Windows 7 - 64 bit
    Database version :- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit
    Created System DSN using ODBC:
    Data Source Name = test12
    Oracle home Path :- D:\app\11g64db\product\11.2.0\dbhome_1
    Content of initdg4odbc.ora file :
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = test12
    HS_FDS_TRACE_LEVEL = 255
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Content of listener.ora:
    # listener.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = vis)
          (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
          (SID_NAME = vis)
        (SID_DESC =
          (PROGRAM = dg4odbc)
          (SID_NAME = dg4odbc)
          (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = D:\app\11g64db
    Content of tnsnames.ora:
    # tnsnames.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    excel_test =
       (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
        (CONNECT_DATA=(SID=dg4odbc))
        (HS=OK)
    VIS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vis)
    Listener status
    LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on 29-AUG-2014 13:56
    :11
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.4.0 - Produ
    ction
    Start Date                29-AUG-2014 13:34:58
    Uptime                    0 days 0 hr. 21 min. 12 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\l
    istener.ora
    Listener Log File         D:\app\11g64db\diag\tnslsnr\Est-Subramanya\listener\al
    ert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "dg4odbc" has 1 instance(s).
      Instance "dg4odbc", status UNKNOWN, has 1 handler(s) for this service...
    Service "vis" has 2 instance(s).
      Instance "vis", status UNKNOWN, has 1 handler(s) for this service...
      Instance "vis", status READY, has 1 handler(s) for this service...
    Service "visXDB" has 1 instance(s).
      Instance "vis", status READY, has 1 handler(s) for this service...
    The command completed successfully
    DB Link:
    CREATE PUBLIC DATABASE LINK TEST123 USING 'excel_test';
    error while querying the data:
    select * from test@test123;
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from TEST123
    28500. 00000 -  "connection from ORACLE to a non-Oracle system returned this message:"
    *Cause:    The cause is explained in the forwarded message.
    *Action:   See the non-Oracle system's documentation of the forwarded
               message.
    Error at Line: 1 Column: 20
    Appreciate the help in advance............
    Thanks...

    Also HS log file showed error.. Below are the contents of the trace file:
    Oracle Corporation --- FRIDAY    AUG 29 2014 14:01:06.212
    Heterogeneous Agent Release
    11.2.0.4.0
    Oracle Corporation --- FRIDAY    AUG 29 2014 14:01:06.211
        Version 11.2.0.4.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dg4odbc"
    Product-Info:
      Port Rls/Upd:4/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.4.0_0019, Instance:dg4odbc
    Exiting hgogprd, rc=0
    hostmstr: 8795961769984: HOA After hoagprd
    hostmstr: 8795961769984: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    rc=1239980 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2014/08/29-14:01:06
    Exiting hgolofn, rc=0 at 2014/08/29-14:01:06
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/08/29-14:01:06
    hostmstr: 8795961769984: HOA After hoainit
    hostmstr: 8795961769984: HOA Before hoalgon
    Entered hgolgon at 2014/08/29-14:01:06
    reco:0, name:OPTIM, tflag:0
    Entered hgosuec at 2014/08/29-14:01:06
    Exiting hgosuec, rc=0 at 2014/08/29-14:01:06
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using OPTIM as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/08/29-14:01:06
    HS_FDS_CONNECT_INFO = "test12"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/08/29-14:01:06
    dsn:test12, name:OPTIM
    optn:
    Entered hgocip at 2014/08/29-14:01:06
    dsn:test12
    Exiting hgocip, rc=0 at 2014/08/29-14:01:06
    ##>Connect Parameters (len=31)<##
    ## DSN=test12;
    #! UID=OPTIM;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2014/08/29-14:01:06
    Entered hgopoer at 2014/08/29-14:01:06
    SQLGetDiagRec returns rc=100 (SQL_NO_DATA) for handle 4619630 (SQL_HANDLE_DBC)
    Exiting hgopoer, rc=0 at 2014/08/29-14:01:06 with error ptr FILE:hgopoer.c LINE:186 ID:GetDiagRec error
    hgocont, line 2831: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgocont.c LINE:2851 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgolgon.c LINE:806 ID:Calling hgocont
    hostmstr: 8795908591616: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 8795908591616: RPC Before Exit Agent
    hostmstr: 8795908591616: HOA Before hoaexit
    Entered hgoexit at 2014/08/29-14:01:06
    Exiting hgoexit, rc=0
    hostmstr: 8795911442432: HOA After hoaexit
    hostmstr: 8795911442432: RPC After Exit Agent

  • Upgrade from Forms 3.0 to Oracle Forms 9i

    Hi,
    I have a requirement to upgrade Forms 3.0 to Oracle Forms 9i. Please suggest the best approach for the migration. It would of great help if you could provide some details on the following:
    1. Approach for migration (Whether to convert from 3.0 to 6i first and then from 6i to 9i (or) direct conversion )
    2. Common problems that may be encountered during the migration
    3. Performance of the migrated application against the original one.
    4. Effort that may be involved to convert an application containing around 300 forms.
    Thanks in advance for your help!!!
    Regards
    Sankar

    Sankar,
    A lot depends on the triggers in the form. If they are Version 2-style triggers, you are basically going to have to reinvent the logic using 9i triggers. I don't think 9i supports Version 2-style triggers at all. (I think 6.0 did and 6i might, but it was deprecated - and removed in 9i as I recall).
    This will be a fairly significant effort. I don't know if you're familiar with these early versions of Forms at all, but in Version 2 there was no such thing as PL/SQL so the triggers consisted of a series of steps on each event, and a macro-style language. Each step had a "True" branch and a "False" branch to handle flow when you tested conditions, and so on. So if you want to try to recover the code and create it in PL/SQL triggers, you'll need to have someone who can read it, or try to find the old doc and study up on it.
    In addition, later versions of Forms have added many triggering events - including all of the "When-" triggers. Much of the code that occured in a Post-Change trigger in v2 and v3 should now be done in a When-Validate-Item trigger, for example.
    So the trigger migration may be your biggest headache. You don't say whether the 9i forms will be run on the web, etc. But to me, laying out the fields on a canvas is the easy part - that you can easily do in a new form rather than trying to migrate. It's the trigger code you need to migrate, and that may be tough if they used V2-style triggers in the 3.0 Forms.
    Hope this helps.
    Sam

  • Connect from VBA 64 bit to Oracle from windows 7 64bit

    Hi,
    We are trying to connect from Autocad VBA 64 bit to Oracle 10g server from windows 7 64bit OS.
    Toad can connect to Oracle without any issue.
    I installed 10g 32 bit client and 11g 64 bit client.
    Please help me in installing and configuring any 64 bit provider to connect from vba. I tried ODAC but not any success until now.
    Regards,
    Shijith

    Hi Jenny,
    Thanks for replaying in quick time.
    I had solved my issue by installing the following.
    1) Oracle forms 6i
    2) Oracle 11g 32 bit client
    3) Oracle 11g 64 bit client
    4) ODAC 11g 32 bit
    5) ODAC 11g 64 bit
    And able to get a sucessful connection with the following connection string.
    Provider=OraOLEDB.Oracle;Password=dddd;Persist Security Info=True;User ID=dddd;Data Source=ddddd
    Is there is any better way to do it? It is realy pitty that we have to install more than 2GB of client coponents to get a oracle connection from client side.
    Please suggest a best practice.
    Regards
    shijith

  • Cannot connect to the internet from my MAC on WRT160Nv2 - no problems connecting from my PC

    Hi,
    I have just bought a WRT160Nv2, but I am having problems connecting to the internet from my MAC (a powerbook with OS X) when I connect to the router wirelessly. If I try from my PC the Internet works fine. Also if I connect the MAC directly to the routers LAN port, the Internet works.
    When I connect wirelessly from the MAC I do get an IP adress, and I am able to access the routers web configuration page. I can also see that the correct DNS gets assigned, so I am low on suggestions to what could be the problem.
    Currently I have the router set up to WPA2 encryption, but I have tried different settings, e.g. no security at all with the same result.
    I just tried upgrading to the newest firmware (WRT160Nv2_v2.0.02_008), also with no luck.
    Also I should mention that the MAC can connect to other wireless connections without problems, e.g. my previous ZyXel DSL router. 
    Any ideas to what could be the problem?
    Thanks,
    Rasmus

    Well maybe WPA2 Security is not compatible with Mac so change the Security mode to WEP or WPA and prepare security key of 10 digit password and while connecting to the wireless network on Mac type a $ sign first followed by the 10 digit passoword and it should work.

  • Data length problem migrating from sql server 7 to oracle 8i

    I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.

    Hi Roberto,
    You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
    Oracle 8.
    However, the good news is that we have a new verion of the
    workbench that will have a plugin that can migrate from SQL
    Server 7.0 to Oracle8.
    A beta version will be downloadable from this web-site in approx
    one week. Eventhough this version is a beta version, it has
    undergone some rigourous testing and is very close to production.
    Regards
    John
    Roberto Werneck (guest) wrote:
    : I would like to know if it is possible to use the workbench
    : 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
    what
    : kinds of problems would i probably have. If not, how can i get
    : the Beta version ?
    : Thanks,
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Problem connecting from Windows XP to 10.4.7 server.

    I have an old G4 tower running as a server. I had OS Xserver 10.3.x running on a single disk in this machine. Everything worked fine.
    I then inserted a mirrored disk pair in the machine and installed OS X server 10.4.7. The machine is set up as a standalone server.
    When connecting from a Mac I can use both AFP and SMB to connect to the fileservices.
    But when trying to connect to the fileservices using smb from Windows XP machines only a few of them can actually see the server in Network Neighbourhood. And none of them seems to be able to connect.
    I can though ping the servers IP from the Window machines.
    Do you have any Ideas that could help me solve this problem?
    TIA
    Hans

    I also have a problem with people unable to connect via FTP from Windows.
    My computer is set up as a Standalone Server. When I click the Windows button in Workgroup Manager for a user, the dialog says:
    "Only a user with a password type 'Open Directory' may have a WIndows profile or home directory. You can change the user's password type on the Advanced tab."
    But the Advanced tab only offers one password type: Shadow Password.
    Note that this WAS working correctly for some time. I updated to Server 10.4.4 a while back. I don't think my single Windows user has accessed since the update. I'm trying add a new Windows user now and he can't connect because of this problem.
    Please point me to a document to help me correctly configure this.

  • IMAP/SSL: problem connecting from a web application

    Hi,
    I try to connect to a IMAP/SSL server (with a self-signed certificate) from a web application. I followed http://www.javaworld.com/javatips/jw-javatip115.html.
    When I try to connect from a java application it works fine. But when I try it from a servlet, it fails:
    javax.mail.MessagingException: gaeron.gcrm.test.mail.DummySSLSocketFactory;
      nested exception is:
         java.net.SocketException: gaeron.gcrm.test.mail.DummySSLSocketFactory
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:461)
         at javax.mail.Service.connect(Service.java:236)I use Tomcat 5.5, jdk1.5.0_06 and javamail-1_3_3_01. Here is my code:
              Security.setProperty( "ssl.SocketFactory.provider", "gaeron.gcrm.test.mail.DummySSLSocketFactory");
    Properties props = new Properties();
    Session session = Session.getDefaultInstance(props);
    Store store = session.getStore("imaps");
    store.connect(server, 993, username, password);
    store.close();Can anybody help me?
    Thanks,
    El&#337;d.

    I am not sure there is a class called MBoxSSLFactory. Is that a typo? We are in the same boat. We have a web application running on Tomcat that needs to connect to the IMAP store on the MS Exchange 2003 Server. It was working fine until we enabled Basic Authentication - SSL/TLS required setting on it.
    In order to eliminate any complications due to Tomcat and all we are trying to get a simple standalone program that talks to IMAP server (using the DummySSLSocketFactory, DummyTrustManager etc) working.
    I am stuck on the same error: (shown below is the stack trace and the code we are running). I have tried all the suggestions that have been posted on this "Unconnected Sockets not implemented" issue. I have tried it with both Jdk 1.4.2_08 and JDK 1.5.0.
    The JavaMail version is 1.4. If I use JavaMail version 1.3.1 it complains that there is no store type "imaps". If I use "imap" and not "imaps" as the store type I end up getting "Authentication Failed" exception.
    Instead of a DummyTrustManager I even tried importing a certificate. We have deployed a Verisign trial certificate on the EXchange server side. So when we run the InstallCert program (http://blogs.sun.com/andreas/entry/no_more_unable_to_find) it allows us to add the valid certificates to our keystore. Once that is done we have tried to create TrustManager based on that keystore. But NOPE..No success. same problem.
    We have been stuck on this one for the last 4 days and we have a very critical client deployment that is hampered by this one. I know it is turkey time now..but would really appreciate it if some one can help us out.
    javax.mail.MessagingException: Unconnected sockets not implemented;
      nested exception is:
         java.net.SocketException: Unconnected sockets not implemented
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:479)
         at javax.mail.Service.connect(Service.java:297)
         at javax.mail.Service.connect(Service.java:156)
         at javax.mail.Service.connect(Service.java:105)
         at GetSSLMail.getmail.main(getmail.java:37)
    Caused by: java.net.SocketException: Unconnected sockets not implemented
         at javax.net.SocketFactory.createSocket(SocketFactory.java:97)
         at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:224)
         at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
         at com.sun.mail.iap.Protocol.<init>(Protocol.java:84)
         at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:87)
         at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:446)
         ... 4 more
    package GetSSLMail;
    /* getmail.java */
    import java.util.Properties;
    import javax.mail.*;
    //import javax.mail.internet.*;
    import java.io.*;
    public class getmail {
         //myauth auth;
         public static void main(String args[]) throws Exception {
              String host, name, passwd;
              BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("Enter IMAP Host Name: ");
              host = br.readLine();
              System.out.println("Enter User name: ");
              name = br.readLine();
              System.out.println("Enter Password: ");
              passwd = br.readLine();
              java.security.Security.setProperty("ssl.SocketFactory.provider","DummySSLSocketFactory");
              // Get a Properties object
              Properties props = System.getProperties();
              props.put("mail.imaps.host", host);
              props.put("mail.imaps.port", "993");
              Authenticator auth = new myauth(name, passwd);
              Session session = Session.getDefaultInstance(props, auth);
              Store store = session.getStore("imaps");
              try {
                   store.connect(); // exception here
                   System.out.println("store connected");
              } catch (Exception e) {
                   //System.out.println("Error :" + e.toString());
                   e.printStackTrace();
              Folder folder = null;
              try {
                   folder = store.getFolder("INBOX"); // because of earlier exception,
                                                                // also
                   // exception here
              } catch (Exception e) {
                   System.out.println("Error :" + e.toString());
              folder.open(Folder.READ_ONLY);
              BufferedReader reader = new BufferedReader(new InputStreamReader(
                        System.in));
              Message message[] = folder.getMessages();
              for (int i = 0, n = message.length; i < n; i++) {
                   System.out.println(i + ": " + message.getFrom() + "\t"
                             + message[i].getSubject());
                   System.out
                             .println("Do you want to read message? [yes to read/quit to end]");
                   String line = reader.readLine();
                   if ("yes".equals(line)) {
                        System.out.println(message[i].getContent());
                   } else if ("QUIT".equals(line)) {
                        break;
         class myauth extends Authenticator {
              String username, password;
              public myauth(String name, String passwd) {
                   username = name;
                   password = passwd;
              public PasswordAuthentication getPasswordAuthentication() {
                   return new PasswordAuthentication(username, password);
    package GetSSLMail;
    import java.io.BufferedInputStream;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.InetAddress;
    import java.net.Socket;
    import java.security.KeyStore;
    import javax.net.SocketFactory;
    import javax.net.ssl.*;
    * DummySSLSocketFactory
    public class DummySSLSocketFactory extends SSLSocketFactory {
    private SSLSocketFactory factory;
    SSLContext sslcontext;
         TrustManagerFactory tmf;
         KeyStore ks;
    public DummySSLSocketFactory() {
         try {
    // try
              ks = KeyStore.getInstance("jks");          
              InputStream in = new FileInputStream("C:\\Documents and Settings\\kk12\\jssecacerts");
              in = new BufferedInputStream(in);
              ks.load(in,null);
              tmf = TrustManagerFactory.getInstance("PKIX");
              tmf.init(ks);
              sslcontext = SSLContext.getInstance("SSL");
              sslcontext.init(null, tmf.getTrustManagers(), null);
              HttpsURLConnection.setDefaultSSLSocketFactory(sslcontext.getSocketFactory());
         //SSLContext sslcontext = SSLContext.getInstance("TLS");
         //sslcontext.init(null,new TrustManager[] { new DummyTrustManager()},null);
         factory = (SSLSocketFactory)sslcontext.getSocketFactory();
         } catch(Exception ex) {
         // ignore
    public static SocketFactory getDefault() {
         return new DummySSLSocketFactory();
    public Socket createSocket(Socket socket, String s, int i, boolean flag)
                        throws IOException {
         return factory.createSocket(socket, s, i, flag);
    public Socket createSocket() throws IOException {
              System.out.println( "createSocket 0");
              return factory.createSocket();
    public Socket createSocket(InetAddress inaddr, int i,
                        InetAddress inaddr1, int j) throws IOException {
         return factory.createSocket(inaddr, i, inaddr1, j);
    public Socket createSocket(InetAddress inaddr, int i)
                        throws IOException {
         return factory.createSocket(inaddr, i);
    public Socket createSocket(String s, int i, InetAddress inaddr, int j)
                        throws IOException {
         return factory.createSocket(s, i, inaddr, j);
    public Socket createSocket(String s, int i) throws IOException {
         return factory.createSocket(s, i);
    public String[] getDefaultCipherSuites() {
         return factory.getDefaultCipherSuites();
    public String[] getSupportedCipherSuites() {
         return factory.getSupportedCipherSuites();
    package GetSSLMail;
    //import com.sun.net.ssl.X509TrustManager;
    import java.security.cert.X509Certificate;
    import javax.net.ssl.TrustManager;
    public class DummyTrustManager implements TrustManager {
         public boolean isClientTrusted( X509Certificate[] cert) {
         return true;
         public boolean isServerTrusted( X509Certificate[] cert) {
         return true;
         public X509Certificate[] getAcceptedIssuers() {
         return new X509Certificate[ 0];

  • Problems connecting from Client to Database

    I've run into a strange situation,
    We are running Oracle 8.1.7 installed on Sco?!? In the past everyone has just opened a netterm connection from windows 2000 to the box that the database exists on and run SQL Plus from within that window. They do not use any of the client side Oracle tools.
    I just started working here and was trying to explain the benefits of some of the existing Oracle tools that are out there. I installed Discoverer along with some other tools and was having troubles connecting. I uninstalled everything and started with just SQL Plus. The following is my tnsnames entry for the database:
    oradev =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (Host = ORADEV)
    (Port = 1521)
    (CONNECT_DATA = (SID = DVCX)
    and the error that I get when I try to connect is:
    ORA-12514: Message 12514 not found; product=RDBMS80; facility=ORA
    The strange thing is that I installed JDeveloper and told it to start a SQL Plus session and it works fine. It is pointing at the exact same executable that I tried running from the start menu. C:\ORACLE\806\BIN\PLUS80W.EXE
    I tried running this executable frmo the Dos prompt using this:
    C:\ORACLE\806\BIN\PLUS80W.EXE user/passwd@oradev:1521:DVCX
    and I get this error message:
    ORA-06401: NETCMN: invalid driver designator
    Does anyone have any ideas? It would be really nice to be able to show these guys why they spent so much money to buy Oracle. Right now they're only using it to store data.
    Any responses would be appreciated. If I don't know the answer to your questino I can ask around and find it.
    Thanks,
    Chris S.

    Before I do that,
    Since it's not really my database to hack around with, why would the everything work through JDeveloper or through a netterm session to the Sco box? I'm not familiar with stopping and starting the listener so I will have to figure out how to do that as well.
    Thanks again for your input. I appologize if these are newby questions but this has always been set up for me in the past. I'm on new ground here.
    Thanks,
    Chris S. I haven't worked with Java so I can't explain the JDeveloper connection. I assume netterm is a terminal emulater, thus running a 'local' session on the host and doesn't need the listener to be running.
    Before you change anything, on the SCO box run the following command:
    prompt> lsnrctl status
    if it is not running or configured properly, you should see this kind of output (my output is from an NT box, but it should be close):
    LSNRCTL for 32-bit Windows: Version 9.0.1.1.1 - Production on 04-OCT-2002 13:59:44
    Copyright (c) 1991, 2001, Oracle Corporation. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=astra)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    if it is running, it should show you which ports it is listening on. All things considered, you should take these steps first, because some O/Ss like to play games with the location of the config files (esp. Sun).

  • DB-link is not connected from Forms 10g

    Hi,
    I have created the db-link(visdev) from mytest schema to APPS schema -- created successfully
    ->Login to mytest schema and ran the query: select * from all_objects@dblink -- Return values.
    -> I have used the same dblink with below code from Forms 10g (Datablock - Pre-insert trigger)
    cursor_handle := dbms_sql.open_cursor;
    dbms_sql.parse(cursor_handle, 'select decode(object_type,''TABLE'',''T'',''VIEW'',''V'',null) col1 from all_objects'||'@'||db-link, 1);
    dbms_sql.define_column(cursor_handle,1,col1,30);
    execute_feedback := dbms_sql.execute (cursor_handle);
    execute_feedback := dbms_sql.fetch_rows(cursor_handle);
    dbms_sql.column_value(cursor_handle,1,col1);
    Its throws error in Pre-insert trigger : select decode(object_type,'TABLE','T','VIEW','V',null) col1 from all_objects@db-link ---- Not return values -- error out
    I found this error using log message.
    Can you please help us... its very critical for us.
    Edited by: user775668 on Jun 17, 2011 5:46 AM
    Edited by: user775668 on Jun 17, 2011 5:46 AM

    In terms of trying to debug this why don't you login to your schema and create a view:
    create view testview as select * from all_objects@dblink
    and deal with that instead?
    (You would need to grant permissions to that view.)
    I mean as a way to keep the complex dbms_sql out of the loop and look
    more to permissions and schema issues. In the long term the view hard codes the structure and is
    not a good solution if the structure changes. I just mean as a test.
    BTW you know there is an all_objects already? Didn't know if you meant that literally or not.
    You could not use that name.

  • Serious problem connecting from handset - Help!!!!!

    Hi all,
    I�ve developed an J2ME App. wich communicates with a remote web site (Tomcat server with Apache & MySQL server). The App. client side consist basically of a MIDlet wich handles the UI navigation & an support class wich do the real work calling the Servlet servicess and passing parameters to it. The Servlet queryes de MySQL DB. and return data to de client wich are showed in lists, forms, etc.
    My system works fine using the java WTK22, accessing the web site via internet but, when I try with my real "Sony Ericsson - K300a", nothig happens (no errors and data = 'null').
    Trying to capture errors, I can see that, when the execution is from the WTK22 the Servlet receives the input parameters and works fine. On the other hand, when I try from de K300a the Server log doen�t show nothig so, I suspect that the problem source is a connection problem.
    I�m not posting code here because the good WTK22 execution but, if somebody need it, I�ll post it also.
    Please, help me with this problem. A real proyect depends on it!!!!
    A lot of thaks in advance.

    Hi printisor,
    1)Finally I installed SonyEricsson emulator and ran my app.. Same problem (app. run fine from emulator but not from handset).
    2)Here I send code related with the connection aspect. Sorry by the length but is the minimun I can paste in order to be clear:
         * loadData:
         *      1)Construct String message depending on a received RecordStore.
         *     2)Obtains Connection & Data from Servlet.
         * NOTE: messages himself are: (public static final int MSJE_...... = 1) + �^�; etc
         public void loadData(RecordStore rStor){          
         //// Here discriminates message value ////
         try{
              String message = null;
              if(rStor == recStorCereales){
         message = CttesMensaje.MSJE_CARGAR_CEREALES + "^";
              } else {if(rStor == recStorAcciones){
                     message = CttesMensaje.MSJE_CARGAR_ACCIONES + "^";
                   } else {if(rStor == recStorTitulos){
                               message = CttesMensaje.MSJE_CARGAR_TITULOS + "^";
                        } else {if(rStor == recStorDivisas){
                                    message = CttesMensaje.MSJE_CARGAR_DIVISAS + "^";
         //// Here obtains Connection & Data     ////
              HttpConnection conn = null;
              DataInputStream in = null;
         String urlServlet = http://www.nasinibursatil.com.ar/rnasini/servlet/ServletNSN";
              conn = open(urlServlet, message);
              in = conn.openDataInputStream();
              String losRegs = in.readUTF();
              close(conn, in);
         } catch (Exception e) {}
         * open(String url, String mensaje) does the real work
         static HttpConnection open(String url, String strMens)
         throws IOException, ExcepcionAplicacion
              HttpConnection conn = open(url); // see the following method
              conn.setRequestMethod(HttpConnection.POST);
              DataOutputStream dos = null;
              strMens = strMens + '\n';
              try {
              dos = conn.openDataOutputStream();
              dos.write(strMens.getBytes());
              } finally {
              if (dos != null) {
                   dos.close();
    /// Reports an error if any ///
         if (conn.getResponseCode() == HttpConnection.HTTP_INTERNAL_ERROR){
         String razon = conn.getHeaderField("Reason-Phrase");
         if (razon == null) {
              razon = "Server Error";
         throw new ExcepcionAplicacion(Integer.parseInt(razon));
         checkCodigoRta(conn);
         return conn;
         * open(String url): open a connection to a URL, using a "Connector",
         * put some properties and returns a HttpConnection Object
         static HttpConnection open(String url)
                   throws IOException {
              HttpConnection conn = (HttpConnection) Connector.open(url);
              conn.setRequestProperty("User-Agent", System.getProperty("microedition.profiles"));
         return conn;
         * Obtains the RC and throws an error if isn�t HTTP_OK(200).
         static void checkCodigoRta(HttpConnection conn) throws IOException {
         int codigo = conn.getResponseCode();
              if (codigo != HttpConnection.HTTP_OK) {
              throw new IOException(codigo + "; " + conn.getResponseMessage());
         *      Close Connection & Streams.
         static void close(HttpConnection conn, InputStream in) {
              try{
                   if (in != null) {
                        in.close();
                   if (conn != null) {
                        conn.close();
              } catch (IOException ioe) {
                   System.out.println("Error: " + ioe);
    3) Going back to your previous questions about my connection modes (wap, http, etc) let me tell you that I�m not sure now wath I�m doing. The mater is that I live in Argentina and there are only three providers here.
    Today I was speaking with a provider representative (from PERSONAL) and he say me that the only mode that the three providers works here is using WAP/GPRS. I cannot beleave it!!!!. If so, It could be a desaster for me(and for J2ME here,also).
    I was searching the forums trying to find this kind of things and really there are a lor of people having problems like this. Some of them were resolved and the sollution was to put some settings in the phone such as "APN Settings" to bypass WAP mode. Now, my questions are:
    �May be it a sollution?
    �Is it possible to do it?
    �Some example?           
    Lot of THANKS.
    BlufsteinEJ.
    [email protected]

Maybe you are looking for

  • I can't click hyperlinks on a pdf in preview

    I've opened a pdf in preview which contains links to websites, but I can't click these links.  Any ideas why?  It works fine on a pc.

  • Can't empty trash bin error: -8003

    I'm trying to delete files from my Mac. Whenever I try to empty my trash bin this message appears: Can't complete operation. Error found. (error: -8003) Please help!

  • Accounting doc in Good Receipt

    Dear Sir,           I have a Material having price control as Moving average price. Now I have made a PO with 100 qty with different price rather than mvp.Then I have done the MIGO for 30 qty.In accounting view there should be stock account and gr/ir

  • JSC - Javascript Exception in body onLoad

    I wasn't real sure where to post this question, but here goes: Does anyone know how I could perform a "less than" operation in Javascript in the <body onLoad=""> tag. I'm getting this error message: Exception Details: org.apache.jasper.JasperExceptio

  • In Exchange Profile --parameter removed by mistake

    Hi, In Exchange Profile http://XIHOME:50000/exchangeProfile I have mistakenly removed com.sap.aii.repository.mapping.additionaltypes  parameter. Removal of this may lead to any error in IR-mapping When I tried to add this parameter its asking for the