How can implement jdbc 2.0 in tomcat 4.0

hi
i want to implemrnt jdbc 2.0 in tomcat 4.0 because i want scroable resultset in tomcat 4.0
is it possible

how can we implement this

Similar Messages

  • How to implement jdbc 2.0. on weblogic 6.1 or 7.0

    We have been playing hide and seek with weblogic guys. Once when I
    call them they say the oracle driver shipped supports JDBC2.0 When I
    implement the methods the server complains on not supporting them. So
    what do I do. Should I buy a third party driver. If so which ones are
    the best and how can I integrate them with weblogic 6.1..
    Please come out with a clean answer..

    Hi Gordon,
    While this fix may work for now, any classes in the *.internal.*
    packages are not guaranteed to be the same for different server
    versions, and using them is not supported.
    And, by the way, this hack is not going to work if it's used
    from a remote client.
    Regards,
    Slava Imeshev
    "Gordon Twaddell" <[email protected]> wrote in message
    news:[email protected]..
    >
    "Ashwin" <[email protected]> wrote in message
    news:[email protected]..
    I did as you said. I want to insert data into a CLOB field. And I
    followed the procedure mentioned by Oracle. But then I got an
    exception with this weblogic.jdbc.rmi.SerialOracleClob
    I am not using any weblogic classes, but I am using the connection
    pool created by the thin driver. Then I read in the weblogic
    documentation to import weblogic.jdbc.vendor.oracle.OracleThinBlob. I
    was not able to compile the class since the weblogic.jar file does not
    contain the class..
    The senario is we have classes12.zip in path. We are creating a
    connection pool and datasource and now how do I insert a text into a
    CLOB field in oracle. Help please..BEA has replaced the Oracle thin driver LOB classes with versions that
    support serialization. Here's how I solved the problem:
    public oracle.sql.CLOB narrowClob( java.sql.Clob clob )
    throws ClassCastException
    weblogic.jdbc.rmi.SerialOracleClob cast1 =
    (weblogic.jdbc.rmi.SerialOracleClob)clob;
    weblogic.jdbc.rmi.internal.OracleTClobImpl cast2 =
    (weblogic.jdbc.rmi.internal.OracleTClobImpl)cast1.getTheRealClob();
    return (oracle.sql.CLOB)cast2.getTheRealClob(); // Get CLOB
    handle

  • How Can implement the audit function using toplink?

    My system must record all the modification, how can I use toplink to implement it.
    I know when toplink modify some object, the toplink will check how many attribute
    have been modified, and then update it to database, Can I implement the record when
    the toplink check modification?
    PS: I dont want to use database trigger.
    Thank first!!

    This thread has been inactive for a while, so perhaps I'm missing something. I am attempting to create audit events on domain objects using a TopLink 10.1.3 DescriptorEventAdapter.
    These audit events mutate or create a snapshot collection on the domain object. Based on what I understand from the above thread, do I still need to create another UoW to commit these in my preInsert()/preCreate() handler methods?
    Is there a way to get in the game before the IDs are assigned to the objects and the change set is computed?
    I certainly don't claim to fully understand the historical client session docs. However, one of our requirements is to show object-attribute-level deltas (list chronologically, grouped by transaction, the attributes that have changed, who changed them, etc. with their before and after values). So my first-blush reaction is that it's easier to utilize the change set to create a collection of transactionally-grouped audit objects on the domain.
    Thanks much,
    --Todd Fredrich                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I run a servlet with tomcat

    I'm a new learner in servlet,I recently write a servlet program,when I compile it,the compiler throws the error
    "package javax.servlet.http does not exist",I have put the servlet.jar(which exist in d:\tomcat\bin directory) file into the classpath directory;my servlet source files are in D:\tomcat\webapps\mywork\web-inf\classes\com\stardeveloper\servlets;
    "com.stardeveloper.servlets" is the package for my servlet source files,so I have write the sentence "package com.stardeveloper.servlets;" in my servlet source file.
    I don't know how to resolve this problem.can you give me a help?

    servlet.jar doesn't exist in the folder you mentioned, but rather, in C:\tomcat40\common\lib, so this should be included in your classpath, the other thing you should care about is how you compiled your servlets, so that the package statement match the hirarchy of the file.
    regards

  • How can I deploy an application in Tomcat 4.0.3???

    i'm learning JSP now and I want to deploy a simple application in Tomcat 4.0.3 The JSP file has a "page import" directive that tries to connect to a Bean which is put in the /web-inf/classes directory. But when I try to load the page in the browser it says that it cannot load the bean. Is there any specification that should be made in some of the Tomcat's config files [server.xml ...]? Because I followed the example in the JSP Tutorial with the "hellouser" application totally and it still doesn't work. I only worked when I copy/pasted the content of my JSP file in the hellouser.jsp and the content of the bean in "NameHandlerBean.java" from the hellouser application.
    Thanks a lot, I hope there will be somebody to help me, because otherwise i can't go further in learning JSp

    You can simply open your server.xml file by
    tomcat-Installiton-Directory/conf/server.xml
    Open server.xml in some editor and search for a tag named "Context"
    <context path="myApp" docBase="Path of your application"........>
    then in your browser you can run your application like
    http://localhost:8080/myApp/.....
    where myApp is the name that you have specified in context path above.

  • How can implement multiselection

    I want to implement multiselection.In which there should be multiple options and by cheching one or more options we can save the options.Please provide me code for that.

    <i>I want to implement multiselection</i>
    where? in tableview?
    PS: kindly close your previous threads
    Namespace Error.
    Message was edited by: Durairaj Athavan Raja

  • How can implement running total in oracle forms

    I want to implement a running total in oracle form
    like
    100 100
    300 400
    200 600
    500 1100
    200 1300
    100 1400
    PROCEDURE calculate_srno IS
    current_rownum     integer:=:System.Cursor_Record;
    starting_srno integer:=:rs_1;
    last_rownum integer;
    BEGIN
         last_record;
         last_rownum:=:system.cursor_record;
         go_record(1);
         FOR counter IN 1..last_rownum LOOP
              :sum_1:=:rs_1;
              :rs_1:=:sum_1+:rs_1;
         --     :offered_srno_to:=starting_srno;
              if last_rownum=:System.Cursor_Record then exit;
              end if;
         END LOOP;
    END;
    it is not working after want to insert between in the table

    Why write code for this? Oracle Forms 10g has Calculated/Summary fields that will do this for you without the need of writing any PL/SQL.
    Simply add a non-table item to the data block with the item you want to keep the running total for. Then change the following properties of the item:
    Data Type: Number
    Calculation Mode: Summary
    Summary Function: Sum
    Summarized Block: <Your Data Block>
    Summarized Item: <Your Block Item>
    Number of Items Displayed: 1 (if your item is in a Multi-Record (Tabular) layout else you don't need to change this property.
    You will also need to change the following property of the block: Query All Records: Yes
    If changing the Block's "Query All Records" property causes your form to be too slow because of the number of records in your block, then you could keep a running total manually by using a combination of the Post-Query and When-Validate-Item (WVI) triggers. If your block does not allow data entry, then you could do this with just the Post-Query trigger. For example:
    BEGIN
      /* This code sample assumes you have added a non-table item */
      /* to your block called SUMMARY.  */
      :YOUR_BLOCK.SUMMARY := :YOUR_BLOCK.SUMMARY + NVL(:RS_1,0);
    END;If your block allows data entry, then you would add the following to your existing WVI trigger.
    BEGIN
      /* Perform your data entry validation logic first... */
      IF ....
      ELSE
        ...Validation is successful...
        :YOUR_BLOCK.SUMMARY := :YOUR_BLOCK.SUMMARY + NVL(:RS_1,0);
      END IF;
    END;Hope this helps.
    Craig...

  • How can i turn off the tomcat's debug?

    how can i turn off/disable the tomcat's auto-debug log?
    which is located in catalina.out. i have try to set the debug="0" in the server.xml in order to turn it off but can't. is it have any other way to turn it off?
    e.g
    DEBUG - NSPush (32)
    DEBUG - org.apache.axis.i18n.resource::handleGetObject(startElem00)
    DEBUG - Start element [http://schemas.xmlsoap.org/soap/envelope/]:Envelope

    We are sorry this is more like a Java issue than a Firefox one.
    However, I found this that may be helpful to solve your problem, check it out: [http://stackoverflow.com/questions/1472494/suppressing-applications-digital-certificate-has-been-verified-do-you-want-to-ru http://stackoverflow.com/questions/1472494/suppressing-applications-digital-certificate-has-been-verified-do-you-want-to-ru]

  • How can i put debug in tomcat

    how can i set debug in my tomcat plz suggest me.
    iam running my aplication in eclipse3.1

    1. How do I configure Tomcat to support remote debugging?
    2. How do I remotely debug Tomcat using Eclipse?
    3. ... well, you get the idea ...
    http://tomcat.apache.org/faq/development.html

  • How can i get the correct text from the url which has the mulitp-languages?

    hi, all
    i built a application and deployed it on sun application server 8.1. when i request a url which include some multi-languages (for example http://xxx.com/servlet?value=XXX. the 'XXX' may be simply chinese. ), i got the ??? instead of the correct text. how can i do it? in tomcat server, i can set the URIEncoding=GBK to get the correct code in server.xml. how can i do it in sun app server?
    thanks.

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • How can I create a loopback activity

    Hello All.
    How can I create a loopback process in BPEL? For example: I have a flow that has a human task that submits a proposal. After
    this, Theres is another human task that will review this proposal with Approve or Reject options. If it is approved, then the flow goes on. If it is rejected, then the flow has to go back to the proposal subimission process. You can see an image (the first image in the URL) that ilustrates this flow here: http://onbpms.com/2007/02/08/looping-backward/. The rest of the page is not important. Just look at the image to understand my problem. How can implement such loop in BPEL?
    I´m using JDeveloper Studio Edition 10.1.3.2.0.4066 and SOA Suite 10.1.3.1.0
    Thanks for any help,
    Glauco

    Yes, I have. This is the instructions that oracle gave me.
    There are two approaches:
    1) use WHILE bpel activity.
    a) Have a variable initially set to N, and loop it till it becomes Y.
    b) Inside the loop, you can have the assign activity, and human task call.
    c) If the humantask result is Reject,continue the loop again
    d) Else, set the variable as Y and end the loop
    2) Use scope
    For loopback process you can place the process in a scope and make use
    of the replay scope method to repeat the scope.
    a).Place the assign and UserTask in a single scope.
    b) For the Reject condition in the swtich activity , place a throw
    activity that throws a remoteFault.
    c). Put a catch around the scope to handle the fault thrown by the Reject condition.
    d). In this catch place a throw activity, with local part = replay. Choose the remoteFault fault and change de local part to replay
    e). This would replay the whole scope when the reject condition is meet.
    Both approaches work just fine.
    Glauco

  • How can i deploy a web application from JDeveloper 10.1.3 to tomcat 5.5.x ?

    hello i need easy way to deploy my jsf applications to tomcat .
    i create an application server configuration in my JDeveloper now what ? how can i say to deploy the app to tomcat not to oracle application server.
    another question :
    the "deploy operation" must copy jsf , adf implementations jstl standartd common* and other jars to my tomcat project automaticly and it MUST make classes dir to be in WEB-INF\classes instead of project main.

    Hi,
    These steps worked for me:
    (I assume you successfully created the server configuration)
    1) Select your project and then go to Run --> Deploy --> New Deployment Profile
    Select WAR file, OK,
    Give a name and select a directory,
    in the WAR Deployment Profile Properties page, choose the Target Connection in the "Profile" section.
    2) Now the deployment profile must be ready.
    Select your project and then go to Run --> Deploy --> your new profile.
    This should deploy the project to Tomcat.
    I saw all needed jars deployed as well. Maybe you should check if all the jars are selected in the "Export" column, in the Project Properties --> Libraries section.
    For the last question, in Project Properties --> Project Content, change your output directory to WEB-INF\classes.
    HTH,
    Turgay Zengin

  • How to implement Oracle DWH using JDBC

    Hello,
    i'm new to the Oracle database and i'm wondering how to implement a DWH Core or Datamart System using Oracle 11g Express. How can i "switch" a relational oracle database to a dimensional one, preparing it for OLAP/BI queries´, preferably using the JDBC interface ?
    Thanks a lot!

    An good introduction to Oracle OLAP is found on the OTN site: Oracle OLAP.
    --Ken Chin

  • How can i make Tomcat work as JMS message Provider?

    i've installed Tomcat on my windows 2000. but how can i make it works as a JMS message provider? pls help!

    Tomcat only implements the Servlet and JSP specifications, not JMS. See JBoss.org or SwiftMQ, or OpenJMS, etc.

  • How can i connect to SQL Server 7.0 on Windons Using JDBC

    How can i connect to Microsoft SQL Server 7.0 on a windows enviroment ?
    in sql server 2000 some jar files are required that is
    What you need to do is actually add all three jar files to your class path individually. There are three jar files that come with this driver the msbase.jar, msutil.jar, and mssqlserver.jar. for sqlQ server 2000.
    now the problem is that i cant find these files on my system. firstly where these files will be located. secondly are they will be used to connect to SQL Server 7.0. thirdly if not what is the procedure.
    My next Problem is that I have Websphere Studio Application Developer. in which their is this facility of Database Webpages its like a wizard which makes automatically beans servlets and JSP but before that you need a Driver Name and and Class Name for to Connect to the Database.
    Can you tell what is the specific Driver Path for the Microsoft SQL Server 7.0 . secondly is this the class which is used to connect to SQL server 7.0 "com.microsoft.jdbc.sqlserver.SQLServerDriver" where can i find this one. for SQL server 7.0.
    please provide some guidance in this regard.

    You can search for the JDBC drivers at, http://industry.java.sun.com/products/jdbc/drivers
    All the three jars that you specified are part of MsSQL Server jdbc driver. You need them (in the classpath) to get connected to the database.
    "com.microsoft.jdbc.sqlserver.SQLServerDriver" is the class in mssqlserver.jar. This is the driver class which will be used to get connected to the database.
    You can search in this forum for writting jdbc code (for Sql Server). If you don't find these jars, give me your e-mail id.
    Sudha

