Using package getting compiler error

I have a project at c:\myproject
I have a file name as b.java in c:\myproject
I have a sub-directory named as com\sski\ in c:\myproject
In that subdirectory there is a file a.java (package of a.java is com.sski) which is using class b.
I have compiled b.java successfully, But I am unable to compile a.java
I am getting compiler error cannot resolve symbol
Sourece of a.java is as follow package com.sski;
//import b;
public class  a
     public static void main(String[] args)
          b obj = new b();
          System.out.println("Inside a.java: " +obj);
}i have even tried using import b;
then i get error as '.' expected
how do i successfully compile a.java, where do i place b.java.
i dont want to put b.java inside any package.

b.class is not being found in your classpath. If you are compiling in C:\myproject, b.class should end up in C:\myproject, since you are not putting it in a package (which, IMO, is a bad idea). This assumes that you are not using the -d <destination> command line option in the javac command line.
To compile a.java, you need to use the -classpath command line option, as follows:
javac -classpath C:\myproject a.java
or
javac -classpath . a.java (note the dot).
� {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • Still getting compilation error

    thnx again for ur kind help
    i m still getting compilation error
    can any give me the complete steps and a simple program of occi using i which i can have the idea of occi program
    its very urgent
    Regards
    Neeraj

    Check occidml.cpp under %ORACLE_HOME%\rdbms\demo and make.bat in the same directory on how to compile & link.

  • Keep getting compile error. dunno why.

    i keep getting compile error that Compilation errors for PACKAGE BODY NRMS_INTERFACE.PKGNDW
    Error: PLS-00113: END identifier 'BOOLISDATAAVAILABLE' must match 'PKGND' at line 1, column 29
    Line: 3309
    Text: end boolIsDataAvailable;
    function boolIsDataAvailable(o_errorcode OUT NUMBER,
    o_errortext OUT VARCHAR2) return boolean is
    DataAccess number;
    boolResult boolean;
    begin
    begin
    select DATA_ACCESS
    into DataAccess
    from INTERFACEPARAMETER
    where NUMBER_VALUE = 0;
    boolResult := true;
    exception
    WHEN OTHERS THEN
    -- coder assumes that any exceptions here will lead to data not being available.
    boolResult := false;
    end;
    return boolResult;
    end;
    end boolIsNDWAvailable;

    Argh....again the importance of formatting and indentation is proved...
    In other words: the tag
    before and after samples.
    Thanks for the followups ;)
    +it's past 21.00/09.00PM over here, so already a while no more coffee for me+
    +Yes, that's a disclaimer+ ;)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Flash CC on W7 . By importing fl.controls like 'import fl.controls.Button';  I get compilation error 1172. Solution?

    Flash CC on W7 . By importing fl.controls like 'import fl.controls.Button';  I get compilation error 1172. Solution?

    Can you show the relevant code and the complete error message?  Before running go into your Flash Publish Settings and choose the option to Permit Debugging - it can help by adding information to the error message.

  • When I try to donate by credit card. No matter which one I use I get an error message

    When I try to donate by credit card. No matter which one I use I get an error message

    What is the content of this error message?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Getting compilation error while using WCApplicationContext in Application

    hi,
    I am developing a custom login form for webcenter spaces for that I need to use "WCApplicationContext". But whenever I try to build the project, I am getting an error saying "cannot access oracle.webcenter.webcenterapp.context.WCApplicationContext". I have included the required "webcenter spaces client" library into the classpath but still the error remains the same. Need urgent help in this.
    Regards
    Ajay

    Hi,
    there is a WebCenter forum for WebCenter releated questions: WebCenter Portal
    Frank

  • Help with Data Block Based on Procedure--getting compilation error

    I am trying to create a datablock based on a procedure , but im getting errors in compilation:
    Errors are :
    1) identifier 'HSM_WSH_DEL_UTIL.DEL_TBL' must be declared
    2)PL/SQL ERROR 320 at line 7, column 27
    the declaration of the type of this expression is incomplete or malformed
    ANy Help would be appreciated !
    Heres my pkg spec and body for the data block:
    CREATE OR REPLACE PACKAGE hsm_wsh_del_util IS
    TYPE del_record is record
    (delivery_id number);
    TYPE del_tbl is table of del_record INDEX BY BINARY_INTEGER;
    procedure do_query(p_del IN OUT del_tbl);
    END hsm_wsh_del_util ;
    CREATE OR REPLACE PACKAGE BODY hsm_wsh_del_util IS
    procedure do_query(p_del IN OUT del_tbl)
    IS
    idx number :=1;
    CURSOR DELIVERY IS
    SELECT DELIVERY_ID
    FROM abc_deliveries;
    begin
    FOR CUR IN DELIVERY LOOP
    p_del(idx).delivery_id :=cur.delivery_id;
    idx:= idx+1;
    END LOOP;
    end do_query;
    END hsm_wsh_del_util;
    Edited by: 981170 on Mar 13, 2013 1:08 PM

    Hi,
    Yes I did use the wizard,
    I agve it the package.proc name for query.
    it pulled up the field delivery ID,
    Hit finish, because I do not need update/delete/inserts.
    the query data source columns and arguments was defaulted correctly.
    THe QUERY-PROCEDURE was built by default.
    It is giving me an error though: wrong number or types of arguments in call to POPULATE_BLOCK..
    DECLARE
    bk_data HSM_WSH_DEL_UTIL.DEL_TBL;
    BEGIN
    hsm_wsh_del_util.do_query(bk_data);
    PLSQL_TABLE.POPULATE_BLOCK(bk_data, 'NEW_DELIVERIES');
    END;

  • Getting compilation errors in seeded jsps in R12

    Hi,
    We already had iStore 11i implemented since 8 years.
    Now we are implementing iStore R12.
    We have a custom jsp 'xxibeCCkpExpCheckout.jsp' in 11i, which we are migrating to R12.
    However in R12 we are getting following compilation errors in this jsp:
    ibeCCkpBHdrShipIncl.jsp:
    Error(841,1): PrintWriter not found
    Error(841,1): Writer not found
    ibeCCkpValBillPay.jsp
    Error(40,2): field optNewCreditCard not found
    Error(48,2): field optNewCreditCard not found
    Error(54,2): identifier errMap not found
    Error(64,2): identifier errMap not found
    Error(73,2): field errMap not found
    Please note that above seeded jsps are included in the custom jsp.
    Since the errors are coming through seeded jsps, we are not sure how to fix them.
    Any prompt help/suggestion in this regard is appreciated.
    Thanks

    Hello,
    Please review your custom jsp and note that the following are obsoleted packages for Release 12 -
    ibeCCkpCHdrShipIncl.jsp, ibeCCkpHdrShip.jsp, ibeCCkpHdrBillPay.jsp
    Confirm the ibeCCkpBHdrShipIncl.jsp is Release 12.1 version (ie version 120.6).
    Also, there are changes in ibeCCkpValBillPay.jsp for Release 12 as compared to 11i. Confirm your ibeCCkpValBillPay.jsp is Release 12.1 version (ie version 120.1.12010000.2 or higher).
    Confirm no errors for manual compile of the seeded jsp's and Confirm datestamp is current for class files in $COMMON_TOP/_pages
    References:
    Where Are The iStore Cached Java Classes In R12 ? (Doc ID:1149243.1)
    How to Enable Automatic Compilation of JSP pages in R12 Environment (Doc ID:458338.1)
    Please advise on any additional questions or issues.
    Thank You,
    Deborah Bourgeois, Oracle Customer Support

  • Getting Compile error in hidden module: Module_starter.

    Hi,
    I am trying to create a report from BIP using OBIEE.
    In OBIEE, I have created and saved an Answer.
    From MS Word, after logging into BIP, I chose Workspace as "Oracle BI". Then I select the Answer that I had created earlier. When I try to save this answer as Oracle BIP report, I get error "Compile error in hidden module: Module_starter."
    Any idea what's going wrong here?

    Security Update for windows XP (KB936021)

  • Getting compilation error while invoking an existing partner link.

    Hi,
    I am very new to BPEL.This may be a very basic issue..
    Found few links on the forum related to this..but didn't understand how people solved their problems..
    Created a sample project to add two numbers and return the result.[Ex : 2+ 3 = 5]
    Trying to invoke that service by adding it as a partner link in other project.
    Getting compile time error immediately after adding it..
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "http://PC-XYZ-IN:8888/orabpel/default/BPELProcess/BPELProcess?wsdl", message part element "{http://xmlns.oracle.com/BPELProcess}BPELProcessProcessResponse" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    (ii) how can i pass two variables to calling service using invoke option.
    Since in invoke option i could see only one input variable is allowed.
    Thanks in advance for the help.

    the wsdl is refered correctly,I used the wizard for this..
    http://PC-MSIDDHAR-IN:8888/orabpel/default/BPELProcess/BPELProcess?wsdl
    For second part of the question.
    Caller ----> Invoke Code ---> Partner Link for Service
    Partner Link for Service expects 2 variables...
    Caller i have added 2 variables as u suggested already ...
    The question is how can i assign caller variables to partner link variables..[If they are more than 1)
    Thx
    Message was edited by:
            msiddhar
    Message was edited by:
            msiddhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Still getting Compilation errors in scott.emp

    Hi Experts,
    I am getting a compilation errors when i compile a package body:
    CREATE OR REPLACE PACKAGE TABLE_EXAMPLE AS
    TYPE TNAME IS RECORD(PARAMETER EMP%ROWTYPE,VALUE EMP%ROWTYPE);
    TYPE TABLET IS TABLE OF TNAME;
    TYPE EMP_TABLE IS TABLE OF EMP%ROWTYPE;
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET);
    END;
    CREATE TABLE TAB_PAR
      (PARAMETER  VARCHAR2(100 ),
      PA_VALUE   VARCHAR2(100)
    create or replace package body table_example as
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET) as
    l_emp_tbl emp_table:=emp_table() ;
    cursor c is select * from emp;
    err_msg varchar2(1000);
    err_code number;
    begin
    for m in 1..arg.count loop
    insert into tab_par(parameter,pa_value) values (arg(m).parameter,arg(m).value);
    end loop;
    exception
    when others then
    err_msg:=sqlerrm;
    err_code:=sqlcode;
    dbms_output.put_line(sqlerrm);
    end;
    end  table_example;
    Warning: Package Body created with compilation errors.
    LINE/COL ERROR
    20/49    PLS-00382: expression is of wrong type
    20/66    PLS-00382: expression is of wrong typeHow do i resolve this?
    Thanks.

    I recreated according to your suggestions but i am still getting the errors:
    CREATE OR REPLACE PACKAGE TABLE_EXAMPLE2 AS
    TYPE TNAME IS RECORD(P_PARAMETER varchar2(100),P_VALUE varchar2(100));
    TYPE TABLET IS TABLE OF TNAME;
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET);
    END;
    create or replace package body table_example2 as
    PROCEDURE P1(ARG IN TABLE_EXAMPLE.TABLET) as
    begin
    for m in 1..arg.last loop
    insert into tab_par(parameter,pa_value) values (arg(m).p_parameter,arg(m).p_value);
    end loop;
    end;
    end  table_example2;
    LINE/COL ERROR
    9/1      PL/SQL: SQL Statement ignored
    9/49     PLS-00382: expression is of wrong type
    9/49     PL/SQL: ORA-22806: not an object or REF
    9/56     PLS-00302: component 'P_PARAMETER' must be declared
    9/68     PLS-00382: expression is of wrong type
    9/75     PLS-00302: component 'P_VALUE' must be declared

  • Getting compilation error while writing standalone for ddi_get8

    Hi All,
    I have already posted a thread regarding ddi_regs_map_setup solaris system call guidance.
    [Previous Query|https://forums.oracle.com/forums/thread.jspa?threadID=2314211&tstart=0]
    I am writing a standalone to use this system call.
    Below is my partial standalone where i have only the declaration part:
    #include <stdio.h>
    #include <sys/dditypes.h>
    #include <sys/conf.h>
    #include <sys/ddi.h>
    #include <sys/sunddi.h>
    int main()
    dev_info_t *dip;
    uint_t rnumber;
    ushort_t *dev_addr;
    offset_t offset;
    offset_t len;
    ushort_t dev_command;
    ddi_device_acc_attr_t dev_attr;
    ddi_acc_handle_t handle;
    dev_attr.devacc_attr_version = DDI_DEVICE_ATTR_V0;
    dev_attr.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC;
    dev_attr.devacc_attr_dataorder = DDI_STRICTORDER_ACC;
    return 0;
    The standalone give the following compilation errors:
    ddiSystemcall.c: In function `main':
    ddiSystemcall.c:15: error: `ddi_device_acc_attr_t' undeclared (first use in this function)
    ddiSystemcall.c:15: error: (Each undeclared identifier is reported only once
    ddiSystemcall.c:15: error: for each function it appears in.)
    ddiSystemcall.c:15: error: syntax error before "dev_attr"
    ddiSystemcall.c:16: error: `ddi_acc_handle_t' undeclared (first use in this function)
    ddiSystemcall.c:17: error: `dev_attr' undeclared (first use in this function)
    ddiSystemcall.c:17: error: `DDI_DEVICE_ATTR_V0' undeclared (first use in this function)
    ddiSystemcall.c:18: error: `DDI_STRUCTURE_LE_ACC' undeclared (first use in this function)
    ddiSystemcall.c:19: error: `DDI_STRICTORDER_ACC' undeclared (first use in this function)
    Please let me know where am i going wrong.
    Thanks in advance.

    Hi,
    there is a WebCenter forum for WebCenter releated questions: WebCenter Portal
    Frank

  • Converter Web Client: get compiler error when run URL

    When I try to run the Converter's web client with the the URL:
    http://localhost:8000/converter
    I got a compiler error on the lines:
    import Converter;
    import ConverterHome;
    The J2EE server wants to have a "." after the Converter and ConverterHome.
    Any one has any idea?
    The error messages are:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:7: '.' expected
    import Converter;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:8: '.' expected
    import ConverterHome;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:20: cannot resolve symbol
    symbol : class Converter
    location: class org.apache.jsp.index_jsp
    private Converter converter = null;
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    C:\app\j2sdkee1.4\web\repository\Standard-Engine\localhost\converter\index_jsp.java:26: cannot resolve symbol
    symbol : class ConverterHome
    location: class org.apache.jsp.index_jsp
    ConverterHome home = (ConverterHome)PortableRemoteObject.narrow(objRef, ConverterHome.class);
    ^
    6 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:125)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:387)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:410)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         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 org.apache.catalina.util.SecurityUtil$1.run(SecurityUtil.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.util.SecurityUtil.execute(SecurityUtil.java:210)
         at org.apache.catalina.util.SecurityUtil.doAsPrivilege(SecurityUtil.java:147)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:177)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:271)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2505)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
         at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/5.0

    I have exactly the same error.
    Me too, I'm running on Win XP. And I have had lots of trouble to deploy the converter.
    I cannot install J2EE 1.3 as I am supposed to write a report on how Web Services may help my company. By the moment I can only say it takes me much more time than expected to run the J2EE 1.3 tutorial. As SUN didn't deliver a tutorial one can use.
    So by the moment if anyone can HELP me to finish this converter tutorial I will be thankful.
    Bye
    Manuel Acevedo

  • Getting compile error with VS2013 and tuxedo12.1.1

    I'm trying to upgrade our technology tools and trying to compile our application with VisualStudio2013.on a Windows 2012 server.
    utilizing  Tuxedo12c (12.1.1 for 32bit)
    and Oracle 12c.
    I get this error which is perplexing
    CORBA::Object_ptr TP::create_active_object_reference(const char *,const char *,Tobj_Servant)' : cannot convert argument 3 from 'DataExchangeQueueImpl *' to 'Tobj_Servant'
              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    this same code builds on a machine with tuxedo11gR3 abd VS2010.
    Here is code segment
    DataExchangeQueue_ptr DataExchangeServiceImpl::getSendQueue (const char * applicationId)
      CTraceCallStack clsFunctionTracer("DataExchangeServiceImpl::getSendQueue");
        DataExchangeQueue_ptr rc;
        try
            FTRACE(CTrace::TRACE_HIF_DIAG, "ApplicationID=(%s)", applicationId);
                std::string applId(applicationId);
            FTRACE(CTrace::TRACE_HIF_DIAG, "Retrieving Send Queue from the DESServant");
               IQueue* sendQueue = impl_->getSendQueue();
           FTRACE(CTrace::TRACE_HIF_DIAG, "Dynamically Allocating DataExchangeQueueImpl object");
                   char* oid = new char[strlen(applicationId) + 7];
                   sprintf(oid, "%s_SENDQ\0", applicationId);
                   DataExchangeQueueImpl* qImpl= new DataExchangeQueueImpl(sendQueue, oid);
         FTRACE(CTrace::TRACE_HIF_DIAG, "Creating active object reference");
              CORBA::Object_var tempObject = TP::create_active_object_reference(_tc_DataExchangeQueue->id(),
                                                                                  oid,
                                                                                  qImpl);
            rc = DataExchangeQueue::_narrow(tempObject);
            CORBA::release(tempObject);
            delete [] oid;
        catch(...)
            FTRACE(CTrace::TRACE_HIF_DIAG, "*** Caught unknown exception");
            throw TobjS::ApplicationProblem();
        return rc;

    Hi,
    Unfortunately Microsoft is not particularly helpful, forgiving, or backward compatible when it comes to Visual Studio releases.  Oracle has not yet released a version of Tuxedo that is compatible with VS2013.  If VS2013 is something you absolutely need, then I suggest submitting a support request through My Oracle Support asking for a Tuxedo 12.1.1 kit that supports VS2013.  You might also submit a request to Microsoft and ask them to stop breaking compatibility between releases!  :-)
    Regarding the specific error above, it looks as though you should probably try a reinterpret_cast, although it has been a long time since I played with CORBA.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

Maybe you are looking for

  • HT204266 How can I change my iphone itunes ID to match my ipad itunes ID?

    I need to have my iphone itunes ID match my ipad itunes ID.    When I set up my iphone, my email was different than when I set up my ipad.  Therefore, Do I need to use an email as the id or can I use something different so that they will match?

  • Photo Booth-Annotating Photos in Preview

    I like the Photo Booth feature on my new MacBook Pro (Snow Leopard) and like the ability to edit photos in Preview. The other day, getting familiar with these features, I found a popup menu with options to add captions to pictures in cartoon style sp

  • Problem with restoring

    I realized on iTunes my phone has about 2.5gb of data as "other", and I looked it up and it said you shouldn't have over 1gb, if you do you have corrupted data and it said to restore backup, but whenever I try to do this it says I don't have enough m

  • Problem while opening Excel through OLE

    Hi Friends I am facing a problem while opening an excel file through OLE. it is working fine in SAP ECC 5.0, but the problem is in ECC 6.0. I am adjusting the cells for auto fit. I have written the code like below. CALL METHOD OF e_appl 'CELLS' = e_c

  • How to change the UWL refresh rate for all portal users.

    Hi Portal Experts, How to change the UWL refresh rate for all portal users? Users can individually change the refresh rate through "Personalise View" in UWL.But we want this to set it for all users(we have 10k portal users). It was defaultically set