Cannot connect to Oracle 8i with IIOP from JDev3.1

Hi,
I have the problem of connect to Oracle 8i with IIOP from JDeveloper 3.1 when I build application with BC4J. I can connect to my Oracle 8i database with ODBC easily but failed with IIOP. Does anyone here has the same experience?
Any help will be appreciated. Thank you.
null

Hi Daniel:
I've solved the problem mentioned above. It requires two settings:
I) Enabling Multithreaded Server Support for IIOP Clients;
II) Listener's listening to port 2481
Of course you should have installed JServer into your Oracle 8i database.
In your init.ora file, you should have the following two lines:
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_dispatchers = "(protocol=TCP)"
To confirm this you may use SQLPLUS to list the parameters of the database setting:
mts_dispatchers string (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer), (protocol=TCP)
mts_servers integer 1
And in TNSnames.ora file the setting should like this:
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 2481))
All these two settings ( init.ora and tnsnames.ora ) can be done with "Database Configuration Assistant" and "Net8 Assistant"
I solved my problem this way, your problem may not the same but anyway you may try it.
null

Similar Messages

  • Cannot connect to Oracle 10g XE Server from Client

    I have tried in vain to connect to the Server from a client installation using both browser and SQLPlus. Someone help me out pls...
    Glogo.

    I have read the SelfStudy many times but Sheila can't help me. I have installed 10g XE Client on a different pc and tried connecting as follows to no avail:
    FROM Run SQL Command line; I entered "conn glogo/*****@GServer:8080/apex" the report I always get is
    ORA-12170: TNS:Connect timeout occured
    From Internet Explorer; I entered "http://GServer/127.0.0.1:8080/apex" the report I get is internet explorer cannot display the webpage
    I ensured the listener is on by typing LSNRCTL STATUS on the command line of the system running the Server. The report indicates that the Listener is ready.
    I am still wondering what is wrong! I have also changed network setting from DHCP to static IP without results. What next friend(s)? Do you know?

  • Cannot connect to oracle db with - ensureMemberAccess(Unknown Source) error

    Hi there!
    i'm trying to run a simple applet to check connection with the oracle db:
    import java.sql.*;
    import oracle.jdbc.driver.*;
    class JDBCVersion
    public static void main (String args [])
    throws SQLException
    // Load the Oracle JDBC driver
    DriverManager.registerDriver
    (new oracle.jdbc.driver.OracleDriver());
    System.out.println("registered!");
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@host:1521:sid","user","pass");
    // Create Oracle DatabaseMetaData object
    DatabaseMetaData meta = conn.getMetaData ();
    // gets driver info:
    System.out.println("JDBC driver version is " + meta.getDriverVersion());
    I'm not getting any errors during the compilation and my CLASSPATH is ok pointing to the ojdbc14.jar file, i'm running j2sdk1.2.4_12 and the error
    when I'm trying to load applet is:
    java.lang.IllegalAccessException: Class com.opera.PluginPanel can not access a member of class JDBCVersion with modifiers ""
         at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.opera.PluginPanel.run(PluginPanel.java:406)
         at java.lang.Thread.run(Unknown Source)
    What is wrong???
    Any help would be very appreciable...
    Thanx.

    thank you for your valuable reply, but could you add
    some more additional information?Since I don't write applets and don't know anything additional, no.
    You might try posting your question in a forum that deals with applets and/or the Java security model. Or maybe if you wait long enough, someone who knows both JDBC and applet security will happen along and decide to answer your question.

  • VB6 source code cannot connect to Oracle database after compile to file.exe

    Hi All,
    I have a problem about VB6 connect with Oracle database. It can connect as normal when run on VB program. After compiled to file.exe and execute, it cannot connect to Oracle database. What's going on ? Please advise? Thank you.
    Here is sample of my code connection.
    Option Explicit
    Private wsData As New ADODB.Connection
    wsData.ConnectionString = _
    "Provider=MSDAORA.1;User ID=lsp;Password=lsp2007;Data Source=prd01;Persist Security Info=False"
    wsData.Open
    End sub
    Rgads,
    Ats.

    Hi,
    I believe you're in the wrong forum, this forum is for Oracle Application Express.

  • Error when connecting an oracle DB with Integration gateway

    I followed the steps from the blog How to connect an Oracle DB with Integration Gateway in SMP3 and the ojdbc was deployed successfully to SMP. Still, i'm getting "Driver class oracle.jdbc.driver.OracleDriver not found" error message when i try to test my connection. The first difference i saw when completing these steps was that I'm using SMP3 SP05, could this be the issue?

    Joao D Franco Net
    Could you share below information:
    Can you cross check if deployed driver are OSGi enabled? Refer this.
    Can you share screenshot of the destination settings and error ?
    note: The blog you followed is referring to SP03 (1st GA of SMP3)..You should not have any problem in connecting to Oracle DB being on any SP.
    Regards,
    JK

  • Updating Oracle table with info from Sybase query

    I hope this is the correct forum for this question.
    I am fairly new to Java and JDBC. I am trying to figure out what the best method for updating information in Oracle tables with data from a Sybase table. I would prefer to use Oracle’s transparent gateway but this is not an option my company will pay for so I am creating a java stored procedure and using JDBC to connect to the Sybase database.
    The process I think I need to go thru is
    1.     Query an Oracle table to get the records that need to be updated and the “key” information to query the Sybase table with.
    2.     Use that result to query the Sybase database to get the fields that need to be updated in the Oracle table for those records.
    3.     Update the records on the Oracle table with the data from the Sybase query.
    I know I can just do this procedurally, row-by-row, but I was wondering if anyone knows of a way to accomplish this with SQL and no loops. Is there a way to make a result set available as a “SQL table” for another JDBC query?
    Basically what I would like to do is:
    OraQuery = “ select sybinfo from sometable where updated_date = null”;
    Statement orastmt1 = OraConn.createStatement();
    ResultSet Orars1 = orastmt1.executeQuery (OraQuery);
    SybQuery = “select update_date, sybinfo from sybtable where sybinfo = Orars1.sybinfo”;
    Statement sybstmt = SybConn.createStatement();
    ResultSet Sybrs = sybstmt1.executeQuery (SybQuery);
    OraUpdate = “update (select update_date from sometable, Sybrs where sometable.sybinfo = Sybrs.sybinfo) set update_date = Sybrs.update_date”;
    Statement orastmt2 = OraConn.createStatement();
    ResultSet Orars2 = orastmt2.executeQuery (OraUpdate);
    This may not be possible but if anyone has done something similar and wouldn’t mind sharing I would appreciate it. If there is a “better” way of accomplishing this I am open to suggestions.
    Thanks

    you can try using cachedRowSet() for the Oracle side query.
    The rows in this could be populated using the sybase side query's resultset and then all of this could updated into Oracle in one shot.

  • Cannot connect to oracle after upgrade to 9i

    Hey there,
    kind of new in the arena so be kind and patient with me please.
    Enviroment : sun
    oracle : 8.0.5 now been upgraded to 9i with 8.0.5 clients installed on the machine
    symptoms : since upgrading the Oracle to 9i we cannot connect to the 9i with jdbc
    Question : Do we need to upgrade the client in our machines to 9i clients? is there any specific Driver Manager that I should use currently using Thin client thruogh port 1521?
    HELP!!!!

    First of all, there is not enough specifics in your
    post, the problem could be anywhere - you should
    provide at least an error message, an exception call
    stack or something like this.
    It could be a problem with the jar files provided by
    oracle, which are in you client's class path. It used
    to be called classesXXX.zip in oracle 8i, whatever the
    name in oracle 9 is I do not know. But just make sure
    that you have the exact oracle jar files in the class
    path as the ones shipped with your oracle version.
    Usually these files are found in
    $ORACLE_HOME/jdbc/lib
    I'll try to be more specific:
    I use an 8.0.5 client and I'm trying to connect to a 9i .I didn't upgrade the client yet.While trying to connect via a connection pool that i built.I get an exception saying exceeding key size in method getConnection.
    java.sql.SQLException: Exceding key size
    at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:420)
    at oracle.jdbc.ttc7.O3log.<init>(O3log.java:255)
    at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:166)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
    My qustions are :
    Is it because I didn't upgrade the client?(Though it only seems logical that the 9i would support it)
    If it isn't because of the client what is it?

  • TS3367 If I have an IPad mini and my wife has an IPad, can I connect to her IPad with FaceTime from my IPad Mini? Are multiple Apple ID's required? One for each device/person?

    If I have an IPad mini and my wife has an IPad, can I connect to her IPad with FaceTime from my IPad Mini? Are multiple Apple ID's required? One for each device/person?

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    For non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
     Cheers, Tom

  • 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

  • I cannot connect to my wrv200 with sony ericsson p990 & nds lite...

    I cannot connect to my wrv200 with sony ericsson p990 & nds lite...

    for getting connected to the NDS through the router , try out the mentioned steps on this link ..
    regarding sony erricson P990....i guess u will need to look into its wi-fi settings..
    ensure that if the router has the wireless security enabled on it..it is supported by the devices....NDS lite only supports WEP....not sure about P990

  • I suddenly cannot connect to any wifi with my ipad 1. In settings my wifi is turned on. My home connection shows up under Choose a network and has a strong signal.

    I suddenly cannot connect to any wifi with my ipad 1. in settings my wifi is turned on. My home connection shows up under Choose a network and has a strong signal. I have reset the Wifi under General. But when I type in my password it still says, "Unable to join the network."

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • User cannot connect to backend system with user J2EE_ADMIN.

    I am using Rapid Installer to initiate the second part of the installtion "ERP 6.0 EhP 3 – Self-Service Scenarios and Automatic Roles".  When I get to the J2EE User section to enter the parameters, the user is defaulted to "Administrator" and I enter my password.  I click next and get this message "User cannot connect to backend system with user J2EE_ADMIN."  Any ideas?

    If this is a double stack installation, you need to enter J2EE_ADMIN as user, NOT administrator.
    Markus

  • TS1368 Still cannot connect to iTunes store with iPad2. Have tried all suggestions.

    I cannot connect to iTunes store with my iPad2. Not sure why. If anyone has suggestions, I'm all ears...  Thanks so much!

    Don't know if this has any bearing on the conversation at hand, but I ran into this issue last night. Started when I couldn't purchase anything via Comixology. Which caused a lot of swearing.
    But then realized, that I couldn't get to the Apple store either.
    Figuring that it was my wifi access point being a jerk, I reset that. And "forgot", then reconfigured my wireless.
    Still nothing.
    At this point, I checked our ISP (Charter) to see if they had an outage. They did. DNS servers were hosed. I gave up and went to bed.
    This morning. Same thing. One thing I noticed, was that all of our computers -- not iDevices -- had no problems. Weird.
    So I checked the firewall, and found that every request was going to Malaysia, or Thailand. I have country blocking enabled on our firewall. So, I thought that was weird. Checked the IP addresses that were blocked, and found that they were Akamai addresses. I allowed one device through, to test, and everything works.
    Wondering if Apple is leaning on Akamai for the flood of traffic that the IOS 6 upgrade is causing.
    In any case, if your ISP, or firewall, router, what-not blocks Asian rim countries, it's worth a check.

  • HT2534 Cannot connect to itunes store with my new iPad

    Cannot connect to itunes store with my new iPad

    Cannot connect to iTune Store
    http://support.apple.com/kb/TS1368
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/

  • Cannot connect to Oracle with ASP

    I'm having problems connecting to an Oracle database in ASP. I am using the following code:
    Inc_ConnString = "Provider=OraOLEDB.Oracle;Data Source=my_db;" & _
              "User Id=user_name;Password=password"
    Set DBconn = Server.CreateObject("ADODB.Connection")
    DBconn.Open Inc_ConnString
    I am always getting the following error message:
    ADODB.Connection (0x800A0E7A)
    Provider cannot be found. It may not be properly installed.
    However, when I run the Visual Basic sample code, everything works fine.. with the same code. I have downloaded and installed the latests Oracle Provider for OLE DB, Oracle ODBC Drivers, Oracle Objects for OLE from www.oracle.com.. but I am still getting this error message..
    Any pointers?

    Give the IWAM_XXXX User full NTFS access rights to your %ORACLE_HOME%, ie. C:\oracle\ora92 and all subdirectories (this is documented in Metalink Doc-ID 258471.995).
    g

Maybe you are looking for