Packaging an Application that uses Oracle Drivers

I need to package an application into an executable file, or at least an executable jar file. I am using JBuilder for development. Of course everything works correctly with finding drivers and connecting to the database using JBuilder. I used JBuilder's Archive Wizard to create a jar, then turn it into an executable jar. It also makes executables (ie. .exe files) for me.
However, I have tried several combinations and it just can't find the drivers. It always throws a ClassNotFoundException. I have tried including the drivers files and as resources when making the jar. I have even tried putting them directly in when using command line:
set classpath = c:\ojdbc14.jar
java -classpath c:\ojdbc14.jar -jar myApp.jarand it still says it cannot find the drivers.
Any advice would be greatly appreciated!
Thanks!
Amber

Hello Amber;
I am trying to connect to oracle through java. The java application is build with JBuilder and the oracle driver, i.e. classes12.jar and ojdbc14.jar, are added in the CLASSPATH.
When I create a class without JBuilder as stand alone class, it works fine. But when I use the same code in the my JBuilder application, it does not load the driver, gives ClassNotFound exception.
Please specify, is there a special way to access databse from jbuilder. Do I have to include drivers in Jbuilder, if yes, then how? or it is due to some other problem
Your help will be greatly appreciated.
Regards
Ali Hammad

Similar Messages

  • How to make simple GUI application that use oracle 9i intermedia

    Mr Lawrence,
    i want to make a GUI application for storing and retrieving image data, can i build this application using delphi?
    i try using borland delphi 7, but delphi doesnt know object type ORDImage and ORDImageSignature. do u have any reference about building GUI application??
    I want my application can do inserting image into database, searching image by matching it's signature, make image signature for query image, displaying image, etc.
    Or if i can't make this application using delphi, maybe u can give me another application developer beside Delphi.
    Please help Mr Lawrence, i'm stuck (T_T)

    I am not too familiar with Delphi.
    If it does Object-Relational types, that could work.
    Can it interface with PL/SQL procedures? If so, that would be the way to go.
    That is what I have done with .NET applications.
    Larry

  • Adding an External Application that uses J2EE Form Based Security

    I'm trying to add an External application that uses the J2EE Form based security. i.e. uses j_username, j_password and posts to j_security_check.
    I don't really see how Oracle SSO will support this. The container needs to take control of a clients request and determines when the "Login" page is presented to establish credentials. Posting directly to j_security_check isn't working for me.
    I'm using Sybase EAServer 4.12 as the external application.
    Is this supported in Oracle SSO?
    Do I need to provide a different mechanism for logging user's in?
    Also, can someone explain what the benefit would be if I configured the EAServer app as a "Partner" app? I would still have to provide an interface for login. The input would be different but the end result would be the same I guess. What advantages does a Partner app have?
    Lastly, is there an NNTP server for these forums?
    Thanks.
    Darrell

    The cure for the symtops described below was to simply add a welcome-file-list
    element with appropriate welcome pages to the web.xml descriptor. It makes sense
    now that I have worked it out.
    Todd
    "Todd Gould" <[email protected]> wrote:
    >
    I have an application comprised of several JSPs that are protected via
    Form based
    security and enforce an SSL connection via the appropriate declarations
    in the
    web.xml. This aspect of the application seems to be working with the
    exception
    of one small quirk.
    If a user presses that back button until such time as the receive the
    container
    provided login page once again, and subsequently provide a valid user
    id and password,
    they are NOT successfully logged in. Rather, they receive the ugly 403
    Forbidden
    error that states that the server understood the request, but is refusing
    to fufill
    it. This only seems to happen given the above course of events involving
    the
    use of a back button in the browser (or selection of an item from the
    history
    list). I suspect that this has something to do with the session id being
    cached
    or something, but I'm not sure? Can anyone offer any assistance on this
    one?
    Also, does anyone know of a way of preventing the user from bookmarking
    this container
    provided login page as this also seems to be causing problems for users.
    If they
    bookmark the first protected page of the application all is fine, but
    if they
    bookmark the login page they receive the 403 error.
    Thanks in advance!

  • Clone Oracle Applications 11i using Oracle Application Manager

    Hi All,
    I am working on the following Metalink documents:
    *[Note: 398619.1 - Clone Oracle Applications 11i using Oracle Application Manager (OAM Clone)|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=398619.1]*
    I am bit confused, if I am doing Cloning with OAM and providing all the information about the target system how does it work?
    Is it that, cloning with OAM will make the required templates and I will have to just take the backup of my database and application and have to restore it on target machine and cloning is done!
    Please suggest,
    Anchorage

    Is it that, cloning with OAM will make the required templates and I will have to just take the backup of my database and application and have to restore it on target machine and cloning is done!This is not enough. You still need to complete the following steps on the target node:
    Task 5: Configure the Target System
    Task 6: Initiate Data Purge
    Task 7: Review Checklist

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Right way to code an AIR application that uses sqllite database

    I am developing an AIR application that uses sqllite database.I want to know the correct way in which I should create the connections and SQLstatements according to MVC pattern.For example,whether i should have a single SQLStatement object for all my sql operations or I should use separate objects for insert,delete,select etc.I know how to open connection,execute statements and all,but i want to know the professional way of writing it.

    Make a controller for connect to db and save the connection in global varible (in model). Use this connection variable whenever u wanna execute the sql statements. Create seperate dao's for each table. Queries should be executed under the daos. You can call the method under the dao for execute the query from controller and show the result in view.

  • After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my log-in to work again?

    After updating to mavericks I have to constantly enter my apple ID for mail, iBooks, iTunes and many other applications that used to be part of my keychain. How can I get my apple ID log-in to work again?

    Several times I've re-entered my passwords under Preferences/Internet Accounts/iCloud and it won't save since I've installed Mavericks.  Also, the iCloud icon in the left column in Preferences/Internet Accounts/iCloud is greyed out but allows me to click on it to set-up.  When I click on iCloud the password is filled out but the "Enable this account" check-box is not checked.  I check it, and all seems correct.  The icon is no longer grey, the password is correct, the "activate this account" check-box is checked.  Then, when I launch mail, notes etc. I'm still prompted to re-enter my apple ID.  The log-in loop continues.  For years my keychain has worked perfectly.  What has changed in Mavericks?

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • Sample applications built using Oracle developer 6.0

    Please tell me how can if find sample applications built using oracle developer.
    Is there any web site on the offering such a service ?

    Ali,
    Try www.oraclefans.com/oraclefans/
    Louis D.

  • [svn:fx-trunk] 5029: Extending the mxmlc warning to apply to any application that uses a type selector (i.e.

    Revision: 5029
    Author: [email protected]
    Date: 2009-02-20 16:10:37 -0800 (Fri, 20 Feb 2009)
    Log Message:
    Extending the mxmlc warning to apply to any application that uses a type selector (i.e. not a universal selector) in the subject when the
    QE: If we could create a negative test cases for the warning that'd be great.
    Doc: Not yet, this will be captured in the Advanced CSS spec.
    Checkintests: Pass
    mustella: Advanced CSS, Button, MenuBar all Pass
    Reviewer: For Paul.
    Bugs:
    SDK-19272 - [Advanced CSS] Pseudo selectors shouldn't be allowed in mxml components
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-19272
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

    Thanks for the crash log  It looks like you have AIR 3.2 installed.  Could you try updating to 3.3 and generate another log?
    http://get.adobe.com/air

  • How i can make web application by using oracle form6i

    how i can make web application by using oracle form 6i , indetail .
    A.R

    indetail .As Andy Millman might observe, you're having a laugh. This is a big topic, far exceeding what it is reasonable to expect people to help out with in a Forum. Do you not have the 6i documentation?
    OTN has a site for upgarding to web forms. Although it is mainly focussed on moving to 9i/10g a lot of the issues and solutions apply to moving a 6i client/server app to web deployment. For further help there is a Forms.
    Cheers, APC

  • Distributing an application that uses componentworks++

    I am new to using MS. 
    I am going to distribute a Visual C++ application to a remote site, sending the customer a DVD.
    The application is an MFC application that uses ComponentWorks++ (from Measurement Studio)  and NiDaq.
    What do I need to be able to distribute this application?  Do I need to license each  target for MS?  Do I need to separately install Component Works++ on the target?
    Thanks,
    Menchar

    I'm still having some issues ...
    We went ahead and used InstallShield 12.0 to create a release file (setup.exe).  We're using MS 1.0.1 so we didn't have merge modules, but rather a bunch of .ocx and .dll files in a /redist    folder that looks to be the stuff you distribute to get a ComponentWorks++ application deployed.  So we included all of those and InstallShield deployed them into the WinNT system folder.
    Our app also uses NI-DAQ 6.9, and my understanding is that NI-DAQ must be run on its own installer as provided by NI.  So we didn't include any NI-DAQ stuff.
    We tried testing our release on a WindowsNT virtual machine (clean machine).  We first installed NI-DAQ, then ran our app installer (setup.exe).  Install of NI-DAQ and our app appears to go OK, but when we run the application in the virtual machine it fails to start, giving us a popup that says it can't find the CVI rte!  We installed the CVI RTE just for giggles but it still died on startup.  Does NI-DAQ 6.9 use the CVI runtime engine?
    My question now is, can we expect our app to start on the virtual machine?  The app is designed to run without any NI-DAQ HW present.  I am able to run it on an XP machine without any NI-DAQ HW, but that machine also has ComponentWorks++ 1.0.1 installed, VC++ 6.0 SP 5, and NI-DAQ of course as well (but no NI DAQ HW), and I didn't install the application, I just ran the executable after building it on the XP machine.  The app also runs OK on the intended WinNT 4.0 target - but the target has NI-DAQ HW & SW, all of MS 1.0.1 (including CVI), and VC++ 6.0 SP5 installed.
    So I can't say I've been able to create a distribution that will install and run on a system that doesn't already have NI-DAQ, CW++ and VC++ installed.  I can't find any relevant help on the NI site for these old versions of CW++.
    I'm also curious if there's a dependency between CW++ and CW?  I.e., from a VC++ application, could it have a dependency on CW (my understanding CW is for VB only).
    I see what looks like a VC6 runtime of some sort in the CW /redist folder - is this an extension of the Microsoft VC runtme dll? 
    Thanks for any help with this, it's funky working with these old versions - I have to support some long-lived systems deployed overseas.
    Menchar

  • Converting an application that uses COM to 64bit.

    I have a legacy application that uses COM classes for Direct Show.  I would like to find out if there are any differences between using COM for 32bit and 64bit applications as the plan is to convert this to a 64bit application.
    The main application is C#, and this uses P/Invoke on a C++ DLL. That C++ DLL then uses the COM classes.
    All of this is built in a VS2008 solution.

    Hi AcclaimedSoftware,
    Based on my knowledge, On 64-bit Windows, You can run Win32-based applications on 64-bit Windows due to emulation layer. And On 64-bit Windows, a 64-bit process cannot load a 32-bit dynamic-link library (DLL). Additionally, a 32-bit process cannot load
    a 64-bit DLL. More information read here: 
    Process Interoperability
    It seems that you need to work wiht a 64-bit windows and develop a 64-bit application, Please refer to these document for some tips:
    Getting Ready for 64-bit Windows
    Designing 64-bit-Compatible Interfaces
    Migration Tips
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in WD applications that use table footer area

    Hi,
    Applications that use table UI with footerVisable = true, have
    sometimes performence navigation problems ,
    when we use one of the pushbottens the application stuck.
    Any ideas ???
    Thanks Fanie.

    Faniel,
    This never was an issue. At least, your post is first one that has such complains.
    Please describe your data structure used as table source -- cardinality, existence of child nodes, supply function code/data source (i.e. Adaptive RFC, WS, etc)
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Exception when trying to run an Web Application that uses a Web service

    Hello All,
    I get an exception when trying to run an Web Application that uses a Web service. The web application is a WebDynpro Application.(an application similar to the one "Using an Email Web Service in Web Dynpro" in the tutorial section of Web Dynpro but using a different web service)
    The exception is
    <b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.</b>
    Could anyone give me an idea on what might be the problem ?
    Regards,
    Loveline.

    Hello,
    Like you said it was the problem with url.
    The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
    Thanks !
    Regards,
    Loveline.

Maybe you are looking for

  • I have music on my iPod touch but I don't know why isn't  playing

    I used iTunes to put some music on my iPod.no I have music on my iPod but is not playing at all.maybe I should download a software or a player to solve this problem?thank you

  • Adobe Bridge CC will not launch

    Hi - I was doing a little cleanup on my Windows 7 machine and noticed that I still had Photoshop CC and Photoshop CC(2014). I uninstalled Photoshop CC. (Note that I also have Photoshop and Bridge CS6 installed.) When I then went in to Photoshop CC(20

  • Safari crashing when sending an email in Hotmail

    Hi I have recently been having problems with Safari hanging/crashing when I send an email in Hotmail. I compose an email, hit send and then I get the spinning beach ball and all I can do is force quit Safari. Any ideas why this has started happening?

  • How to overide Slider a function ?

    Hi, I'm trying to override a slider function, but I get an error : "Namespace was not found or is not a compile-time constant: Code: // ActionScript file package  {     import mx.controls.sliderClasses.Slider;     import mx.core.UIComponent; use name

  • Initial Bank Reconciliation Implementation - Outstanding checks

    During the very first bank reconciliation the begining balance that the system enters as the beginning balance is $0. But of course in reality we have checks that have been written, but the suppliers have not cashed them prior to "go live" (so the AP