How to avoid using oracle.jdbc.driver.OracleConnection

I am new to Java, but recently, I have a project on support.

Problem:

solution worked on the 1.4 jvm, now on 1.7.

Respectively, the oracle.jdbc.driver.OracleConnection class has been used.

Now, I need class oracle.jdbc.OracleConnection to use CLOB.createTemporary (), but... I can't.

According to the docs, just replace in the code and config files a declaration of the class on another. But I replaced all in all the files of configuration of no. and anyway, no there wasn't that oracle.jdbc.driver.OracleConnection was created. (there is no explicit declaration of the type of connection in the code, everything is configured in the config files)

Project uses marven, mybatis - 3.1.1. Database: oracle 9

Driver: ojdbc14 - 9.2.0.5.jar contains two classes: the oracle.jdbc.driver.OracleConnection (for backward compatibility) and oracle.jdbc.OracleConnection.

The question is what do I need to use a second instead of the first.

Maybe there are a few java cache? I do not know...

Everyone knows?

I solved the problem!

This thread helped me: https://forums.oracle.com/thread/556426 ("I have to use classes12.zip for this work.")

The main problem was the jdbc driver - I tried all the ones I found on the page of download of oracle and the only factor that does the job was classes12.jar (Oracle Database 10g Release 2 (10.2.0.1.0)). I replaced it in 'ORACLE_HOME\jdbc\lib\' and 'apache-tomcat\lib\.

Each driver has its own bugs, and I also did different things, so I can't say that any replacement driver is enough. Te I changed the time zone database, run the tzupdater, vm set param - Duser.timezone = ""-07:00 ", may be something else."

Thank you very much for the answer so detailed!

Tags: Oracle

