SDK samples not compilable

Hi,
I am trying to compile the sample projects of the InDesign SDK. Tried it on OS X 10.8.5 with Xcode 5 but I always got the following compiler error "Unsupported compiler 'com.apple.compilers.llvmgcc42' selected for architecture 'i386'".
If I am using the default compiler Apple LLVM 5, there are many unknown types like "FORCE_INLINE", "CursHandle" or "const_reference".
Does anyone knows how to build the sample projects?
Kind regards

Please verify that you are using correct dev environment, like the correct version of XCode, gcc compiler, MAC and Adobe Sdk. From your question i am guessing that you are building the plugins for CC2014, for that you need to use XCode 5.0.2 and compile with MAC 10.8 sdk. I also got this error of FORCE_INLINE sometime back and it was resolved by rechecking/fixing the dev environment and checking the project setting especially w.r.t. the above points.
Thanks,
Manan

Similar Messages

  • Illustrator CC 2014.1 sdk sample not loadable

    Hi all,
    I have build one of the SDK sample plug-ins and moved into the plug-ins folder. Illustrator tells me the plug-in is not loadable.
    I used the MSVC 2012 IDE; the only change I made was the include inside the resource file: instead of including afxres.h I include windows.h.
    DependencyWalker says that 3 DLL's are missing (API_MS_WIN_CORE-KERNEL32...), but this is tha same like for the CS5 plug-in, and CS5 loads it.
    Has anyone build a sample plug-in and load it in CC 2014.1?
    Thanks, kb_alfa

    Default setting for samples was Win32; changing to x86 solved the problem.

  • AcrobatActiveXVB SDK Sample - Links in PDF Not working

    Hi,
    I am trying to create an application in VS.net (similar to AcrobatActiveXVB SDK Sample) to display PDF files in my application.  PDF file opens fine.  But external links in PDF file are not working.  I trying to display a main index pdf file, which contains external links to 10 other PDF files.  All 10 PDF files are located in my local hard drive (main index pdf file is also located in the same folder).  If I open the main index file in Acrobat Reader then it the links are working fine.  It is not working only when it is opened inside the AcrobatActiveXVB SDK Sample.  Please help.
    Please Note: Links are not grayed.  I get the hand mouse pointer, when I mouse over to the links.
    Windows OS - XP SP3
    Acrobat Reader - Tried it with 9.1.3 & 9.3.3.  Un-installed and re-installed multiple times
    Thanks in advance.
    Rajaram

    hello, the pdf viewer is still somewhat experimental and under very active development - you could try if the same error is occurring in the current development version, which you can download as an addon from http://mozilla.github.io/pdf.js/extensions/firefox/pdf.js.xpi
    in case it has the the same rendering problems, you could then file a bug report at https://github.com/mozilla/pdf.js/issues (a github account is necessary for it though) - please also provide a sample document where the error is apparent!

  • Data Source - Alias Not Found in SDK Sample Application VIDS

    Hi,
    I am trying to run SDK sample application VIDS.
    In the function, BindDataToForm, I am getting error at line:
    oColumn = oColumns.Item("CardCode")
    oColumn.DataBind.SetBound(True, "@VIDS", "U_CARDCODE")
    The error is: Data Source - Alias Not Found
    I have checked that the user tables and the fields in the user tables are correct.
    What can be the issue?
    Thanks.

    Hi Rajesh,
    Works just fine for me.
    Double check that you've created the userfields. You must press the button create user fields before attempting to use the sample.
    Best regards,
    Pedro Magueija

  • Not able to use Visual studio 2010 editor intelligence while running SDK sample code ?

    whenevr i start sdk sample project in visual studio i can build it ,debug it ,run it but the problem is that VS 2010 editor showing lots of red lines under many lines of code which on Mouse hover show some kind of error(mostly _____ is undefined) moreover i am not able to use intelligence feature of VS editor and i have to check reference of SDK everey time .what is the solution to this problem .

    1. Create environment variable INDESIGN_SDK_DIR with path to root folder of your SDK
    e.x  INDESIGN_SDK_DIR = "C:\SDK\InDesignCS6SDK"
    2. In your project add this to project settings:
    "VSProject"->"Proporties"->"Configuration Proporties"->"VC++ Directories"->"Executable Directories" add:
    $(INDESIGN_SDK_DIR)\devtools\bin
    "VSProject"->"Proporties"->"Configuration Proporties"->"C++"->"General"->"Additional Include Directories" add:
    $(INDESIGN_SDK_DIR)\source\precomp\msvc;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\xmedia;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\preflight;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\ui;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\tables;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\text;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\graphics;
    $(INDESIGN_SDK_DIR)\source\public\libs\widgetbin\includes;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\workgroup;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\interactive;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\interactive\ui;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\colormgmt;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\utils;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\incopy;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\layout;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\architecture;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\cjk;
    $(INDESIGN_SDK_DIR)\source\precomp\common;
    $(INDESIGN_SDK_DIR)\source\public\includes;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\plugins;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\files;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\objectmodel;
    $(INDESIGN_SDK_DIR)\external\asl\boost_libraries;
    $(INDESIGN_SDK_DIR)\source\sdksamples\common;
    $(INDESIGN_SDK_DIR)\external\afl\includes
    "VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"General"->"Additional Library Directories" add:
    $(INDESIGN_SDK_DIR)\build\win\objr;
    $(INDESIGN_SDK_DIR)\external\afl\libs\win\release;
    $(INDESIGN_SDK_DIR)\external\icu\libs\win\release
    "VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"Input"->"Additional Dependencies" add:
    PMRuntime.lib;
    Public.lib;
    WidgetBin.lib;
    AFL.lib;

  • Adobe Acrobat XI SDK Samples problem

    I am having problems building and running SDK samples.
    When built “out of the box”, the WebLinkDemo fails while getting HFT for AcroColor.
    After some googling, I found Adobe Acrobat XI SDK Release Notes:
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/release- notes-acrobatxisdk.PDF
    Following their directions:
    deleted
    /D PI_ACROCOLOR_VERSION=0x00060000
    inserted
    /D READER_PLUGIN
    WebLinkDemo builds OK, but required SnippetRunner fails to compile with multiple errors like:
    >c:\code\adobe\acrobat xi sdk\samples\snippetrunner\sources\snippets\shared\acetranspdetextcolorsnip.cpp(60): error C2065: 'PDEContentGetNumElemsSELPROTO' : undeclared identifier
    SELPROTO seems to be the commot suffix.
    Any suggestions?
    Thank you!

    Perhaps a little more context. You should understand that the Acrobat SDK is a tool for encouraging people to buy Acrobat - especially the consumers of plug-ins.
    Reader plug-ins can be made, subject to technical limitations, but Adobe do not especially like the lost sales of Acrobat this may represent.
    In addition to purchasing Acrobat, you will need to buy a Reader integration key, after negotatiation. Approval is not automatic!  There are also two scales of fees, one for regular Reader plug-ins and one for security related plug-ins, for which Adobe has a much higher fee and demands much more oversight.
    "How much does a Reader Integration key cost?
    Reader Integration keys are only available to strategic partners based on a negotiated price. If you are developing a digital rights management (DRM) Adobe Reader plug-in, the standard (non-DRM) RIKLA contract does not apply. Adobe does offer a DRM agreement specifically for developers building such Adobe Reader plug-ins. The current fee structure for the DRM RIKLA includes a $50,000 annual fee and a 5.5% revenue royalty."
    http://www.adobe.com/devnet/reader/ikla.html
    So, yes, to experiment with plug-ins, whether for Acrobat or eventually for Reader, please listen to what we are telling you and if you want to do this, buy Acrobat.

  • [svn:fx-trunk] 10445: We're stricter with styles now, so this was not compiling.

    Revision: 10445
    Author:   [email protected]
    Date:     2009-09-20 18:59:55 -0700 (Sun, 20 Sep 2009)
    Log Message:
    We're stricter with styles now, so this was not compiling.
    Modified Paths:
        flex/sdk/trunk/samples/ja_JP/explorer/core/SimpleApplicationExample.mxml

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • Scaling of SDK Speedometer not working

    Hi Expert,
    I need to build a dahsboard using some gauges. Therefor I'm trying to use the speedometer delivered with the SDK sample pack. Getting selected data from from the DS is working fine. But I'm not able to set a different scaling via ticks and min / max in the properties. It is always scaled on 100.
    first image shows the output with the defined values from the query. As you can see even if the "End Value" is set to 30 (image 2), the speedometer is still scaled from 0 - 100. If I manually set the needle value to i. e. "50" the needle is set in the middle of the gauge to "15". So obviously the change of the properties does not have any effect on the scaling. Any hints are welcome... Thank you in advance...
    code used to get data from ds

    I don't know if i get the problem, but i try to answer.
    FYI I'm the developer of this component.
    I did not think to the scaling factor of the needle function.
    Anyway i use this system to scale the position of the needle:
    I scale the factor in the script by multiplying the value for 100 divided for the new total.
    Hope this helps.
    Cheers!

  • [svn] 2716: SDK-15848 - Conditional compilation constants defined in flex-config. xml are never used if a single constant is specified on the command line

    Revision: 2716
    Author: [email protected]
    Date: 2008-08-04 01:18:12 -0700 (Mon, 04 Aug 2008)
    Log Message:
    SDK-15848 - Conditional compilation constants defined in flex-config.xml are never used if a single constant is specified on the command line
    * There's a possibility this will break a conditional complication test which disallows overwriting an existing definition -- I don't know if that will break the build, but the test should be removed either way.
    * Using append syntax ("-define+=" on the command line or ant tasks, or append="true" in flex-config) and redefining a value works now if you use an already-defined namespace and name.
    * So your flex-config may have -define=CONFIG::debug,false, and you may want -define+=CONFIG::debug,true from the commandline build, or FB build.
    * Made the ASC ConfigVar fields final as a sanity check since overwriting is now allowed. It would be harder to track changes and subtle bugs if they were mutable. This means that you must build a new ConfigVar object if you need to make changes.
    Bugs: SDK-15848
    QA: Yes. Please read the updated javadocs in CompilerConfiguration. Tests need to be added to validate that overwriting is allowed, and happens correctly in different situations: I believe the order should be that flex-config is overwritten by a custom config (can we have more than one user config? is the order deterministic? I forget...), is overwritten by commandline or OEM. Did I miss any? (I didn't write code which changes this, it works however the existing configuration system allows overwriting and appending; if we have tests for that, maybe we don't need them duplicated for this feature.)
    Doc: Yes. Please read the updated javadocs in CompilerConfiguration.
    Reviewer: Pete
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15848
    http://bugs.adobe.com/jira/browse/SDK-15848
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/ConfigVar.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/OEMConfiguration.java

    Please note: I AM USING:
    JkOptions ForwardKeySize ForwardURICompat -ForwardDirectories
    And that's what's supposed to fix this problem in the first place, right??

  • Exception : Could not compile stylesheet

    Dear All,
    I'm using SimpleTransform.java (renamed as ReceiptTransformer.java for custom use) found in xalan-j_2_7_0 samples directory for transformations in my custom application. The program compiles successfully but gives the following error during runtime:
    ERROR: 'org/apache/avalon/framework/configuration/Configuration'
    FATAL ERROR: 'Could not compile stylesheet'
    Exception in thread "main" javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
    at ReceiptTransformer.main(ReceiptTransformer.java:29)
    Any help in this regard is greatly appreciated.

    StreamSource/Results are simple POJOs: the interpretation of the the system ID you construct them from is left to the interpretation of the object that will use them. This is why the behavior is not consistent.
    For this reason, I never use StreamSource/Result(String) constructors but prefer either the constructor that takes a File or a Reader.

  • SDK Samples in HIS 2013

    After installing Host Integration Server 2013, I do not see any of the SDK Sample directories on the file system.
    Did I miss something in the install or are these samples not part of the install media anymore???
    Thanks,
    Gary Clanton

    HIS 2013 is available as a supplemental license to BizTalk 2013. This means that you have to license one of the BizTalk Server 2013 Editions to get a license for HIS 2013. You don't need to install and use BizTalk Server in order to use HIS. You only need
    to install BizTalk Server if you need to use one of the BizTalk Adapters that is included with HIS.
    You didn't indicate what type of applications that you will be communicating with on the IBM mainframe. If you will be communicating with CICS or IMS transactions on the mainframe, then you'd likely want to take a look at the Transaction Integrator (TI)
    feature in HIS 2013. You can use TI with a WCF service. See
    http://msdn.microsoft.com/en-us/library/dn150066(v=bts.80).aspx#application for an overview of the Application Integration feature of HIS 2013. You might also want to look through the following topic:
    http://msdn.microsoft.com/en-us/library/dn149782(v=bts.80).aspx
    The HIS 2013 SDK does include sample applications. When the SDK is installed, it gets installed to the following folder:
    C:\Program Files\Microsoft Host Integration Server 2013 SDK v1.0
    Under this folder, you will see the following folders:
    - ApplicationIntegration
    - BizTalkAdapters
    - DataIntegration
    - MessageIntegration
    - NetworkIntegration
    - SessionIntegration
    Under each of these folders are samples specific to those features. For example, under ApplicationIntegration there are two additional folders: HostInitiated and WindowsInitiated. The WindowsInitiated folder includes samples for Transaction Integrator where
    TI initiates transactions by calling application on the IBM host system. Under WindowsInitiated, you will find a WcfService folder that has a TI WCF sample application. You'd also want to look at the ApplicationIntegrationStarterGuide sample because it describes
    many of the new TI features in HIS 2013.
    If TI doesn't fit the needs, then you need to look at the other HIS features to see what might work for the IBM integration scenario that you are working on.
    You might also want to look at
    http://msdn.microsoft.com/en-us/biztalk/hh441721 as this site has many links to HIS specific resources.
    Thanks...
    Stephen Jackson - MSFT

  • IPM Action module ( c# ) or IPM SDK samples help

    Could anybody guide me on where to find samples or send me the samples, which I read in Install document of OIPM V 7.7.1.0 ?
    Content goes like this
    " *Building and Running Action Module Samples*
    The Sample Action Modules are not installed by the SDK installation program. They are included in the AddOn\Samples\SDK Samples\Sample Action Modules directory.
    The samples contained in the Sample Action Modules directory are shown in the following table.
    Name     Type     Description
    Database Lookup Action     C# Action Module     Demonstrates how to perform a database lookup from a "
    Pl help.

    I created sample on my own.

  • Java Importer: import of java.lang.Boolean does not compile?

    I have created a webservicestub for the Reports webservice with JDeveloper.
    Now I want to use it in Forms. All methods work correctly, except the runJob method, which uses a boolean argument. I think I need to import java.lang.Boolean for it, but the created package body does not compile ("wrong number or type of arguments" in jni calls).
    Does anybody have suggestions how to get it compiling, or how to call the runJob method without the import of java.lang.Boolean?

    Downloading 1.4 sdk does not have the javac, it just has the JRENo, you apparently downloaded the JRE runtime. Do this to get the compiler, etc:
    Go here: http://java.sun.com/j2se/1.4/download.html
    and in the section titled:
    Download J2SETM v 1.4.0_01 JRE SDK
    look in this row:
    Windows (all languages, including English)
    and click download in the column headed SDK at the far right

  • Demo does not compile if regional setting is french

    Hi there,
    Did you know that some demos (TimeOffRequest demo at least) does not compile if my regional settings are in french (French Canada)
    I'm running BPEL PM 10.1.2.0.2
    on windows xp pro
    just in case it can help someone
    i found this out when changing my settings to post the logs in english instead of french, and the compile worked :)

    I switched my regional settings to French (Canada) and here is what i get from the developper prompt running obant on the "TimeOffRequestDemo" :
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\OraBPELPM_1\integration\orabpel\samples>cd demos
    C:\OraBPELPM_1\integration\orabpel\samples\demos>cd TimeOffRequestDemo
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>obant
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>SETLOCAL
    Buildfile: build.xml
    HRService:
    main:
    [bpelc] file:/C:/OraBPELPM_1/integration/orabpel/samples/utils/HRService/HRService.wsdl
    [bpelc] file:/C:/OraBPELPM_1/integration/orabpel/samples/utils/HRService/HRService.wsdl
    [bpelc] validation de "C:\OraBPELPM_1\integration\orabpel\samples\utils\HRService\HRService.bpel
    [bpelc] file:/C:/DOCUME~1/Pascal/LOCALS~1/Temp/$stage_14631bpel_HRService_1.0.jar_1154976955328/
    HRService.wsdl
    [bpelc] file:/C:/DOCUME~1/Pascal/LOCALS~1/Temp/$stage_14631bpel_HRService_1.0.jar_1154976955328/
    HRService.wsdl
    [bpelc] BPEL suitcase deployed to: C:\OraBPELPM_1\integration\orabpel\domains\default\deploy
    TimeOffRequestFlow:
    copyMailTemplate:
    TimeOffRequestFlow:
    [bpelc] Processus BPEL "C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\Time
    OffRequestFlow\bpel.xml" Ó jour, non-prise en compte...
    all:
    TimeOffRequestFlowUI:
    [echo] Deploying TimeOffRequestFlowUI from C:\OraBPELPM_1\integration\orabpel\samples\demos\Tim
    eOffRequestDemo/TimeOffRequestFlowUI:
    [echo]
    schemac:
    [echo] Compiling in C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo/TimeOff
    RequestFlow/TimeOffRequestFlow.wsdl in C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReque
    stDemo/TimeOffRequestFlowUI/WEB-INF/classes from
    [echo]
    [schemac] schemac> parsing schema file 'C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRe
    questDemo/TimeOffRequestFlow/TimeOffRequestFlow.wsdl' ...
    [schemac] file:/C:/OraBPELPM_1/integration/orabpel/samples/demos/TimeOffRequestDemo/TimeOffRequest
    Flow/TimeOffRequestFlow.wsdl
    [schemac] file:/C:/OraBPELPM_1/integration/orabpel/samples/demos/TimeOffRequestDemo/TimeOffRequest
    Flow/TimeOffRequestFlow.wsdl
    [schemac] schemac> Loaded schemas from wsdl located at C:\OraBPELPM_1\integration\orabpel\samples\
    demos\TimeOffRequestDemo/TimeOffRequestFlow/TimeOffRequestFlow.wsdl
    [schemac] schemac> generating XML business document ...
    [schemac] schemac> compiling XML business documents ...
    BUILD FAILED
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\build.xml:17: The following erro
    r occurred while executing this line:
    C:\OraBPELPM_1\integration\orabpel\samples\utils\build_common.xml:53: The following error occurred w
    hile executing this line:
    C:\OraBPELPM_1\integration\orabpel\samples\utils\build_common.xml:79: Echec de la compilation Java.
    Echec de la compilation des fichiers "C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReques
    tDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java, C:\OraBPELPM_1
    \integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\Time
    OffRequest\ApprovalInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffReq
    uestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\EmployeeType.java, C:\OraBPELPM_1\
    integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeO
    ffRequest\EmployeeTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestD
    emo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\IApprovalInfoType.java, C:\OraBPELPM_1\
    integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeO
    ffRequest\IEmployeeType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\sc
    hemac_1154976955531\src\com\otn\samples\TimeOffRequest\ISubmitterInfoType.java, C:\OraBPELPM_1\integ
    ration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffReq
    uest\ITimeOffRequestType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\s
    chemac_1154976955531\src\com\otn\samples\TimeOffRequest\SubmitterInfoType.java, C:\OraBPELPM_1\integ
    ration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffReq
    uest\SubmitterInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestD
    emo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\TimeOffRequestType.java, C:\OraBPELPM_1
    \integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\Time
    OffRequest\TimeOffRequestTypeFactory.java".
    Exception signalÚe : C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_115
    4976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java:52: ')' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:52: Missing term.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:52: ';' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:53: Invalid expression statement.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:53: '}' expected.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:61: Statement expected.
    public java.util.Date getApprovedDateTime()
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:116: ')' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:116: Missing term.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:116: ';' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }approved" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:117: Invalid expression statement.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:117: '}' expected.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoType.java:125: Statement expected.
    public void setApproved(boolean approved)
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:68: ')' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:68: Missing term.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:68: ';' expected.
    throw new java.util.NoSuchElementException("Le noeud "{http://samples.otn.com/TimeOffRequest
    }duration" n'existe pas dans XML, vÚrifiez le contenu XML de l'objet de faþade. Pour accÚder au cont
    enu XML, appliquez la mÚthode toString() Ó l'objet de faþade.");
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:69: Invalid expression statement.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:69: '}' expected.
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestType.java:77: Statement expected.
    public java.lang.String getId()
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:23: class com.otn.samples.TimeOffRequest.Appro
    valInfoType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
    rovalInfoType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:37: class com.otn.samples.TimeOffRequest.Appro
    valInfoType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
    rovalInfoType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:64: class com.otn.samples.TimeOffRequest.Appro
    valInfoType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
    rovalInfoType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\ApprovalInfoTypeFactory.java:100: class com.otn.samples.TimeOffRequest.Appr
    ovalInfoType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.ApprovalInfoType obj = new com.otn.samples.TimeOffRequest.App
    rovalInfoType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:23: class com.otn.samples.TimeOffRequest.Tim
    eOffRequestType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
    imeOffRequestType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:37: class com.otn.samples.TimeOffRequest.Tim
    eOffRequestType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
    imeOffRequestType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:64: class com.otn.samples.TimeOffRequest.Tim
    eOffRequestType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
    imeOffRequestType( );
    ^
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\ot
    n\samples\TimeOffRequest\TimeOffRequestTypeFactory.java:100: class com.otn.samples.TimeOffRequest.Ti
    meOffRequestType is an abstract class. It can't be instantiated.
    com.otn.samples.TimeOffRequest.TimeOffRequestType obj = new com.otn.samples.TimeOffRequest.T
    imeOffRequestType( );
    ^
    26 errors
    VÚrifiez que le fichier C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_
    1154976955531\src\com\otn\samples\TimeOffRequest\ApprovalInfoType.java, C:\OraBPELPM_1\integration\o
    rabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\App
    rovalInfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schem
    ac_1154976955531\src\com\otn\samples\TimeOffRequest\EmployeeType.java, C:\OraBPELPM_1\integration\or
    abpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Empl
    oyeeTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11
    54976955531\src\com\otn\samples\TimeOffRequest\IApprovalInfoType.java, C:\OraBPELPM_1\integration\or
    abpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\IEmp
    loyeeType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11549769
    55531\src\com\otn\samples\TimeOffRequest\ISubmitterInfoType.java, C:\OraBPELPM_1\integration\orabpel
    \samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\ITimeOffR
    equestType.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_1154976
    955531\src\com\otn\samples\TimeOffRequest\SubmitterInfoType.java, C:\OraBPELPM_1\integration\orabpel
    \samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Submitter
    InfoTypeFactory.java, C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo\schemac_11
    54976955531\src\com\otn\samples\TimeOffRequest\TimeOffRequestType.java, C:\OraBPELPM_1\integration\o
    rabpel\samples\demos\TimeOffRequestDemo\schemac_1154976955531\src\com\otn\samples\TimeOffRequest\Tim
    eOffRequestTypeFactory.java est un fichier Java valide ou que toutes les bibliothÞques obligatoires
    figurent dans la variable d'environnement CLASSPATH.
    variable d'environnement CLASSPATH: "C:\OraBPELPM_1\jdk\jre\lib\rt.jar;C:\OraBPELPM_1\integration\or
    abpel\system\classes;C:\OraBPELPM_1\jdk\lib\tools.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel
    -common.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel-thirdparty.jar;C:\OraBPELPM_1\integration
    \orabpel\lib\orabpel.jar;C:\OraBPELPM_1\integration\orabpel\lib\orabpel-ant.jar;C:\OraBPELPM_1\integ
    ration\orabpel\lib\ant-launcher_1.6.2.jar;C:\OraBPELPM_1\integration\orabpel\lib\ant_1.6.2.jar;C:\Or
    aBPELPM_1\integration\orabpel\lib\oracle_http_client.jar;C:\OraBPELPM_1\integration\orabpel\lib\xmlp
    arserv2.jar;C:\OraBPELPM_1\integration\orabpel\lib\olite40.jar;C:\OraBPELPM_1\integration\orabpel\li
    b\aqapi.jar;C:\OraBPELPM_1\integration\orabpel\lib\orawsdl.jar;C:\OraBPELPM_1\integration\orabpel\li
    b\bpm-infra.jar;C:\OraBPELPM_1\integration\orabpel\system\services\lib\bpm-services.jar;C:\OraBPELPM
    _1\integration\orabpel\lib\bipres.jar;C:\OraBPELPM_1\integration\orabpel\lib\bicmn.jar;C:\OraBPELPM_
    1\integration\orabpel\lib\uix2.jar;C:\OraBPELPM_1\integration\orabpel\lib\share.jar;C:\OraBPELPM_1\i
    ntegration\orabpel\lib\regexp.jar;C:\OraBPELPM_1\integration\orabpel\lib\j2ee_1.3.01.jar;";C:\OraBPE
    LPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo
    Total time: 4 seconds
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>ENDLOCAL
    C:\OraBPELPM_1\integration\orabpel\samples\demos\TimeOffRequestDemo>:

  • Runtime problems with sdk sample.

    Hi,
    has anyone had any problems when running the sdk sample (instantclient 10.1.0.4)
    compiled with MS Visual C++ Express version? I called make.bat and everything
    compiled and linked without any worries. When I run the program it crashed. While
    debugging I got the following info:
    First-chance exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    Unhandled exception at 0x7c81eb33 in occi.exe: Microsoft C++ exception: oracle::occi::SQLException at memory location 0x0012fb74..
    This error occurs when trying to call ::createEnvironment().

    I gave up with the occidml example and restarted with
    the occiobj example. And guess what happened. It
    worked. I can´t beleive it.
    So I really don´t know what the difference of these
    two example is as the only difference so far (as I
    saw in the constructor of the two classes) is an extra
    call in the occiobj-example. Well the parameters
    are also different.
    Occidml-example constructor:
    occidml (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::DEFAULT);
    conn = env->createConnection (user, passwd, db);
    Occiobj-example constructor:
    occiobj (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::OBJECT);
    occiobjm (env);
    con = env->createConnection (user, passwd, db);
    If I have time again I will give the occidml another try. By far
    I get along with the occiobj-example.
    Thanks for all the people who helped me (or intended to).
    Greetings Roman

Maybe you are looking for