Oracle 8.1.5 (6?) interoperability with Java/C++ clients and various ORBs

Hi
Machine/OS: SGI VWS 540, 256MB RAM, Win2000
Oracle: Oracle 8i (8.1.6)/Enterprise Edition Release 2
Problem:
I want to bind to a CORBA object (pureCORBA bank example) from c++.
I found in the FAQ an article about the interoperability with c++. I downloaded an archieve with all the necessary code. But....
I won't compile. It has been tested on Visibroker 3.2, but now i get compilation errors... (GIOP::ObjectKey CORBA::OctetSequence convertion).
Is there an update of this article that uses 8i 8.1.6 and Visibroker 3.4 (that ships with 8.1.6). I compile it using MS VC++ 6.0 SP 4.
I can make the current files compile, but then get a link error (login.lib uses stuff already defined in msvcrt.lib ....)
Thank you
Bart De Lathouwer

Hi
Machine/OS: SGI VWS 540, 256MB RAM, Win2000
Oracle: Oracle 8i (8.1.6)/Enterprise Edition Release 2
Problem:
I want to bind to a CORBA object (pureCORBA bank example) from c++.
I found in the FAQ an article about the interoperability with c++. I downloaded an archieve with all the necessary code. But....
I won't compile. It has been tested on Visibroker 3.2, but now i get compilation errors... (GIOP::ObjectKey CORBA::OctetSequence convertion).
Is there an update of this article that uses 8i 8.1.6 and Visibroker 3.4 (that ships with 8.1.6). I compile it using MS VC++ 6.0 SP 4.
I can make the current files compile, but then get a link error (login.lib uses stuff already defined in msvcrt.lib ....)
Thank you
Bart De Lathouwer