Similar Questions

  • Extract metadata check constraint using the JDBC driver

    Hello

    How to extract metadata check constraint using the JDBC driver?

    I know that by using the package dbms_metadata is possible, but the results of the get_ddl function are limited by the permissions of the user account, log on to oracle customer. So, how others pure Java implemented customer oracle can get the metadata of check constraints by using the same user account used to run the dbms_metadata.get_ddl function when this function cannot obtain metadata restrictions for approval when throwing an exception saying that the cheque does not exist?

    For example, in Aqua Data Studio and further implemented in pure Java metadata check constraints are extracted and showed in the Table Properties, but when I use the same user account in a java program using JDBC to execute dbms_metadata.get_ddl, an exception is throwed with a message that the constraint does not exist.

    So I guess that these pure-Java Oracle customers use Oracle JDBC driver to extract the metadata of check constraint (ddl or the status of the audit). If anyone knows how to use the Oracle JDBC driver to do this, please help me!

    SELECT *
    FROM all_constraints
    WHERE constraint_type = 'C';
    

    will give you all the validation constraints

  • getCustomDatum not implemented for the oracle.jdbc.driver.T4CNamedTypeAccessor class

    Hello world

    running mapviewer Ver11_1_1_7_3_B140717 we met the error above in newspapers trying to create maptiles.

    Installation program:

    -Table with a column of type ordimage (no available georaster here, we have to keep the files in the file system)

    -Spatial index for column in mbr, metadata are

    -All the files using the 31466 (Gauss-Krueger 2) coordinate system

    -Image theme in mapbuilder shows images

    -Bottom of mapbuilder card shows images

    Trying to create the maptiles by using mapviewer administration - manage tile layers creates the above error (same details in the excerpts above).

    AM PIZZABOTEN: Query [p ImageTheme] = SELECT ROWID, RAS_DOB MBR WHERE MDSYS. SDO_FILTER (MBR, MDSYS. SDO_GEOMETRY (2003, 31466, NULL, MDSYS.) SDO_ELEM_INFO_ARRAY (1, 1003, 3), MDSYS. SDO_ORDINATE_ARRAY(:mvqboxxl,:mvqboxyl,:mvqboxxh,:mvqboxyh)), 'querytype = WINDOW') = 'TRUE' AND (pyramid = 25)

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    FEINER: Fetch size: 100

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImageBlock

    AGAIN: Ungultiger Spaltentyp (invalid column type?): getCustomDatum not implemented for the oracle.jdbc.driver.T4CNamedTypeAccessor class

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    WARNUNG: unable to load keyframe: AAAVuOAAMAAAACFAAB

    August 14, 2015 15:36:37 oracle.sdovis.theme.ImageThemeProducer loadImagesFromDBCached

    INFORMATION: Exec sql [RAS_DOB_2014_TEST] time: 7ms, 0 images of loading time: 1 ms.

    August 14, 2015 15:36:37 oracle.sdovis.DBMapMaker renderEm

    INFORMATION: * the time spent on the loading features: 14ms.

    MapTiles records only show the background color.

    Has anyone else experienced this problem?

    Best regards

    NilsO

    Hi Nils

    12.1.3 WebLogic jdbc libraries are located in the MW_HOME/oracle_common/modules/oracle.jdbc_12.1.0 directory level.

    For this WLS jdbc driver is ojdbc7.jar which is loaded on startup of WLS.

    As mentioned on the post preceding this is is not compatible with the 11.1.1.7.3 MapViewer to display the ORDIMAGE. Seems that even the ojdbc6.jar that exists in this directory cannot be used.

    What to do is make the WLS Server uses the ojdbc6.jar for 11.1.1.7.3. There are different ways to use a different pot in WebLogic.

    This page http://docs.oracle.com/middleware/1212/wls/JDBCA/third_party_drivers.htm was noted in this regard.

    As a quick test, you can try to make the ORDIMAGE with the following steps;

    (1) on page MapViewer OTN, Oracle Fusion Middleware MapViewer access downloads and download the quick start for the 11.1.1.7.3 Version.

    You will find the glassfish3/glassfish/domains/Domain1/lib folder a file jdbc ojdbc6.jar.

    (2) on your installation of a WebLogic domain:

    Navigate to the oracle_common/modules/oracle.jdbc_12.1.0 directory

    make a backup of ojdbc7.jar

    copy the ojdbc6.jar on top of ojdbc7.jar

    (3) start Weblogic server and try to make your theme ORDIMAGE.

    As I mentioned before, there are different ways to add a jar to WebLogic classpath. The quick test above is just replace the original ojdbc7.jar in a facility that is not good, as you lose you original ojdbc7.jar.

    Best regards.

    João

  • To connect to an Oracle database using oracle.jdbc.OracleDriver: error

    Hello

    I am trying to connect to an Oracle database so that we can extract information on tables, views, and packages.

    Using the Data Modeler (transformation script) API, we will add these notes to the corresponding objects in the Data Modeler.

    I'll start with this:

    importPackage (java.lang);

    importPackage (java.awt);

    importPackage (java.sql);

    java.lang.Class.forName ("oracle.jdbc.OracleDriver");

    An error occurs when I run this code:

    test.png

    It must be something of Java...

    Someone at - it a suggestion?

    Problem solved! A colleague of mine referred to in this post: import def properties from Oracle Designer

    More in detail: it's this couple of lines:

    Copy the file ojdbc6.jar for... Directory of \datamodeler-home\jlib

    Add this line to datamodeler.conf

    AddJavaLibFile... /... /jlib/ojdbc6.jar

    I changed my file datamodeler.conf, DM rebooted and now is no longer an error when I try to use the Oracle JDBC drive.

  • ClassNotFoundException: oracle.jdbc.driver.OracleDriver

    Hello

    I am getting below error when executing custom authentication plugin in OAM11gR2:

    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver not found by CSMOVDUserAuthentication1 [1]

    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)

    to org.apache.felix.framework.ModuleImpl.access$ 400 (ModuleImpl.java:71)

    to org.apache.felix.framework.ModuleImpl$ ModuleClassLoader.loadClass (ModuleImpl.java:1768)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName(Class.java:190)

    to use. CSMOVDUserAuthentication1.fecthEncryptedPassword (CSMOVDUserAuthentication1.java:262)

    to use. CSMOVDUserAuthentication1.process (CSMOVDUserAuthentication1.java:128)

    at oracle.security.am.engine.authn.internal.executor.PlugInExecutor.execute(PlugInExecutor.java:197)

    at oracle.security.am.engine.authn.internal.executor.AuthenticationSchemeExecutor.execute(AuthenticationSchemeExecutor.java:103)

    at oracle.security.am.engine.authn.internal.controller.AuthenticationEngineControllerImpl.validateUser(AuthenticationEngineControllerImpl.java:267)

    at oracle.security.am.engines.enginecontroller.AuthnEngineController.authenticateUser(AuthnEngineController.java:816)

    at oracle.security.am.engines.enginecontroller.AuthnEngineController.processEvent(AuthnEngineController.java:313)

    at oracle.security.am.controller.MasterController.processEvent(MasterController.java:589)

    at oracle.security.am.controller.MasterController.processRequest(MasterController.java:780)

    at oracle.security.am.controller.MasterController.process(MasterController.java:701)

    at oracle.security.am.pbl.PBLFlowManager.delegateToMasterController(PBLFlowManager.java:209)

    at oracle.security.am.pbl.PBLFlowManager.handleBaseEvent(PBLFlowManager.java:147)

    at oracle.security.am.pbl.PBLFlowManager.processRequest(PBLFlowManager.java:107)

    at oracle.security.am.pbl.transport.http.AMServlet.handleRequest(AMServlet.java:177)

    at oracle.security.am.pbl.transport.http.AMServlet.doPost(AMServlet.java:136)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.security.am.agent.wls.filters.OAMServletAuthenticationFilter.doFilter(OAMServletAuthenticationFilter.java:265)

    at oracle.security.am.agent.wls.filters.OAMValidationSystemFilter.doFilter(OAMValidationSystemFilter.java:133)

    at oracle.security.wls.oamagent.OAMAgentWrapperFilter.doFilter(OAMAgentWrapperFilter.java:120)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3730)

    Please, share your ideas.

    Thank you

    Hi Leoncio,

    Yes you are right.

    I added the entry in my MANIFESTO below. MF and error resolved.

    Bundle-ClassPath:.,.

    lib/ojdbc14.jar is

    Thanks for your reply.

  • 4EA2: oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber () I supplier code 0

    Hi people, when I tried to connect to an Oracle 11g server, I came across this error:

    "An error occurred to perform the requested operation."

    oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber () IVendor code 0

    "

    As I Googled it, the reason was this setting:

    tools::preferences:database: Advanced: use driver OIC/thickness = true

    Customer tested versions: 12.1.0.1.0, 11.2.0.1.0 (bth client versions raises using the same error)

    Solution: put tools::preferences:database: Advanced: use driver OIC/thickness false

    Is this a bug or a feature? In previous versions (3.xxxx), it worked perfectly, but I found some messages describing this error with the first versions of the adopter of the 3.xxxx.

    Thanks for all the relevant answers :-)

    This is a feature.   The version of the Oracle client must always match the JDBC version using SQL Developer.

    that is if the SQL Developer runs 11.2.0.3 JDBC, then your oracle client must be 11.2.0.3.

    Unfortunately, it is not always clear what version of JDBC SQL Developer is provided with.

  • oracle.jdbc.driver.T2CConnection.getLibraryVersion number () I = supplier code

    Error when you try to connect to a database.

    oracle.jdbc.driver.T2CConnection.getLibraryVersion (number) I have the code seller 0

    sqldeveloper3.0.04 with jre... sqldeveloper2.1.1.64 works fine

    Oracle 10.2.0 client

    Thanks in advance

    There are a number of solutions, you can search the forum. He's probably using the driver not supported 10g.
    Make sure you have preferences - Database - advanced - use OIC/thickness uncontrolled pilot and maybe use basic connections rather TNS. You can also install the 11.2 customer or change your ORACLE_HOME.

    Hope that helps,
    K.

  • The package level logging to the Oracle JDBC driver?

    With JDK Logging (java.util.logging) I was not able to open a session active newspapers at the class level. It was only possible to activate the logs for a particular java package.
    For example to enable the logs from the oracle.jdbc.pool.OracleDataSource of the class in the oracle jdbc driver, must be added below the line in the logging.properties file.
     oracle.jdbc.pool.level = FINE 
    You couldn't do
     oracle.jdbc.pool.OracleDataSource.level = FINE 
    Am I missing something? If it is not possible to activate the logging of class level, can someone indicate the reason behind not able to do so or why java.util.logging does not allow this?

    Published by: EJP on 23/06/2011-17:00: fixed your title according to the directions of the discussion

    This isn't for lack of java.util.logging. It's because that's how Oracle chose to implement logging in the package oracle.jdbc.pool, i.e. at the level of the package name. Java.util.Logging can go as thin as you like, depending on what names pass you to Logger.getLogger ().

  • 125, hogging threads waiting for lock oracle.jdbc.driver.T4CConnection@5500

    We use DBAdapter in soa suite 11 g (xa thin drivers, AIX platform) to talk to the database. At one point today, we could see the system WLS slows down considerably and thread dumps could see 125 hogging son everyone waits for the next lock:

    ' ExecuteThread: '16' for queue: '(self-adjusting) weblogic.kernel.Default' "waiting for lock *oracle.jdbc.driver.T4CConnection@55005500* BLOCKED
    oracle.jdbc.driver.T4CXAResource.doRollback(T4CXAResource.java:648)
    oracle.jdbc.xa.client.OracleXAResource.rollback(OracleXAResource.java:1148)
    weblogic.jdbc.wrapper.VendorXAResource.rollback(VendorXAResource.java:78)
    weblogic.jdbc.jta.DataSource.rollback(DataSource.java:1146)

    Can someone point to this oracle.jdbc.driver.T4CConnection@55005500. Is that a lock on a connection object? If so this means that all 125 discussions were waiting for a single connection? The source of data used has default settings for the connection pool.

    I couldn't see any thread thread discharge which States that it is now the same lock, possibly could be a problem with the way thread dump is generated in AIX

    Can someone shed some light on this?

    Hello. Grep just for T4CConnection@55005500 in the discharge. You will see the number of threads
    blocked (as you would expect) on this point, but only one thread that already have this object
    locked and uses it. Unfortunately, the thread is suspended in a call to DBMS, so it cannot
    go ahead and release the connection object and let all other threads proceed.
    I has you pointed out only one thread.

  • java.sql.SQLException: [BEA] [Oracle JDBC Driver] Error establishing socket t

    I note the following exceptions in newspapers

    < 18 April 2010 3:40:28 AM PDT > < error > < RJVM > < BEA-000515 > < run failed
    weblogic.socket.SocketOptionException: too many open files
    weblogic.socket.SocketOptionException: too many open files
    at weblogic.socket.SocketMuxer.initSocket(SocketMuxer.java:431)
    at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:310)
    at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:82)
    at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:58)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:355)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:434)
    to weblogic.net.http.HttpClient. < init > (HttpClient.java:159)
    to weblogic.net.http.HttpClient. < init > (HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:190)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:414)
    at weblogic.rjvm.http.HTTPClientJVMConnection.receiveAndDispatch(HTTPClientJVMConnection.java:404)
    at weblogic.rjvm.http.HTTPClientJVMConnection.run(HTTPClientJVMConnection.java:295)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    >
    # < 18 April 2010 3:40:28 AM PDT > < error > < RJVM > < ddcaxpsmo05 > < OrdZone1Managed01 > < ExecuteThread [ASSET]: '24' to queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1271587228648 > < BEA-000515 > < run failed
    weblogic.socket.SocketOptionException: too many open files
    weblogic.socket.SocketOptionException: too many open files
    at weblogic.socket.SocketMuxer.initSocket(SocketMuxer.java:431)
    at weblogic.socket.SocketMuxer.newSocket(SocketMuxer.java:310)
    at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:82)
    at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:58)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:355)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:434)
    to weblogic.net.http.HttpClient. < init > (HttpClient.java:159)
    to weblogic.net.http.HttpClient. < init > (HttpClient.java:149)
    at weblogic.net.http.HttpURLConnection.getHttpClient(HttpURLConnection.java:190)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:414)
    at weblogic.rjvm.http.HTTPClientJVMConnection.receiveAndDispatch(HTTPClientJVMConnection.java:404)
    at weblogic.rjvm.http.HTTPClientJVMConnection.run(HTTPClientJVMConnection.java:295)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)

    ====================================================================================================================
    # < 18 April 2010 3:40:22 AM PDT > < Info > < JDBC > < ddcaxpsmo05 > < OrdZone1Managed01 > < ExecuteThread [ASSET]: '21' for queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <><>< 1271587222852 > < BEA-001156 > < associated to 001129 following message from stack trace:

    java.sql.SQLException: [BEA] [Oracle JDBC Driver] Error establishing socket to host and port: smoprna.mckesson.com:1521. Reason: Too many open files
    at weblogic.jdbc.base.BaseExceptions.createException (unknown Source)
    at weblogic.jdbc.base.BaseExceptions.getException (unknown Source)
    at weblogic.jdbc.oracle.OracleImplConnection.makeConnectionHelper (unknown Source)
    at weblogic.jdbc.oracle.OracleImplConnection.makeConnection (unknown Source)
    at weblogic.jdbc.oracle.OracleImplConnection.connectAndAuthenticate (unknown Source)
    at weblogic.jdbc.oracle.OracleImplConnection.open (unknown Source)
    at weblogic.jdbc.base.BaseConnection.connect (unknown Source)
    at weblogic.jdbc.base.BaseConnection.setupImplConnection (unknown Source)
    at weblogic.jdbc.base.BaseConnection.open (unknown Source)
    at weblogic.jdbc.base.BaseDriver.connect (unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:299)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:200)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1073)
    to weblogic.common.resourcepool.ResourcePoolImpl$ ResourcePoolMaintanenceTask.timerExpired (ResourcePoolImpl.java:2209)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    to weblogic.work.SelfTuningWorkManagerImpl$ WorkAdapterImpl.run (SelfTuningWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    ======================================================================================

    Designated operational entities the above exception occurs when the database is unavailable and weblogic attempts to create the connection to the database using the file descriptors in turn that is causing the files too many error messages.

    Please feel free to correct me.

    Thanmks in advance :)

    It occurs when the database is completely down.
    But it could happen if the database is blocked and you try to create a large number of connections.
    Watch this forum for more information on too many files open.
    Re: Exception too many open files

  • Error: "oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber ()"I"connection to the database of AWM

    When I try to connect to a database of MN get the following error:

    java.lang.UnsatisfiedLinkError: oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber () I

    java.util.MissingResourceException: can't find resource for bundle oracle.olap.awm.app.AwmResources3, key oracle.jdbc.driver.T2CConnection.getLibraryVersionNumber () I

    Any ideas?

    Windows: 7

    MN: 11.2.0.3.0A

    DB: 11.2.0.1.0

    Oracle client: 11.2.0 (32 bit)

    I found the answer in this post:

    Error connecting to 11.1.0.7 AWM db with OLAP option

  • Oracle.jdbc.driver.T2CConnection.t2cCreateState error when borrowed from the database

    I've recently updated to the latest version 3.2.20.09 and the latest version of the driver, but now I get this error when connecting. I have no idea where to start to fix this problem. Pointers appreciated.

    It's the exact error:

    To perform the requested operation, an error has occurred:

    oracle.jdbc.driver.T2CConnection.t2cCreateState ([BI [BI [BI [BI [BI [BI [BISI [S [B [BZ [J) I have

    0 vendor ID

    Thank you very much

    Hello

    Something similar to discuss last week: No ocijdbc11 in java.library.path

    Read it and see if the suggestion of a version mismatch between the ojdbc6.jar and the ocijdbc11.dll this SQL Developer resumes aid.

    Kind regards

    Gary

  • java.lang.IllegalAccessError: tried to access class oracle.jdbc.driver.Orac

    Hello world

    I have a problem with ojdbc14.jar is.
    My request, which is a J2EE (JSP) application, grows on JDeveloper 10.1.3.3 and works correctly. But I can't run my application on JDev 11.1.1.0.1.
    The problem is (I think) I can access at design time ojdbc.jar, but in the moment of execution, JDeveloper gives me below the exception when I press the run button.


    Error 500 - Internal server error

    java.lang.IllegalAccessError: tried to access class class oracle.jdbc.driver.OraclePreparedStatement UtilityPack.DBPack.TPreparedStatement
    to UtilityPack.DBPack.TPreparedStatement. (TPreparedStatement.java:72) (== > > tihis is my class)
    at UtilityPack.HCombos.fillCombos (HCombos.java:59)
    at jsp_servlet.__index._jspService(__index.java:158)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3498)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Could you please help? You have an idea? I tried, but I couldn't find the problem.
    Everything would be great.

    Thanks in advance.

    And you can read this.

    http://forums.Oracle.com/forums/Ann.jspa?annID=201

    Sascha

  • Change expired password using oracle jdbc thin driver

    Hello

    I have a java program that uses the thin driver oracle jdbc (ojdbc6 - version 11.2.0.3) to connect to the base. My question is if I have no possibility to change an expired password (java.sql.SQLException: ORA-28001: the password has expired) using the thin driver - NO OIC?

    No - the thin driver is not password management features.

  • [Hyperion] [Oracle JDBC Driver] Error creating socket to host and port:

    Hello

    I get the above error when trying to configure with shared services.

    Version 9.3.1 database is oracle 10.4, I thought is a host name error, I tried with the ip address, but the problem is still there.

    We need to establish a JDBC connection to the server where I do the install, my database is on another server.

    Please let me know your updates and how to solve this problem. or is there a problem of \n(Assurez-vous DB.

    Thank you
    MSR

    Sudhakar salvation, you must use the exact client version when possible; your JDBC driver problem is not related to the version of the client...

    The customer is not used by the components Web J2EE for example the Foundation Web Services (Shared Services), RA Framework Web (Workspace), EPMA Web, financial reports, Web planning, Web...

    If you use these components, it is used by the part IIS of EPMA, HFM and FDM.

    Your DBA confirm that you use indeed to connect the correct listening port? If the telnet test works you will see it go with a blinking cursor. When it fails, you receive the message: "could not open connection to the host, on port: XXXX...". ».

    Kind regards

    John A. Booth
    http://www.metavero.com

Maybe you are looking for