Error while installing ibm case manager 5.2.1 on windows server 2012 - windows-server-2012-r2

I’m using cmpit 5.2.1 on windows server 2012 to install ibm case manager 5.2.1, I’m having an error in step 34/38 in the installation.
In cpit_install_stdout:
Install-InvokeDescription: (34/38) configNexus.bat
invokeScript: C:\Program Files (x86)\IBM\cmpit\install-scripts\configNexus.bat
Cmd: "C:\Program Files (x86)\IBM\cmpit\install-scripts\configNexus.bat" "C:\Program Files (x86)\IBM\cmpit\install-scripts" "C:\Program Files (x86)\IBM\cmpit\decompressed" "C:\Users\Administrator\Desktop\IbmSoft" 64 "C:\Program Files (x86)\IBM\cmpit"
OUTPUT>====================
OUTPUT>Start configNexus.bat
OUTPUT>19:06
OUTPUT>setdirs running
OUTPUT>Start setdirs.bat
OUTPUT>"C:\Program Files (x86)\IBM\ECMClient\configure"
OUTPUT>Démarrage de l'exécution de toutes les tâches dans le profil NexusConfig.
OUTPUT>
OUTPUT>Update the FileNet P8 Client Connector Files *****
OUTPUT>
OUTPUT>Configure the Connection to Your LDAP Server
OUTPUT>Une erreur s'est produite lors de l'exécution de la tâche Configure the Connection to Your LDAP Server.
OUTPUT>L'exécution de la tâche a échoué avec les messages suivants :
OUTPUT>
OUTPUT>La configuration de l'authentification LDAP a échoué.La connexion au serveur LDAP a été établie.
OUTPUT>
OUTPUT>Pour obtenir des informations de connexion supplémentaires, voir le fichier journal :
OUTPUT>C:\Program Files (x86)\IBM\ECMClient\logs\nexus_configmgr_workspace\.metadata\.log
OUTPUT>Begin sleeping
ERROR>The system cannot find the path specified.
OUTPUT>End sleeping
OUTPUT>ERROR - configurejdbcecm.ok not found. configNexus failed. Refer to "C:\Program Files (x86)\IBM\cmpit\install-scripts\profiles\NexusConfig\status" for more details.
Process completed with exit code: -1
ERROR in InvokeScripts-function - Terminate the remaining scripts.
***Aborting InvokeScripts-Install function.

I do not read French, but Google Translate suggests that your LDAP configuration isn't properly configured.
If you look at the log you might get some more information:
C:\Program Files (x86)\IBM\ECMClient\logs\nexus_configmgr_workspace\.metadata\.log
The other error suggests that a file is missing:
The system cannot find the path specified.
ERROR - configurejdbcecm.ok not found.
Refer to "C:\Program Files (x86)\IBM\cmpit\install-scripts\profiles\NexusConfig\status"
You should fix the LDAP error before fixing the 'configurejdbcecm.ok' error; 'configurejdbcecm.ok' might be missing as a result of the LDAP problem.

Related

MPLAB X freeze building using printf

