Ttcwadmin -create -dsn name returns error TT48008

We had a functioning Oracle Clusterware managed Active Standby Pair configuration, but wanted to add an additional application to the cluster.oracle.ini.
I did: ttcwadmin -stop -dsn <name>
Then: ttcwadmin -drop -dsn <name>
I updated the cluster.oracle.ini on both nodes adding the new application.
Then: ttcwadmin -create -dsn <name>
(ttCWAdmin:) crsctl.c(23373): TT48008: A cluster for the DSN <name> has already been registered.
The description for TT48008 says: Stop and deregister the cluster corresponding to the DSN, before you create a new cluster with the same DSN.
I thought that was what the ttcwadmin -drop did. I have done ttcwadmin -shutdown and the -init, but the error remains.
The command: crsctl status resource -t
gives no indication of what resource I should unregister (delete?, crsctl has no unregister option as far as I can tell)
Edited by: Ed Smith on May 2, 2013 1:42 PM

We have since determined that there is a bug in 11.2.2.3.0 which does not allow more that 1 application to be defined, but here is the info requested after success:
~> ttversion
TimesTen Release 11.2.2.4.5 (64 bit Linux/x86_64) (linux:17001) 2013-03-30T17:04:57Z
Instance admin: timesten
Instance home directory: /opt/TimesTen/linux
Group owner: timesten
Daemon home directory: /opt/TimesTen/linux/info
PL/SQL enabled.
Oracle Clusterware 11.2.0.2 with patches 9974223, 13696242 and 13923804
~> crsctl stat res -t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
ora.ASM_NONDATA.dg
ONLINE ONLINE eqiomsl711
ONLINE ONLINE eqiomsl712
ora.LISTENER.lsnr
ONLINE ONLINE eqiomsl711
ONLINE OFFLINE eqiomsl712
ora.asm
ONLINE ONLINE eqiomsl711
ONLINE ONLINE eqiomsl712
ora.gsd
OFFLINE OFFLINE eqiomsl711
OFFLINE OFFLINE eqiomsl712
ora.net1.network
ONLINE ONLINE eqiomsl711
ONLINE ONLINE eqiomsl712
ora.ons
ONLINE ONLINE eqiomsl711
ONLINE ONLINE eqiomsl712
ora.registry.acfs
ONLINE ONLINE eqiomsl711
ONLINE ONLINE eqiomsl712
Cluster Resources
TT_Activeservice_linux_timesten_TTPFEI1
1 ONLINE ONLINE eqiomsl711
TT_Agent_linux_timesten_EQIOMSL711
1 ONLINE ONLINE eqiomsl711
TT_Agent_linux_timesten_EQIOMSL712
1 ONLINE ONLINE eqiomsl712
TT_App_linux_timesten_TTPFEI1_InsightPFE_0
1 ONLINE ONLINE eqiomsl711
TT_App_linux_timesten_TTPFEI1_InsightPFE_1
1 ONLINE ONLINE eqiomsl712
TT_Daemon_linux_timesten_EQIOMSL711
1 ONLINE ONLINE eqiomsl711
TT_Daemon_linux_timesten_EQIOMSL712
1 ONLINE ONLINE eqiomsl712
TT_Master_linux_timesten_TTPFEI1_0
1 ONLINE ONLINE eqiomsl711
TT_Master_linux_timesten_TTPFEI1_1
1 ONLINE ONLINE eqiomsl712
TT_Subservice_linux_timesten_TTPFEI1
1 ONLINE ONLINE eqiomsl712
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE eqiomsl712
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE eqiomsl711
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE eqiomsl711
ora.cvu
1 ONLINE ONLINE eqiomsl711
ora.eqiomsl711.vip
1 ONLINE ONLINE eqiomsl711
ora.oc4j
1 ONLINE ONLINE eqiomsl711
ora.scan1.vip
1 ONLINE ONLINE eqiomsl712
ora.scan2.vip
1 ONLINE ONLINE eqiomsl711
ora.scan3.vip
1 ONLINE ONLINE eqiomsl711
~> ps -ef |grep ttCRS
timesten 4930 1 0 May03 ? 00:00:00 /opt/TimesTen/linux/bin/ttCRSAgentCmd start
timesten 4966 1 0 May03 ? 00:00:00 /opt/TimesTen/linux/bin/ttCRSdaemonCmd start
timesten 8424 1 0 May03 ? 00:01:25 /opt/TimesTen/linux/bin/ttCRSactiveserviceCmd start
timesten 8614 1 0 May03 ? 00:00:02 /opt/TimesTen/linux/bin/ttCRSmasterCmd start
timesten 11077 1 0 May05 ? 00:00:09 /opt/TimesTen/linux/bin/ttCRSappCmd start
~> ttcwadmin -status
TimesTen Cluster status report as of Mon May 6 09:32:30 2013
====================================================================
TimesTen daemon monitors:
Host:EQIOMSL711 Status: online
Host:EQIOMSL712 Status: online
====================================================================
====================================================================
TimesTen Cluster agents
Host:EQIOMSL711 Status: online
Host:EQIOMSL712 Status: online
====================================================================
Status of Cluster related to DSN TTPFEI1:
====================================================================
1. Status of Cluster monitoring components:
Monitor Process for Active datastore:RUNNING on Host eqiomsl711
Monitor Process for Standby datastore:RUNNING on Host eqiomsl712
Monitor Process for Master Datastore 1 on Host eqiomsl711: RUNNING
Monitor Process for Master Datastore 2 on Host eqiomsl712: RUNNING
Monitor for Application InsightPFE_0: RUNNING on Host eqiomsl711
Monitor for Application InsightPFE_1: RUNNING on Host eqiomsl712
2.Status of Datastores comprising the cluster
Master Datastore 1:
Host:eqiomsl711
Status:AVAILABLE
State:ACTIVE
Grid:NO GRID
Master Datastore 2:
Host:eqiomsl712
Status:AVAILABLE
State:STANDBY
Grid:NO GRID
====================================================================
The cluster containing the replicated DSN is online
Edited by: Ed Smith on May 6, 2013 9:34 AM

