Is it possible to connect OJDBC14.JAR with tomcat?!

Hello,
I�m using tomcat and receiving the error bellow ...
I�m using ojdbc14.jar and I configured the tomcat like this:
URL: jdbc:oracle:thin:@localhost:1521:xe
Class: oracle.jdbc.driver.OracleDriver
There is no problem to visit pages that only show the result of searches... So the problem happend when i try to visit the pages that creates or updates a data base register...
What is the problem?! Is it possible to connect tomcat and oracleXE DB using ojdbc14.jar?!?
Please someone....help me
Gustavo Callou
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: handle de instru��o n�o foi executado: getMetaData
     com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
     com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
     com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17

Hi,
the problem is that is I little bit dificult to debug with tomcat...
I have already read:
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=63633
and the marco�s blogs on:
http://blogs.sun.com/marcoscorner/entry/creator_2_ea_webapps_and
So I concluded that it is possible to use the ojdbc14.jar of oracle, but I still receiving the getMetaData erro... what am i supose to do?!
Is it possible to someone send me some example that works fine?!
Bellow there is a code example that i use to update the data of one row...
In the development It works fine... but with tomcat using the OJDBC14.jar does not... I�m receiving this:
com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: handle de instru��o n�o foi executado: getMetaData
How can I change my code to does not receive this erro anymore with tomcat using OJDBC14.jar version 10.2.0.1.0?!
public void prerender() {
try {
getSessionBean1().getTb_setorRowSet().setObject(1,
getRequestBean1().getCodigoSetor());
tb_setorDataProvider.refresh();
} catch (Exception e) {
error("Cannot read tracks for " +
getRequestBean1().getCodigoSetor() +
": " + e.getMessage());
log("Cannot read tracks for " +
getRequestBean1().getCodigoSetor() + ": ", e);
public void destroy() {
tb_setorDataProvider.close();
public String btn_salvar_action() {
try {
tb_setorDataProvider.commitChanges();
log("update: changes committed");
info("Opera\347\343o Salva");
} catch(Exception e) {
log("update: cannot commit changes ", e);
error("Cannot commit changes: " + e.getMessage());
return null;
Please Marco or anyone help me!!!
Thanks
Gustavo

Similar Messages

  • Is it possible to connect Sqlfire server with oracle using DBSynchronizer using default license

    is it possible to connect Sqlfire server with oracle using DBSynchronizer using default license
    Sql fire is my machine
    Oracle is another machine
    When i connect sqlfire with oracle using DBsynchronizer It shows the error message as Wan is not supported for default license
    When i connect Sqlfie(my system) with oracle( another system) using JDBC Rowloader .nothing is happening after some time it shows the error like"time out for pool connection to archive database.When i increase the time out also nothing is happening.
    what is the reason for above two errors(I stated in the pragraph.)
    is it beacuse of wan netwrok not supported by default evaluation license?
    could you please explain?

    I don't think this has anything to do with a VMware product.

  • Is it possible to connect iphone5 bluetooth with other phone brands

    is it possible to connect iphone5 bluetooth with other phone brands

    Personal Hotspot is, in fact, the only way to pair your phone & iPad by Bluetooth. File transfer, by Bluetooth, has never been supported on any iPhone.

  • Is it possible to connect the java with XL database

    Hi friends,
    Is it possible to connect the java with XL database.
    if it is possible can u send the detail for that .
    Thnax in Advance..............

    What the heck is a XL database?

  • Business Contact Manager 2010 - is it possible to connect a Contact with multiple Accounts

    Hi, I'm proficient with Outlook but new to BCM. Currently setting things up but have some Contacts who own more than one company or are on another companies Board etc.  
    My questions is - Is it possible to connect a Contact to more than one Account?
    Many thanks

    Hi,
    Currently it's not possible. The workaround may be to duplicate the contact in Business Contacts to make that happen.
    Regards,
    Melon Chen
    TechNet Community Support

  • Is it Possible to connect oracle 10g with oracle forms 11g?

    Hi,
       I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 and Oracle 11g forms and reports....
    My question is
    Whether i can develop application using oracle forms 11g and using oracle 10g as backend connection......
    If Possible then how to configure it......
    Thanks.

    That would depend on the exact version of Forms 11g you are referring to;
    this document: http://www.oracle.com/technetwork/developer-tools/forms/oracle-forms-111210certmatrix-1886127.xls
    is for forms 11.1.2.1 and indicates database 10.2.0.4 is certified with this version of forms. For other Forms versions this might be different (I don't know as I didn't look it up).
    You whould do the SQL*Net config like you'd do it on any other oracle client:
    Tnsnames.ora - Oracle FAQ
    Sqlnet.ora - Oracle FAQ
    except for reports where in the opmn.xml the TNS_ADMIN variable is set for the reports servers; so you'd have to place your config files under $INSTANCE_HOME/config as well.
    TNS ADMIN - Oracle FAQ
    cheers

  • Is it possible to connect Adobe Illustrator with my application?

    I have an application that creates 3D objects from 2D sketches and visualises these 3D objects using OpenGL. For example you pass it 2D square it creates a cube, if you pass it a circle it creates a sphere. These 3D objects can be rotated, moved, changed color, also the view(camera) can also be rotated, zoomed.
    Is it possible to create a plugin for Adobe Illustrator to pass its 2D sketches into my application? May be I can embed my application into Adobe Illustrator? How can I do this?
    Example. In Adobe Illustrator I draw some 2D geometry: squeares, circles etc. Then I press a button "Move to 3D". Then the 2D data is transfered into my 3D application and gets processed. After this user see 3D objects into a 3D scene and can manipulate them.

    Hi Geotavros,
    You can have panels in Illustrator that take their content from native Windows or Mac components so you should be able to display the same rendering components that you use in your application in an Illustrator Panel. I would suggest looking at the EmptyPanel sample as a starting point as this shows how to create a panel that uses native components. You should be able to change this sample so that it displays OpenGL and then work from there. Panels are dockable so it sounds to me like that might fit your needs well.
    If you still find that you need some IPC I would suggest using the CS Communication toolkit which is provided with CS Extension Builder 2.0 it has a C++ (and actionscript) library that makes sending and receiving messages to the CS applications easier. Along with some convience functions for starting up the CS applications.
    I hope that helps,
    Let me know if you have any questions,
    Thanks,
    Robert

  • Why is it not possible to connect a photo with an appointment in my ical?

    The calender features are in all too basic. I want to click on a certain time and set an appointment for that time. Does this work and i just dont know how yet? Thank you for any answer!

    I don't believe the addition of a photo to an event is possible. I just tried it myself. If you would like to let Apple know that you are interested in a feature, the go to the feedback page. www.apple.com/feedback and click on the appropriate link.

  • Is it possible to connect to Drives with the same name simultaneously on Windows?

    Hello
    I have used Adobe Drive to create two connections to two different servers which both have the same setup:
    Server one: Adobe Drive webservice which is connected to a database called "DatabaseA"
    Server two: Adobe Drive webservice which is connected to a database called "DatabaseA"
    Both databases are called "DatabaseA", the servers are not connected to the same database.
    I can add both servers as a Drive in Adobe Drive but I can't seem to manage to connect to them simultaneously on Windows while is does on Mac.
    Are there any restrictions for this setup on Windows?
    Sincerely
    Matthias

    on Windows, you can't mount two drives using AD, this is a limitation, we may support that in the future releases, thanks for your patience

  • Possible to connect remotely to Apache TomCat JSP application server

    Hi, I've just installed an Apache TomCat server and locally playing around with some JSP and Servlets.
    I have an website which is hosted remotely by an hosting company.However they do not provide JSP/Servlets server as an service.
    I want to know is it possible to add some code or something which connects to my JSP/Servlet TomCat server remotely. So, allowing me to add JSP code or Servlets to say my index.html at my website host location which then connects from their to my TomCat server JVM and spit the goods back out at my website location.
    Is this possible? seems quite awkard?

    You are certainly not in an ideal situation. While you could use AJAX, and a library like DWR to send requests between the hosted website and whatever JSP/Servlet engine you have available, the resulting application will likely be slower and less reliable than if you hosted it all in the same place. Realistically, you won't save yourself any effort by doing it this way. Application hosting is a lot more resource-intensive than hosting static content, and even more so due to the amount of abuse that goes on in the wild Internet.
    While you've solved the problem temporarily, your JSP/Servlet engine is still vulnerable to DoS-based attacks once it's determined where your AJAX servlets reside. The only long-term solution is to go with a provider that has proper JSP hosting that is known to have good security.
    Brian

  • Which ojdbc14.jar JDBC driver to use for Oracle 10g database

    When ODI is installed there seems to be an Oralce JDBC driver in place in the drivers folder (ojdbc14.jar).
    When we connect to an Oracle datastore and point to a table and use the 'reverse' function to populate the columns - it sort of works OK but does not bring back the datatypes properly. This is found to be when the Oracle table has UNICODE character datatypes NCHAR and NVARCHAR. If a table has CHAR and VARCHAR it is all OK but any table that has UNICODE datatyoe has a problem.
    Is this likely to be the JDBC driver ?
    We have tried replacing this ojdbc14.jar with the older classes12 and this, as expected, did not resolve the issue.
    We then tried replacing it with the latest 10.2.0.4 ojdbc14.jar but again no difference.
    Does anyone have any experience with Oracle JDBC drivers and what release level to use - and using against UNICODE datatypes in tables ?
    Regards

    Our problem is that when we use 'reverse' to populate the columns from a physicla table in an Oracle database - ODI is obviously 'seeing' the ORacle table and is correctly understanding the columns in the table and defining them in it's model - but wherever there is a column with a datatype in the ORacle database of NCHAR or NVARCHAR it fails to populate the datatype or the 'length' of these columns. If I manually try to specify the datatype these 2 unicode data types do NOT exist in the pull down list of datatypes.
    I see what you are asking - if these datatypes are actually defined as datatypes within the actual technology - I cant access my lab right now but will check as soon as I can. Thanks for the suggestion.

  • Ojdbc14.jar not integrated in JDev 9.0.5.x?

    Hi,
    the documentation of Oracle 9i DB says, there is a new archiv for the jdbc driver: ojdbc14.jar. Until now we used classes12.zip (or classes12.jar).
    But why is the new driver lib missing in JDev 9.0.5.x?
    Best regards,
    Torsten.

    Can you please recommend some way to use ojdbc14.jar with JDeveloper 9.0.5.2? Ommitting Oracle JDBC from the project libraries and including a new library for ojdbc14.jar does not work for all classpath issues, such as for data source definitions in the data-sources.xml file. What does seem to work is replacing jdbc/lib/classes12dms.jar with ojdbc14.jar but I'm not sure if this will cause strange side effects. Is there any cleaner way of using ojdbc14.jar?
    Thanks,
    Jeff

  • Ojdbc14.jar connect to 10g so slow with JRE1.5.0_05

    Our guests complained the speed is so slow that they can not stand up with this...
    So I run the tests base on JRE1.5.0_05 and ojdbc14.jar and Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    try {
                        Class.forName("oracle.jdbc.driver.OracleDriver");
                        String url = "jdbc:oracle:thin:@//host:1521/orcl";
                        Date now = new Date();
                        Connection conn = DriverManager.getConnection(url, "user",
                                  "password");
                        System.out.println(System.currentTimeMillis() - now.getTime());
                        conn.setAutoCommit(false);
                        Statement stmt = conn.createStatement();
                        ResultSet rset = stmt
                                  .executeQuery("select BANNER from SYS.V_$VERSION");
                        while (rset.next()) {
                             System.out.println(rset.getString(1));
                        stmt.close();
                        System.out.println("Ok.");
                   } catch (Exception ex) {
                        ex.printStackTrace();
    The output is :
    4875
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Ok.
    the statement Connection conn = DriverManager.getConnection(url, "user", "password") execution time is 4875 milliseconds!!!!!
    so i switched to 9i the output is:
    0
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE     9.2.0.1.0     Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    Ok.
    I change the JDK version to 1.4 or 1.6 the execution time is also 0.
    I walk through the internet and finally found the solution:
    ProxySelector.setDefault(null);
    But i am still confused when it come to the same environment the same code to connect to the 9i,10g, the getConnection() method execution time is so different without the statement ProxySelector.setDefault(null). so I suspect that this is an issue to 10g not the JDK1.5.x.
    Edited by: user12084131 on 2010-9-20 上午1:46
    Edited by: user12084131 on 2010-9-20 上午1:47

    Thanks for the reply,
    One correction to the above <Corrected now in my original post>
    Its connecting to " com.bea:ServerRuntime=managed03,Name=managed03,Type=JRockitRuntime"
    Tried with previous version again, it works perfect. But i still have issue with new JRE version.
    Regards,
    Rana
    Edited by: user13387204 on 02-Oct-2010 19:01

  • Is ojdbc14.jar the correct driver to use with Java 1.6.0 and Oracle 10?

    I have a customer using Oracle 10.2.0.3 and a JVM of 1.6.0. They are using ojdbc14.jar as their JDBC driver. I am confused because while ojdbc14.jar is listed as the driver for Oracle 10.2.0.3, it is not listed as compatible with JDK1.6.

    the 14 part means it is for Java 1.4. You should use a driver from either the ODJBC5 (Java 5) or OJDBC6 range (Java 6). All drivers are backwards compatible, so you can use the latest drivers to connect with older Oracle releases. Just don't assume that the latest one is the best one, check Google for specific problems before using a specific driver release.

  • Is it possible to connect my mid 2010 Macbook Pro with my 21.5" iMac 11,2 so that I can work with dual screens?

    Is it possible to connect my mid 2010 Macbook Pro with my 21.5" iMac 11,2 so that I can work with dual screens?

    try xxx - may work
    _may_ work.

Maybe you are looking for

  • VPN Client v5.0.01.0600 - Vista and code 412

    Does anyone know how to resolve code 412 on WinVista? See log below: Thanks, Hans Cisco Systems VPN Client Version 5.0.01.0600 Copyright (C) 1998-2007 Cisco Systems, Inc. All Rights Reserved. Client Type(s): Windows, WinNT Running on: 6.0.6000 Config

  • Virus Alert: Is this real? If it is, what can I do to fix it?

    I was following an internet link (dumb idea) and received the following; I also received the same download 3 times (anti-malware.zip) which I have not touched. Message was edited by: ShowMom Added images

  • Error in selection of clob data

    Hello Everyone I am running a select on a hana table which contains clob data. But i receive some notification regrading persistence Could not complete result operation. SAP DBTech JDBC: [21]: persistence error: exception 70029020: ltt::exception cau

  • How to get refund for app

    If I buy an app that I don't find useful, can I ask for refund from RIM?

  • Schema Error when Syncing on Premises AD to Azure

    Hi, I have an odd issue with trying to Sync my local user passwords with Azure AD.  My schema version is 47 (which is supported) and we are running 2008R2 Domain Controllers. Presently, I am not installing the Azure AD Connect tool on a Domain contro