My setup is:
MPLAB X IDE v3.40
C30 compiler v3.31
PIC24FJ128GA306
Mi problem comes when I try to use printf. I can print a string but not a variable.
This line is correctly bompiled:
printf("HI");
This line is not correctly builded:
unsigned int var;
var = 1;
printf("%u", var);
The same code works perfectly with other PIC (PIC24FJ512GA606) and compiler (XC16).
In both project we are using printf from the same library stdio.h
The problem comes when I try to build the project. If i use "printf("%u", var);" and build it, the IDE hangs and I have to cancel the building process. After it I can't clean the project, the IDE shows me the next text:
rm: no se puede borrar build/SF_Utility_v31_RS485/production/interrupts_remapped.o: Permission denied
rm: no se puede borrar build/SF_Utility_v31_RS485/production/mult.o: Permission denied
rm: no se puede borrar build/SF_Utility_v31_RS485/production/SF_debug.o: Permission denied
rm: no se puede borrar build/SF_Utility_v31_RS485/production/SF_formatter.o: Permission denied
rm: no se puede borrar build/SF_Utility_v31_RS485/production/SF_HAL_axis_references.o: Permission denied
rm: no se puede borrar build/SF_Utility_v31_RS485/production/SF_internal_comms.o: Permission denied
CLEAN FAILED (exit value 1, total time: 123ms)
If I go to the folder and try to delete manually, a message appears saying that I cant delete it because "pic30-elf-gcc.exe" is using it. I have to close the process and then y can clean and rebuild the project with "printf("Hi");"...
EDIT1: I can observe when I build the project that every files are compiled correctly. The problem comes with the linker... When I try to build the project it get hangs with the next line:
"C:\Program Files (x86)\Microchip\MPLAB C30\bin\pic30-gcc.exe" -omf=elf -mcpu=24FJ128GA306 -o dist/SF_Utility_v31_RS485/production/sf-device.production.elf build/SF_Utility_v31_RS485/production/DEE_Emulation/DEE_Emulation_16-bit_v2.2/DEE_Emulation_16-bit/DEE_Emulation_16-bit.o build/SF_Utility_v31_RS485/production/DEE_Emulation/DEE_Emulation_16-bit_v2.2/DEE_Emulation_16-bit/Flash_Operations.o build/SF_Utility_v31_RS485/production/RS485/SF_RS485.o build/SF_Utility_v31_RS485/production/src/ADC_Handler/ADC_Handler.o build/SF_Utility_v31_RS485/production/src/Event_Timer/osal_timers.o build/SF_Utility_v31_RS485/production/src/PWM/PWM_Core_Handler.o build/SF_Utility_v31_RS485/production/src/PWM/PWM_Func_Layer.o build/SF_Utility_v31_RS485/production/src/PWM/PWM_Hal_Layer.o build/SF_Utility_v31_RS485/production/HTS221.o build/SF_Utility_v31_RS485/production/LISXDH.o build/SF_Utility_v31_RS485/production/src/Tasks/LED_Status_Task.o build/SF_Utility_v31_RS485/production/src/Tasks/System_Task_Handler.o build/SF_Utility_v31_RS485/production/src/Tasks/Hum_Temp_Task.o build/SF_Utility_v31_RS485/production/configuration_bits.o build/SF_Utility_v31_RS485/production/main.o build/SF_Utility_v31_RS485/production/system.o build/SF_Utility_v31_RS485/production/traps.o build/SF_Utility_v31_RS485/production/user.o build/SF_Utility_v31_RS485/production/SF_controller.o build/SF_Utility_v31_RS485/production/SF_solar_calculations.o build/SF_Utility_v31_RS485/production/SF_solar_calculations_utils.o build/SF_Utility_v31_RS485/production/SF_time.o build/SF_Utility_v31_RS485/production/SF_tracker.o build/SF_Utility_v31_RS485/production/SF_settings.o build/SF_Utility_v31_RS485/production/SF_protocol.o build/SF_Utility_v31_RS485/production/SF_io_manager.o build/SF_Utility_v31_RS485/production/SF_inverter.o build/SF_Utility_v31_RS485/production/utils.o build/SF_Utility_v31_RS485/production/SF_main_loop.o build/SF_Utility_v31_RS485/production/SF_persistence.o build/SF_Utility_v31_RS485/production/SF_formatter_binary.o build/SF_Utility_v31_RS485/production/SF_GW_Common.o build/SF_Utility_v31_RS485/production/SF_tick.o build/SF_Utility_v31_RS485/production/mult.o build/SF_Utility_v31_RS485/production/SF_internal_comms.o build/SF_Utility_v31_RS485/production/interrupts_remapped.o build/SF_Utility_v31_RS485/production/SF_formatter.o build/SF_Utility_v31_RS485/production/SF_HAL_axis_references.o build/SF_Utility_v31_RS485/production/SF_debug.o -legacy-libc -Wl,--defsym=__MPLAB_BUILD=1,--heap=1024,-Map="prueba.map",-Tp24FJ128GA306.gld
I have the solution. The problem was that my project had the legacy libraries actives... Uncheking that option in the project configuration it is running correctly now.

Any special step to build compute cpp sdk with VS2019 under W10 for NVidia

I'm trying to build the compute cpp sdk of codeplay under Windows 10 with Visual Studio 2019 to target some NVidia card. So far I have generate the solution throw cmake precising ptx64 as the COMPUTECPP_BITCODE.
My issue is that after opening the solution with VS2019 I launch the build but it "never" ended, after several hours.
Here is the build log where it kept stuck
1>------ Début de la génération : Projet : accessors, Configuration : Release x64 ------
2>------ Début de la génération : Projet : async-handler, Configuration : Release x64 ------
3>------ Début de la génération : Projet : builtin-kernel-example, Configuration : Release x64 ------
4>------ Début de la génération : Projet : custom-device-selector, Configuration : Release x64 ------
5>------ Début de la génération : Projet : example-sycl-application, Configuration : Release x64 ------
6>------ Début de la génération : Projet : gaussian-blur, Configuration : Release x64 ------
7>------ Début de la génération : Projet : images, Configuration : Release x64 ------
8>------ Début de la génération : Projet : ivka, Configuration : Release x64 ------
1>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/accessors_accessors.cpp.sycl
3>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/builtin-kernel-example_builtin-kernel-example.cpp.sycl
4>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/custom-device-selector_custom-device-selector.cpp.sycl
7>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/images_images.cpp.sycl
5>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/example-sycl-application_example-sycl-application.cpp.sycl
6>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/gaussian-blur_gaussian-blur.cpp.sycl
8>Building ComputeCpp integration header file [...]/computecpp-sdk/build/samples/ivka_ivka.cpp.sycl
If anyone has any idea or suggestion it would be amazing for me. If you need any additional info do not hesitate to ask.
Thanks you in advance for your help
There is an abi mis-match when using ComputeCpp with VS 2019 since ComputeCpp is on Clang 7
You can work around this by setting the toolset to v140 and then setting a flag in the compiler
main.cpp ->Properties->Configuration Properties -> ComputeCpp SYCL Cpp->Device->Additional Options -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH

