JPub and loadjava throwing error in UTL_DBWS

Hi all,
Solicit your help in the below-mentioned scenario.
I am trying to access some published web services from 9.2.0.1.0 RDBMS using UTL_DBMS API. I have accomplished the same using UTL_HTTP. I have followed the instructions specified in:
'http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm#Web_Service_Callout_Utility_Download_'
to prepare the database, download Callout Utility for pre-10g RDBMS (ZIP, 5.68MB), JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) and set the environment variables.
loadjava ran successfully for:
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/servlet.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/ejb.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/jlib/jssl-1_2.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/soap/webapps\soap\WEB-INF\lib\soap.jar
But it gave error for:
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/mail.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/lib/dms.jar
ORA-29534: referenced object SCOTT.oracle/core/odjl/logMessage could not be resolved.
ORA-29545: badly formed class.
And while trying to run JPub using:
jpub -user=scott/tiger -sysuser sys/change_on_install -httpproxy=www-proxy.us.oracle.com:80 -proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl -endpoint=http://www.webservicex.net/stockquote.asmx -proxyopts=soap,tabfun -dir=Stock -plsqlpackage=soap_callout_wrapper
I get error:
J2T-120, ERROR: Illegal option "-proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl" ignored
J2T-120, ERROR: Illegal option "-endpoint=http://www.webservicex.net/stockquote.asmx" ignored
J2T-120, ERROR: Illegal option "-proxyopts=soap,tabfun" ignored
Any help in resolving these issues will be appreciated. Kindly also advise which api – UTL_HTTP or UTL_DBWS I should go for and why.
Regards,
Leslie

Hi,
Did you ever get utl_dbws to install / work on 9.2 database ?
If so can you explain how?
Thanks
Jim

