NDK tools c / c ++: indefinite ' size_t' by c ++ libs?

Hiya,

I get a strange result when using the types of variables 'size_t' in my applications. "size_t" is defined in the libs C and . Usually when you work with C++ though, its more common to include and , which are usually just references back to libraries C. Unfortunately, it does not work as expected (for me anyway) and I explicitly include the C libraries, that is to say C++ libraries do not seem to do anything. There obviously a trivial work around, but it took some time to understand and I do not know why it does not work. I use NDK 2.0.1.

example:

(hello.h)

#include

#include

(hello.cpp)

#include "hello.h".

int main()

{

size_t helloWorld = 0;

std::cout< "helloworld="" "="">< helloworld=""><>

}

(compilation)

CQS-Vgcc_ntox86-lang-c ++-I/home/preet/bbndk-2.0.1/target/qnx6/usr/include/c++-I/home/preet/bbndk-2.0.1/target/qnx6/usr/include o hello.o - c hello.cpp.

(exit)

Hello.cpp: In function 'int main() ':
Hello .cpp: 5: error: 'size_t' was not declared in this scope
Hello .cpp: 5: error: expected ';' before 'helloWorld '.
Hello .cpp: 6: error: 'helloWorld' was not declared in this scope
CC: /home/preet/bbndk-2.0.1/host/linux/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1

If you replace with in hello.h to compile well... no idea why this is happening?

Try std::size_t or using namespace std;

Stuart

Tags: BlackBerry Developers