Exclude nuget packages from source control

I want to exclude nuget packages from the source control, because we use our own custom packages and they change often so it generates too many unnecessary changes in the source control. Also because it seems to be the recommended way to work with packages and source control.
I followed the steps given at the link below, using the instructions with TFS:
https://learn.microsoft.com/en-us/nuget/consume-packages/packages-and-source-control
Automatic package restoration is enabled, but when I generate the solution, restoration fail because it try to restore Microsoft packages from our custom source instead of the nuget.org source, I don't understand why.
For example (sorry its in french):
La restauration des packages NuGet a échoué pour le projet PointOfSaleWebsite :
La version '3.2.3' du package 'Microsoft.AspNet.Razor.fr' est introuvable.
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\: Le package 'Microsoft.AspNet.Razor.fr.3.2.3' est introuvable dans la source 'C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\'.
http://srv-tfs:8080/tfs/.../_packaging/.../nuget/v3/index.json: Le package 'Microsoft.AspNet.Razor.fr.3.2.3' est introuvable dans la source 'http://srv-tfs:8080/tfs/.../_packaging/.../nuget/v3/index.json'.
I tried to add this to the NuGet.Config, but still have the same errors:
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="OurCustomSource" value="http://srv-tfs:8080/tfs/.../_packaging/.../nuget/v3/index.json" />
</packageSources>
I also tried to run this command in the package manager console:
Update-Package -Reinstall
It fails with this error:
Update-Package : Certains packages NuGet sont manquants dans la solution. Les packages doivent être restaurés pour générer le graphique de dépendance. Restaurez les packages avant d'effectuer des opé
rations.
Au niveau de ligne : 1 Caractère : 15
+ Update-Package <<<< -Reinstall
+ CategoryInfo : InvalidOperation: (:) [Update-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetMissingPackages,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Any idea why it try to restore from the wrong source ? or is it something wrong i'm doing to exclude packages from the source control ?
I read this: https://learn.microsoft.com/en-us/nuget/consume-packages/package-restore#build-time-restore-in-visual-studio
Step 4 especially pointed me in the right direction, it turned out that I only had by mistake uncheked the nuget.org source from the visual studio options !!
I apologize for not having seen it earlier ! I'm ashamed, such a waste of time :(

Hudson cannot find cmake

I have a problem to bluid my C++ project with Hudson and cmake. I use a slave machine to build my project and i have the error message.
MODULE: C:/Users/abenchaaben/Documents/Full/JCLib
Build dir : C:/Users/abenchaaben/Documents/Full/JCLib/cpp
Source dir : C:/Users/abenchaaben/Documents/Full/JCLib/cpp
Install dir :
[deploy_test] $ C:\Program Files (x86)\CMake 2.8\bin -version
The system cannot find the file specified
FATAL: Cannot run program "C:\Program" (in directory "C:\Users\abenchaaben\Documents\deploy_test"): CreateProcess error=2, Le fichier spécifié est introuvable
java.io.IOException: Cannot run program "C:\Program" (in directory "C:\Users\abenchaaben\Documents\deploy_test"): CreateProcess error=2, Le fichier spécifié est introuvable
what did i do wrong?
Probably you have to escape the string containing the path to the cmake executable. It tries to run C:\Program and treats the rest of the string as parameters.

Boost installation on windows and mingw

I downloaded the zip file of this page: http://sourceforge.net/projects/boost/files/boost/1.55.0/ to install Boost 1.55.0 in my computer (I use Windows 7) and I unpacked it in C:\boost_1_55_0.
But, I didn't know how to install it, so I found this page: http://www.boost.org/doc/libs/1_55_0/doc/html/bbv2/installation.html
When I type in cmd .\bootstrap.bat it show this message:
Building Boost.Build engine
"cl" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable
Failed to build Boost.Build engine
Then i try with bootstrap.bat mingw in cmd, it showed me this message:
Building Boost.Build engine
"gcc" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable
Failed to build Boost.Build engine
I don't know what to do.
Additional info:
I use Code::Blocks 13
Mingw is in C:\Archivos de programa\CodeBlocks\mingw
You are attempting to build boost using the visual studio compiler. You need to use the G++ compiler under mingw.
Here are the instructions.