Similar Messages

  • Deployejb and ejbdescriptor throws error

    I tried to deploy the ejb application to database using oracle
    tool deployejb at DOS prompt,, like this
    deployejb -republish -temp H:/myprojects/temp -user system -
    password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
    My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
    where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
    this throws error like this
    Unable to initialize threads : cannot find class java/lang/Thread
    And tried ejbdescriptor like this
    ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
    this throws error like this
    Class not found : de

    I tried to deploy the ejb application to database using oracle
    tool deployejb at DOS prompt,, like this
    deployejb -republish -temp H:/myprojects/temp -user system -
    password aabbcc -service %ORACLE_SERVICE% -verbose -descriptor
    My8iEJB.ejb -generated My8iEJBClient.jar My8iEJB.jar
    where ORACLE_SERVICE = sess_iiop://ventas.ideas:1521:vtas
    this throws error like this
    Unable to initialize threads : cannot find class java/lang/Thread
    And tried ejbdescriptor like this
    ejbdescriptor -parse My8iEJB.txt My8iEJB.ejb
    this throws error like this
    Class not found : de

  • TypeChar and typeUInt32 throw error in my carbon using app. Help

    I have an application that uses Global hotkeys. I'm trying to retrieve the key codes and modifiers but typeChar and typeUInt32 types throw a compiler error. I already have Carbon.h and CarbonEvents.h included but I get an error. "error: expected ; before charcode. Same for my mod variable. Any help is appreciated greatly.
    typeChar charcode; GetEventParameter(theEvent,kEventParamDirectObject,kEventParamKeyMacCharCodes,N ULL,sizeof(charcode),NULL,&charcode);
    typeUInt32 mod; GetEventParameter(theEvent,kEventParamDirectObject,kEventParamKeyModifiers,NULL ,sizeof(mod),NULL,&mod);
    p.s. I'm using wxwidgets but I use alot of native functions so I do not understand why this simple type definition is so hard.

    ok. I'm an idiot. Please disregard. typeChar and typeUInt32 are enum not variable types. Opps.

  • B2B RosettaNet Rcpt Ack and Excp throws error "Unable to read the preamble"

    Hello All,
    We have configured a 2 way PIP Config and we are able to succesfully transfer the paload to the TP.
    But when receiving the Ackowledgement and Exception, we are getting error "B2B-51705 Unable to read the preamble"
    Can anyone help me on this
    Thanks,
    Sunil

    Hi Anuj,
    Just want to confirm one more thing
    Below given the xsd used for Exception and Acknowledgement
    Can you please confirm the format of the same
    AcknowledgeMent
    ===========
    <?xml version = "1.0" encoding = "UTF-8"?>
    <!-- -->
    <!-- Copyright (c) 2000 BEA -->
    <!-- All rights reserved -->
    <!-- -->
    <!-- THIS IS UNPUBLISHED PROPRIETARY -->
    <!-- SOURCE CODE OF BEA Systems Inc. -->
    <!-- The copyright notice above does not -->
    <!-- evidence any actual or intended -->
    <!-- publication of such source code. -->
    <xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
         <xsd:documentation>
    RosettaNet XML Message Schema
    AcknowledgmentOfReceipt_MS_V02_00.dtd
    This document has been prepared by Edifecs (http://www.edifecs.com/)
    based On the Business Collaboration Framework from requirements
    in conformance with the RosettaNet methodology.
         </xsd:documentation>
    </xsd:annotation>
         <xsd:element name = "ReceiptAcknowledgment">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element ref = "NonRepudiationInformation" minOccurs = "0"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name = "NonRepudiationInformation">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element ref = "OriginalMessageDigest"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <xsd:element name = "OriginalMessageDigest" type = "xsd:string"/>
    </xsd:schema>
    Exception
    =====
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!--W3C Schema generated by XMLSpy v2011 rel. 3 sp1 (http://www.altova.com)-->
    <!--Please add namespace attributes, a targetNamespace attribute and import elements according to your requirements-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
         <xs:element name="Exception">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="ExceptionDescription"/>
                        <xs:element ref="GlobalExceptionTypeCode"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ExceptionDescription">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="errorClassification"/>
                        <xs:element ref="errorDescription"/>
                        <xs:element ref="offendingMessageComponent" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="errorClassification">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="GlobalMessageExceptionCode"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="GlobalMessageExceptionCode">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="errorDescription">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="FreeFormText"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="FreeFormText">
              <xs:complexType mixed="true">
                   <xs:attribute ref="xml:lang"/>
              </xs:complexType>
         </xs:element>
         <xs:element name="offendingMessageComponent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="GlobalMessageComponentCode"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="GlobalMessageComponentCode">
              <xs:complexType mixed="true"/>
         </xs:element>
         <xs:element name="GlobalExceptionTypeCode">
              <xs:complexType mixed="true"/>
         </xs:element>
    </xs:schema>
    Pleace correct me if I am wrong in these xsd's
    Thanks,
    Sunil

  • "b2b/admin/index.jsp" and "XCM" throwing error

    Hi,
    I am trying to set up my local NWDS with sneak preview of SAP WEB AS 7.0 SP9.
    I have deployed
    SAP-SHRAPP - SP12
    SAP-CRMDIC - SP12
    SAP-SHRWEB - SP12
    SAP-SHRJAV - SP12
    SAP-IPCMSA - SP12
    Now I am trying to access "http://<host>:50100/b2b/admin/index.jsp"; and I am not getting any thing on it. i.e. no content at all. Only SAP header and "Main Menu" text on left frame and then nothing on page.
    When I try to access "http://<host>:50100/b2b/admin/xcm/init.do";  or "http://<host>:50100/b2b/b2b/init.do"; I am getting below error.
    Application error occurred during request processing.
      Details:   Error [javax.servlet.ServletException: Initialization of Extended Configuration Management failed.].
    Exception id: [00A0D12CD9A9004F0000032300001358000458B1834E9FB5]
    I do not know why I am getting this error. Am I forgot some component to deploy along with mentioned above.
    Please let me know what I can do to resolve this issue.
    I really appreciate any help or guidance to resolve this issue.
    Thanks.
    Ecommerce Developer

    Hi Devender,
    Thanks for your reply.
    I have installed Sneak Preview NW2004s 7.0 SP9 on my lap top and I have deployed below component on my laptop through SDM.
    SAP-SHRAPP
    SAP-IPCMSA
    SAP-SHRJAV
    SAP-SHRWEB
    SAP-CRMDIC
    SAP-CRMAPP
    SAP-CRMJAV
    STRUTS
    TEALEAF
    All are SP12
    After deploying all above SCA files still I am getting only Header and Main Menu text when I access "http://localhost:50100/b2b/admin/index.jsp"
    When I try to access "http://localhost:50100/b2b/admin/xcm/init.do" I am getting same error which I have mentioned.
    No change at all.
    Can you tell me am I still missing some components?
    Please guide me.
    Again thanks for your help and time.
    Regards.
    Ecommerce Developer

  • JSPM throws error on start

    I have to apply SP11 for my PI7 instance on Windows Oracle.
    I applied the Kernel and ABAP patces using SPAM.
    Now to apply the Java patches, I started JSPM and it throws error :
    SID................: PI7
    Hostname...........: skzw26x
    Install directory..: E:/usr/sap/PI7
    Database...........: Oracle
    Operating System...: $(/J2EE/StandardSystem/CentralInstance/J2EEEngineInstanceHost/OpSysType)
    JDK version........: 1.4.2_15 Sun Microsystems Inc.
    JSPM version.......: 7.00.9.2.1.4.35
    System release.....: 700
    ABAP stack present.: true
    The execution ended in error.
    Cannot initialize application data.
    Could not extract value with key SAPSYSTEM from file E:/usr/sap/PI7/SYS/profile/PI7_DVEBMGS10_skzw26x. A possible reason could be that the path to the directory containing the sappfpar executable is not included in the PATH environment variable.
    Could not start process sappfpar.
    Error while executing process sappfpar.
    java.io.IOException: CreateProcess: sappfpar pf=E:/usr/sap/PI7/SYS/profile/PI7_DVEBMGS10_skzw26x SAPSYSTEM error=2
    More information can be found in the log file E:\usr\sap\PI7\DVEBMGS10\j2ee\JSPM\log\log_2007_10_12_11_58_40\JSPM_MAIN_1_01.LOG.
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.jspm.phases.PhaseTypeJSPM
    com.sap.sdt.jspm.gui.JspmUiException
    Cannot initialize application data.
    JSPM_MAIN
    JSPMPhases
    NetWeaver Upgrade
    SAPJup
    Java Upgrade
    Please advise.
    I followed several threads here but the issue still exist.
    Thanks and regards,
    Bhaskar

    Barry,
    You are the man. I ignroed this error as I was reading thorigh the big log file that came out of it.
    The error is gone.
    Thanks,
    Bhaskar

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • Am trying to upgrade iPad 2 to 6.1.2 and it shows error like "Unable to verify Update" you are no longer connected to the internet. But am connect to my wi-fi. Can somebody throw some light on this.

    Am trying to upgrade iPad 2 to 6.1.2 and it shows error like "Unable to verify Update" you are no longer connected to the internet. But am connect to my wi-fi. Can somebody throw some light on this.
    ============================================================
    Throws error saying
    "Unable to Verify Update"
    iOS 6.1.2 failed verification because you are no longer connected to the internet
    ============================================================
    Can anybody please respond

    Try this and see if it resolves the issue.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Then try again.

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

  • I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, it is throwing error "The product distribution file could not be verified. It may be damaged or not signed".

    I am using Mac OS X 10.7.5 as of now and when I am trying to upgrade to Mavericks, the App Store is throwing error "The product distribution file could not be verified. It may be damaged or not signed".
    Is there anything I should do differently? Is anyone else facing the same issue?
    Kindly help.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; crontab -l 2> /dev/null; } | open -ef 
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Embed test throwing ORA-00604 and ORA- 12705 errors

    Hi,
    I've setup a JEE application and when tried to make a connection the IDE was throwing errors
    ORA-00604: error occurred at recursive SQL level 1
    ORA- 12705: invalid or unknown NLS parameter value specified
    That I fixed adding two entrances in the jdev.conf file
    AddVMOption -Duser.region=us
    AddVMOption -Duser.language=en
    Now, when I try to run an embed test throws again the same errors
    oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: Cannot access NLS data files or invalid environment specified
    how can I fix this in a jdev 10.1.3.4?
    Thanks in advance.

    Hi, thanks for the reply.
    First, a question. How do I file a bug with customer support?
    Then, back to the problem.
    I have installed on a Windows Vista system the database. The windows system is set in Spanish and the database is an express edition 10.2.1015
    The JDeveloper's version where I have setup the project is 10.1.3.4.0
    The original value for the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE/KEY_XE/NLS_LANG entrance was LATIN AMERICAN SPANISH_ECUADOR.WE8MSWIN1252, and now I have changed it to the result from querying from dual AMERICAN_AMERICA.AL32UTF8, with SELECT USERENV('LANGUAGE') FROM DUAL;
    I did this, because so I understood from the [error description|http://ora-12705.ora-code.com/]
    I also looked for a key like ORA_NLSxx in the registry, but not found
    Also checked the ORACLE_HOME and the path does lead me to the oracle installation and there is the nls folder
    But still showing the same error
    Please let me know if more info is needed.
    Thanks in advance.

  • Property Node in VI throws Error 7 in LV 7.1 but runs OK in LV80 and LV86

    Hi everybody
    I build a custom IVI instrument driver and using the LV tool <Generate VI Interface from Instrumnet CVI Driver> I was able to get a LV wrapper for each driver method. From LV86 I saved first in LV80 and from LV80 I saved as LV71. I have all these LV versions on installed on my PC.
    I have no trouble in using these LV wrappers in any of these LV versions as they work OK.
    Now my IVI driver has also Properties that the Import Driver Tool does not convert as a wrapper and for that reason I had to create a Property Node Warpper myself and saved in the same LLB under LV/instr.lib folder.
    Once I have all these method wrappers and the property node wrappers I made a small VI
    1. Initialize IVI With Options on a TCPIP instrument
    2. Set-Get an IVI Timeout property
    3 Close IVI driver on TCPIP instrument.
    Good part is that in LV 86 and in LV 80 the VI is running fine when I use these LV version wrappers from their coresponding instr.lib folder.
    As soon as I am going to use the LV 71 wrappers in LV 71 I could create the same small VI to Set/Get Timeout and the VI look OK nothing is broken but when I run it the Initialization is OK but as soon as is reaching the Timeout Set Property Node gets out an Error Code 7.
    To run this VI the user need to install the jdCMR IVI driver then add the LV71 jdCMR wrappers inside LV71/instr.lib and then he may build any VI using these LV warppers.
    The only problem is that the Property Node get out an Error Code 7 and the same error code get out from Property Node if I am picking the Property Node from VISA Advanced Pallette, connect this node to jdCMR driver, set Timeout property inside the node and after connecting the input and output references  plus the input and output error to Initialize and Close LV wrappers I still get this error at running time.
    The same LV 71 VI if I open in LV80 or in LV 86 runs without any problem?
    Does anybody knows why LV 71 is not working the same way as LV80 and LV86 with respect to Property Node?
    Btw When I save my VI from LV 80 to LV 71 I get this warning...
    IVI Error Message Builder.vi
        Cannot save VI from VI.LIB to previous version.
    Merge Errors.vi
        Cannot save VI from VI.LIB to previous version.
    Thanks
    Sorin

    Hi
    For further testing of the IVI driver Property Node bug with LabVIEW 7.1 IVI drivers I download and installed two different IVI drivers from two very known instrument companies, Rodhe-Schwarz and Agilent Technologies.  
    I have to mention that both these companies releasead their IVI NI LabVIEW 7.1 drivers under NI Instrument Driver Network and ready to be installed and used by any customer of these two instruments.
    The bug is present only in LabVIEW 7.1 version as if I take the same VI that breaks in LabVIEW 7.1 I could run it without any problem in LabVIEW 8.0 or LabVIEW 8.6 versions.
    Anybody could test this bug for these two NI released IVI drivers in simulation in LabVIEW 7.1 by following these links below.
      Agilent ag81150ni IVI Driver for LabVIEW 7.1 install from here. Run in simulation only by setting Simulate=1
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=55798957B1A633BDE0440003BA7CCD...
       Rodhe Schwarz rsngpt IVI Driver for LabVIEW 7.1 install from here. Run in simulation only by setting Simulate=1
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E91D6659CE034080020E748...
      After installation complete close LabVIEW 7.1 if was open, then restart LabVIEW 7.1  and now you may see under the LabVIEW Instrument Driver Palette  two new IVI drivers ready to be used as LabVIEW 7.1 wrappers.
    Open a new blank VI and from Instrument Driver Palette use two well known Vis that are Initialize With Options.vi and Close.vi add them on your blank VI block diagram and connect thm together. Accept all default parameters except Simulate that must be Simulate=1.
    Both Vis run OK in simulation mode without errors. Now pick a Property Node from VISA Advanced Panel and squeeze this between the Initialize With Options VI and Close VI and make the instrument reference in-out and error in-out connections.
     Now run these two simple Vis in simulation
    I run Rodhe Schwarz IVI driver and Property Node passes OK until the end
    I run Agilent IVI driver but Property Node is getting out Error Code 7 that is the same as my own driver error.
    Both these IVI drivers are under NI Instrument Driver Networks and have been built and integrated as native NI IVI instrument drivers.
    Question is why they behave so different with respect to Property Node from the VISA Advanced Panel?
    I attached the screen shots as PNG files that show clearly the difference of VISA Property Node behaviour when used under the same circumstances.
     Thanks  Sorin  
    Attachments:
    ScreenTestShots.zip ‏152 KB

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • Report throwing error

    Hi BI Experts,
    I have an issue in the report output. The query is giving the data but the report is not showing the same.
    when nonexisting values are given, report is throwing ERROR instead of giving blank page. Client is expecting blank page or dummy page with tables or headings etc but not the error message.
    Please suggest a solution for this.
    Let me know if anybody needs any other information regarding this.
    Thanks in advance.

    you need to use no data found logic in order to get blank or any message saying no data found for that selected value.
    check this link
    https://blogs.oracle.com/xmlpublisher/entry/no_data_found
    or
    send me your sample xml having data and no data and template i can try at my side. email: [email protected]
    assign me some points if helpful

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Multi-room Launched

    Multi-room has just been offically launched at £5 per month. Possibly good and bad news... http://www.seenit.co.uk/bt-launches-multi-room-service-for-youview-based-bt-tv/

  • Need to know a specific date under history

    I am looking for a specific date that I was on a website. It is listed under "show all history" for the month of January, so I know I visited the site this month, but I need to confirm the actual date. How do I do that, as you don't list the date, as

  • Rmi rebind's problem,dynamic rebind object!

    hi,everyone I have a problem,i know a class's name and this class have implement remoteobject, what can i rebind this class on the RMI registry . I write code like this: Class temp = Class.forName("Test"); Naming.rebind("test",temp.newInstance()); th

  • Update & Insert into Internal table

    Dear Abapers, Is it possible to update a entry in the internal table if exists, otherwise inserts a new one. I think MODIFY <Internal Table> will not insert new one if the matching entry is not there. MODIFY <database_table> have this facility. Thank

  • Maddening new features in 7

    Are these things - "Music", "Movies", "Audiobooks", etc. - sublibraries or superplaylists? Sometimes they act one way - eg, as sublibraries in the browser window - and sometimes another - as superplaylists in the Sync iPod Playlists window. Confused