Similar Questions

  • Where is the source for the GPL had NDK tools?

    Since the NDK (specifically, I use the 2.0.1 NDK PlayBook) includes tools (gcc, gdb, binutils etc) GPL3, RIM needs to also make the source code used to compile these tools available. Specifically, I am interested in gdb, as the "vanilla" version of the FSF does not support ARM QNX Neutrino (it has support of QNX Neutrino i386, however). The version distributed with the NDK reports himself as ' GNU gdb (GDB) 7.3 qnx (Rev.). 613)", so I assume that it was compiled from sources patches.

    RIM's commitment to open source, I am sure that just an oversight.

    Where you are looking for?

    It seems that QNX makes available through Foundry27:

    http://community.QNX.com

    Rest SVN:

    http://community.QNX.com/SF/SCM/do/listRepositories/projects.toolchain/SCM

    'core-dev-tools' SVN repo (username: guest, no pass):
    http://community.QNX.com/integration/ViewVC/ViewVC.CGI/tools/?root=core-dev-tools&system=exsy1001

    Includes:

  • Hello everyone using the CLI NDK tools crashes after the splash screen

    I tried the tutorial for NDK CLI that downloads:

    #include
    #include
    int main (int argc, char * argv [])
    {
    QApplication app (argc, argv);
    QPushButton button ("Hello Playbook World!");
    QObject::connect (& button, SIGNAL (clicked ()), & app, SLOT (quit ()));
    Button.Show ();
    Return app.exec ();
    }

    Using qmake, blackberry-nativepackager and deploy to deploy on a blackberry tablet.  It downloads and runs but right after the splash screen is displayed the application crashes.

    Double, I just checked and downloaded many times without success.  Someone would have some ideas on how I could solve this?

    Roger

    Peter,

    It worked it allowed me to find another post, I needed to add:

    at the bar - descriptor.xml file.

    The example works now.

    Thank you

    Roger

  • NDK related issue.

    I downloaded every update for the NDK tools since the Dev Alpha program began in May. With the release of candidate or prominent, I want to start over. I have already backed up all my projects, but I want to delete all old versions of the NDK and their associated files. However, whenever I run the uninstall program, I get an error message. Anyone out there able to help?

    I have a MacBook Pro 2.53 GHz Intel Core 2 Duo running 10.8.2 of the Mountain Lion

    Here is the error log:

    means: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2882)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
    at java.lang.StringBuffer.append(StringBuffer.java:320)
    at Flexeraaxb.ai (unknown Source)
    at Flexeraaxb.ad (unknown Source)
    at Flexeraaxb.ad (unknown Source)
    at Flexeraaxb.ad (unknown Source)
    at Flexeraaxb.ad (unknown Source)
    at Flexeraaxb.ab (unknown Source)
    at Flexeraaxb.aa (unknown Source)
    at Flexeraapt.ah (unknown Source)
    at Flexeraapt.ag (unknown Source)
    at Flexeraapt.ad (unknown Source)
    at Flexeraao9.a8 (unknown Source)
    at Flexeraao9.a7 (unknown Source)
    at Flexeraao9.ag (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.a1 (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.az (unknown Source)
    at com.zerog.ia.installer.LifeCycleManager.executeApplication (unknown Source)
    at com.zerog.ia.installer.Main.main (unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.zerog.lax.LAX.launch (unknown Source)
    at com.zerog.lax.LAX.main (unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:116)

    Uninstaller for the native BlackBerry 10 SDK manages properly the situation where there is more than one version installed.

    If you want to clean your existing environment, delete the installation directory, shortcuts in the start menu and the 'C:\Users\your_login_name\AppData\Local\Research in Motion\BlackBerry SDK' native.

    DO NOT delete "C:\Users\your_login_name\AppData\Local\Research In Motion" because your code signing keys are stored there, and you should keep those.

  • Loading time of LabVIEW tool to compare files from the repository

    I have the LabVIEW compare the configuration of the tool of the differences for .ctl and .vi files in the source Surround SCM control system.  The source code control system is running on a network server.  My PC is on the same network as the server.

    When the LabVIEW bed comparison tool screws that come from a control repository to differentiate against the files on my computer, it seems to load the files to a temporary folder located in users\username\appdata file.  It takes a lot of time to load the screws that have a lot of subVIs, because as the search tool for each Subvi the tool begins his research in the vi.lib and instr.lib files before finding the Subvi in the temporary folder.  It takes a few seconds and sometimes as much as 10 seconds to load each Subvi.  It takes a lot of time Diff screw with many subVIs.  Is there a way to make the comparison process go faster?  Or is it something that should be fixed in the comparison of LabVIEW tool?

    Thank you

    Gary

    This is the normal behavior of the LVCompare.exe and records who begins looking for subVIs or file (.ctl) control is not editable. The available options that can be configured are:

    Configuration of control of Source code with LVCompare.exe

    http://zone.NI.com/reference/en-XX/help/371361H-01/lvhowto/configlvcomp_thirdparty/

  • Dismount-Tools, or is there a better way?

    I guess I'm being stupid again, but is there a way to determine on which servers VMWare Tools are actually mounted?


    I run DTS recommendations today and noticed that a svMotion failure because she had mounted tools. So I thought I should be able to find tools mounted with PowerCLI.

    After a look around, I found the "Dismount-Tools" command for disassembly and this blog to give me a list of all virtual machines with mounted tools.


    I also found this blog which has provided me with a list of the ISO mounted all the:

    VM IsoPath                                     

    [Models] VM1 ISO/en_windows_server_2...

    VM2 [models] ISO/SW_DVD5_Windows_Svr_...

    VM3 [/usr/lib/vmware/isoimages/linux.iso]

    VM4 [/usr/lib/vmware/isoimages/linux.iso]

    VM5 [/usr/lib/vmware/isoimages/linux.iso]

    VM6 [/vmimages/tools-isoimages/linux.iso]

    VM7 [/vmimages/tools-isoimages/linux.iso]

    VM8 [/usr/lib/vmware/isoimages/linux.iso]

    Vitavm9 [/vmimages/tools-isoimages/linux.iso]

    These two lists (mounted the ISO mounted tools) differ a lot. For example vm3 wouldn't appear in the 'mounted' tools - list but vm4 arise under both. In the research in the interface graphics I would be able to complete the installation of vmware for vm4 tools but not for vm3, there I saw that ISO mounted. I don't know if these 'ghosts' - frames affect vMotion/svMotion or any other action or not, but I tell myself that I might as well also remove them.

    Is is safe to assume that all popular VM with ISO path ' [] / usr/lib/vmware/isoimages/linux.iso ' or ' [] / vmimages/tools-isoimages/linux.iso "have mounted tools or are dismantled but that disassembly of the ISO could not somehow and that"[Datastore]... ". "are user/admin mounted ISO? If Yes, is it better to use "Set-CDDrive-NoMedia" instead of "Dismount-Tools"? And what would be the equivalent for clients Windows look like when looking at the way the ISO?

    Secondly, any suggestions for speeding up the script to the top (regardless of the alternative offer)?

    We have 2000 + VMs and to first retrieve all the virtual machines, and then do the EEG view and finally the filter runs only the desired VMs as one-liner below takes some time:

    (Get - VM |) Get-View | Where {$_.} Runtime.ToolsInstallerMounted}) | % {$_. Name}

    Same issue really with the another one-liner for all virtual machines, can get all their CD players before making the filtering:

    Get - VM | Get-CDDrive. Select @{N = "VM"; {E = 'Parent'}, IsoPath | where {$_.} IsoPath - don't $null}

    Might be something like below a faster way to determine what virtual machines are ISO mounted?

    Get - VM? {$_. CDDrives.IsoPath - not $null}

    You can try

    Notice-EEG - ViewType VirtualMachine-property Name, "Runtime.ToolsInstallerMounted" - filter @{"Runtime.ToolsInstallerMounted" ="True"} | " %{

    $_. UnmountToolsInstaller()

    }

    This should be a bit faster.

  • VMware Tools do not install on Ubuntu

    Here's a transcript:

    $ sudo./vmware-install.pl
    A previous installation of VMware Tools has been detected.
    The previous installation was made by the tar Installer (version 4).
    Keeping the tar4 format of database Installer.
    You have a version of VMware Tools installed.  Continuing this will install
    first uninstall the currently installed version.  Do you want to continue?
    (yes/no) [Yes]
    Uninstalling the tar of the VMware Tools installation.
    Stop services for VMware Tools
    initctl: unknown instance:
    / Usr/lib/vmware-tools/lib32/libconf/etc/pango/pangorc file is saved until
    usr/lib/VMware-Tools/lib32/libconf/etc/pango/pangorc.old.3.
    / Etc/vmware-tools/suspend-vm-default file is saved until
    etc/VMware-Tools/suspend-VM-default.old.0.
    / Etc/vmware-tools/summary-vm-default file is saved until
    etc/VMware-Tools/Resume-VM-default.old.0.
    /Sbin/mount.vmhgfs file is saved to sbin/mount.vmhgfs.old.0.
    / Etc/vmware-tools/poweron-vm-default file is saved until
    etc/VMware-Tools/PowerOn-VM-default.old.0.
    / Etc/vmware-tools/poweroff-vm-default file is saved until
    etc/VMware-Tools/poweroff-VM-default.old.0.
    This program has already created the file
    /usr/lib/VMware-tools/libconf/etc/GTK-2.0/GTK.immodules and was about to
    remove it.  Someone else apparently done already.
    /Usr/lib/VMware-tools/lib32/libconf/etc/Pango/pangox.aliases file is saved
    to usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.3.
    File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
    saved on
    usr/lib/VMware-Tools/lib32/libconf/etc/GTK-2.0/gdk-pixbuf.loaders.old.3.
    This program has already created the file
    / usr/lib/VMware-Tools/libconf/etc/pango/pangorc and was about to take off.
    Someone else apparently done already.
    /Etc/VMware-tools/VMware-user.desktop file is saved until
    etc/VMware-Tools/VMware-User.Desktop.old.3.
    /Usr/lib/VMware-tools/lib32/libconf/etc/fonts/fonts.conf file is saved until
    usr/lib/VMware-Tools/lib32/libconf/etc/fonts/fonts.conf.old.3.
    This program has already created the file
    / usr/lib/VMware-Tools/libconf/etc/pango/pangox. Aliases and was about to remove
    He someone else apparently already made.
    This program has already created the file
    /usr/lib/VMware-tools/lib32/libconf/etc/Pango/Pango.modules and was about to
    remove it.  Someone else apparently done already.
    This program has already created the file
    /usr/lib/VMware-tools/libconf/etc/GTK-2.0/gdk-pixbuf.loaders and was about to
    remove it.  Someone else apparently done already.
    /Usr/lib/VMware-tools/lib32/libconf/etc/GTK-2.0/GTK.immodules file is saved
    to usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.3.
    Restore the initrd kernel image. :
    Update-initramfs: generation /boot/initrd.img-2.6.35-28-generic
    Update-initramfs: generation /boot/initrd.img-2.6.35-27-generic
    Update-initramfs: generation /boot/initrd.img-2.6.35-25-generic
    Update-initramfs: generation /boot/initrd.img-2.6.35-24-generic
    Update-initramfs: generation /boot/initrd.img-2.6.35-23-generic
    Update-initramfs: generation /boot/initrd.img-2.6.35-22-generic
    Update-initramfs: generation /boot/initrd.img-2.6.32-25-generic
    Update-initramfs: generation /boot/initrd.img-2.6.32-24-generic
    / Etc/initramfs-tools/modules file is saved until
    etc/initramfs-tools/modules.old.3.
    /Etc/pulse/default.PA file is saved to etc/pulse/default.pa.old.3.
    /Etc/updatedb.conf file is saved to etc/updatedb.conf.old.3.
    HAL: unrecognized service
    The removal of the VMware Tools 8.4.5 build-324285 for Linux completed
    successfully.
    Installation of VMware tools.
    In which directory you want to install the binaries
    ?
    [/ usr/bin]
    What is the directory that contains the directories init (rc0.d / to rc6.d /)?
    / [etc]
    What is the directory that contains the initialization scripts?
    [/ init.d]
    In which directory you want to install the files of demon
    ?
    [/ usr/sbin]
    In which directory you want to install the library files?
    [/ usr/lib/vmware-tools]
    In which directory you want to install the documentation files?
    [/ usr/share/doc/vmware-tools]
    The path "/ usr/share/doc/vmware-tools" does not currently exist. This program
    going to create, including the necessary parent directories. This is what you
    you want? [Yes]
    The installation of the VMware Tools 8.4.6 build-385536 for Linux completed
    successfully. You can decide to remove this software from your system at any
    time by invoking the following command: "/ usr/bin/vmware-uninstall-tools.pl".
    Before you run VMware Tools for the first time, you must configure it by
    calling the following command: "/ usr/bin/vmware-config-tools.pl". Do you want
    This program to invoke the command for you now? [Yes]
    Initializing...
    Ensuring services for VMware Tools are arrested.
    The vmmemctl module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -clobber-kernel modules is vmmemctl to substitute.
    The vmhgfs module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -clobber-kernel modules is vmhgfs to substitute.
    The vmxnet module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -modules of the core-clobber-= vmxnet substitute.
    The vmblock module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -clobber-kernel modules is vmblock to substitute.
    Vmci module has already been installed on this system by another Installer
    or package and will not be changed by the installer.  Use the indicator
    -modules of the core-clobber-= vmci substitute.
    The vsock module has already been installed on this system by another Installer
    or package and will not be changed by the installer.  Use the indicator
    -clobber-kernel modules is vsock to substitute.
    The vmxnet3 module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -modules of the core-clobber-= vmxnet3 to substitute.
    Pvscsi module has already been installed on this system with another
    Installer or package and will not be changed by the installer.  Use the indicator
    -clobber-kernel modules is pvscsi to substitute.
    Disable audio planning based on timer in pulseaudio.
    Found Xorg X server version 1.9.0.
    Distribution provided drivers for the Xorg X Server are used.
    X configuration to jump because X drivers are not included.
    Creating a new boot initrd for the kernel image.
    Update-initramfs: generation /boot/initrd.img-2.6.35-28-generic
    initctl: job started
    Could not start the services for VMware Tools
    The execution is canceled.

    What should I do?

    Looking at your mistakes, you seem to have an earlier version of the tools which are not uninstaled or tools are coming from another source when the installation program checks the files are already claimed. I first uninstall everything that claims these files and possibly clean/regen your db packace if necessary. Then, reinstall the tools and see if you still get errors with no alert clobber.

  • QNetworkAccessManager or similar for synchronous data traffic

    Hello world

    I use a priority_queue (in a separate thread) for my data to prioritize applications (e.g. thumbnail images first, then expansion of images, unless the user wants a specific expansion, then this application is accelerated) and JSON API calls.

    If I use QNetworkAccessManager as it is and dump queries in it, it will not address higher priority requests. I would like to make synchronous traffic. Is there a way to do it with QNetworkAccessManager, or is there another alternative way to do what you recommend?

    / Alexandre Yngling

    In case anyone else ends up here with the same question, I finished by using cURL instead. (He included with the ndk, just #include and put the file .pro LIBS +=-lcurl inyour.) Works very well.

    CF. http://curl.haxx.se/libcurl/c/example.html

    / Alexandre Yngling

  • OJDBC14 JAR do not pick up by ATG Weblogic

    Hello

    I tried to deploy my code ATG to Weblogic 10.3.6, at the start of my server instance - I see ojdbc14.jar is does not

    LIVECONFIG = false

    November 19, 2015 19:01:37 atg.nucleus.servlet.NucleusServlet initBigEarNucleus

    INFO: CLASSPATH =

    D:\WLSDomain\user_projects\domains\base_domain\servers\DWINTProduction\tmp\_WL_user\DWINTProduction\5b7b7i\war\WEB-INF\lib\coreTaglib1_0.jar,

    D:\WLSDomain\user_projects\domains\base_domain\servers\DWINTProduction\tmp\_WL_user\DWINTProduction\5b7b7i\war\WEB-INF\lib\dspjspTaglib1_0.jar,

    C:\Java\jdk1.6.0_25\jre\lib\resources.jar,

    C:\Java\jdk1.6.0_25\jre\lib\rt.jar,

    C:\Java\jdk1.6.0_25\jre\lib\sunrsasign.jar,

    C:\Java\jdk1.6.0_25\jre\lib\jsse.jar,

    C:\Java\jdk1.6.0_25\jre\lib\jce.jar,

    C:\Java\jdk1.6.0_25\jre\lib\charsets.jar,

    C:\Java\jdk1.6.0_25\jre\lib\modules\jdk. Boot.jar,

    C:\Java\jdk1.6.0_25\jre\classes,

    C:\Java\jdk1.6.0_25\lib\tools.jar,

    D:\WLS\wlserver\server\lib\weblogic_sp.jar,

    D:\WLS\wlserver\server\lib\weblogic.jar,

    D:\WLS\wlserver\server\lib\schema\weblogic-domain-binding.jar,

    D:\WLS\wlserver\server\lib\schema\weblogic-domain-binding-compatibility.jar,

    D:\WLS\wlserver\server\lib\schema\diagnostics-binding.jar,

    D:\WLS\wlserver\server\lib\schema\diagnostics-image-binding.jar,

    D:\WLS\wlserver\server\lib\wlcipher.jar,

    D:\WLS\wlserver\server\lib\xmlx.jar,

    D:\WLS\wlserver\server\lib\ojdbc6.jar,

    D:\WLS\wlserver\server\lib\ons.jar,

    D:\WLS\wlserver\server\lib\ucp.jar,

    With the log above, it is clear that it is picking up "ojdbc6.jar" - but if you see my position I have not any ojdbc6.jar, I just only ojdbc14.jar is only, but it is not subtracted when starting the server.

    Receive your answer.

    Hello

    Did you have a classpath entry this jar file?

    You can check the path of pot/Server/lib /.

    Kind regards

    Prateek Gupta

  • Error starting WebLogic server

    Hello. I'm a beginner, so sorry for that.
    I have an error when you try to start the WebLogic Server. Here is the log:

    J:\WebLogic\wls12130\user_projects\domains\base_domain > startweblogic.cmd

    .

    .

    Arguments of memory in JAVA: - Xms256m-Xmx512m - XX: CompileThreshold = 8000 - XX: PermSize = 128 m - XX: MaxPermSize = 256 m

    .

    CLASSPATH=C:\Progra~1\Java\JDK16~1.0_4\lib\tools.jar; J:\WebLogic\wls12130\wlserver\server\lib\weblogic_sp.jar; J:\WebLogic\wls12130\wlserver\server\lib

    \weblogic.jar; J:\WebLogic\wls12130\oracle_common\modules\net. SF.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar; J:\WebLogic\wls12130\wlserver\modules\fea

    tures\oracle.WLS.common.nodemanager_2.0.0.0.jar; J:\WebLogic\wls12130\oracle_common\modules\com. Oracle.Cie.config - WLS - online_8.1.0.0.jar; J:\WebLogic\wl

    s12130\wlserver\common\derby\lib\derbyclient.jar; J:\WebLogic\wls12130\wlserver\common\derby\lib\derby.jar; J:\WebLogic\wls12130\wlserver\server\lib\xqr

    l.jar

    .

    PATH =; J:\WebLogic\wls12130\wlserver\server\native\win\32; J:\WebLogic\wls12130\wlserver\server\bin; J:\WebLogic\wls12130\oracle_common\modules\org. Apach

    e.ant_1.9.2\bin; C:\Progra~1\Java\JDK16~1.0_4\jre\bin; C:\Progra~1\Java\JDK16~1.0_4\bin; C:\oraclexe\app\oracle\product\112~1.0\server\bin; C:\Progra~2\Or

    acle\Java\javapath; C:\watcom-1.3\binnt; C:\watcom-1.3\binw; C:\Windows\System32; C:\Windows; C:\Windows\System32\wbem; C:\Windows\System32\WINDOW~1\v1.0\; C

    : \PROGRA~1\ATITEC~1\ATI. ACE\CORE-S ~ 1; C:\Progra~1\OpenSSH\bin; C:\PROGRA~1\MICROS~4\110\Tools\Binn\; C:\Progra~1\SQLITE~1\Bin; C:\Progra~1\Java\JDK16~1.0_

    4\bin; C:\Progra~1\TORTOI~1\Bin; C:\Progra~1\maven\bin; J:\WebLogic\wls12130\wlserver\server\native\win\32\oci920_8

    .

    ***************************************************

    * To start WebLogic Server, use a username and *.

    * password assigned to an administrator-level user.  For *.

    * server administration, using the WebLogic Server *.

    * the http://hostname:port\console console *.

    ***************************************************

    from weblogic with the Java version:

    Java version "1.6.0_45".

    Java (TM) SE Runtime Environment (build 1.6.0_45 - b06)

    Java hotspot Server VM (build 20.45 - b01, mixed mode)

    WLS starting with line:

    C:\Progra~1\Java\JDK16~1.0_4\bin\java-serveur-Xms256m-Xmx512m - XX: CompileThreshold = 8000 - XX: PermSize = 128 m - XX: MaxPermSize = 256 m-Dweblogic.Name = Ad

    minServer-Djava.security.policy=J:\WebLogic\wls12130\wlserver\server\lib\weblogic.policy - Xverify: aucun-Djava.endorsed.dirs=C:\PROGRA~1\Java\JDK16~1

    .0_4\jre\lib\endorsed; J:\WebLogic\wls12130\oracle_common\modules\endorsed-da-Dwls.home=J:\WebLogic\wls12130\wlserver\server-Dweblogic.home=J:\WebL

    ogic\wls12130\wlserver\server weblogic. Server

    < 10.02.2015 17:00:47 EET > < Info > < security > < BEA-090905 > < disable provider JCE CryptoJ self-intégrité for better startup performance. To e

    nadou check this, specify - Dweblogic.security.allowCryptoJDefaultJCEVerification = true. >

    < 10.02.2015 17:00:47 EET > < Info > < security > < BEA-090906 > < change the default Random Number Generator in RSA CryptoJ of ECDRBG128 to FIPS186PRNG. T

    o disable this change, specify - Dweblogic.security.allowCryptoJDefaultPRNG = true. >

    < 10.02.2015 17:00:47 EET > < Info > < WebLogicServer > < BEA-000377 > < since WebLogic Server Java hotspot Server VM Version 20.45 - b01 Sun Mi

    end Inc. >

    < 10.02.2015 17:00:47 EET > < Info > < management > < BEA-141107 > < Version: WebLogic Server 12.1.3.0.0 kills Jan 27 02:49:44 UTC 2015 1654890 >

    < 10.02.2015 17:00:47 EET > < critical > < WebLogicServer > < BEA-000362 > < server failed. Reason:

    There are 1 nested errors:

    weblogic.management.ManagementException: Parsing failure [management: 141266] in the config.xml file: java.nio.file.FileSystems.

    to weblogic.management.provider.internal.RuntimeAccessImpl. < init > (RuntimeAccessImpl.java:129)

    at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:62)

    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017)

    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)

    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)

    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)

    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)

    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)

    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.oneJob (CurrentTaskFuture.java:1162)

    to org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$ QueueRunner.run (CurrentTaskFuture.java:1147)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:895)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:918)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: java.lang.ClassNotFoundException: java.nio.file.FileSystems

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    at weblogic.utils.fileownership.FileOwnerFixer.supportsPosixFileAttributeView(FileOwnerFixer.java:81)

    to weblogic.utils.fileownership.FileOwnerFixer. < clinit > (FileOwnerFixer.java:46)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName(Class.java:171)

    at weblogic.descriptor.DescriptorCache.getFileOwnerClass(DescriptorCache.java:262)

    to weblogic.descriptor.DescriptorCache. < clinit > (DescriptorCache.java:259)

    at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:211)

    to weblogic.management.provider.internal.RuntimeAccessImpl. < init > (RuntimeAccessImpl.java:117)

    ... more than 20

    >

    < 10.02.2015 17:00:47 EET > < opinion > < WebLogicServer > < BEA-000365 > < Server state changed to FAILED. >

    < 10.02.2015 17:00:47 EET > < error > < WebLogicServer > < BEA-000383 > < is not an essential service. The server shuts itself down. >

    < 10.02.2015 17:00:47 EET > < opinion > < WebLogicServer > < BEA-000365 > < Server state has changed to FORCE_SHUTTING_DOWN. >

    < 10.02.2015 17:00:47 EET > < Info > < WebLogicServer > < BEA-000238 > < judgment made. >

    What should I do about it?

    Hello

    total agree with Lakshman: JDK 1.6 is not supported with WLS 12.1.3. Please start your WebLogic with base JHR Version: 1.7 or 1.8

    Borys

  • Custom in the dmg bundle package icons

    Hello

    I created an ant script to create a Setup program for my application JavaFx:

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="app-javafx" default="do-deploy" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
        <property name="java8.jdk.home" value="/Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home" />
        <property name="javafx.tools.ant.jar" value="${java8.jdk.home}/lib/ant-javafx.jar" />
        <target name="init-fx-tasks">
            <taskdef resource="com/sun/javafx/tools/ant/antlib.xml" uri="javafx:com.sun.javafx.tools.ant" classpath="${javafx.tools.ant.jar}" />
        </target>
        <target name="setup-staging-area">
            <delete dir="externalLibs" />
            <delete dir="project" />
            <delete dir="projectRefs" />
    
            <mkdir dir="externalLibs" />
    
            <copy todir="externalLibs">
                <fileset dir="..\lib">
                    <include name="**.jar" />
                </fileset>
            </copy>
    
            <!--LIBRERIE PERSONALIZZATE-->
            <copy todir="externalLibs">
                <fileset dir=".">
                    <include name="**.jar" />
                </fileset>
            </copy>
    
    
            <mkdir dir="project" />
            <copy todir="project">
                <fileset dir="generated-sources">
                    <include name="gfx/**" />
                </fileset>
            </copy>
            <copy todir="project">
                <fileset dir="..\src\main">
                    <include name="resources/**" />
                </fileset>
            </copy>
            <copy todir="project">
                <fileset dir="..\src\main">
                    <include name="java/**" />
                </fileset>
            </copy>
    
            <mkdir dir="projectRefs" />
        </target>
        <target name='do-compile'>
            <delete dir="build" />
            <mkdir dir="build/src" />
            <mkdir dir="build/libs" />
            <mkdir dir="build/classes" />
    
            <!-- Copy project-libs references -->
            <copy todir="build/libs">
                <fileset dir="externalLibs">
                    <include name="**.jar" />
                </fileset>
            </copy>
    
            <!-- Copy project references -->
    
            <!-- Copy project sources itself -->
            <copy todir="build/src">
                <fileset dir="project/gfx">
                    <include name="**/*" />
                </fileset>
            </copy>
            <copy todir="build/src">
                <fileset dir="project/resources">
                    <include name="**/*" />
                </fileset>
            </copy>
            <copy todir="build/src">
                <fileset dir="project/java">
                    <include name="**/*" />
                </fileset>
            </copy>
    
            <javac fork="true" executable="${java8.jdk.home}/bin/javac" includeantruntime="false" source="1.8" target="1.8" srcdir="build/src" destdir="build/classes" encoding="UTF-8">
                <classpath>
                    <fileset dir="build/libs">
                        <include name="*" />
                    </fileset>
                    <filelist>
                        <file name="${java8.jdk.home}/jre/lib/jfxrt.jar" />
                    </filelist>
                </classpath>
            </javac>
    
            <!-- Copy over none Java-Files -->
            <copy todir="build/classes">
                <fileset dir="project/gfx">
                    <exclude name="**/*.java" />
                </fileset>
                <fileset dir="project/resources">
                    <exclude name="**/*.java" />
                </fileset>
                <fileset dir="project/java">
                    <exclude name="**/*.java" />
                </fileset>
            </copy>
    
    
        </target>
        <target name="do-deploy" depends="setup-staging-area, do-compile, init-fx-tasks">
            <delete file="dist" />
            <delete file="deploy" />
        
            <mkdir dir="dist" />
            <mkdir dir="dist/libs" />
    
            <copy todir="dist/libs">
                <fileset dir="externalLibs">
                    <include name="*" />
                </fileset>
            </copy>
    
            <fx:resources id="appRes">
                <fx:fileset dir="dist" includes="app-javafx.jar" />
                <fx:fileset dir="dist" includes="libs/*" />
            </fx:resources>
    
            <fx:application id="fxApplication" name="app" version="3.0" mainClass="it.client.Main" preloaderclass="it.SplashScreenUi" toolkit="fx" />
    
            <fx:jar destfile="dist/app-javafx.jar">
                <fx:application refid="fxApplication" />
                <fileset dir="build/classes">
                </fileset>
                <fx:resources refid="appRes" />
    
    
                <manifest>
                    <attribute name="Implementation-Vendor" value="Vendor" />
                    <attribute name="Implementation-Title" value="app" />
                    <attribute name="Implementation-Version" value="3.0.0" />
                </manifest>
            </fx:jar>
    
    
            <mkdir dir="deploy" />
            <!-- Need to use ${basedir} because somehow the ant task is calculating the directory differently -->
            <fx:deploy outdir="${basedir}/deploy" outfile="app-javafx" nativeBundles="all" height="768" width="1024" verbose="true">
                <fx:info title="app" vendor="Vendor" copyright="Copyright Tutti i diritti riservati" />
                <fx:application refId="fxApplication" />
                <fx:resources refid="appRes" />
    
                <fx:preferences shortcut="true" install="true" menu="true" />
    
                <fx:permissions elevated="true" />
    
    
                <!-- Custom JVM setup for application -->
                <fx:platform>
                    <fx:jvmarg value="-Xmx1024m" />
                </fx:platform>
            </fx:deploy>
        </target>
    </project>
    

    During compilation, I see:

    Using base JDK at: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk
      Using default package resource [Bundle config file] (add package/macosx/Info.plist to the class path to customize)
      Using default package resource [icon] (add package/macosx/app.icns to the class path to customize)
    Creating app bundle: /Users/Utente/Documents/workspaceServer/javafx/target/deploy/bundles/app.app
    Config files are saved to /var/folders/q6/vmt_h0tx3rgdbt_4h2_2f3780000gn/T/build6635061168386632777.fxbundler/macosx. Use them to customize package.
    fxbund
    ler/macosx. Use them to customize package.
    

    So I get files in the temp directory and I copied them to my target of the project directory. Unfortunally javafxbuilder not use to customize the package so I think that the path where I put the files that will not.

    Can you help me?

    Thank you

    Resources are found do sniff classpath: your classpath is missing 'dot '.

    Instead of

    Please try to

    Reference: deployment of JavaFX Applications: Application independent packaging | 2 JavaFX tutorials and Documentation

  • Oracle Jdeveloper error on Oracle Bigdata Lite Virtual Machine

    Hi all

    I use large data Oracle lite virtual machine from the following link: Oracle Big Data VM Lite.

    I'm trying to practice the tutorial on the following link: http://www.oracle.com/technetwork/topics/bigdata/articles/intro-to-oracle-nosql-db-hol-1937059.pdf.

    When I try to run the MoviePlex project in Oracle Jdeveloper, who in turn calls Weblogic server and triggers the following error during the creation of the Weblogic domain:

    [Waiting for the field to complete the construction...]

    [08: 41:11] Creation of integrated Weblogic domain...

    [08: 41:39] integrated Weblogic domain completed successfully.

    Using the 7101 port *.

    / Home/Oracle /. JDeveloper/system11.1.1.6.38.61.92/defaultdomain/bin/startWebLogic.sh

    [waiting for the server to complete its initialization...]

    .

    .

    Arguments of memory in JAVA:-Xms512m-Xmx512m

    .

    Start mode of WLS = development

    .

    CLASSPATH=/u01/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/Middleware/patch_jdev1111/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java/latest/lib/tools.jar:/u01/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u01/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u01/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/u01/Middleware/wlserver_10.3/server/lib/webservices.jar:/u01/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u01/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u01/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/ U01/middleware/wlserver_10.3/server/lib/XQRL.jar::/U01/connectors/OLH/jlib/*:/usr/lib/Hadoop/*:/usr/lib/Hadoop/client/*:/U01/NoSQL/kV-EE/lib/kvstore.jar:.

    .

    Unrecognized option:-jrockit

    PATH=/u01/Middleware/wlserver_10.3/server/bin:/u01/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/java/latest/jre/bin:/usr/java/latest/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/lib64/R/bin:/u01/Middleware/jdeveloper/jdev/bin:/usr/java/latest/bin:/home/oracle/bin:/u01/app/oracle/product/12.1.0/dbhome_1/bin:/home/oracle/scripts:/opt/bin:/home/oracle/bin

    .

    ***************************************************

    * To start WebLogic Server, use a username and *.

    * password assigned to an administrator-level user.  For *.

    * server administration, using the WebLogic Server *.

    * console in http://hostname/ReportServer: port/console         *

    ***************************************************

    from weblogic with the Java version:

    WLS starting with line:

    jrockit - /usr/java/latest/bin/Java-Xms512m-Xmx512m-Dweblogic.Name=DefaultServer-Djava.security.policy=/u01/Middleware/wlserver_10.3/server/lib/weblogic.policy-Djavax.net.ssl.trustStore=/u01/Middleware/wlserver_10.3/server/lib/DemoTrust.jks-Dweblogic.nodemanager.ServiceEnabled=true - Xverify : aucun-da-Dplatform.home=/u01/Middleware/wlserver_10.3-Dwls.home=/u01/Middleware/wlserver_10.3/server-Dweblogic.home=/u01/Middleware/wlserver_10.3/server-Djps.app.credential.overwrite.allowed=true-Dweblogic.management.discover=true-Dwlw.iterativeDev=-Dwlw.testConsole=-Dwlw.logErrorsToConsole=-Dweblogic.ext.dirs=/u01/Middleware/patch_wls1035/profiles/default/sysext_manifest_classpath:/u01/Middleware/patch_jdev1111/profiles/default/sysext_manifest_classpath weblogic. Server

    Error: Could not create the Virtual Machine Java.

    Error: A fatal error has occurred. Program ends.

    Unrecognized option:-jrockit

    Error: Could not create the Virtual Machine Java.

    Error: A fatal error has occurred. Program ends.

    Process is complete.

    The version of JRE installed on the virtual computer is as below:

    [oracle@bigdatalite ~] java $-version

    Java version "1.7.0_51".

    Java (TM) SE Runtime Environment (build 1.7.0_51 - b13)

    Java for 64-bit Server VM (build 24.51 - b03, mixed mode)

    [oracle@bigdatalite ~] $

    I searched on Google but also OTN but found no solution.

    Can anyone already encountered the same problem or can help, it will be highly appreciated.

    Thank you

    Bilal

    Hi Bilal,

    You can try to change the folder to remove the parameter Jrocket below...

    concerning

    Keith

    File: /home/oracle/.jdeveloper/system11.1.1.6.38.61.92/DefaultDomain/bin/setDomainEnv.sh

    Add:

    # Clearing JAVA_VM - Difficulty to remove the setting of jrockit
    JAVA_VM =""

    just before:

    If ["${JAVA_VENDOR}"! = "BEA"]; then
    JAVA_VM = "${JAVA_VM} ${JAVA_DEBUG} ${JAVA_PROFILE}".
    export JAVA_VM
    on the other
    JAVA_VM = "${JAVA_VM} ${JAVA_DEBUG} ${JAVA_PROFILE}".
    export JAVA_VM
    FI

  • CreateProcess error = 87, the parameter is incorrect

    Java_home in my computer's C:\Program Files\Java\jdk1.6.0_24

    classpath =. ; % java_home%\lib;%java_home%\lib\tools.jar;D:\weblogicSA2011\wlserver_10.3\server\lib; E:\Jdeveloper_11114\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar; E:\JDEVEL~3\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar; E:\JDEVEL~3\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar; E:\JDEVEL~3\JDK160~1\lib\tools.jar; E:\JDEVEL~3\WLSERV~1.3\server\lib\weblogic_sp.jar; E:\JDEVEL~3\WLSERV~1.3\server\lib\weblogic.jar; E:\JDEVEL~3\modules\features\weblogic. Server.modules_10.3.3.0.jar; E:\JDEVEL~3\WLSERV~1.3\server\lib\webservices.jar; E:\JDEVEL~3\modules\ORGAPA~1.1/lib/Ant-all.jar; E:\JDEVEL~3\modules\NETSFA~1.0_1/lib/Ant-contrib.jar; E:\JDEVEL~3\patch_wls1033\profiles\default\sys_manifest_classpath\webl

    Path=%JAVA_HOME%\Bin;%JAVA_HOME%\jre\bin; E:\JDEVEL~3\patch_wls1033\profiles\default\native; E:\JDEVEL~3\patch_jdev1111\profiles\default\native; E:\JDEVEL~3\WLSERV~1.3\server\native\win\32; E:\JDEVEL~3\WLSERV~1.3\server\bin; E:\JDEVEL~3\modules\ORGAPA~1.1\Bin; E:\JDEVEL~3\JDK160~1\jre\bin; E:\JDEVEL~3\JDK160~1\Bin; E:\JDEVEL~3\patch_wls1033\profiles\default\native; E:\JDEVEL~3\patch_jdev111; E:\JDEVEL~3\WLSERV~1.3\server\native\win\32\oci920_8;D:\Maven\apache-Maven-3.0.2\bin; C:\Windows\System32; C:\Program Files\Fichiers Network\KanKan\Codecs of Thunder; C:\app\Administrator\product\11.2.0\dbhome_1\BIN

    How to set the java path in Jdev 11.1.1.5?

    ------------------------------------------error-----------------------------------

    BuildFile: C:\JdevWorkspace\ANTdatasource\Project3\build.xml
    [echo] - 13-
    [echo] - 16-

    makeDataSource:

    BUILD FAILED
    java.io.IOException: cannot run program 'C:\Program Files\Java\jdk1.6.0_24\jre\bin\java.exe': error CreateProcess = 87, the parameter is incorrect
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at java.lang.Runtime.exec(Runtime.java:593)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    to org.apache.tools.ant.taskdefs.Execute$ Java13CommandLauncher.exec (Execute.java:832)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:447)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:461)
    at org.apache.tools.ant.taskdefs.Java.fork(Java.java:784)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:211)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
    at weblogic.ant.taskdefs.management.WLSTTask.execute(WLSTTask.java:115)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.Main.start(Main.java:179)
    at org.apache.tools.ant.Main.main(Main.java:268)
    Caused by: java.io.IOException: CreateProcess = 87, the parameter is incorrect
    at java.lang.ProcessImpl.create (Native Method)
    to java.lang.ProcessImpl. < init > (ProcessImpl.java:81)
    at java.lang.ProcessImpl.start(ProcessImpl.java:30)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    ... more than 30

    Total time: 1 second



    --------------------------------------------------------------------------------

    <? XML version = "1.0"? >
    "< default"makeDataSource"="makeDataSource"basedir = project name =". ">

    < path id = "wl.classpath" >
    "< dir="E:\Jdeveloper_11115\wlserver_10.3\server\lib fileset ">
    < name = "*.jar" / >
    < / fileset >
    < fileset dir = "E:\Jdeveloper_11115\modules" >
    < name = "*.jar" / >
    < / fileset >

    < / path >
    < echo message = "- 13 -" / >
    < name taskdef = "wlst" classname = "weblogic.ant.taskdefs.management.WLSTTask" classpathref ="wl.classpath" > "
    < / taskdef >
    < echo message = "- 16 -" / >
    < target name = "makeDataSource" >
    < wlst debug = "false" failOnError = "true" executeScriptBeforeFile = "true" fileName = "makeDS.py" classpathref ="wl.classpath" > "
    < / wlst >
    < / target >
    < / project >


    --------------------------------------------------------------------------------

    Connect ("weblogic", "welcome1", "t3: / / localhost:7001" ' ")
    Edit()

    Print "---4"

    # Change these names necessary
    dsname = "TestDS.
    Server = "AdminServer.
    CD("Servers/"+Server)
    target = cmo
    CD("..) /..")

    startEdit()
    # Start the creation
    Print "creating JDBCSystemResource with the name ' + dsname"
    jdbcSR = create (dsname, "JDBCSystemResource")
    theJDBCResource = jdbcSR.getJDBCResource)
    theJDBCResource.setName (dsname)

    connectionPoolParams = theJDBCResource.getJDBCConnectionPoolParams)
    connectionPoolParams.setConnectionReserveTimeoutSeconds (25)
    connectionPoolParams.setMaxCapacity (100)
    connectionPoolParams.setTestTableName ("dual")

    dsParams = theJDBCResource.getJDBCDataSourceParams)
    dsParams.addJNDIName("jdbc/TestDs")

    driverParams = theJDBCResource.getJDBCDriverParams)
    driverParams.setUrl ("jdbc:oracle:thin:@localhost:1521:ORCL")
    driverParams.setDriverName ("oracle.jdbc.driver.OracleDriver")
    driverParams.setPassword ("welcome1")

    driverProperties = driverParams.getProperties)

    good = driverProperties.createProperty ("user")
    proper.setValue ("hr")

    jdbcSR.addTarget (target)

    Save()
    Activate (Block = "true")

    Print "made the configuration of the data source.

    A simple Google search shows that error 87 is usually the classpath is too long.

  • Cannot create tool for BlackBerry 10 NDK questions in Issue Tracker

    When I try to create a bug of the tool in the Issue Tracker, it application device, version, version of the app, etc. If I enter IDE of the BlackBerry 10 NDK (10.0.4.201204250810), I said that it is an invalid version and will not be present. With respect to the device, it's an IDE, not a device. So I'm not sure how to submit these bugs.

    Any ideas?

    OK, it was much longer, so I wanted to (been busy), but finally, I introduced the (now seems in charge the BB10 IDE):

  • size_t numerical control by GUI

    I'm getting some CVI behaviors for 32-bit application and 64-bit. Specific, I want to build the application so that I only need re-compilation for each output of 32-bit or 64-bit. One of them uses integers signed and not signed in entrance and exits in the GUI. I would like to first of all operating system data type directly in the GUI, but ssize_t and size_t types are not available in the interactive tools. So I create a GUI for 32 - bit
    -using as digital input (hot)
    -using digital as outputs unsignedInt (indicator)

    After the loading of the GUI depending on the hand, I change the attributes of data type control:
    -the program "recall" function Committee dependent integers from the OS as option
    -SetCtrlAttribute (mainp, PANEL_INPUTVALUE, ATTR_DATA_TYPE, VAL_SSIZE_T);
    -SetCtrlAttribute (mainp, PANEL_OUTPUTVALUE_1, ATTR_DATA_TYPE, VAL_SIZE_T);
    -SetCtrlAttribute (mainp, PANEL_OUTPUTVALUE_2, ATTR_DATA_TYPE, VAL_SIZE_T);
    I get no error in compilation. As expected, nothing really changes for 32-bit debugging i.e. or errors. And when running 64-bit debugging it starts also without mistakes (obvious). And it goes beyond the limit of 32-bit of 2 ^ 31.

    Now, I try an alternative: I set the GUI for 64 - bit with example data types int64 and unsigned int64. When data types are changed after the loading of the IUR depending on the hand, I get no fatal errors:
    -For the first line for the digital input: the attribute passed is not valid (error - 46).
    -For the second and third lines for outputs digital: invalid control ID (error - 13).
    - And subsequently, all three figures disappeared from the GUI.
    These error happens when I run it in 32-bit as 64-bit.

    The disappearance of the controls look like somewhat like explained before. However, the GUI is new and build CVI2010.
    (http://forums.ni.com/t5/LabWindows-CVI/edit-numeric-control-of-type-int64/m-p/1411662#M50699)

    Q1: Is there a limit on the construction of the GUI with int64?
    Q2: Is there a solution where I can use VAL_SIZE_T and VAL_SSIZE_T when the GUI is generated manually?

    I use:
    Windows 7 x 64
    CVI2010 (10.0.1)

    Kind regards, Jos

    Hi Jos,

    The runtime error is caused by the fact that these controls do not exist in the expert group. You can see more clearly, what happens if, after you save the file, you close the window, and then reload the file. You will notice that the two controls will be missing.

    Controls are not saved when using the 64-bit data types is the IUR is configured to use the CVI 8.1 format. You can see in the lower right window of the user interface editor. Because 64-bit in the user interface controls data types were not been introduced prior to version 8.5, these controls cannot be included in a 8.1 UIR.

    We have already identified this scenario as a major flaw in usability: when you save the IUR in an older format, the CVI should show you a warning telling you all the controls or other features, that were not saved after save in the old format. This has been fixed in a future version of the CVI, but, until then, it's something you have to look out for.

    To save the file to the CVI 2010 format, you must only select file > save as... and select 2010 than the version in the list "Save as type".

    Luis

Maybe you are looking for

  • Bad sound with my Satellite M40-230

    I just bought my laptop M40-230 and when playing music the sound is very mediocre and bad. It is common, or there is a problem with my speakers?

  • OfficeJet 4630 times reset

    How to reset the time display?

  • Satellite M60 slow drive

    Hi, the carpet * UJ840-s only writes DVD - R x 2 and should be 8 x. It reaches only about 10 X on DVD - R reading too. I use Datawrite 8 X discs but you ordered some Taiyo Yuden 16 X and 8 X speed to try. Nero V7 reported only 2 X write with Datawrit

  • burning CD media player

    Suddenly when burning cd media player it is said it burned then I put in stereo and no music is on cd. However, if I insert in the player it will play. I know I have the right kind of cd Virgin because I use another computer and works very well. Help

  • "HP Solution Center cannot work because your device installation is not complete."

    I worked on it for about 8 hours now and I eventually give up. I can't have the hp Solution Center to work. Help, please. one is an hp photosmart d110a with wireless. operating system is windows 7 Home premium 64. I have already tried: 1. type % temp