Db2 - bea jdbc type 4 driver error - cursor not in a prepared state

Hi
I am getting this error from BEA DB2 Driver in weblogic console.
java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]CURSOR C02 NOT IN A
PREPARED STATE
This problem occurs frequently almost everyday.
When this error happens we clear the statement cache by logging in to the weblogic console (which clears the cache of prepared and callable statements maintained for each connection in the connection pool), and will be able to proceed till the error comes up again!
Has anyone come across this type of error?
DB2 UDB V8.1 Fixpack 4 on Solaris
Weblogic V8.1 SP2
Thanks
Sireesh.

We have seen that error as well. When using entity beans, we could do some creates, but then we would get the Cursor error. It would happen sporadically.
IBM now has better Type 4 drivers with version 8.2, we are having better luck with them then with the BEA drivers.

Similar Messages

  • Downloading error"Key not valid  in specified state". How do I fix this?

    Uninstalled Itunes. Now when I try to reinstall, I get the error" key not valid in specified state> What does this mean, and how do I fix it?

    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    For further problems installing iTunes see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • IBM DB2 Universal JDBC (Type 4)

    Has anyone have had an opportunity to configure the connection pool using IBM DB2 Universal JDBC, specifically the Type 4? If you can point me in the right direction, I would greatly appreciate it.
    We are currently using Weblogic versino 8.1.4.

    Binh Dao wrote:
    Has anyone have had an opportunity to configure the connection pool using IBM DB2 Universal JDBC, specifically the Type 4? If you can point me in the right direction, I would greatly appreciate it.
    We are currently using Weblogic versino 8.1.4.Hi. It should be easy. Please edit the start-weblogic scritp
    to add a line like:
    set CLASSPATH=\my\full\path\ibm.jar;%CLASSPATH%
    to get whatever the driver needs in the classpath.
    Then show me a few lines of code from an IBM JDBC
    example program that successfully creates a JDBC
    connection to the DBMS you want. Then I'll tell
    you how to configure the pool.
    Joe

  • Type layer error: Could not complete your request because of a program error.

    I am trying to rebuild text in a photo. I clicked the type tool, clicked on the background layer (knowing a new one should form) and got this error:
    Could not complete your request because of a program error.
    Then I made a new blank layer, clicked on it and got the same error.
    I quit, relaunched started typing the new layer without a hitch. But when I selected to change the font (to any font), I got the same error
    I switched to Firefox to search for the problem and went back to PSCS5. Now I can change the font! After switching applications and clicking on the type layer, I get the error again! Then it's fixed. Then it comes back.
    Anyone have this problem or a solution?
    I'm using Mac OS 10.5.8 with PSCS5 12.0.1

    Most likely you have a corrupt font which is causing problems for some of the type/font code.
    Try validating your fonts with FontBook as a first step.

  • TDMS error - "Cursor Not in correct position" - please advise

    Hello,
    We've spent some time building the TDMS landscape: we have 3 systems for source, TDMS and target respectively. We've applied DMIS & DMIS_CNT packages successfully to all 3 systems. We've added users, assigned the profile SAP_TDMS_MASTER to them, and generated the profiles successfully - again on all 3 systems.
    We now wish to create a package to move from source to target. We can create Project, but when we try to create subproject we get "User XXX is not assigned to project subprojects". An associated error is "Cursor Not in correct position". It's the latter error we get consistently if we click on any of the TDMS overview buttons e.g. RFC Information, Register Users etc.
    The notes we've read state that DMIS and DMIS_CNT should suffice. We've read thru many related notes - 890797 in particular - and have implemented those steps.
    We've tried finding hits online for this error, but to no avail. Can you please advise on what steps we need to take to solve this error?
    Regards,
    P.Sl Basis

    Hi Srila,
    We'd already implemented note 889988. But we went back and reimplemented, then regenerated the profile. We still have the error of "Cursor Not in correct position". But now when we try to create a subproject, we get "User XXX does not have required authority to to execute this activity". We can no longer create new Projects either, and we can't edit previously created Projects.
    The userid in question has the profile T_CP130021 SAP_TDMS_MASTER, and the role SAP_TDMS_MASTER. So why do we get this authority issue?
    We created an OSS with message number (0001047332 2008).
    Regards,
    P.Sl Basis

  • IMS-exception type "Other errors" is not getting triggered

    Hi experts,
                     I am trying out some scenarios in IMS. I want to check exception type- "Other Errors" which is a most generic exception type. I have tried many options like- removed country from partner id address, tried posting invoice after removing account assignment category but for all these invoice triggers exception- duplicate invoice which i am unable to understand. can anybody please tell me what are the settings required for exception type- other errors?
    2. I even tried exception type "missing goods receipt". Excption type is getting triggered but after creation of confirmation- the status of the exception is not getting changed to clarified. Instead it gives an error- User is locked please try after some time.
    Please help
    Regards
    Kapil

    Hi Friend,
    Please read the possible exception types in IMS
    Have you set these exception in Settings for Invoice Monitor
    Purpose
    In the Settings for Invoice Monitor application, you can make settings directly on the user interface for every exception that you wish to adjust.
    Digital signature
    For each exception, you can define whether you want to use a digital signature.
    If you use a digital signature, the field Digital Signature is active on the Adobe PDF form and the processor of the form has to sign it before sending it back.
    The system then checks that the signature is valid.
    If the signature is invalid, or the processor does not sign the form, an error message is written to the log and the e-mail is closed.
    You can assign a digital signature to a vendor in two different ways.
    ·        The user assigns a partner certificate and sends it to the vendor.
    ·        The user uses the vendor’s signature certificate. This certificate has to be registered on the ADS server. For more information, see the SAP NetWeaver Configuration Guide Interactive Forms based on Adobe Software on the SAP Service Marketplace under service.sap.com/instguidesNW2004s.
    Additionally, you can make settings for the following exceptions:
       Invoice duplicate
    This exception is triggered if you try to post an invoice that has already been posted. The two invoices are compared using criteria that you have specified. In the settings, you can define whether a notification e-mail is automatically sent in the case of an invoice duplicate exception, and to whom this e-mail is sent. Furthermore, you can tailor the duplicate check to suit your requirements. The following criteria are available:
        Consider special characters in the vendor invoice number
         Check the number of items and purchase order number
         Additionally, you can define that the invoice is automatically deleted as soon as the vendor confirms that a duplicate invoice exists.
    ¡        Fields for duplicate check
    On this tab page, you can activate the fields that are relevant for the duplicate check. Furthermore, you can define a maximum variance for each field. In other words, you define whether the data in the fields should be an exact match, or whether small differences are acceptable.
    ¡        Exclude vendor values and or invoice values
    On this tab page, you can exclude certain vendors and/or invoice values from the duplicate check. If, for example, you always receive invoices from one vendor for the same amount, you can enter this here so as to prevent unnecessary checks.
    ¡        Group vendors
    On this tab page, you can group vendors that have several vendor numbers together in a data record to facilitate the duplicate check. Entries in this table cause an update in the TREX database which might lead to a short delay.
    Regardless of your settings, the system performs a standard duplicate check (for vendor invoice numbers or vendor numbers that match exactly, for a +/- 7 day period) to ensure that these duplicates are found. If this standard check is not successful, a further check is performed using the settings that you made.
    ·        Missing external information
    This exception is triggered if you try to post an invoice that contains incomplete or incorrect information. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by missing external information, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System, where the missing/incorrect information can be entered directly in an interactive form.
    ·        Missing internal information
    This exception is triggered if you try to post an invoice that contains incomplete or incorrect information. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by missing internal information, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System, where the missing/incorrect information can be entered directly in an interactive form.
    ·        Missing goods receipt
    If no digital signature is used, two additional fields are displayed in the PDF form. The processor has to enter his first and last name into these fields before he/she sends the e-mail back.
    In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by a missing goods receipt, and to whom this e-mail is sent. You can define how long the invoice should remain with status 'Waiting for Preceding Documents' before it receives the status 'To be Corrected Manually’. Furthermore, you can define how many days pass before an e-mail is sent to the goods recipient. When the goods recipient then confirms that no goods delivery has taken place, an e-mail is automatically sent to the vendor. If the goods receipt has already taken place, you can either define that the goods recipient confirms this automatically in an interactive form, or that the goods recipient uses a link in the e-mail to confirm the goods receipt in the SRM system.
    ·        Incorrect reference
    This exception is triggered if you try to post an invoice that refers to an incorrect reference. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by an incorrect reference, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Approval overdue
    This exception is triggered if an invoice remains in approval status for longer than allowed. You can define how long an invoice can remain in approval status before the exception is triggered.
    ·        Other errors
    This exception is triggered if you try to post an invoice that contains errors. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by other errors, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    Note that the invoice is checked in accordance with the vendor tolerance limits in the case of the following exceptions: If these are exceeded, an error message is output.
    ·        Price variance
    This exception is triggered if you try to post an invoice that contains price variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a price variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the price variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Quantity variance
    This exception is triggered if you try to post an invoice that contains quantity variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a quantity variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the quantity variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Tax variance
    This exception is triggered if you try to post an invoice that contains tax variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a tax variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the tax variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM system.
    In Invoice monito system pls check the what setting is done for Duplicate  invoice, Missing GR and other invoice.
    Based on these setting only system identifies what type of exception it is.
    In other errors you should mention in Settings for Invoice Monitor  what are the fileds your consider for other exception.
    Hope this information will help.
    Thanks & Best regards
    Girish

  • I get an error "key not valid in specified state" when updating iTunes

    I tried to update my iTunes to 12.0.1  warning popped up on computer to try doing manually which I did when it was doing status it was almost to the end and triangle with caution exclamation and said "key not valid in specified state"....Now what? Do I uninstall?

    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    For further problems installing iTunes see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • JDBC Informix Driver Error -908

    I have this problem of connecting to a informix database server. I have successfully loaded the database driver with the following code:
    Class.forName("com.informix.jdbc.IfxDriver");
    and does not return any error, but when connecting to the database with the following code:
    private Connection con;
    con = DriverManager.getConnection(url);
    where the url is a correct connection string. It returns an exception error -908 saying that I cannot connect to the specified server.
    Please anyone I need help on this.
    Thanks
    Ice

    Don't know if you have already resolved the problem, but connections from applets (in a browser) can only be made to the hosting server.
    If the database is on another server, the security context will reject the connetion.
    If this is your problem, the informix jdbc dist has a proxy app (located in the proxy dir of the jdbc intall) that can be installed in the web server to redirect connections - at least that is my understanding, as I only glanced at the docs about it.

  • BI IP - Planning Function Type Formula Error "Characteristic not Supported"

    Hi all,
    I have created a planning function type formula with very simple code. The code was copied from SAP Library and FISCPER was replaced with 0CALDAY. I continue to get an error 'Characteristic 0CALDAY is not supported".
    The characteristic 0CALDAY is in the Infoprovider and the aggregation level. I have tried 'To Characteristic Usage' with both changed and in condition.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA I1 TYPE I.
    DATA I2 TYPE I.
    DATA CALDAY TYPE 0CALDAY.
    FOREACH CALDAY.
    CALCULATE 1ST DAY OF ZCALEND
    D1 = C2DATE( CALDAY, S ).
    CALCULATE LAST DAY OF CALDAY
    D2 = C2DATE( CALDAY, E ).
    CALCULATE THE DIFFERENCE BETWEEN LAST AND 1ST DAY MINUS TWO DAYS
    I2 = 2.
    I1 = D2 - D1 - I2.
        MESSAGE I001(UPF) WITH 'DIFFERENCE' I1.
    ENDFOR.
    Thank you in advance for any help.
    Teri

    Thank you very much for your reply. What would you suggest? I must use 0CALDAY.  As you can tell I am very new to IP, I have tried other options for example:
    DATA ZDAYS TYPE I.
    DATA ZDT TYPE ZCALSTART.
    DATA ZDF TYPE ZCALEND.
    ZDT = ZCALSTART.
    ZDF = ZCALEND.
    ZDAYS = ZDT-ZDF.
    {KF,ZDT,ZDF} = ZDAYS.
    I received an error "ZCALSTART could not be recognized"
    I also tried to call a function. 'FIMA_DAYS_AND_MONTHS_AND_YEARS'.
    DATA D1 TYPE D.
    DATA D2 TYPE D.
    DATA DD TYPE I.
    DATA CALS TYPE ZCALSTART.
    DATA CALE TYPE ZCALEND.
    D1 = CALS.
    D2 = CALE.
    CALL FUNCTION 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
      EXPORTING
        I_DATE_FROM          = D1
      I_KEY_DAY_FROM       =
        I_DATE_TO            = D2
      I_KEY_DAY_TO         =
      I_FLG_SEPARATE       = ' '
    IMPORTING
       E_DAYS               = DD.
      E_MONTHS             =
      E_YEARS              =
    I received an error "Types of parameter I_DATE_FROM () and variable D1(D) are inconsistent".  From what I could find they should be consistant.  Please provide any suggestions. Thank you!
    Teri
    Edited by: teri chandler on Mar 30, 2010 3:26 PM

  • External drive error, does not mount: "Partition map check failed because no slices were found"

    Hardware: MacBook late 2009 (2.26Ghz Core 2 Duo 2 GB RAM 250GB HDD) running 10.9.4, Hackintosh MacPro (3.29Ghz i3 16GB RAM 1TB HDD) running 10.9.4, external 3 TB Seagate Backup+ drive
    As you can can see from the screenshot below,
    The external drive was initially plugged in a Netgear WNDR4500 router by USB to be used as NAS. I was in the middle of updating the firmware when there was a power outage. Upon reboot, the drive no longer mounts, whatever it is plugged in (router, Mac, PC, etc.).
    I ran DiskUtility on the partition map and volume, same errors. Here's an what I see:
    As you can see above, the "Mount" icon is greyed out and I get the error message "Partition map check failed because no slices were found". If I select "the Archive" partition, the "Mount" icon is not greyed out but clicking it doesn't do anything. My HDD is basically unreadable.
    I issued a few Terminal commands to see what was the problem, here are the results:
    What can I do?
    Currently running analysis on TestDisk and it is 50% after 48hrs. Need some help!

    @ Allan Eckert: Unfortunately, reformatting is out of the question, I have 5 years of work on this!
    @ Loner T: Yes, the firmware did successfully upgrade after router reboot and a bit of troubleshoot.
    Thanks for the quick replies. Keep 'em coming!

  • Error while creating creating a prepared statement under WL 6.1

    Hi all,
    can you help please?
    We wrere using weblogic 6.0 with transactions and it worked fine.
    As we switched to weblogic 6.1 sometimes we get the following exception when creating
    a prepared statemnent (first statement after accessing the db connection):
    ERROR: ejbFindByCcProcessorIdActive(1): com.wirecard.io.db.util.DbConnectionException:
    java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
    in the transaction branch start() failed on resource 'weblogic.jdbc.jta.DataSource'
    Internal error during start for XAResource 'wirecardDataPool'
    -at com.wirecard.io.db.util.DbConnection.prepareStatement(Unknown Source)
    The config.xml looks like this:
    <JDBCConnectionPool CapacityIncrement="1" DeploymentOrder="1000"
    DriverName="weblogic.jdbc.oci.xa.XADataSource"
    InitialCapacity="3" JDBCXADebugLevel="0" LoginDelaySeconds="0"
    MaxCapacity="20" Name="testDataPool"
    Properties="user=quintus;weblogic.codeset=UTF8;url=jdbc:weblogic:oracle;password=common;dataSourceName=testDataPool;server=developer;serverName=developer"
    RefreshMinutes="0" ShrinkPeriodMinutes="30"
    ShrinkingEnabled="true" SupportsLocalTransaction="false"
    Targets="localhost" TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false" URL="jdbc:weblogic:oracle"/>
    <JDBCConnectionPool CapacityIncrement="1" DeploymentOrder="1000"
    DriverName="weblogic.jdbc.oci.xa.XADataSource"
    InitialCapacity="3" JDBCXADebugLevel="0" LoginDelaySeconds="0"
    MaxCapacity="20" Name="testDataPool"
    Properties="user=quintus;weblogic.codeset=UTF8;url=jdbc:weblogic:oracle;password=common;dataSourceName=dataDataPool;server=developer;serverName=developer"
    RefreshMinutes="0" ShrinkPeriodMinutes="30"
    ShrinkingEnabled="true" SupportsLocalTransaction="false"
    Targets="localhost" TestConnectionsOnRelease="false"
    TestConnectionsOnReserve="false" URL="jdbc:weblogic:oracle"/>
    Can anyone help please?
    cu,
    Guenter

    The driver being used by your weblogic is too old and incompatible with the DBMS. Upgrade the driver.

  • Websphere Application Server an JDBC Driver errors

    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphere Application server and have encountered a couple of problems, which are described below. Has anyone encountered these before, and are there solutions to fixing them.
    Problem 1. All JDBC queries through the drivers cause the following error message to be displayed on the application server console:-
    #Weblogic -- Applet Access
    ......Illegal System.exit() attempted
    2. We get an intermittent problem where a JDBC query causes the following exception:-
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not owner
    at java.lang.Object.notify(Native Method)
    at
    weblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))The only solution to the 2nd problem, that I've found, is to restart the application server.
    Are these drivers compatible with IBMs Websphere Application Server v4.0 Advanced?
    Any help would be appreciated.
    Regards
    Andrew

    please see my answers inline... I recommend you try the JDBC driver from
    Microsoft.
    sree
    "Andrew Danieli" <[email protected]> wrote in message
    news:[email protected]..
    We're currently testing the BEA JDBC/SQLServer driver on IBMs websphereApplication server and have encountered a couple of problems, which are
    described below. Has anyone encountered these before, and are there
    solutions to fixing them.
    >
    Problem 1. All JDBC queries through the drivers cause the following errormessage to be displayed on the application server console:-
    >
    #Weblogic -- Applet Access
    ......Illegal System.exit() attemptedThis is happening in your application code not in the driver.
    >
    2. We get an intermittent problem where a JDBC query causes the followingexception:-
    >
    12-Aug-2002 14:08 | [Servlet.Engine.Transports:8] | ERROR | |
    User Action: displayParams
    Error Message: JVMLK003: current thread not owner
    Exception Message: JVMLK003: current thread not owner
    java.lang.IllegalMonitorStateException: JVMLK003: current thread not
    owner
    at java.lang.Object.notify(Native Method)
    atweblogic.jdbcbase.mssqlserver4.TdsConnection.registerPipeline(TdsConnection.
    java(Compiled Code))This sounds more like an IBM JVM issue.
    >
    The only solution to the 2nd problem, that I've found, is to restart theapplication server.
    >
    Are these drivers compatible with IBMs Websphere Application Server v4.0Advanced?
    They are JDBC1.0 compliant drivers and should work with any jdbc app.
    >
    Any help would be appreciated.
    Regards
    Andrew

  • Invalid cursor state error while executing the prepared statement

    hai friends,
    following code showing the invalid cursor state error while executing the second prepared statement.
    pls anyone help me
    String query = "select * from order_particulars where order_no=" + orderno + " order by sno";             psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);             rs1 = psmt1.executeQuery();             rs1.last();             intRowCount = rs1.getRow();             particularsdata = new Object[intRowCount][6];             rs1.beforeFirst();             if (intRowCount >= 1) {                 for (int i = 0; rs1.next(); i++) {                     particularsdata[0] = i + 1;
    particularsdata[i][1] = rs1.getString(3);
    particularsdata[i][2] = Double.parseDouble(rs1.getString(4));
    rs1.close();
    psmt1.close();
    query = "SELECT sum(delqty) FROM billdetails,billparticulars WHERE order_no= " + orderno + " and " +
    "billdetails.bill_no = billparticulars.bill_no GROUP BY particulars ORDER BY sno";
    psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    rs1 = psmt1.executeQuery(); //error showing while executing this line

    Also .. Why using arrays instead of collections? Shifting the cursor all the way forth and back to get the count is fairly terrible.
    With regard to the problem: either there's a nasty bug in the JDBC driver used, or you actually aren't running the compiled class version of the posted code.

  • ClassNotFoundException: weblogic/jdbc/pool/Driver

              Hi,
              I was able to run the sql example in the jsp\tagext directory.
              The ConnectionTag tag contains basically code like:
              Class.forName("weblogic.jdbc.pool.Driver").newInstance();
              which works fine.
              Next, I moved the code into a utility package, which I
              compiled into the public_html\WEB-INF\classes directory. This
              code is called from within a servlet.
              Strangely enough, when I run the servlet, I get the
              ClassNotFoundException: weblogic/jdbc/pool/Driver error.
              It is as if the servlet does not have access to the
              weblogic.jdbc.pool.Driver class while the tag library does.
              What am I doing wrong?
              Thanks,
              Vladimir
              

    You must include the path to jdbc driver in the script wich you start the
              server.
              WEBLOGIC_CLASSPATH
              vladimir <[email protected]> escribió en el mensaje de noticias
              39bcdf0c$[email protected]..
              >
              > Hi,
              >
              > I was able to run the sql example in the jsp\tagext directory.
              > The ConnectionTag tag contains basically code like:
              >
              > Class.forName("weblogic.jdbc.pool.Driver").newInstance();
              >
              > which works fine.
              >
              > Next, I moved the code into a utility package, which I
              > compiled into the public_html\WEB-INF\classes directory. This
              > code is called from within a servlet.
              >
              > Strangely enough, when I run the servlet, I get the
              > ClassNotFoundException: weblogic/jdbc/pool/Driver error.
              > It is as if the servlet does not have access to the
              > weblogic.jdbc.pool.Driver class while the tag library does.
              >
              > What am I doing wrong?
              >
              > Thanks,
              > Vladimir
              >
              

  • Repost: ClassNotFoundException: weblogic/jdbc/pool/Driver

              Hi,
              I was able to run the sql example in the jsp\tagext directory. The ConnectionTag tag contains basically code like:
              Class.forName("weblogic.jdbc.pool.Driver").newInstance();
              which works fine.
              Next, I moved the code into a utility package, which I compiled into the public_html\WEB-INF\classes directory. This code is called from within a servlet.
              Strangely enough, when I run the servlet, I get the ClassNotFoundException: weblogic/jdbc/pool/Driver error. It is as if the servlet does not have access to the weblogic.jdbc.pool.Driver class while the tag library does.
              What am I doing wrong?
              Thanks, Vladimir
              

              Hi,
              I was able to run the sql example in the jsp\tagext directory. The ConnectionTag tag contains basically code like:
              Class.forName("weblogic.jdbc.pool.Driver").newInstance();
              which works fine.
              Next, I moved the code into a utility package, which I compiled into the public_html\WEB-INF\classes directory. This code is called from within a servlet.
              Strangely enough, when I run the servlet, I get the ClassNotFoundException: weblogic/jdbc/pool/Driver error. It is as if the servlet does not have access to the weblogic.jdbc.pool.Driver class while the tag library does.
              What am I doing wrong?
              Thanks, Vladimir
              

Maybe you are looking for