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.

Similar Messages

  • 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

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

  • Cannot Connect to Oracle, PHP cannot load oci dlls

    Hello,
    I have installed wamp on windows server, and oracle 9, When I try to connect to oracle in php I get:
    Fatal error: Call to undefined function oci_connect() in C:\wamp\www\project2\index.php on line 3
    Also when I start wamp, it cannot load the oci dlls found on:
    C:\wamp\bin\php\php5.3.0\ext
    I have configured the php.ini file and commented as much options
    extension_dir = "C:/wamp/bin/php/php5.3.0/ext/"
    extension=php_oci8.dll ; Use with Oracle 10gR2 Instant ...
    extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client
    extension=php_oracle.dll
    extension=oci8.so
    I am unable to either connect to the database through php, also when I start wamp, i get pop up windows that it cannot load the dynamic procedures related to oracle: php_oce.dll, php_oce8.dll, php_pdo_oci,
    I have even eddited the http.conf file
    Also have done this:
    •Add the following entries to the "C:\Apache\Apache\conf\httpd.conf" file:
    LoadModule php4_module c:\php\sapi\php4apache.dll (approx line 193)
    AddModule mod_php4.c (approx line 241)
    AddType application/x-httpd-php .php (approx line 851)
    I have included the phpinfofile attached as well, part of it below is:
    System Windows NT SELECAO 5.2 build 3790 (Windows Server 2003 Standard Edition Service Pack 2) i586
    Build Date Jun 29 2009 21:23:30
    Compiler MSVC6 (Visual C++ 6.0)
    Architecture x86
    Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared"
    Server API Apache 2.0 Handler
    Virtual Directory Support enabled
    Configuration File (php.ini) Path C:\WINDOWS
    Loaded Configuration File C:\wamp\bin\php\php5.3.0\php.ini
    Configuration
    apache2handler
    Apache Version Apache/2.2.11 (Win32) PHP/5.3.0
    Apache API Version 20051115
    Server Administrator admin@localhost
    Hostname:Port localhost:80
    Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
    Timeouts Connection: 300 - Keep-Alive: 5
    Virtual Server No
    Server Root C:/wamp/bin/apache/Apache2.2.11
    Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

    I get this error, i decided to change directory for oracle_home
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1/bin");
    to
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
    it functioned.
    my code
    <?php
    putenv("ORACLE_HOME=C:/oracle/product/10.2.0/db_1");
    putenv("ORACLE_SID=PLSExtProc");
    $user ="name"; // set user
    $senha="password"; // set password
    $banco="(DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=TCP)
    (HOST=127.0.0.1)(PORT=1521)
    (CONNECT_DATA=(SERVICE_NAME=orcl))
    )"; // configuracoes do banco (isso muda um pouco no oracle)
    if ($conexao = OCILogon($user,$senha,$banco))
    echo "Conexão bem sucedida.";
    else
    echo "Erro na conexão com o Oracle.";
    ?>

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

  • TS4062 Ever since I uploaded the new itunes version, I've been getting this message when I plug in my ipod.  "itunes cannot connect to this iphone. An unknown error occured 0XE80000065."  Does anyone have a solution.

    This is the error I get.  I did not find this on the itunes webpage...
    "itunes cannot connect to this iphone. An unknown error occured 0XE80000065."  Does anyone have a solution.  I am not connecting an iPhone, but an iPod.  I cannot therefore sync my iPod to my iTunes.

    Hi prolough,
    Here is a link that should help:
    http://support.apple.com/kb/TS3221
    Cheers,
    GB

  • 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

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

  • How do I get my itunes library onto my new Iphone 5 I keep getting the following error..Cannot connect to this Iphone. An unknown error occured (0xE8000065)

    how do I get my itunes library onto my new Iphone 5 I keep getting the following error..Cannot connect to this Iphone. An unknown error occured (0xE8000065)??

    See http://support.apple.com/kb/TS3221.

  • Cannot connect to the phone system. An unidentified error has occurred, Please try again.

    Issue:  Lync 2013 users with remote call control enabled cannot connect to the phone system.  When the user logs into Lync, they see an exclamation in the bottom right corner
    with this error.
    Error:  Cannot connect to the phone system.  An unidentified error has occurred, Please try again.  If the problem continues, please contact your support team.
    Environment: 
    1 site:  Site1
    2 Pools:
    1. Lync 2010
    Trusted application is added here for the site.
    2. Lync 2013
    Avaya phone system:  AES r6-1-2-32-0
    I have not moved the trusted application to the Lync 2013 pool yet, but my understanding is that it should still work since it’s in the site.  Is my understanding on this correct?  (All of my other trusted applications do work for Lync 2013
    users & none of them have been moved yet. Remote Call Control is the only one that does not work.)
    This is from the uccapi log.  This is just from the user logging in, not actually making a call.  Below are the items that I think are important, however, I don’t know how to interpret it to determine if the problem is on the Lync side or
    the Avaya side.  Here’s a summary:
    SIP/2.0 100 Trying
    Authentication-Info: TLS-DSK qop="auth", opaque="5FD217E1", srand="E05700E2", snum="9", rspauth="f308eae87c0bbe64a1ab213574776cbdf9823ab6", targetname="lync03.domain.com",
    realm="SIP Communications Service", version=4
    From: <sip:[email protected]>;tag=bbb282ebbd;epid=a86d5b0a29
    To: <sip:[email protected]>
    Call-ID: 9eb0d23a3b8f4e0eafc6c6da622fbecf
    CSeq: 1 INVITE
    Via: SIP/2.0/TLS 10.155.48.96:61472;ms-received-port=61472;ms-received-cid=1FA400
    Server: http%3A%2F%2Fwww.microsoft.com%2FLCS%2FUdcAgent
    Content-Length: 0
    SIP/2.0 200 OK
    Authentication-Info: TLS-DSK qop="auth", opaque="5FD217E1", srand="15C0F9A2", snum="13", rspauth="4fd891e39a33e902fb1cec5d980e5bf0ccb172a0", targetname="lync03.domain.com",
    realm="SIP Communications Service", version=4
    From: <sip:[email protected]
    >;tag=bbb282ebbd;epid=a86d5b0a29
    To: <sip:[email protected]
    >;tag=A7A45C856ECD79121A1827265ABBD7F6
    Call-ID: 9eb0d23a3b8f4e0eafc6c6da622fbecf
    CSeq: 1 CANCEL
    Via: SIP/2.0/TLS 10.155.48.96:61472;ms-received-port=61472;ms-received-cid=1FA400
    Server: http%3A%2F%2Fwww.microsoft.com%2FLCS%2FUdcAgent
    Content-Length: 0
    SIP/2.0 487 Request terminated
    Authentication-Info: TLS-DSK qop="auth", opaque="5FD217E1", srand="F46EC133", snum="14", rspauth="1d92718caa4f61d967faa46a5c256aafa8b4e740", targetname="lync03.domain.com",
    realm="SIP Communications Service", version=4
    From: <sip:[email protected]
    >;tag=bbb282ebbd;epid=a86d5b0a29
    To: <sip:[email protected]
    >;tag=A7A45C856ECD79121A1827265ABBD7F6
    Call-ID: 9eb0d23a3b8f4e0eafc6c6da622fbecf
    CSeq: 1 INVITE
    Via: SIP/2.0/TLS 10.155.48.96:61472;ms-received-port=61472;ms-received-cid=1FA400
    ms-diagnostics: 5002;reason="Request was cancelled";AppUri="http%3A%2F%2Fwww.microsoft.com%2FLCS%2FUdcAgent";source="lync03.
    domain.com"
    Server: http%3A%2F%2Fwww.microsoft.com%2FLCS%2FUdcAgent
    Content-Length: 0

    Hi Suelizy,
    To better understand the issue, I would like to collect the following information for troubleshooting:
    1. Do you mean the Lync 2010 user can connect to the Phone System?
    2. What’s next hop pool of the application?  
    In a mixed environment, you must set the next hop pool to be the Lync Server 2013 pool.
    Best regards,
    Eric

Maybe you are looking for

  • Is it possible to install Windows 7/8 from a partition on a separate drive?

    Hi everyone, Early 2008 Mac Pro with 10.8.2. I have two sata drives mounted in my tower--the OS drive and a media drive. I'm wondering if it's possible to partition 10 or so GB off of that secondary media drive (OS Extended Journaled, GUID), load the

  • How do I find the license code for my ipod nano?

    I'm trying to transfer my music from my ipod to itunes, but it wants my username and license code. I've had this ipod for quite a few years, how do I find the license code?

  • ITunes won't let me transfer all of the songs on my iPod to my library!

    Okay, I have had an iTunes account & iPod on a desktop computer for the past 3 years that my parents set up. (I get a monthly allowance that's linked to my parent's credit card.) I just downloaded iTunes onto my new laptop (this computer), and follow

  • Change Management Software

    Hi, Are there any formal software tools to document and manage Change Management Thanks, Suneela.

  • STMS - who executed the transport?

    Hi All, I'm trying to determine who executed each transport. I don't find this in the transport history of STMS and it's not in table e070. Does SAP record this information? Inquiring SOx auditors would like to know! Thanks, George Clark