Maybe you are looking for

  • Airport Express-ATT 2Wire Wireless Setup

    I am attempting to set up a new Airport Express with an existing 2Wire Wireless network. Once I get the "join a wireless network" password set up, when I update, I'm kicked off my 2Wire network, and my computer cannot find the Airport. I have set thi

  • Slideshow auto run issue?

    I notice that when you create an auto run slideshow, if you include thumbnails or back and forward arrows, once the thumbnails or arrows are used - thus interrupting the auto run - the show does not restart to auto run afterwards and there is no play

  • ITunes won't stay working..

    iTunes has encountered a problem and needs to close. We are sorry for the inconvenience. I get this nifty little popup when I open up iTunes. It only lasts a few minutes before this comes up. I've tried deleting and reinstalling it several times and

  • Where can I download vers 1.2 software?  I can't find it.  Help!

    I bought a brand new iPod nano from the Apple Store and some nifty Nike running shoes, and the sensor of course. I plugged in my receiver which immediately said that I had already paired to a sensor, but that it needed to look for a sensor. I played

  • Audigy 2 ZS I/O & driver questi

    I'm trying to use this Audigy 2 ZS as a mixerless frontend to record with Cakewalk Sonar. In Cakewalk I can only see one pair of inputs available. Can I use both the input on the PCI card and the Aux 2 or the Mic input on the breakout box at the same