Similar Messages

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Problem with java swing button and loop

    Problem with java swing button and loop
    I�m using VAJ 4.0. and I�m doing normal GUI application. I have next problem.
    I have in the same class two jswing buttons named start (ivjGStart) and stop (ivjGStop) and private static int field named Status where initial value is 0. This buttons should work something like this:
    When I click on start button it must do next:
    Start button must set disenabled and Stop button must set enabled and selected. Field status is set to 1, because this is a condition in next procedure in some loop. And then procedure named IzvajajNeprekinjeno() is invoked.
    And when I click on stop button it must do next:
    Start button must set enabled and selected and Stop button must set disenabled.
    Field status is set to 0.
    This works everything fine without loop �do .. while� inside the procedure IzvajajNeprekinjeno(). But when used this loop the start button all the time stay (like) pressed. And this means that a can�t stop my loop.
    There is java code, so you can get better picture:
    /** start button */
    public void gStart_ActionEvents() {
    try {
    ivjGStart.setEnabled(false);
    ivjGStop.setEnabled(true);
    ivjGStop.setSelected(true);
    getJTextPane1().setText("Program is running ...");
    Status = 1;
    } catch (Exception e) {}
    /** stop button */
    public void gStop_ActionEvents() {
    try {
    ivjGStart.setEnabled(true);
    ivjGStart.setSelected(true);
    ivjGStop.setEnabled(false);
    getJTextPane1().setText("Program is NOT running ...");
    Status = 0;
    } catch (Exception e) {
    /** procedure IzvajajNeprekinjeno() */
    public void IzvajajNeprekinjeno() {  //RunLoop
    try {
    int zamik = 2000; //delay
    do {
    Thread.sleep(zamik);
    PreberiDat(); //procedure
    } while (Status == 1);
    } catch (Exception e) {
    So, I'm asking what I have to do, that start button will not all the time stay pressed? Or some other aspect of solving this problem.
    Any help will be appreciated.
    Best regards,
    Tomi

    This is a multi thread problem. When you start the gui, it is running in one thread. Lets call that GUI_Thread so we know what we are talking about.
    Since java is task-based this will happen if you do like this:
    1. Button "Start" is pressed. Thread running: GUI_Thread
    2. Event gStart_ActionEvents() called. Thread running: GUI_Thread
    3. Method IzvajajNeprekinjeno() called. Thread running: GUI_Thread
    4. Sleep in method IzvajajNeprekinjeno() on thread GUI_Thread
    5. Call PreberiDat(). Thread running: GUI_Thread
    6. Check status. If == 1, go tho 4. Thread running: GUI_Thread.
    Since the method IzvajajNeprekinjeno() (what does that mean?) and the GUI is running in the same thread and the event that the Start button has thrown isn't done yet, the program will go on in the IzvajajNeprekinjeno() method forever and never let you press the Stop-button.
    What you have to do is do put either the GUI in a thread of its own or start a new thread that will do the task of the IzvajajNeprekinjeno() method.
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    This tutorial explains how to build a multi threaded gui.
    /Lime

  • BC4J and OAS with Java Application Client

    Could you show me an example about using the BC4J and OAS with Java Application client.
    The JDeveloper Help is not enough to solve this kind of problem.
    Configuration:
    Jdeveloper 3.1
    OAS 4.0.8.1
    Database 7.3.4
    null

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • Mavericks VPN dropouts with native VPN client and Cisco IPSec

    Since update to Maverics I am experiencing VPN dropouts with native VPN client and Cisco IPSec
    I am connecting via a WIFI router to a remote VPN server
    The conenction is good for a while but eventually it drops out.
    I had Zero issues in mountain lion and only have issues since the update to 10.9
    I had similar issues in teh past with an unrelaibel wifi router but i am using a Verizon Fios router and it has worked impecably until mavericks
    My thoughts are:
    1 -issue with mavericks  ( maybe the app sleep funciton affecting eithe VPN or WIFI daemons)
    2- Issue with  cisco router compaitibility or timing with Cisco IPSEC
    3- Issue with WIFI itself on mavericks - some sort of WIFI software bug
    Any thousuggestions?

    Since update to Maverics I am experiencing VPN dropouts with native VPN client and Cisco IPSec
    I am connecting via a WIFI router to a remote VPN server
    The conenction is good for a while but eventually it drops out.
    I had Zero issues in mountain lion and only have issues since the update to 10.9
    I had similar issues in teh past with an unrelaibel wifi router but i am using a Verizon Fios router and it has worked impecably until mavericks
    My thoughts are:
    1 -issue with mavericks  ( maybe the app sleep funciton affecting eithe VPN or WIFI daemons)
    2- Issue with  cisco router compaitibility or timing with Cisco IPSEC
    3- Issue with WIFI itself on mavericks - some sort of WIFI software bug
    Any thousuggestions?

  • Problem with java.sql.Clob and oracle.sql.CLOB

    Hi,
    I am using oracle9i and SAP web application server. I am getClob method and storing that in java.sql.Clob and using the getClass().getName() I am getting the class name as oracle.sql.CLOB. But when I am trying to cast this to oracle.sql.CLOB i am getting ClassCastException. The code is given below
    java.sql.Clob lOracleClob = lResultSet.getClob(lColIndex + 1);
    lPrintWriter = new PrintWriter(new BufferedWriter (((oracle.sql.CLOB) lOracleClob).getCharacterOutputStream()));
    lResourceStatus = true;
    can anybody please tell me the what is the problem with this and solution.
    thanks,
    Ashok.

    Hi Ashok
    You can get a "ClassCastException" when the JVM doesn't have access to the specific class (in your case, "oracle.sql.CLOB").
    Just check your classpath and see if you are referring to the correct jar files.
    cheers
    Sameer
    PS: Please award points if you find the answer useful

  • Oracle 8.1.6 Installation fails with java.lang.NullpointerException

    HI,
    We are installing Oracle 8.1.6 on a D Class machine running HPUX 11.0 OS
    While i start the Universal Installer, it fails with the following
    error.
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Warning: Missing charsets in String to FontSet conversion
    Warning: Cannot convert string "-dt-interface
    user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
    Exception java.lang.NullPointerException occurred..
    java.lang.NullPointerException
    at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:197)
    at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:73)
    at sun.awt.motif.MToolkit.createFrame(MToolkit.java:177)
    at java.awt.Frame.addNotify(Frame.java:203)
    at java.awt.Window.show(Window.java:143)
    at java.awt.Component.show(Component.java:511)
    at java.awt.Component.setVisible(Component.java:473)
    at
    oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:419)
    My ORACLE_TERM is set to dtterm.
    Can anybody give some suggestions what would be the problem..?
    Thanks
    vinod
    null

    Pretty much the same thing, Tomcat is the web server in CUCM, so that should have been sufficient.
    Please rate all useful posts!
    Chris

  • Problem with Java EE 5 and derby

    have a problem with the database connectivity in the examples of Java EE 5, I have the NETBEANS 5.5 with Sun Java System Application Server Platform Edition 9, and with the derby database.
    I just try to run my application, but there is not connectivity with the database. I review all the configurations and step to follow to run the examples, and does not even work.
    The server.log, show this:
    [#|2006-11-12T17:12:20.781+0000|WARNING|sun-appserver-pe9.0|oracle.toplink.essentials.file:/C:/as9rrtutorial/jsstutorials/examples/web/bookstore2/build/web/WEB-INF/lib/bookstore.jar-book|_ThreadID=14;_ThreadName=httpWorkerThread-8080-0;_RequestID=4c2405ce-8492-4786-bff4-ef1332cfccd4;|
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.apache.derby.client.am.SqlException: Table 'WEB_BOOKSTORE_BOOKS' does not exist.Error Code: -1
    Call:SELECT BOOKID, ONSALE, CALENDAR_YEAR, PRICE, TITLE, INVENTORY, DESCRIPTION, FIRSTNAME, SURNAME FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
    bind => [203]
    Query:ReadObjectQuery(com.sun.bookstore.database.Book)
    at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:303)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:551)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
    at oracle.toplink.essentials.threetier.ServerSession.executeCall(ServerSession.java:465)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
    at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectOneRow(DatasourceCallQueryMechanism.java:620)
    at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(ExpressionQueryMechanism.java:2152)
    at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectOneRow(ExpressionQueryMechanism.java:2127)
    at oracle.toplink.essentials.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:350)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:709)
    at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:677)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:731)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2218)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:937)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:894)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.findInternal(EntityManagerImpl.java:298)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.findInternal(EntityManagerImpl.java:274)
    at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.find(EntityManagerImpl.java:130)
    at com.sun.bookstore2.database.BookDBAO.getBook(BookDBAO.java:73)
    at com.sun.bookstore2.database.BookDB.getBook(BookDB.java:55)
    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:585)
    at javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    at org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:982)
    at org.apache.jsp.books.bookstore_jsp._jspService(bookstore_jsp.java:191)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:353)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:850)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:532)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:465)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
    at com.sun.bookstore2.dispatcher.Dispatcher.doGet(Dispatcher.java:106)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: org.apache.derby.client.am.SqlException: Table 'WEB_BOOKSTORE_BOOKS' does not exist.
    at org.apache.derby.client.am.Statement.completeSqlca(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePrepareError(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.parsePRPSQLSTTreply(Unknown Source)
    at org.apache.derby.client.net.NetStatementReply.readPrepareDescribeOutput(Unknown Source)
    at org.apache.derby.client.net.StatementReply.readPrepareDescribeOutput(Unknown Source)
    at org.apache.derby.client.net.NetStatement.readPrepareDescribeOutput_(Unknown Source)
    at org.apache.derby.client.am.Statement.readPrepareDescribeOutput(Unknown Source)
    at org.apache.derby.client.am.PreparedStatement.readPrepareDescribeInputOutput(Unknown Source)
    at org.apache.derby.client.am.PreparedStatement.flowPrepareDescribeInputOutput(Unknown Source)
    at org.apache.derby.client.am.PreparedStatement.prepare(Unknown Source)
    at org.apache.derby.client.am.Connection.prepareStatementX(Unknown Source)
    at org.apache.derby.client.am.Connection.prepareStatement(Unknown Source)
    at com.sun.gjc.spi.ConnectionHolder.prepareStatement(ConnectionHolder.java:413)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1147)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:597)
    at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:470)
    ... 69 more
    |#]
    And the table exist in the database.
    Some body can help me?
    Thanks.

    You probably made the same mistake as I did and added the tables manually to the "sample" database instead of the "sun-appserv-samples" database.
    marc

  • User not able to login to Discoverer Plus 10g with Java 1.8 and Java1.6

    Hi,
    The user is using Windows machine and trying to login to Discoverer Plus 10g. He recently upgraded to Java 1.8 and was not able to login.
    We informed the user that Discoverer 10g is not compatible with java version above 1.6. The user removed the java 1.8 and installed 1.6 again.
    Still he is facing issue.
    The error he gets is:
    Unable to connect to the Discoverer Server: null
    Please contact your Oracle Application Server administrator
    Please suggest.
    1. Is there also a way to make it work with java 1,8 version as the user need to use it for the Oracle HRMS.?
    Thanks
    Chhavi

    Hi,
    The user is using Windows machine and trying to login to Discoverer Plus 10g. He recently upgraded to Java 1.8 and was not able to login.
    We informed the user that Discoverer 10g is not compatible with java version above 1.6. The user removed the java 1.8 and installed 1.6 again.
    Still he is facing issue.
    The error he gets is:
    Unable to connect to the Discoverer Server: null
    Please contact your Oracle Application Server administrator
    Please suggest.
    1. Is there also a way to make it work with java 1,8 version as the user need to use it for the Oracle HRMS.?
    Thanks
    Chhavi

  • Help needed with Java 1.4 and xml Runtime problem

    I am working on a java 1.3 and JAXP1.1 written code. Now I want to compile and run it using J2SE 1.4. Here are the import statements from the existing code.
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.Locator;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.XMLReader;
    import org.xml.sax.InputSource;
    import java.sql.*;
    import java.net.*;
    import java.io.*;
    When I run the existing(using java 1.3 and Jaxp1.1) code I have to include the files crimson.jar and jaxp.jar in the windows 2000 CLASSPATH and works fine.
    But when I compile and run it using J2SE 1.4 which has the built in support for the saxp, I thought that I don't have to specify any CLASSPATH for the new 1.4 so I don't specify any Classpath and it gives me the Microsoft "ClassFactory cannot find the requested class" error which means that even thought the new java 1.4 has the xml classes as libraries yet it still requies some .jar files to be listed in the CLASSPATH.
    If I am right then what path will work(i.e what jar class I need to add to the CLASSPATH).
    Thanks for your help.
    RA.

    Thanks for your reply,
    I think I didn't specify when the error occurs. The ClassFactory related error occurs when I run the program, it compiles without any error.
    From what I understood somewhere in the java 1.4 docs, that the new 1.4 has the xml libraries built in by default so one doesn't need to give the classpaths just like we don't give any CLASSPATH for using swing and many of the other java packages. That is one thing.
    Second thing is that I also tried to use the java_xml_pack-spring02 and java_xml_pack-summer02; but non of them include the crimson.jar and the jaxp.jar files in them which are the 2 .jar files that makes the program run fine when used under the java 1.3 with combination of the jaxp1.1(which was downloaded seperately and then the CLASSPATH for it was set.).
    Can you please help what .jar files do I need to use instead. I tried to use the ones that the new java_xml_pack-spring02 and java_xml_pack-summer02 has for the jaxp in them.
    Thanks again.
    RA

  • Timer works with Java 1.4 and not Java 1.3 - Why?!

    I am totally lost. I can run this bit of code in java 1.3 and all works fine...
         ActionListener alarmtask = new ActionListener(){
               public void actionPerformed(ActionEvent event){
                  decrementClock();                    
                  setDisplay();
            alarm = new Timer(1000, alarmtask);Then later...
            alarm.start();But when I run it using Java 1.4 it does nothing. The decrementClock() method is never called. I have checked if alarm.isRunning(); and it is.... it seems that the actionPerformed() message never gets to alarmtask.
    Please help!
    Thanks
    LT

    I don't know whether this helps, but:
    The Installer copies the java.exe and javaw.exe files into c:\{windows\winnt}\system32 which is on the path variable by default. These files are copied from the JRE, not the SDK.
    Try use:
    ...\> java[w] -showversion your.Classto ensure it's actually the intended version.
    It's hard to believe yet that this is the problem... another idea: is it possible that you change CLASSPATH along with this, such that it points to an outdated version of your implementation?

  • Interface Matlab with java good links and info

    HI All
    i want to interface Matlab with java
    i did search through the net but i haven't got nay good links and info
    by that i mean the given links either not working or do work for old version of matlab ie R13
    i have R14
    IF you have already done that or
    you have a really good links and info and steps
    please post them here
    thanks

    It doesn't appear that Matlab is free, so i'd expect that's why you are having trouble finding download links.
    Here's is an overview link
    http://www.mathworks.com/access/helpdesk/help/techdoc/rn/r14_v7_external.html#1011951

  • Connection error -2147217387 with Java RAS SDK and Crystal Server 2011

    Due to a change in operating system, we are required to upgrade our Crystal Reports server from BusinessObjects Crystal Reports Server 11.5 to SAP Crystal Server 2011. We use the Java RAS SDK (RASCore 9.2.2.446 / RASApp 9.0) more or less as described in Java RAS2008-unmanaged exportreport. We use the Crystal Server to export reports stored on disk as PDF files.
    In SAP Crystal Server 2011, the CrystalReports2011ReportApplicationServer is configured with Request Port 1566 and Host Identifier 172.16.4.154 (the local machine). The Crystal Server, report-definition files, and Java VM are all on the same machine.
    The error is
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: XML serialization failed.---- Error code:-2147217387 Error code name:connectServer
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.v.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.ab.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at ourpackage.OurClass.openReport(OurClass.java:95)
         ... 6 more
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:189)
         at java.net.SocketInputStream.read(SocketInputStream.java:121)
         at java.net.SocketInputStream.read(SocketInputStream.java:203)
         at java.io.DataInputStream.readInt(DataInputStream.java:388)
    The code is as follows.
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs on ReportClientDocument.open method
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.refreshRepositoryObjects.value());
    DatabaseController dbController = clientDocument.getDatabaseController();
    dbController.logon("dbuser", "dbpassword");
    ParameterFieldController pfController = clientDocument.getDataDefController().getParameterFieldController();
    Fields fields = clientDocument.getDataDefinition().getParameterFields();
    ParameterField oldParameter = (ParameterField) field.get(0);
    ParameterField newParameter = new ParameterField();
    oldParameter.copyTo(newParameter, false);
    newParameter.getCurrentValues().clear();
    ParameterFieldDiscreteValue newDiscreteValue = new ParameterFieldDiscreteValue();
    newDiscreteValue.setValue("paramValue");
    newParameter.getCurrentValues().add(0, newDiscreteValue);
    pfController.modify(oldParameter, newParameter);
    clientDocument.refreshReportDocument();
    PrintOutputController po = clientDocument.getPrintOutputController();
    InputStream is = po.export(reportFormat);
    Could anyone advise me how to proceed with resolving this error?

    Thanks for the link. I copied the CrystalReportsSDK.jar and logging.jar from the Crystal Server java\lib directory into my project and revised the code accordingly. Now, a slightly different error occurs at the same place:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: {0}. --- Connection reset by peer: socket write error---- Error code:-2147217387 [CRSDK00000039] Error code name:connectServer
      at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(ReportSDKServerException.java:115)
      at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.request(TCPIPCommunicationAdapter.java:659)
      at com.crystaldecisions.proxy.remoteagent.AdapterCommunicationChannel.send(AdapterCommunicationChannel.java:88)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.request(ReportAppSession.java:382)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.logon(ReportAppSession.java:342)
      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(ReportAppSession.java:330)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnectionAdapter(ClientDocument.java:627)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.initializeServerConnection(ClientDocument.java:658)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.initializeServerConnection(ReportClientDocument.java:1420)
      at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(ClientDocument.java:982)
      at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.open(ReportClientDocument.java:226)
      at ourPackage.OurClass.openReport(OurClass.java:97)
    The revised code is
    ReportClientDocument clientDocument = new ReportClientDocument();
    clientDocument.setReportAppServer("172.16.4.154:1566"); // localhost
    // Error occurs here
    clientDocument.open("D:\\path\\to\\report.rpt", com.crystaldecisions.sdk.occa.report.application.OpenReportOptions.openAsReadOnly.value());

  • Returning recordsets with Java S.P. and JDBC

    i'm curious what the easiest way is to return multiple rows from oracle using a jdbc client and Java stored procedure. the examples i've seen just 'pack' all of the values in the one element arrays used as the OUT parameters. can you use custom objects as parameters? thanx

    You can have pl/sql return a Ref Cursor and then get ResultSet from Ref Cursor. For cursor, you do RegisterOutParameter(int, java.sql.Types.Other).

  • Strange problem with SQLPLUS when client and server on the same box

    Hi,
    I have the problem with SQLPLUS when clinet and server on the same machine.
    With client and server on the same machine i am running the command
    sqlplus -l username/password@connect_identifier as SYSDBA.
    With this command, even if you pass in wrong username or wrong password or both as wrong you can able to connect to database and execute queries.
    Once Connect_identifier is correct and trying to log in as SYSDBA ,sqlplus will log in to DB with any username and password.
    How to get rid of this behaviour. Is there any way to do this.
    I am running this command by creating a process in C#
    Edited by: user11000236 on Jun 16, 2009 10:31 AM

    user11000236 wrote:
    Thanks for the info.
    How does Oracle/SQLPLUS allows any username or password to log in to DB with SYSDBA Privillages? What is the concept behind this.?
    This is explainted in the above mentioned link:
    Operating system authentication takes precedence over password file authentication. If you meet the requirements for operating system authentication, then even if you use a password file, you will be authenticated by operating system authentication.

Maybe you are looking for

  • Is this going to be possible??

    Hi I'm using code in my first frame to position a mov containing 3 sections into the right place. Example of code; Code: btn2.onRelease = function() { var club:Tween = new Tween(movs, "_x", Regular.easeOut, movs._x, -632, 1, true); _root.movs.portfol

  • Profile for to execute statspack report

    Hi What Profile(PERMISSIONS) is necessary for to execute statspack report in ORACLE 9.02 ? TIA

  • Problemas al abrir correos de power point

    Hola,me envian diariamente correos con fotos y con musica en formato power point,en mi imac los reproduce bien con el power point,pero en mi ipad4,con la aplicacion keynote,me reproduce bien ,pero sin la musica,por que,y que hago para poder verlo en

  • Losing signal

    i have the iphone 4 in white and i have prob had 3 calls in about 3 months of having the phone where i have managed to stay connected,my signal is terrible all the time and this is the worst phone i have had

  • Recording a full band in home studio

    I've been recording my song ideas for a few years now with decent results which has started opening up doors. I have a couple opportunities coming up to record other people. I'm hoping to do this more. One of these opportunities involves recording a