Similar Messages

  • Creating a DC return Error

    Hi,
    I've configured NWDI. I added my new SC I've created via SLD into "Software Components for Development" section while creating Track Data on CMS.
    But I left empty of the section "Required Software Components" on Track Data.
    I'm writing above to be sure if this is the cause.
    Then I've opened NWDS and connected to Development Configuration I've created. I've imported Dev. Conf. and tried to add a new DC under Compartment.
    But it returns errors like below which I've noticed at "General User Output" area of NWDS at "Development Configurations Perspective".
    failed to resolve reference "sap.com/com.sap.mw.jco" for DC "temsa.com_PCC_1:temsa.com/testdc":Cannot find compartment of used component: sap.com:com.sap.mw.jco
    failed to resolve reference "sap.com/com.sap.exception" for DC "temsa.com_PCC_1:temsa.com/testdc":Cannot find compartment of used component: sap.com:com.sap.exception
    failed to resolve reference "sap.com/com.sap.aii.util.misc" for DC "temsa.com_PCC_1:temsa.com/testdc":Cannot find compartment of used component: sap.com:com.sap.aii.util.misc
    What can be the problem?

    Hi Huseyin,
    The problem is what you have mentioned. You need to define the dependency that your software components has on the three required SC's. Also you then need to checkin the three base SCA's into your track.
    Please refer to help or search in this forum and you will know all that is required before you start developing the development component.
    Regards
    Sidharth

  • Creating DSN name

    Hai Friends
    A Strange Doubt.
    Can we create the dsn name through Java Program.
    When we are trying to connect to the database using Jdbc-Odbc Drivers we need to specify the dsn name.
    Usually, that dsn name we have to create manually in control panel---odbc32 adminstrator.
    Is it possible to create the dsn name using a java program without going for odbc32 administrator.
    Thankyou VeryMuch
    Yours
    Rajesh

    Yes it is possible. But there's a little problem. To create a DSN you need to access the Windows registry and this is not Java-compatible. But it would be possible through a DLL accesssed with JNI...

  • Creating DSn  connecting database in the same drive)

    Hi I am creating a DSn by Java prograame
    I have a Java file DSN.java where a fynction is written
    createDSN(String driverType, String dsnName, String filePath)
    I have all my .java files in D: Drive
    and when i am giving filePath as
    String fP = "\\folder1\\NameOfMyAccessfile.mdb"
    it is trying to create DSN( name as dsnName ) by mapping it to file in C Drive but normally it should try to create DSN connecting the database in the root directory.(in my case it is D drive)
    My JDk is in C drive
    Please help me how to create DSN when the database is in the root directory?
    Thanks

    salam,
    je voulais te demander si tu peux:
    *comment tu fais pour creer un DSN en java directement.
    *comment tu fais pour avoir la liste de tes DSN sur ta machine,
    *comment tu fais pour te connecter via une DSN.
    --- je te remercie d'avance de ta collaboration;

  • Error when deploying web service do not have a property of the name return

    Using Jdeveloper 11.1.1.6 and Oracle 11g database.
    I created entities classes from tables then created a Java Service Facade and then a web service from the facade.
    When I delpoy (to Integrated WLS) or try to test the web service I get:
    javax.xml.ws.WebServiceException: class src.jaxws.persistXXX do not have a property of the name return. (I put the XXX there because if I remove the class from the web service then another persist* class gives the same error.
    I've checked the definitions and there's not a name 'return' anywhere other than return statements in the methods.
    TIA,
    Dave
    Here's a stacktrace after the above error:
    at com.sun.xml.ws.server.sei.EndpointResponseMessageBuilder$DocLit.(EndpointResponseMessageBuilder.java:206) at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.createResponseMessageBuilder(EndpointMethodHandlerImpl.java:213) at com.sun.xml.ws.server.sei.EndpointMethodHandlerImpl.(EndpointMethodHandlerImpl.java:119) at com.sun.xml.ws.server.sei.EndpointMethodHandlerFactory.create(EndpointMethodHandlerFactory.java:15) at com.sun.xml.ws.server.sei.PayloadQNameBasedDispatcher.(PayloadQNameBasedDispatcher.java:118) at com.sun.xml.ws.server.sei.EndpointMethodDispatcherGetter.(EndpointMethodDispatcherGetter.java:83) at com.sun.xml.ws.server.sei.SEIInvokerTube.(SEIInvokerTube.java:82) at weblogic.wsee.jaxws.WLSContainer$WLSEndpointFactory$1.createServer(WLSContainer.java:800) at weblogic.wsee.jaxws.ServerLateInitTube.postCreateEndpoint(ServerLateInitTube.java:57) at weblogic.wsee.jaxws.EndpointAwareLateInitTube.postCreateEndpoint(EndpointAwareLateInitTube.java:46) at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:150) at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:54) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: javax.xml.bind.JAXBException: return is not a valid property on class src.jaxws.PersistSubQuestionResponse at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:973) at com.sun.xml.ws.server.sei.EndpointResponseMessageBuilder$DocLit.(EndpointResponseMessageBuilder.java:203) ... 55 more

    I found this in a google search:
    OK, I've solved this myself. I was using -p with wsimport to name the package of the generated class. When I removed this from the generated class, everything works fine! I'm not really sure why but I think it's because the wsdl is using target namespace.
    Does JDeveloper use this switch during deployment? If so, how do I remove it? Thanks, Dave

  • "unable to create *file name*" error

    I imported videos from ipod touch to iphoto. Then i try to export the videos on either desktop or external hard-drive and it gives me the "unable to create *file name*" error in both cases. To export videos i go FIle-Export, choose kind "original". Tried to do it with several different albums, and it doesn't work on any of them. Didn't have an issue for exporting pictures though.
    Please help!
    Nina

    What exactly was selected when you did the test?
    Regards
    TD

  • Error encountered while executing the transform project name.map name. Error:Unable to create the transform. Microsoft.XLANGs.Engine

    Hi All,
    I developed a Biztalk Application aims to upload a flat file data to our system MS SQL Server database. It works fine until one day, an exception is generated as below.
    "Error encountered while executing the transform project name.map name. Error:Unable to create the transform. Microsoft.XLANGs.Engine"
    It continues to generate an exception until I restart the Biztalk instance. And it happens occasionally, no pattern, cannot be traced and debugged.
    Anybody has an idea about this error? Please help, thank you very much.
    The Biztalk Server is running on Hyper-V Virtual machine, Biztalk Server 2009 on Windows Server 2008.
    The Biztalk Application consists of Mapping Functoid, Orchestration, Flatfile Schema, Flatfile Disassembler Pipeline, SQL Send Port, File Receive Port and Send Port
    Eric

    HI Eric,
    I think it might happen because of large message (Out of Memory exception). As you said you have flat file as inbound, you are doing mapping and then sending it to MSSQL
    SO you can check below mentioned things
    1) Any custom pipeline component is used in receive pipeline. (if so optimize the code)
    2) This issue haapen only with large message (BizTalk convert flat file to XMl to if you have 1MB file corresponding XML will be of higher size)
    again all thing mentioned above is assumption.
    YOu can use debugdiag tool to see if memory leak is happening
    http://www.microsoft.com/en-in/download/details.aspx?id=26798

  • HT1998 Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    Why can't I uninstall AirPort 4.2 from my Windows 7 PC..  I tried downloading and reinstalling the 4.2 but during the installation process I get an error.  It reads...    "1608: Unable to Create InstallDriver instance Return Code -2147024894

    You should not install it again..
    Boot the computer into safe mode and try the uninstall again.
    No luck you will have to manually uninstall which is a pain. Delete the files and open regedit and delete the registry entries.. better still use the system restore to go back to a previous system where you had no 4.2 installed..
    Or just ignore it and install the latest 5.6.1 and if it gives trouble well do a clean install of windows.

  • Create array of available DSN names inside a vi

    Is it possible to read the list of available DSN names and create an array that could be wired to the open connection vi?? I have an application where I will have 60-100 tables of information with six columns in each table. when the tables start to reach 5k-10k records, will the file become too large?? I will add 600 records to each table every day of the week.

    HI, try using this VI. See U.
    Jorge.
    Attachments:
    DSNList.vi ‏43 KB

  • Error when creating ZIP file (return value 2 when IGS was called)

    Hello All
    I attempted to Schedule a Query to the Portal folders and executes fine.  However when it's scheduled to and email, I am getting this message
    'Error when creating ZIP file (return value 2 when IGS was called)'
    Any ideas?
    Thanks ...BK

    Hello Kai
    Thanks very much for the info.  how would I know what patch the IGS is?
    Thank you.
    Regards..BK

  • Package Returning Error ORA-06502: PL/SQL: numeric or value error

    Hi,
    I create a package to export to spread sheet .xls, The package work for simple query if i pass the query to package.
    There is no error in package please create the package and do the following as mentioned below
    create or replace
    PACKAGE export_pkg_spread_sheet
    AS
    procedure download_excel(vsql in clob );
    PROCEDURE excel_header(p_header in out nocopy clob);
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob );
    procedure excel_footer(p_footer in out nocopy clob);
    procedure get_usable_sql (p_sql_in IN clob,
    p_sql_out OUT clob);
    END export_pkg_spread_sheet;
    create or replace
    PACKAGE body export_pkg_spread_sheet
    AS
    PROCEDURE excel_header (p_header IN OUT nocopy CLOB)
    AS
    BEGIN
    p_header := '<html><body>';
    END;
    procedure download_excel( vsql in clob )
    as
    p_header clob;
    p_footer clob;
    p_content clob;
    begin
    owa_util.mime_header( 'application/octet', FALSE );
    htp.p('Content-Disposition: attachment; filename="report.xls"');
    owa_util.http_header_close;
    excel_header( p_header);
    excel_content(p_content,vsql);
    excel_footer(p_footer);
    dbms_output.put_line(p_header ||p_content|| p_footer);
    HTP.PRN( p_header ||p_content|| p_footer);
    htmldb_application.g_unrecoverable_error := true;
    end;
    procedure excel_content(p_content in out nocopy clob,
    vsql in clob)
    as
    p_sql_stmt clob;
    cur PLS_INTEGER := DBMS_SQL.OPEN_CURSOR;
    cols DBMS_SQL.DESC_TAB;
    ncols PLS_INTEGER;
    TYPE varColumn     IS TABLE OF varchar2(32000);
    vtab varColumn;
    v_column_count     NUMBER     DEFAULT 0;
    v_status      INTEGER;
    BEGIN
    htp.prn('am here');
    /* SELECT region_source into p_sql_stmt
    FROM apex_application_page_regions
    WHERE region_id = p_region_id AND
    page_id = p_page_id AND
    application_id = p_app_id; */
    get_usable_sql (vsql,p_sql_stmt);
    p_content := p_sql_stmt;
    -- Parse the query.
    DBMS_SQL.PARSE(cur, p_sql_stmt , DBMS_SQL.NATIVE);
    -- Retrieve column information
    DBMS_SQL.DESCRIBE_COLUMNS (cur, ncols, cols);
    -- Display each of the column names
    p_content := '<table> <tr>';
    FOR colind IN 1 .. ncols
    LOOP
    p_content := p_content || '<td>' || cols(colind).col_name || '</td>';
    END LOOP;
    p_content := p_content || '</tr>';
    vtab := varColumn(null);
    for i in 1..ncols
    loop
    vtab.extend;
    DBMS_SQL.DEFINE_COLUMN (cur, i, vtab(i), 2000);
    --dbms_output.put_line(vtab(i));
    end loop;
    v_status := DBMS_SQL.EXECUTE (cur);
    LOOP
    p_content := p_content || '<tr>';
    EXIT WHEN (DBMS_SQL.FETCH_ROWS (cur) <= 0);
    FOR i IN 1 ..ncols
    loop
    DBMS_SQL.COLUMN_VALUE (cur, i, vtab(i));
    -- p_content := p_content || '<td>' || 'xyz' || '</td>';
    p_content := p_content || '<td>' || vtab(i) || '</td>';
    END LOOP;
    p_content := p_content || '</tr>' ;
    END LOOP;
    p_content := p_content || '<table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    exception
    when others then
         p_content := '<td>Exception Error in printing data</td><table>' ;
    DBMS_SQL.CLOSE_CURSOR (cur);
    end;
    procedure excel_footer( p_footer in out nocopy clob)
    as
    begin
    p_footer := '</body></html>';
    end;
    PROCEDURE get_usable_sql (p_sql_in IN clob, p_sql_out OUT clob)
    IS
    v_sql clob;
    v_names DBMS_SQL.varchar2_table;
    v_pos NUMBER;
    v_length NUMBER;
    v_exit NUMBER;
    BEGIN
    v_sql := p_sql_in;
    v_names := wwv_flow_utilities.get_binds (v_sql);
    FOR i IN 1 .. v_names.COUNT
    LOOP
    <<do_it_again>>
    v_pos := INSTR (LOWER (v_sql), LOWER (v_names (i)));
    v_length := LENGTH (LOWER (v_names (i)));
    v_sql :=
    SUBSTR (v_sql, 1, v_pos - 1)
    || v_names (i)
    || SUBSTR (v_sql, v_pos + v_length);
    v_sql :=
    REPLACE (v_sql,
    UPPER (v_names (i)),
    '(SELECT v('''
    || LTRIM (v_names (i), ':')
    || ''') FROM DUAL)'
    IF INSTR (LOWER (v_sql), LOWER (v_names (i))) > 0
    THEN
    GOTO do_it_again;
    END IF;
    END LOOP;
    p_sql_out := v_sql;
    END;
    END export_pkg_spread_sheet;
    After creating the package pass the parameter to package like this
    begin
    export_pkg_spread_sheet.download_excel('select * from emp');
    end;
    Package will allow to download the spread shreet. If i try to pass the a complex query to package it is returning error as mentioned below
    ORA-06502: PL/SQL: numeric or value error
    In the above package there is a procedure called procedure excel_content which actuall prints the data in the spread sheet this is where the error is coming from there is a variable called vsql have declared it as clob to hold large string but still i am getting the same error when trying to pass a big string.
    Please check the error and let me know.
    Thanks
    Sudhir

    Hi Praveen,
    This is the query i am using to pass
    Declare
    qry clob;
    Begin
    qry := ' 'SELECT
    AR.REGION_CODE,
    AR.DISTRICT_CODE,
    AR.TERRITORY_CODE,
    CASE
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.REGION_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NULL THEN
    AR.DISTRICT_NAME
    WHEN AR.REGION_NAME IS NOT NULL AND AR.DISTRICT_NAME IS NOT NULL AND AR.TERRITORY_NAME IS NOT NULL THEN
    AR.TERRITORY_NAME
    END TERR_NAME,
    AR.EMPLOYEE_ID,
    AR.LAST_NAME,
    AR.FIRST_NAME,
    AR.GENDER,
    AR.DATE_OF_HIRE,
    AR.PROJECT_EMPLOYEE_TITLE_ID,
    AR.COMPANY_ID,
    AR.CUSTOMER_EMAIL,
    AR.BUSINESS_EMAIL,
    AR.CUSTOMER_VOICEMAIL,
    AR.CUSTOMER_VOICEMAIL_EXT,
    AR.QUINTILES_VOICEMAIL,
    AR.QUINTILES_VOICEMAIL_EXT , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,1 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Shipping_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,3 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Storage_ZipCode" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_1(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_1" , complete_roster_pkg_report.AR_F_ADDRESS_GET_LINE_2(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ADDRESS_TYPE_2" , complete_roster_pkg_report.AR_F_ADDRESS_GET_PHONE(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Phone" , complete_roster_pkg_report.AR_F_ADDRESS_GET_CITY_TOWN(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_City_Town" , complete_roster_pkg_report.AR_F_ADDRESS_GET_COUNTRY_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_Country_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_STATE_NAME(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_State_Name" , complete_roster_pkg_report.AR_F_ADDRESS_GET_ZIP_POSTAL(AR.PROJECT_ID,AR.EMPLOYEE_ID,4 ,TO_DATE(AAH.EFFECTIVE_DATE)) "Home_ZipCode" FROM AR_V_ROSTER AR
    LEFT JOIN AR_V_ADDRESS_HISTORY AAH
    ON
    (AR.PROJECT_ID = AAH.PROJECT_ID AND
    AR.EMPLOYEE_ID = AAH.EMPLOYEE_ID)
    WHERE
    UPPER(AR.USER_EMPLOYEE_ID) = ''Q766730'' AND
    AR.PROJECT_ID = 81 ';
    export_pkg_spread_sheet.download_excel(qry);
    End;
    Praveen you can pass your DB table query to check the error. I am trying to pass as mentioned above.
    Please let me know if my question is not clear.
    Thanks
    Sudhir

  • Creating maintenance plan "MaintenancePlan" (Error)

    Hello, I get the error
    Creating maintenance plan "MaintenancePlan" (Error)
    when I try to create a maintenance plan. I checked and the Microsoft Web site and
    other forums said it may be that integration services is not installed so I tried installing it
    and it said that it is already installed.
    The accompanying messages with the report are:
    ADDITIONAL INFORMATION:
    The connection type "ADO.NETQL" specified for connection manager "{C72T6E0B-6CE7-4138-A8D9-BFE8897900700}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name.
    (MaintenancePlan)
    The connection type "ADO.NETQL" specified for connection manager "{C72CT60B-6CE7-4138-A8D9-BFE8897900700}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name.
    (MaintenancePlan)
    - Adding tasks to the maintenance plan (Stopped)
    - Adding scheduling options (Stopped)
    - Adding reporting options (Stopped)
    - Saving maintenance plan "MaintenancePlan" (Stopped)

    Sharp,
    Do you still need help with this?
    Thank you!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • SCCM 2012 Deploy --- Error = The software change returned error code 0x87D00324(-2016410844).

    Deployment to the client is successful but the error reported within Clients "SCCM Software Center"  
    The software change returned error code 0x87D00324(-2016410844).
    Also States on "Status" Past Due - Will be Retired"
    Can't figure this one out and I did some googling with no success in finding a solution?
    I am running an Adobe Flash install (.EXE)
    Any help or direction would be greatly appreciated
    RF

    Hi,
    Thank you for your response
    ""Wow6432Node is not valid on x86 systems."""
    Yes, that I am aware of that.....Windows on Windows, for running x86 apps on x64 Windows<o:p></o:p>
    When I first created the detection method I had only created the "WoW" Check
    for Flash value in the reg, which was running against both x86 & x64 Win 7
    systems, and forgot to include the x64 check/, either case, the error appeared
    on the WOW check. Presently I have 2 "Detection Clauses" one for x86
    and the second clause is x64 ( non WOW Path), and still receive the same erorrs
    on both x86 & x64 systems. ( and x64 system have both reg entries since Win 7 has both x86 & x64 versions of IE)
    Looking at the registry of an x64 Win 7 system I find the Adobe Flash registry entry is
    located in both Wow6432Node and also in the x64 sections of the reg.....<o:p></o:p>
    """"Also, why use the default value? I doubt there's anything in there (the default value is the
    value display in a key in regedit with the name of
    "@").""""<o:p></o:p>
    When Default Value is selected the boxes/options below that allow for more detailed
    information to be entered when performing the "reg check"? This is
    where I had been able to enter specific Build/Version to look for, Flash
    11.4.402.265, so that if it does not discover the build # it will proceed with
    the install.....<o:p></o:p>
    I figured having the option to check for Build/Version # would omit SCCM reinstalling on
    systems that have build 11.4.402.265 already?<o:p></o:p>
    From what I understand is that Adobe Flash x64 installs both versions x86 & x64 since Win 7 has both IE
    x86 & IE x64 bit versions by default, and this would explain the Wow6432Node reg
    entries and the true x64 reg entries in both locations when installing.
    Overall, I am thinking I may be heading in the wrong direction in resolving this, as x86 & x64 versions install on the systems, so this tells me it is detecting when / what needs to be installed, the issue seems to be how it reports back after installing......
    Looking further, I view the Content Status Page, and there reporting info in Asset Detail under [Success]  all others { / In Progresss / Error /Unknown } has no info......
    If this helps provide further details.....
    Thanks
    Regards,
    Ron
    RF

  • Help with excel, DSN name

    Hello!
    I have been searching this forum+google to fin how to acces an excel file.
    In some of the examples it says:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    c = DriverManager.getConnection("jdbc:odbc:Thename","",""); // TheName is the DSN name
    and I wonder what is "DSN name" how do I create that?
    Thanks in advance...
    /D_S

    Hello
    I have managed to create a DSN using controlpanel->Administration tools
    I have added a "System-DSN" named "Mymembers" which is going to work with my *.xls file "c:/mymembers/mymembers.xls"
    I get an error that says (my traslation)
    "Cant find the object 'mymembers'. Controll that the object exists and that the right searchpath are given"
    My syntax looks like:
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    c = DriverManager.getConnection("jdbc:odbc:Mymembers","",""); // Mymembers is the DSN name
    stmnt = c.createStatement();
    ResultSet rs = stmnt.executeQuery("select * from mymembers"); // mymembers is my sheet in mymembers.xls
    while(rs.next())
    System.out.println(rs.getString(1)+" "+rs.getString(2));
    }catch(Exception e)
    System.out.println(""+e.toString());
    finally
    try
    stmnt.close();
    c.close();
    catch( Exception e )
    System.err.println( e );
    ------------------------------------------------------------------------------------------------------------------

  • Wmiprov.log - WDM call returned error: 4200

    I have swtiched to an ASUS motherboard, but I have a feeling that it may be a problem for other nForce motherboards as well and I know that you guys are always on top of things in here...and I was hoping that you could confirm or deny my theory. There was another person in the ASUS Forum that has this same thing happening, so at least I know that it is nForce + 3.13 driver related somehow.
    Windows XP Pro - I've noticed that my A7N8X-E is logging WMI errors in the file c:\windows\system32\wbem\logs\wmiprov.log. The error message is logged every ten seconds and states this exactly:
    (Thu Feb 19 22:52:00 2004.105546) : WDM call returned error: 4200
    (Thu Feb 19 22:52:00 2004.105546) : WDM specific return code: 4200(Thu Feb 19 22:52:00 2004.105546)
    To troubleshoot where it may be coming from, I tried a few things:
    1). Started in Safe Mode. It was NOT logging the error.
    2). Started in regular mode with all startup applications disable, it WAS logging the error.
    3). Disabled all extra devices in Device Manager, still logging the error.
    4). Uninstalled the 3.13 drivers, the error logging stopped.
    5). Reinstalled the 3.13 drivers, the errors started logging again. In fact, I checked the file right at the point in the driver installation where it pauses to tell you about the dangers of the IDE drivers and it was already logging the errors.
    Does anyone else have this occuring on their motherboard? I would really appreciate it if you could check. If not, does anyone know what might be causing this error to logged.

    Hi Axel,
    In my case I can completely stop the "WDM call returned error: 4200" by disabling my network interface card.  To try this, right-click on Network Neighborhood and choose 'Properties'.  Then right click on your Local Area Network and choose "Disable".   Then check the log file again in a few minutes to see if it quit loggin errors.  In my case it did stop logging errors.  To test further I uninstalled the nForce onboard LAN and installed a 3Com network card instead.  It also creates the WDM call returned errors as soon as you enable the TCP/IP protocol for the device.
    Microsoft says that error #4200 means "ERROR_WMI_GUID_NOT_FOUND, "The GUID passed was not recognized as valid by a WMI data provider".  
    I don't think this is a serious error and I doubt it causes any problems, but over at nforcershq.com...I have heard from other people that receive the error too.   All of my Intel based machines NEVER receive this error.  There is very little information on the internet regarding WMI errors, but they are designed for driver programmers to debug problems with their drivers...they really aren't meant to be useful for the end user.  I only came across the error because I was running a hard drive activity monitoring program to diagnose a different problem and I kept seeing that I was writing to the log file every ten seconds...so I decided to open the log file to check it out.
    In the mean time I have turned off error logging because it will save on hard drive activity.  My system was logging the error every 10 seconds.  You can turn off the logging by running this from the 'Start -> Run' button "wmimgmt.msc"  Once the window opens, right-click on 'WMI-Control Panel' and choose 'Properties'.  Click on the 'Logging' tab and choose disabe.
    One easy way to check which version of nVidia drivers you downloaded is to go to C:\nvidia\nForceWin2KXP and look at the next folder name to see if it says 3.13.
    Quote
    Originally posted by axeluktoo
    (Mon Feb 09 23:51:26 2004.293593) : WDM call returned error: 4200
    (Mon Feb 09 23:51:26 2004.293593) : ***************
    (Mon Feb 09 23:51:26 2004.293593) : BinaryMofsHaveChanged returned FALSE:
    I haven't got a clue what they mean though - anyone else know?
    This may sound like a stupid question but how do I find out which set of nForce drivers I have installed (I just download them and install them and I can't remember which ones I have on this partition - I rewrite "Drive Image(s)" quiet a lot also so it's not easy to keep track.
    In the "nForce Control Panel" I have the Audio Driver version 6.14.0366.0 (3.66)
    and Control panel version 1.00.00.036 (3.66). Am I right in assuming the drivers I have are 3.66?
    Axel  

Maybe you are looking for

  • Extract fields from the SOAP body during mapping

    Hi all, I have an Abap Proxy to SOAP scenario with a main payload and an attachment. During mapping I need the reference of the attachment to store the reference in the main payload. I don't need the attachment itself. SOAP-Body:   <?xml version="1.0

  • Capable Video Play Module Error (Mac knowledge needed)?

    I really need someone who knows Mac OS dual video driver issues and what could cause this error.  My Macbook is brand new out of the box and has the newly changed graphic cards (AMD, not Nvidia) for 2011.  Everything in CS5 master collection works ex

  • Labview driver for 2636A (sweep mode)

    Hello, We have recently bought 2636A for our lab (ASU Arizona). We are trying to make a standard MOSFET sweep i.e. using two channels: one channel for constant Vsd and measure Isd; and the second channel for sweeping gate voltage Vg. So finally we wa

  • Why won't my external hard drive appear in Finder?

    I have an Iomega 320GB SPHDU external hard drive which I was using as my backup disk for Time Machine and also to store other files (documents, photos, etc.). I have been using for some time now and never had any problems, however this morning, I plu

  • Why won't Apple fix this problem of iTunes Cutting off songs?

    I've owned seven different ipods and three iPhones. On EVERY ONE OF THEM iTunes cuts off many songs after two or three seconds of playing. We're talking here about songs either uploaded from commercially purchased DVDs or the iTunes store. I have no