An oci program compiled with oracle 9 run in a machine has oracle client 10

Hello,
I would like to know if an OCI program compiled with Oracle 9 client libraries can communicate with Oracle 9 and Oracle 8 database servers by using the oracle client 10 on Solaris? Is there any known problem of this combination?
Many thanks,

It largely depends on what your program does. If the program uses features which are only available in Oracle 9i and not in Oracle 8i then you are likely to get some errors. For the latter case, ie, compiling the program with Oracle 9 libs and runnig with Oracle 10 libs, talking to 9i server should be fine while 8i server may give you some unexpected behaviour.
Thanks,
Sumit

Similar Messages

  • Any problems running a program compiled with SDK 1.4.2_14 with JRE 1.4.2_08

    Hi,
    Would there ever be a problem running a program compiled in Java 1.4.2_13 with JRE 1.4.2_08?
    Why or why not? No guesses please.
    Thanks

    No such hope. The alternative to testing is to review changes made to each version leading up to 14. This is spelled out in each version's Release Document. There are a lot of changes. Most will not affect your program. Each change is relatively well described, but your problem will be to decide if your program will be affected by the change.
    Or, do nothing, hope like hell that nothing breaks, and have an up-to-date copy of your resume.
    If someone came to me saying a program couldn't be tested, I'd have serious concerns for that person's future.

  • Random crashes in programs compiled with sunstudio 11

    Hi all,
    I am porting some server stuff from Windows to Solaris and have the problem, that I have random crashes of our main server what didn't happen on Windows, Linux or HP with the same code base.
    I think that there is perhaps a structural problem, what I can't find. Perhaps somebody can look over the attached info's and try to find out, if something is wrong.
    Because of boost I have to use stlport4 stuff and I have also to link both thread libraries (libthread.so and libpthread.so). My concern is that there is some missmatch which causes my problems.
    See somebody some dangers how I compile and link the stuff? Any help      would be appreciated.
    regards
    a desperate
    Compiler version:
    SunOS sun4 5.8 Generic_108528-24 sun4u sparc SUNW,Ultra-80
    Link line:
    CC ApplicationServer.o ... -mt -library=stlport4 -L/km/sqstest_plato/PlatoServer/Interface/Release -lstubs -lskell -L/km/sqstest_plato/PlatoServer/Basics/Release -lbasic -L/km/sqstest_plato/PlatoServer/XMLBase/Release -lxmlbase -L/km/sqstest_plato/PlatoServer/libs/ReleaseInfo/Release -lReleaseInfo -L/km/sqstest_plato/PlatoServer/Basics/zlib/Release -lz -L/km/iona/asp/6.2/lib -lit_art -lit_poa -lit_ifc -lit_naming -lit_location -lit_iiop -lit_csi -L/km/poet/runtime/lib -lpt95Fbs -lpt95Fex -lpt95Fin -lpt95Fkn -lpt95Foq -lpt95Fsc -lpt95Ftm -L/km/sqstest_plato/PlatoServer/Basics/boost/lib -lboost_thread-sw-mt-1_33_1 -lboost_regex-sw-mt-1_33_1 -lboost_date_time-sw-mt-1_33_1 -lboost_filesystem-sw-mt-1_33_1 -L/km/sqstest_plato/libs/xerces/lib/solaris -lxerces-c -L/km/sqstest_plato/libs/xalan/lib/solaris -lxalan-c -lxalanMsg -R/usr/lib/lwp -lmtmalloc -lsocket -lnsl -lpthread -o ./ApplicationServer
    Example compile line:
    CC -I.. -I../poet_code -I/km/iona/asp/6.2/include -I/km/poet/inc -I/km/libs/flexlm/machind -I/km/sqstest_plato/PlatoServer/Interface -I/km/sqstest_plato/PlatoServer/Basics -I/km/sqstest_plato/PlatoServer/XMLBase -I/km/sqstest_plato/PlatoServer/XMLBase/poet_code -I../../bison++ -I/km/sqstest_plato/libs/xerces/src -I/km/sqstest_plato/libs/xalan/src -xO3 -library=stlport4 -D_ASSERTE=assert -features=extensions -features=rtti -w -DNDEBUG -D_GARBAGE_COLLECTOR +d -mt  -D_APP_SERVER   -c SomeFile.cpp
    one of different simular dbx outputs:
    dbx ApplicationServer core.odc.1
    For information about new features see `help changes'
    To remove this message, put `dbxenv suppress_startup_message 7.5' in your .dbxrc
    Reading ApplicationServer
    dbx: warning: core object name "ApplicationServ" matches
    object name "ApplicationServer" within the limit of 14. assuming they match
    core file header read successfully
    Reading ld.so.1
    Reading libstubs.so
    Reading libskell.so
    Reading libbasic.so
    Reading libxmlbase.so
    Reading libReleaseInfo.so
    Reading libit_art_sc53.so.5
    Reading libit_poa_sc53.so.5
    Reading libit_ifc_sc53.so.5
    Reading libit_naming_sc53.so.5
    Reading libit_location_sc53.so.5
    Reading libit_iiop_sc53.so.5
    Reading libit_csi_sc53.so.5
    Reading libpt95Fbs.so
    Reading libpt95Fex.so
    Reading libpt95Fin.so
    Reading libpt95Fkn.so
    Reading libpt95Foq.so
    Reading libpt95Fsc.so
    Reading libpt95Ftm.so
    Reading libboost_thread-sw-mt-1_33_1.so
    Reading libboost_regex-sw-mt-1_33_1.so
    Reading libboost_date_time-sw-mt-1_33_1.so
    Reading libboost_filesystem-sw-mt-1_33_1.so
    Reading libxerces-c.so.27
    Reading libxalan-c.so.110
    Reading libxalanMsg.so.110
    Reading libmtmalloc.so.1
    Reading libsocket.so.1
    Reading libnsl.so.1
    Reading libpthread.so.1
    Reading libstlport.so.1
    Reading libCrun.so.1
    Reading libm.so.1
    Reading libthread.so.1
    Reading libc.so.1
    Reading libit_atli2_ip_sc53.so.5
    Reading libit_atli2_sc53.so.5
    Reading libdl.so.1
    Reading librt.so.1
    Reading libit_atli2_iop_sc53.so.5
    Reading libit_giop_sc53.so.5
    Reading libit_iiop_profile_sc53.so.5
    Reading libgen.so.1
    Reading libmp.so.2
    Reading libaio.so.1
    Reading libc_psr.so.1
    Reading libit_ifc_aux_sc53.so.5
    Reading de.so.2
    Reading libit_cfr_handler_sc53.so.5
    Reading libit_cfr_sc53.so.5
    Reading libit_codeset_sc53.so.5
    Reading libit_icuuc.so.2
    Reading libit_icui18n.so.2
    Reading libit_icudata.so.2
    Reading libpt95Fli.so
    Reading libpt95Fix.so
    t@10 (l@10) terminated by signal SEGV (no mapping at the fault address)
    0xfd037810: GetBase+0x001c: ld [%o0 + 12], %o0
    (dbx) where
    current thread: t@10
    =>[1] PtBaseHandle::GetBase(0xc077bfc8, 0x4b58c0, 0x8, 0x7, 0x1, 0xfa6fb770), at 0xfd037810
    [2] PtOnDemandSet::Query(0x9f3654, 0xfa6fb790, 0xfd2bafbc, 0x0, 0x4b58c0, 0x0), at 0xfd1cf6dc
    [3] CPSWorkspace::ChangePropagation(0xfffffffc, 0x9f3450, 0x1, 0xc, 0xfa6fb78c, 0x1), at 0x4359b8
    [4] CPSCall::Delete(0x9f3450, 0x0, 0xffffffff, 0xffffffff, 0x21f2a8, 0xff2d5a88), at 0x31b5d4
    [5] CPSBase::delete_Object(0xa1f1a0, 0x9f3450, 0x2, 0x0, 0x31b5a8, 0x82fe10), at 0xff29f294
    [6] CPSTestCase::delete_Object(0xa1f1a0, 0x9f3450, 0x2, 0xfcdcb0b8, 0x8b1f08, 0x857800), at 0x3f9f5c
    [7] CSBulkManipulations::DeleteObjects(0x9da880, 0xfa6fbba0, 0xfa6fba30, 0xfa6fba34, 0x8c7a28, 0x3f9ef4), at 0x4a42a0
    [8] POA_IBulkManipulations::DeleteObjects_itgen_dispatch(0x1668, 0xfa6fbd30, 0xfa6fbc94, 0x1400, 0xfe7b8d60, 0x9da8c8), at 0xfe5aaca4
    [9] PortableServer::ServantBase::_dispatch(0x9da8c0, 0xfa6fbd30, 0xfa6fbd74, 0x400, 0x1, 0x4a4750), at 0xfe27415c
    [10] IT_POA_RequestInterceptor::invoke(0xab8c94, 0x92b74c, 0x92b750, 0xfa6fbdb0, 0xfa6fbd74, 0xfe2f8d28), at 0xfe23f12c
    [11] IT_GIOP_ServerRequest::execute(0x92b100, 0x92b100, 0xfde5f368, 0xfe121678, 0x2, 0xfbbdb6d0), at 0xfbb5f5d8
    [12] IT_ATLI2_IP::IPPoolImpl::execute(0xba0520, 0x4, 0xfa6fbf2c, 0x1, 0xfe0ea92c, 0x0), at 0xfc24ca30
    [13] IT_Work_WorkerThread::run(0xa7fb30, 0x3, 0xac70a0, 0xac70a0, 0xac70a0, 0xfe0ea92c), at 0xfdd88c14
    (dbx) quit

    I'm looking into the mtmalloc issue and I'll let you know what I find.
    To use the LWP thread library, add the -L and -R option to each command that performs a link step. (It does no harm to put them on compilation commands, but they have no effect.)
    Example of link steps are creating a shared library (-G option) or an executable program.
    The important point is to use the -L and -R options on every link command, or you could wind up linking two different versions of the thread library into the program.
    Most C++ programs, and the C++ Standard LIbrary in particular, depend on function inlining to allow separation of programming concerns while still getting good performance.
    One classic example is a member access function:
    class T {
    int foo;
    public:
    int get_foo() { return foo; } // implicit inline function
    Access to private member foo is restricted. Non-member functions can read the value via function get_foo. The definition and use of member foo, and the contents of function get_foo, could change without affecting any code that uses T. You need only recompile, not modify source code that uses T objects.
    The disadvantage is the cost of a function call to get at the int member. If access to foo is high bandwidth, program performance could suffer.
    But in this case, foo is declared inline. The compiler replaces the call to get_foo with the body of get_foo at the point of the call. When you write x.get_foo(), the compiler generates code as if you had written x.foo.
    You get the benefit of program modularity and separation of concerns without any runtime cost.
    When you use d, you tell the compiler not to perform the inline substitution, and generate a function call instead. You often want to do that during debugging, so you can set breakpoints on calls to get_foo, which  you could not otherwise do. In fact, the -g option sets the d option to disable function inlining. There is seldom any reason to use +d explicitly.
    For production code, you don't want to throw away the designed-in performance benefits of function inlining. Remove the +d option unless you have a specific reason for wanting it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JSP compilation with javac runs out of memory in WL 6.1

    Hello
              I have a problem with JSP compilation in WL 6.1. It throws OutOfMemory exceptions very often. I have set memory settings (-Xms128m -Xmx356m) and WL console shows that there is a lot of free memory, still is does not help.
              Can I use jikes instead of javac ? Latest jikes generates code which is not compatible for JDK 1.3, so it does not work for WL 6.1 either.
              Any suggestions ?
              Maris

    Hi.
    I have checked Java Doc for repeat tag on
    http://e-docs.bea.com/wls/docs61/javadocs/weblogicx/jsp/tags/RepeatTag.html.
    java.lang.Object
    |
    +-javax.servlet.jsp.tagext.TagSupport
    |
    +-javax.servlet.jsp.tagext.BodyTagSupport
    |
    +-weblogicx.jsp.tags.RepeatTag
    According to the API, it should be a tag pair with tag body. I also tried
    your code, I has the exactly the same Error message in browser. I understood
    it is an example from http://e-docs.bea.com/wls/docs61///////pdf/jsp.pdf.
    I strongly suggest you to post this message to news group
    weblogic.developer.interest.jsp instead.
    Thanks.
    BEA Weblogic Support
    "Hans Nemarich" <[email protected]> wrote in message
    news:3bcc8384$[email protected]..
    >
    Hi, I have the following problem when i try to use the weblogic-tags.jarincluded
    with wl6.1. I have copied the file and is referenced by the classpath. I`mtrying
    to run the example included in the docs:
    Parsing of JSP File '/HelloWeblogic.jsp' failed:
    /HelloWeblogic.jsp(15): no corresponding open tag for tag extensionclose: //[
    null; Line: 15]
    probably occurred due to an error in /HelloWeblogic.jsp line 15:
    </wl:repeat>
    ### this is the jsp file: ###
    <html>
    <head>
    <%@ taglib uri="weblogic-tags.tld" prefix="wl" %>
    <title>Hello Weblogic</title>
    </head>
    <body bgcolor="#FDF5E6">
    <h2>
    Weblogic Custom Tags
    </h2>
    <hr>
    <wl:repeat id="name" set="<%= new String[] { "sam", "fred", "ed" } %>">
    <%= name %>
    </wl:repeat>
    </body>
    </html>
    ### ...and this the web.xml file: ####
    <taglib>
    <taglib-uri>weblogic-tags.tld</taglib-uri>
    <taglib-location>
    /WEB-INF/lib/weblogic-tags.jar
    </taglib-location>
    </taglib>
    Someone can help me ?

  • How to connect to an Oracle database on one machine from another client machine?

    I installed oracle database 11g (server and client) on one machine. It works perfectly. Then I installed oracle client (ODTwithODAC1120320) in another machine. Now I want to connect to the database of the previous machine. I tried to connect but It failed. I think .ORA files should be configured. What should I do to fulfill this.
    thanks...

    thank you for the quick response..
    this link Installing Oracle Database Client for oracle client installation. But the content refers all oracle database installation. could you please get know me that oracle client means only the OdtWithODAC or some thing else? This link Installing Oracle Database Client explain but not the OdtWithODAC. Please let me know clearly.
    Please let me know the exact name of the software that I should download from the oracle website that refers the oracle database client.
    thanks
    Priyashantha hp

  • Getting LabVIEW load error code 59 using LabVIEW 2010 with a Run Time Engine.

    I use a vi compiled with a run time engine to run separate vi’s in my application directory. Once a file association is made with this exe file any Vi in my application directory is available to be loaded as needed. This is a process that has been very successful for me over the years and would prefer to continue using this process. Most of my applications are running in LabVIEW 8.6 and have moved them to 2009. First indications are in 2009 this process is still working. However, I plan to go on to 2010 before upgrading my test stations.
    In 2010 I get the error 59: “The source file’s compiled code has been separated, and this version of LabVIEW does not have access to separated compiled code.”
    The same dialog box also presents, (Hex 0x626)  “Cannot open a VI with separated compiled code in a Run Time Engine that has no access to the VIObjCache.”
    What can I do in the build that will get around this error?
    Thank you

    Thank you for the solution. I am sure this works until the next vi in the vi library gets this option selected.
     The bigger issue is I was doing something that National Instruments did not support. When I started in the days of LV 4.0 it was recommended to me that I use this method as virtually all my applications were for in house projects. This is still my preference because it gives the most versatility and allows modifications of single files rather than compiling the entire application.
    The final solution I ended up with for those who may be having the same issues. My recommendation for what it is worth, is to compile the application as an executable. This is from what I can tell the only acceptable and supported method. Using this method the problem is solved.
    I have accepted this as the solution. I still don't like it. I could list the reasons why but it is a mute point.
    Thanks again for taking the time to respond to this issue and offer the solution you found.

  • Oracle 11g in Virtual Machine

    Hi Gurus,
    I would like to gather input from you, what is the pro and con, advantages and disadvantages for putting Oracle 11g in Virtual Machine (VMWare, Oracle VM, Virtual Box, etc.)
    and will there be any licensing issue with this.
    Currently we have CPU Based license for our Production and Named User license for the Dev.
    thanks in advance for your time.
    Lie

    If you put Oracle db in VMWare then you have a non-certified configuration, and you could be alone (I mean without Oracle support) if you have a problem than Oracle support cannot reproduce in a certified configuration. I would avoid a non-certified configuration for a production environment.
    So, two choices :
    * go for Oracle VM
    * go without VM at all
    Nicolas.

  • Can Oracle run in real time OS(such as PSOS) and communicate with data server by OCI?

    Hi, all!
    i have a question to get your help! now my oracle client running in SUN solaris communicate with oracle data server by OCI(oracle call interface). In future, my client system will port to embeded system that will use real time OS, such as PSOS, so i'm afraid that is OCI communicating with data server ok in PSOS environment??? Is there a special driver or OCI lib for PSOS?
    thanks very much!!!
    null

    I have no idea which platforms the Oracle client has been ported to. If there exists an Oracle client for PSOS, then you should have no problem with OCI there. If there's no Oracle client for PSOS, then you won't be able to make OCI calls.
    Regardless, this probably is a question better addressed to Oracle sales rather than to an ODBC forum.
    Justin

  • PL/SQL will compile with warnings but will not run

    I have a pl/sql package that will compile with warnings but no errors but when i try to run it I get an ORA-6508 error telling me there is an error somewhere in the package but I can't find it.
    I have two user schemas that use 2 slightly different versions of the package. I had to make slight code changes to one of the versions and when I made those changes it stopped running. The second version compiles and runs correctly.
    After going through a line by line comparison the first copy was still not running. I copied the second version of the code into the broken schema and commented out the additional lines of code that are not needed in this version.
    When I tried to compile and run this version it still fails with the same error.
    I am using Oracle XE and the databases are small.
    I can send on the code if necessary.
    Can anyone point me in the right direction?
    Thanks
    Susan

    I tried doing what you suggested but there are no errors as it is compiling correctly.
    It is only when I run the package through the debugger that I get the error. I have posted it below
    Connecting to the database Hess S3.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '127.0.0.1', '2086' )
    Debugger accepted connection from database on port 2086.
    Processing 59 classes that have already been prepared...
    Finished processing prepared classes.
    Exception breakpoint occurred at line 10 of BnmSkOTQ3jz5I52ZOxC4QNw.pls.
    $Oracle.EXCEPTION_ORA_6508:
    ORA-04063: package body "SHIPPING.LIFTINGSCHEDULE" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "SHIPPING.LIFTINGSCHEDULE"
    ORA-06512: at line 10
    Process exited.
    Disconnecting from the database Hess S3.
    Debugger disconnected from database.
    Regards
    susan

  • Error when running a oci program

    I have a oci program copiled on solaris.when i try to run it in another machine it stops giving a strange message:: I get the
    following error message.
    fatal: relocation error: file sqlplus: symbol naemd5s: reference symbol not found
    : killed
    null

    i'm OCI or SQLPLUS is not installed properly on the other machine. could you please reinstall oracle and make sure libraries are complete.

  • Need HELP with objects and classes problem (program compiles)

    Alright guys, it is a homework problem but I have definitely put in the work. I believe I have everything right except for the toString method in my Line class. The program compiles and runs but I am not getting the right outcome and I am missing parts. I will post my problems after the code. I will post the assignment (sorry, its long) also. If anyone could help I would appreciate it. It is due on Monday so I am strapped for time.
    Assignment:
    -There are two ways to uniquely determine a line represented by the equation y=ax+b, where a is the slope and b is the yIntercept.
    a)two diffrent points
    b)a point and a slope
    !!!write a program that consists of three classes:
    1)Point class: all data MUST be private
    a)MUST contain the following methods:
    a1)public Point(double x, double y)
    a2)public double x ()
    a3public double y ()
    a4)public String toString () : that returns the point in the format "(x,y)"
    2)Line class: all data MUST be private
    b)MUST contain the following methods:
    b1)public Line (Point point1, Point point2)
    b2)public Line (Point point1, double slope)
    b3)public String toString() : that returns the a text description for the line is y=ax+b format
    3)Point2Line class
    c1)reads the coordinates of a point and a slope and displays the line equation
    c2)reads the coordinates of another point (if the same points, prompt the user to change points) and displays the line equation
    ***I will worry about the user input later, right now I am using set coordinates
    What is expected when the program is ran: example
    please input x coordinate of the 1st point: 5
    please input y coordinate of the 1st point: -4
    please input slope: -2
    the equation of the 1st line is: y = -2.0x+6.0
    please input x coordinate of the 2nd point: 5
    please input y coordinate of the 2nd point: -4
    it needs to be a diffrent point from (5.0,-4.0)
    please input x coordinate of the 2nd point: -1
    please input y coordinate of the 2nd point: 2
    the equation of the 2nd line is: y = -1.0x +1.0
    CODE::
    public class Point{
         private double x = 0;
         private double y = 0;
         public Point(){
         public Point(double x, double y){
              this.x = x;
              this.y = y;
         public double getX(){
              return x;
         public double setX(){
              return this.x;
         public double getY(){
              return y;
         public double setY(){
              return this.y;
         public String toString(){
              return "The point is " + this.x + ", " + this.y;
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }My problems:
    I dont have the right outcome due to I don't know how to set up the toString in the Line class.
    I don't know where to put if statements for if the points are the same and you need to prompt the user to put in a different 2nd point
    I don't know where to put in if statements for the special cases such as if the line the user puts in is a horizontal or vertical line (such as x=4.7 or y=3.4)
    Edited by: ta.barber on Apr 20, 2008 9:44 AM
    Edited by: ta.barber on Apr 20, 2008 9:46 AM
    Edited by: ta.barber on Apr 20, 2008 10:04 AM

    Sorry guys, I was just trying to be thorough with the assignment. Its not that if the number is valid, its that you cannot put in the same coordinated twice.
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }The problem is in these lines of code.
    public double slope(Point point1, Point point2) //if this method finds the slope than how would i use the the two coordinates plus "m1" to
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
         }if slope method finds the slope than how would i use the the two coordinates + "m1" to create a the line in toString?

  • Running programs made with Developer Suite 10g or 11g

    Hi everyone,
    I have created a few programs with Forms Developer Suite 10g, but I don't know how to make the users run the application so they can start using the programs. Can anyone please help me on this?
    I have always use Forms 6i which is completely different, but I don't know how to make this version work.

    I have always use Forms 6i which is completely different, but I don't know how to make this version work. Oracle Forms 6i was the last version of Forms to run in Client/Server mode. Forms 9i and newer are "Web" only, meaning, you must have a web server configured to serve your Forms web application to client computers. Your web server must have Oracle Application Server 10g installed and configured correctly for your Forms application.
    I recommend you take a look at the <a href ="http://docs.oracle.com/cd/B14099_11/index.htm">Oracle Application Server 10g Release 2 Documentation Library</a>. Start with the Server Concepts document.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Program compiles, but does not run

    To: XCode Users <[email protected]>
    From: Brigit Ananya <[email protected]>
    Subject: Program compiles, but does not run
    I am trying to port a Java application from the PC to the Mac. I am using XCode and the program compiles, but it does not run.
    When I try to run the ...app, I get the message that the main class is not specified, etc.
    When I try to run the ...jar, I do not get the message that the main class is not specified, but I do get the message that there is no Manifest section for bouncycastle, etc.
    Here are the detailed messages I get in the Console when I try to run the program:
    When I try to run the ...app, I get the following message:
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [LaunchRunner Error] No main class specified
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] Exception in thread "main" java.lang.NullPointerException
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/9/09 7:21:17 AM [0x0-0x8c08c].com.AnanyaSystems.AnanyaCurves[2253] at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    When I try to run the ...jar, I do get the following message:
    1/9/09 7:22:43 AM [0x0-0x8d08d].com.apple.JarLauncher[2262] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] Exception in thread "main"
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/asn1/DEREnumerated.class
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:377)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:231)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarVerifier.update(JarVerifier.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.util.jar.JarFile.getInputStream(JarFile.java:390)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.cachedInputStream(Resource.java:58)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Resource.getByteBuffer(Resource.java:113)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.security.AccessController.doPrivileged(Native Method)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    1/9/09 7:28:45 AM [0x0-0x8f08f].com.apple.JarLauncher[2277] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    I do specify the main class in both, the Manifest file and the Info.plist file, in the correct way, "package.MainClass". Is there another place where I need to specify it?
    Why do I need org/bouncycastle/asn1/DEREnumerated.class, and how would I have to specify it in Manifest?
    I also posted these questions at Mac Programming at forums.macrumors.com and at Xcode-users Mailing List at lists.apple.com/mailman/listinfo, but I did not get any answer.
    Please help! Thanks!

    There was something wrong with my Info.plist file.
    So, here is my corrected Info.plist file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
         <key>CFBundleDevelopmentRegion</key>
         <string>English</string>
         <key>CFBundleExecutable</key>
         <string>AnanyaCurves</string>
         <key>CFBundleGetInfoString</key>
         <string></string>
         <key>CFBundleIconFile</key>
         <string>AnanyaCurves.icns</string>
         <key>CFBundleIdentifier</key>
         <string>com.AnanyaSystems.AnanyaCurves</string>
         <key>CFBundleInfoDictionaryVersion</key>
         <string>6.0</string>
         <key>CFBundleName</key>
         <string>AnanyaCurves</string>
         <key>CFBundlePackageType</key>
         <string>APPL</string>
         <key>CFBundleShortVersionString</key>
         <string>0.1</string>
         <key>CFBundleSignature</key>
         <string>ac</string>
         <key>CFBundleVersion</key>
         <string>0.1</string>
         <key>Java</key>
         <dict>
              <key>JMVersion<key>
              <string>1.4+</string>
              <key>MainClass</key>
              <string>AnanyaCurves</string>
              <key>VMOptions</key>
              <string>-Xmx512m</string>
              <key>Properties</key>
              <dict>
                   <key>apple.laf.useScreenMenuBar</key>
                   <string>true</string>
                   <key>apple.awt.showGrowBox</key>
          <string>true</string>
              </dict>
         </dict>
    </dict>
    </plist>Ok, so now I can at least run the AnanyaCurves.jar file by double-clicking on it.
    However, I still cannot run the AnanyaCurves.app file. When I double-click on it, I get the following message in the Console:
    1/11/09 5:12:26 PM [0x0-0x67067].com.apple.JarLauncher[1128]  at ananyacurves.AnanyaCurves.main(AnanyaCurves.java:1961)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [LaunchRunner Error] No main class specified
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137] Exception in thread "main" java.lang.NullPointerException
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.run(LaunchRunner.java:112)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    1/11/09 5:13:11 PM [0x0-0x6a06a].com.AnanyaSystems.AnanyaCurves[1137]  at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)Why is it looking for the MRJApp.properties file? Isn't this outdated? Shouldn't it look for the Info.plist file? I do not have a MRJApp.properties file.
    Also, in the Run menu of my XCode project, Go, Run, and Debug are disabled, but perhaps this has to do with not being able to run the AnanyaCurves.app file.
    Thanks for your time! I really appreciate any help you can give me!

  • Applet compiled with 1.4 not running in IE 6

    I have a java applet when compiled with the 1.3 java sdk that came Oracle, runs correctly in IE 6. The applet opens a socket.
    When I compile it using 1.4 java sdk from sun and run it in IE 6 it does not work.
    When I installed the 1.4 SDK I selected to use it as IE's default java machine.
    Note if I look in the internet options, settings, view objects it shows the 1.4.1 jre twice.
    Note I can not remove the 1.3 jre that comes with Oracle as the installation is dependant on it.
    The java classes included in my applet is
    import java.net.*;
    import java.io.*;
    import java.text.*;
    import java.awt.*;
    import java.lang.Thread;
    import java.applet.*;
    I have the sdk bin directory early in the path and class path enviroment includes rt.jar from the 1.4 sdk.
    I have even been into the reg and edited IE's classpath.
    Anybody help, how do I know what jre, IE is using or why the applet won't run in IE6. Both versions run in Appletviewer.
    Once I get this working I want to add javax and org classes to start passing XML over the socket anybody got advise on this also.

    there are a couple of things to try with this. first is to try the class out with the java plugin enabled - this makes IE run the 1.4.1 VM, instead of the default 1.1 VM in IE. if this works, you probably have a version conflict in your code, and could try compiling with
    '-target 1.1'
    in your arguments. The problem I'm having is to do with finding the referenced classes in the applet. Try commenting EVERYTHING out of your applet (except 'init') and then running it. if the applet loads, the problem is that any class you try to instantiate inside the applet is not found by the browser. (NB you get the same error message with a version conflict as with a missing class file, very helpful...).
    I'm not on this list much so if you want to talk more, or if you've solved this problem, please email me at [email protected]
    String signoff = "thanks in advance for any help" OR "hope this helped"

  • Err. in programs copiled with Jdev 9.0.3 and run with Java Web Start

    Hi all,
    when I build my programs with Oracle9j JDeveloper 9.0.3.988 and I use them with Java Web Start, programs do not run, while when compiled with Oracle9j JDeveloper 9.0.2.x it runs without problems.
    The Java version used in both cases is 1.4.0.
    Here's an example of the log from Java Web Start:
    Error in JavaWeb Start
    viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
    java.lang.ClassFormatError: viewer/imageViewer/ViewerAppState$1 (Illegal Variable name " val$files")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.access$1(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
         at viewer.imageViewer.UtilityMenuPane.jbInit(UtilityMenuPane.java:167)
         at viewer.imageViewer.UtilityMenuPane.<init>(UtilityMenuPane.java:155)
         at viewer.imageViewer.UtilityMenuPane.getInstance(UtilityMenuPane.java:147)
         at viewer.imageViewer.ImageViewerFrame.jbInit(ImageViewerFrame.java:179)
         at viewer.imageViewer.ImageViewerFrame.<init>(ImageViewerFrame.java:145)
         at viewer.imageViewer.ImageViewerFrame.getInstance(ImageViewerFrame.java:126)
         at viewer.ImageViewer.execute(ImageViewer.java:30)
         at viewer.Viewer.execute(Viewer.java:63)
         at viewer.Viewer.<init>(Viewer.java:27)
         at viewer.Viewer.main(Viewer.java:40)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:536)
    Does anybody know why this happens?
    Thanks

    Hi There.
    We had the same problem with some of our code. We moved the definition of the class from a method out of the method. Like this:
    public class{
    class{
    instead of doing this:
    public class{
    method() {
    class{
    This worked with the web start......
    Best regards
    Jesper Lorentzen

Maybe you are looking for

  • 6m long ethernet cable from TC to Modem?

    I'm just re-arranging my front room and it would be aesthetically pleasing if I could relocate my TC into a media cabinet about 6m from the modem. At present they are right next to each other on a short ethernet cable. Will a 6m ethernet cable (Cat 6

  • Vhd has the sama function as virtual machine or hyper-v in windows 8

    hi, is VHD has the same function as  hyper-v or virtual machine. if yes then I can make virtual machine from windows 7 home premium if the hardware support it. thanks johan h.david

  • Xcode crashes when doing a distributed build

    Xcode crashes when attempting to do a distributed build. UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSCFString rangeOfString:options:range:locale:]: nil argument UserInfo: (null) Hints: None Backtrace:   0  0x00007fff8eaba26a __exceptio

  • TS1192 After all the steps I still have a corrupt iphoto 11 Albumdata.xml file. What next?

    I have tried all the steps here, except deleting the com.apple.iApps.plist because I don't have one! I deleted it ages ago trying to do this before and it seems it never created a new one. So, none of this steps work. I want to import my iphoto to Pi

  • PROBLEM GETTING PDF INTO DREAMWEAVER

    I tried to place a copy of a PDF in my site Folder using copy and and paste but the paste is field protected. I made sure pdf title was in all lower case. What am I doing wrong that I can n ot use copy and paste?  Any other suggestions as to how I ca