Trying to fine and integrate oralce.sql package into jdbc

Hello all, I am trying to find the oracle.sql pacakage in Oracle 9i. I have found the classes.zip file from another person in this forum. they said something about setting the classpath to this zipfile and then the oracle.sql package will be available for import.
I set to classpath to the zip file but my JSP compiler still could not find the package. I even tried to unzip the classes111.zip file but that did not work either. There is a classes111.jar file in that same folder which i also put in the classpath. NOthing seems to work. Can anyone tell me what I am doing wrong as i really want to use the oracle.sql.BLOB class for my project. Many thanks for anyone's input.
Andrew

What container are you using? Tomcat? Oracle9iAS? Websphere? Each container has its own peculiarities about setting up classpaths for their JSP compilers, and none of them use the default system classpath for this purpose.
For Tomcat, put the jar file (I don't believe Tomcat looks at .zip files) in the $CATALINA_HOME/shared/lib folder. For Oracle 9iAS, place the zip or jar in a library folder as defined in the application.xml file, usually $OC4J_HOME/j2ee/home/lib. (You're probably not using Oracle, they include their driver in the container path by default.)
Find out where your container is looking for library files, and place your library there. And have fun!

Similar Messages

  • I have a MacBook Pro and tried to download and open the torbundle package.

    I have a MacBook Pro and tried to download and open the torbundle package. I get a message that reads "A copy of firefox is already running. Only one copy of firefox can be open at a time."
    1. I do not seem to have firefox anywhere of my computer. Ive been using safari and as far as my computers library is concerned there is no firefox.
    2. I have tried shutting down and restarting.
    3. I tried making a new user account.
    I believe the torbundle package is trying to open itself twice. Has anyone had this problem when trying to use tor on OS X?
    This is getting very frustrating! Help please!

    If you open Activity Monitor do you see a FireFox running? If so delete it.
    Have you tried deleting and redownloading/installing?
    Next:
    How can I get support?
    Your best bet is to first try the following:
    Read through this FAQ.
    Read through the documentation.
    Read through the tor-talk archives and see if your question is already answered.
    Join our irc channel and state the issue and wait for help.
    Send an email to [email protected]
    If all else fails, try contacting us directly.
    If you find your answer, please stick around on the IRC channel or the mailing list to help others who were once in your position.
    From:
    https://www.torproject.org/docs/faq.html.en

  • Trying to click and drop photos from iPhoto into an Empty SD card. all I am getting isThe item "IMG_0346.JPG" can't be copied because there isn't enough free space. Card is 156 MB Photo is 1.56MB. Help please.

    Trying to click and drop photos from iPhoto into an Empty SD card. all I am getting isThe item “IMG_0346.JPG” can’t be copied because there isn’t enough free space. Card is 156 MB Photo is 1.56MB. Help please.

    Select the photo(s) in iPhoto and export to a desktop folder (file menu ==> export) - see this user tip for export options - then be sure the card is not locked and in the finder verify available space and if it is adaquate drag that folder to it
    LN

  • Importing and executing a .sql file into  Oracle 10g

    Hi
    I am looking to import and execute a .sql file(create scripts created of a databse designed in MS SQL Server 2005). The file was imported into Oracle APEX 3.10 but we are unable to execute the script. Please suggest alternatives as to how we can import these files.
    Thanks in advance.

    You likely need to migrate the database (objects and data). This is not so easy and you should have a look to migration tools: http://www.oracle.com/technology/oramag/oracle/07-sep/o57sql.html.

  • Trying to create and use of a packaged class....

    Hi ,
    I have created a directory and put there the generated class....
    The dir structure is as:
    C:\oracle_files\Java\Examples\
                                  class_variables
                                  common_classes
    I have set the classpath to both the two above directories....
    The ThreeBedroomHouse class which has been compiled and put into the \common_classes is as follows...:
    package common_classes;
    public class ThreeBedroomHouse
          /*private class variable*/
    The compilation(successful) was done as :
    C:\oracle_files\Java\Examples\class_variables>
    C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples\common_classes\ ThreeBedroomHouse.java
    and the ThreeBedroomHouse.class file was generated in the "C:\oracle_files\Java\Examples\common_classes" directory....
    I tried to compile the second .java file , called HomeBuilder -including a main()- with code such as:
    import common_classes.*;
    public class HomeBuilder
    {When i try to compile it....
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    I get the errors....
    package common_classes does not exist....
    Can you please pinpoint the error....?????
    Many thanks ... for your help and info....
    Sim

    I have succedded in running it.....at last!!!! However , in a manner which is not understandable to me.....
    That are the steps i 've taken.....
    [pre]C:\oracle_files\Java\Examples\class_variables>set classpath
    CLASSPATH=.;C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples ThreeBedroomHouse.java
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    HomeBuilder.java:28: cannot access ThreeBedroomHouse
    bad class file: .\ThreeBedroomHouse.java
    file does not contain class ThreeBedroomHouse
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    ThreeBedroomHouse myHouse=new ThreeBedroomHouse();
    *^
    1 error
    C:\oracle_files\Java\Examples\class_variables>set classpath=C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac HomeBuilder.java
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    Exception in thread "main" java.lang.NoClassDefFoundError: HomeBuilder
    C:\oracle_files\Java\Examples\class_variables>set classpath=.,C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    Exception in thread "main" java.lang.NoClassDefFoundError: HomeBuilder
    C:\oracle_files\Java\Examples\class_variables>set classpath=.;C:\oracle_files\Java\Examples
    C:\oracle_files\Java\Examples\class_variables>java HomeBuilder
    3
    3
    4
    4
    C:\oracle_files\Java\Examples\class_variables>The above in bold are the 'critical' points in the whole procedure.....
    First of all , i have deleted the ThreeBedroom.class file generated and i have compiled as such
    C:\oracle_files\Java\Examples\class_variables>C:\oracle\product\10.2.0\database10g\jdk\bin\javac -d C:\oracle_files\Java\Examples ThreeBedroomHouse.java
    Then , i have realized that i have made a mistake at setting the classpath ..... I have seperated the two entries ('.' and <directory path>) with a comma instead of a semicolon ';'.....
    But something i cannot understand is......
    when i have set the classpath as : CLASSPATH=.;C:\oracle_files\Java\Examples the compilation of the HomeBuilder.java is unsuccessful ....
    I have to set the CLASSPATH as CLASSPATH=C:\oracle_files\Java\Examples
    without the 'characters' *.;* to have it compiled successfully......
    Afterwards... if i try to execute the compiled .class file with the current classpath ... the java exe file produces error again.....
    I have to set it at its previous setting in order to run it successfully.....
    All this description is shown above......
    Can you please explain this 'strange(????) behavior'....?????
    Many thanks...
    Sim

  • How to merge three SQL packages into one package?

    Dear Folks, I have three sql pacakges (1d.pks, 1d.pkb , 2d.pks, 2d.pkb, 3d.pks, and 3d.pkb). Each package has slight different code in their body but I need to combine all them into one single package. I can do this manually by comparing each line of code and keep making changes but I was wondering if there is an easier way to do it. Kindly let me know if you need more information. Thanks in advance.

    If you have three pieces of code in any language that do similar things, you would want to refactor them, pulling out common elements into reusable components. It is no different with PL/SQL. Most of the effort in refactoring code goes into figuring out what those reusable components are and figuring out the appropriate interface for those components. Any reasonable IDE will provide you tools that automate the tedious bits of refactoring-- renaming variables, breaking a section of code out as a separate procedure, etc. But since 90% of the work is identifying what and how to refactor the code not in the mechanical task of implementing the actual refactoring, the benefit of using an IDE are not huge-- it's often just as easy to cut and paste in your favorite text editor.
    Justin

  • Unable to uninsall the programme Bonjour while trying to uninstall and re-install i-tunes into PC with Windows 7 as instructe having lost audio with the 1st attempt. I get a dropdown saying it is unable asking if I have previlages for this action.

    How do you uninstall Bonjour programme while tryying unistall and re-install as per instruction from Apple while to get audio function back in my PC with Windows 7 following first attempt resulting in failure to install quicktime, please? It asks have I got previlages, having unistalled the 3 previous ones. many thanks, dsb

    It asks have I got previlages
    What's the precise text of that message please, devi? (There's at least three different ones I can think of that you might be getting.)

  • HT201210 my Iphone was working fine and then I plugged it into Itunes for the update and now it says I have to restore to orignal factory settings.  I will lose my contacts, photos and anything else I have loaded over the past two years.  REALLY?? WHY

    This is so frustrating!  I plugged my Iphone 4S into my computer to update it via Itunes and now it says I have to restore to factory settings and will lose all of my contacts, photos, and applications I have downloaded.  All I was really wanted to do was delete photos that uploaded from my home computer and took up all the space on my phone!  GRRRR I hate this

    If you are using the iphone as designed then you should lose very little or nothing.
    You should be syncing contacts with your computer regularly, so all of your contacts should be on your computer and you can sync them back.
    You should be importing all pics taken with the iphone to your computer regularly as you would with any digital camera, most especially before any attempt to update.
    You should be transferring all purchases made on your iphone to your computer: File>Devices>Transfer Purchases
    You can redownload some itunes purchases in some countries:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I am trying to copy and paste a work document into my online class. POP up states that Cut, Copy, and Paste are disabled by my Modzilla broser and that I could use key board short cuts or visit the website.

    '''bold text'''Want to copy & paste word doc onto my online class discussion post. Unable to. I either need directions on how to use key board short cuts. I have visited the Modzilla web site like it also stated but am unable to find an answer to this.

    See:
    *http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
    *https://addons.mozilla.org/firefox/addon/allowclipboard-helper/

  • Help with simple PL/SQL package

    Hi, I'm trying to create a simple PL/SQL package to loop over a list of names and do some fuzzy pattern matching to attempt to clean up the data. Unfortunately..I don't know anything about PL/SQL, and hitting problems getting this to work. Could someone lend a hand?
    p.s.
    table TMP_UTL_MATCH_INPUT has a list of names to attempt matching in column called CLEAN_MERCHANT
    table TMP_UTL_MATCH_OUTPUT should hold the original input row # and value, a matching output row # and value, and calculated edit_distance and jaro_winkler similaritise
    table TMP_UTL_MATCH_STATUS is simply updated after each value so I can track how far in the process it's gotten (I suspect this algorithm will take a long time....)
    Thanks in advance for any help!
    Scott
    create or replace
    PROCEDURE "PROCESS_UTL_MATCH_DATA"("START_ROW" IN INTEGER DEFAULT 1) IS
    --initialize variables here
    num_rows integer;
    edit_distance_similarity number;
    jaro_distance_similarity number;
    -- main body
    BEGIN
    select count(*) into num_rows from tmp_utl_match_input;
    declare name_array as varray(num_rows) of varchar2(40);
    select clean_merchant into name_array from TMP_UTL_MATCH_INPUT;
    truncate table tmp_utl_match_status;
    insert into tmp_utl_match_status values (0);
    FOR i in 1..num_rows-1 LOOP
    FOR j IN i+1..num_rows LOOP
    edit_distance_similarity = utl_match.edit_distance_similarity(name_array(i), name_array(j));
    jaro_winkler_similarity = utl_match.jaro_winkler_similarity(name_array(i), name_array(j);
    if (edit_distance_similarity > 50 or jaro_winkler_similarity > 50)
    then
    insert into tmp_utl_match_output values (i, name_array(i), j, name_array(j), edit_distance_similarity, jaro_winkler_similarity);
    END IF;
    END LOOP;
    update tmp_utl_match_status set current_row_num = i;
    commit;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    NULL; -- enter any exception code here
    END;

    If you would not defeat Oracle's ability to tell you what errors the procedure may raise, it could help you debug this easier. Do that by deleting or commenting out the EXCEPTION.
    Another issue I see is you're trying to call a DDL statement directly. You cannot truncate a table directly. Instead you need to use EXECUTE IMMEDIATE.
    Another issue I see is you have a DECLARE statement that has statements following it that are not declarations. Once your declarations are done, you need a BEGIN followed by code followed by END. Either that, or put your "name_array as varray(num_rows) of varchar2(40);" statement above your BEGIN.
    It would also help to list your version of Oracle, and any errors you've received so far. Arm us with the same information you have, it makes it easier for us to help you.
    Plus, put \ tags around your code, that will preserve the formatting.
    Such as:
    SELECT column1,
           column2,
           column3
      FROM some_table
    WHERE column1 > 1000
       AND column2 IS NOT NULL:
    as opposed to:SELECT column1,
    column2,
    column3
    FROM some_table
    WHERE column1 > 1000
    AND column2 IS NOT NULL:
    Edited by: Starlight Rider on May 5, 2011 1:04 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • SAP Restart to Delete SQL Packages

    I am starting this discussion on behalf of a client:
    Especially the "veterans" of AS/400 remember, that in the beginning of SAP on AS/400 it was often necessary to stop the SAP instance and delete the SQL packages in order to overcome database errors that usually showed up as SQL -901 errors. This way of "fixing" SQL -901 became like a habit, so that support employees often recommended to stop the SAP instance and delete SQL packages when a simple restart of the failing work process would have fixed the problem. Later we recommended to use profile parameter rdisp/wp_auto_restart to restart work processes automatically once a day (for example), and that seemed to have solved the problem. However, my client is not quite convinced that this works and does not want to "play" with the production system. They are using an ECC 6.0 system with a 10 TB database and about 4000 active users.
    Question to this group: Do you have systems with a similary size that run several weeks (or even months) without interruption for deleting SQL packages? If so, do you use profile parameter rdisp/wp_auto_restart, and what value is configured? Also "negative" answers are welcome, i.e. if you have the experience that the SQL packages must be deleted on a regular base for the sytem to work properly, please let us know, too.
    Thanks a lot for your cooperation.
    Kind regards,
    Christian Bartels.

    Hi Christian and Jim,
    Our production database is 8 TB with 3400 named users (1,000 or so concurrent).  We still are "old school" and delete the SQL packs during normal maintenance twice a month (either two or three week interval). I know we have gone longer if we were having a lot of go-lives but I don't think it has happened since we upgraded to ECC 6.0.
    We did have some SQL pack issues a while ago but it turned out to be they were reaching the maximum size for table IBSYMBOL. Since then we set the QAQQINI value "SQL_INCREASE_PKG_LIMIT = *YES " which doubled the allowable size to 1GB I believe. We still were reaching the max and we ended up inserting a profile parameter.
    "dbs/db4/dbsl_tablehint0         =           Table = 'IBSYMBOL' & nMarkers > 100 ? SingleExecutionReuse"
    Credits - Steve Tlusty of IBM came up with the fix
    During that round of fun, Steve also had us adjust the following parameters -
    rdisp/noptime                        =             605800
    rdisp/wp_auto_restart          =             604800
    Note - even though we are at 6.1.1 now, the adjustments were made on 4.7x200 while running under V5R4 so I don't know if they are still required.
    Have I rambled too long?
    Craig

  • Enforcing Node Affinity for PL/SQL Packages???

    Dear fellow dbas,
    we have a random performance problem on one of our 11gR1 RAC databases due to io waits.
    In fact, we tracked down the problem and noticed that sql packages are executed on node 1 causing bad times and were executed on node 2 with good results.
    Now the question is how can we enforce these pl/sql packages, which are called via external batch jobs, to be executed on node 2?
    Instance affinity came to my mind but I have no clue whatsoever how to apply it for packages and embedded pl/sql code.
    Can you please give me an advice?
    Thanks for your feedback!
    Best regards,
    Sebastian

    You need to define a service to run preferably on node 2 with failover to node 1, and give a your batch jobs a connect string that connects to that service:
    srvctl add service -d whatever -s batchserv -r node2 -a node1
    and in your tnsnames.ora,
    batchserv=
    (description=
        (address_list=
             (failover=on)(load_balance=on)  
             (address=(node1....)(address=(node2...))
         (connect_data=(service_name=batchserv))
    I've recorded many demonstrations of this sort thing,
    Free Oracle Databse 12c and 11g Tutorials for Administration and Developers SkillBuilders
    John Watson
    Oracle Certified Master DBA

  • HT1414 i had my boyfriend hook up and activate my new iphone, unaware that you had to put in many bits of imformation, like your email and whatnot to create an apple account. Well, everything worked fine and i thought nothing of it untill now after him an

    ...and so everything was working fine and dandy untill I ran into this small problem. My significangt other and I had a falling out and are no longer speaking to one another. He has a little bit different way of thinking than I do and was very controlling throughout our relationship. My iphone stopped working the other day and I found out that it apparently had been reported stolen. I was dumbfounded and I knew there had been a mistake but after i was given the instructions of what needed to be done to clear this up, this is where the problems began. I needed to get back into my device and was asked for my icloud account information. I wasnt real sure what it would be seeing as though i wasnt aware that i had one. i knew i had an email and of course i knew the password however that did not seem to work. i believe that what has happened is all kind of part of his controlling ways and that when he activated my phone for me he used all of his own information in case of a situation like this. He knows how badly he is getting to me right now with this and he knows i am unable to use my phone. he must have also been the one who reported it stolen knowing that he is also the one who knows how to reactivate it when it asks for what information it needs to do that. So for the moment, i am completely locked out of my own phone and can do nothing. i am livid with this whole thing and am getting more and more frustrated as i try to get this resolved. i need some help as to how i can start from scratch like it was when i brought it home from the store except this time i will do it all myself and put in my own personal information, no one elses so i NEVER run into anything similiar to this again. what do i do?

    Sorry, without knowing the Apple ID/Password that was originally used to activate this phone, then there is no way to re-activate it, as you've found out.
    Apple can't/won't help you. Your choice is to get this info, or you simply won't be able to re-activate this phone.
    If you ex won't give it to you, then consult a lawyer.

  • Can't Import iPhoto Library "package" into Aperture 3

    Hi there, I've recently made a backup of all my data and did a clean reinstall of Lion, so the problem is that I won't be using my iLife 11 Suite, so as for my photos I want to take advantage of my recently purchased copy of Aperture 3 but when I ever try to import my iPhoto Library Package, it won't let me, this message pops:
    Invalid iPhoto Library
    Importing libraries from versions earlier than iPhoto 7.1.5 is not supported. Please upgrade your iPhoto library with iPhoto 7.1.5 or later.
    So, searched into some discussions and realize I had to upgrade or restore my library using iPhoto.
    Is there any other way to get all my photos and videos in that package, into my aperture library?
    One thing to consider is that I can right-click this package and open its contents and then I can get individual files and view everything, but since there's this function for importing all of the library, I would really love to do it this way, not individually.
    NEED HELP PLEASE!

    Ii you are sure that all of your iPhoto images have been transferred safely, you can remove the you iPhoto Library from your system drive. But keep a backup copy of it on an external drive or thumbsdrive- sometimes you'll notice only later that some images could not be imported properly because of some corruption in the iPhoto library, and then it will be very helpful to still be able to open your old iPhoto Library.
    Regards
    Léonie

  • Split a PL/SQL Package Spec and Body

    I hope this was not discussed in some other thread somewhere (haven't found it), but my problem is:
    How to split the Package Spec and Package Body in JDeveloper if you want to have both (for database deployment) as files in e.g. a subversion repository?
    The problem arises if you have a couple of packages that are dependent on each other, so that you have to deploy the specs first to have the "public" part in place and afterwards the bodies to define the package functions/procedures.
    Is there a way to do this?
    TIA.
    --Ciao, FD.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    If you want to store for example the package "mypackage" source code in a subversion repository
    one possibility is to define 2 svn files:
    - mypackage.pks (which contains the package "specification") and
    - mypackage.pkb ( package "body").
    I haven't tried this from JDev 11.2 but it works for example when using a single-user
    svn repository from Sql Developer 2.1.1. ( in SQL Dev if you specify a database
    connection you can compile the file based pakage specification and after then the
    package body ...)
    Regards
    user_alex

Maybe you are looking for

  • GRIR Clearing differences in F.13 and in F.19

    Dear SAP Experts When clearing GRIR account through F.13 , the system is generating the clearing document number for the items matched Goods receipt items (GR) with the invoice receipts items (IR) ,but in F.13 report is showing some differences of am

  • Airport Express icw wireless modem and B&O sound system

    Hi all, I am considering buying the Airport Extreme. Main reasons are: 1) playing iTunes via the sound system and 2) wireless connection possibility to external hard disc. I will use it in combination with my current wireless modem and B&O sound syst

  • Urgent! Scaling factor

    Hi guys, I am getting this scaling factor in this characteristic structure formula which is not appearing in other queries i'm  calculating percentage and this scaling factor is appearing just for this query. Critical issue, Please help. Your help wi

  • To set the "Pricing Exchange rate type" in the billing document

    Hello SAP Experts, I have a customer requirement to determine the "pricing exchange rate" as "C Exchange rate determination according to Billing date" in Billing documents ONLY for specific Sales Org and customer Country and NOT for ALL sales orgs..

  • PDF Document Creation Error

    Hi All, In one of my webdynpor applications i need to render one PDF document but while i am trying to do the same I am getting this error . com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../asianpaints.com/hs_rework_wd/Rew