Unable to start Opentext Process Platform installed in a distributed computer - business-process-management

In Windows, Opentext Process Platform is unable to start in the
distributed computer when the primary and distributed computers are in
different subnets.
I have tried to traceout and both the Subnets are fine. Please help.

Set the ttl property in all computers(primary and distributed):
a. Go to Management Console > Properties.
b. Add the property: bus.network.udp.ttl = <no of hops>.
c. Then Restart Process Platform on all the computers.

Related

How to enable copy/paste between an VMware workstation and a host

I've an ESXi server that hosts multiples VM.
I'm using a CentOS 7 VM (not specific to this OS) and I'd like to copy/paste text between my host and the VM.
VMTools are installed and running properly on the VM but that functionality isn't working.
In the VMWare workstation application, there's only a limited nb of options available:
On the VM server side, the tools are installed and running:
After some more time searching on this, I got it to work:
Procedure
Log into a vCenter Server system using the vSphere Client and select the virtual machine (VM must be turned off for the changes to be taken into account).
On the Summary tab, click Edit Settings.
Select Options > Advanced > General and click Configuration Parameters.
Click Add Row and type the following values in the Name and Value columns.
Start the VM
isolation.tools.copy.disable false
isolation.tools.paste.disable false
I find it surprising that such basic and common feature doesn't have some quick and easy access to toggle it ON/OFF.
VMWare link.

Intel SGX Running Executable on Remote Machine

I have been porting some code to SGX, in Linux, which I would like to run on a remote server in the end.
I observed that if I build the program and then use the same executable to run the program inside SGX on a different machine, different from the one on which the program was built using SGX SDK, the code still runs without any issues.
Now, if I look into the MRENCLAVE value during the build, I observe that the value is different if I build the same code on different machines. If I ship an executable build on machine A to machine B and do not build it again on machine B, then the MRENCLAVE value is the one which I got from building it on machine A. The question is that this value is different if I build the code on machine B itself. Does this not cause any issues if I want to do attestation of the code on machine B but do not want to rebuild project on machine B and instead use the build from machine A?
As far as I know is the MRENCLAVE measurement dependent on the used tool chain (cf. https://pdfs.semanticscholar.org/bc12/7b2228219f2b36b66bebe71a844e510e8efe.pdf, Sections 5.6.3 and 5.6.4) since it is indirectly a hash over the assembly instructions and created by explicit assembly instructions during enclave creation (EEXTEND). Thus, I would expect that you, at least, use different compiler versions on the mentioned machines?

How to deploy Powerbuilder application with ODBC connection?

my application works fine on the computer where I made it but on another
machines it displays error: "Transaction not connected".
I installed pack created by Runtime Packager and added a couple
of DLLs to the application path on the target machine. Still the same
problem.
My question is if I should use dnsless connection to make it work?
Or maybe inform the target PC about the required ODBC configuration?
If yes - how to do that?
I read a lot about odbc.ini, system variables, registry entries etc.
but now I got it all mixed up and have no clue what to do.
I'll be very grateful for your help.
Kris.
Personnally, I use DSN. So, the only thing the PowerBuilder knows is the DSN name. On that base, I establish the connection.
On the target PC, I configure ODBC with this very same DSN name and the necessary drivers. This way, you have some flexibility in the deployment. For instance, I can develop using DSN 'db', referring on my developper's machine to database 'dev' or the server 'server_dev' and deploy on a target machine where 'db' refers to 'prod' database on server 'productionServ'.
Compatibility issues aside, it can even be that the first one is MySQL and the other onee Oracle.
It is anyway crucial to install the drivers allowing you to access the desired database on the target machine and, if you use DSN, to configure it.
Since you said you got confused with odbc.ini & registry, lets start from there.
Assuming the required ODBC connection is configured in your computer (as you said),
Open registry editor (Win+R, regedit) in your computer.
Go to path "HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI". NOte: "HKEY_LOCAL_MACHINE" can be used for multi-user computers.
Right click on your "ODBC Connection" and export. Save the file(*.reg). (opening this file in notepad will give you some ideas on how it is configured.)
Also do the same for "HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources\". Merge both files into one (open the *.reg files in notepad and merge the text).
Now you have the following options to setup the ODBC in your target machine(s):
This file(*.reg) can be executed on the target machine (beware, the drivers path might be different in the target machines.).
If you have an installer, try to include code to write the registry values from the installer.
Use PB function RegistrySet() to create your own ODBC connection if it does NOT exists.
Brief of what we are trying: Export registry entries (as a *.reg file) from the development machine and create similar registry entries on target machines using any of the 3 methods listed above.

Cocoa pods stuck while cloning

I try to set up cocoa pods in my MacBook Pro El Capitan.
pod setup command will stuck on Cloning into 'master'...
Even I waited for 2 hours with 1GB download of git-remote-https.
It is never completed.
I also tried lots of time on Google for last 15 days.
I also tried following commands:
pod repo remove master
It says master repository not found.
That bypass / workaround solution works just to Virtual Machines
When you try to install cocoa pod, there is no network activity after it gets stuck.
According to hagge's comment on March 8, 2016 (https://github.com/cocoapods/cocoapods/issues/4989), this kind of problem can be caused by automatic limitation of transfer rate on servers, which is done to make sure that extremely high levels of load do not bring problems.
If you are using VMware or Virtualized Machines, you can proceed as below.
Change the configuration of Virtual Machine:
Select Network Adapter
Go to Advanced Settings
Incoming Transfer, set to Cable Mbps (4000 Kbps)
Outgoing Transfer, set to Cable Mbps (4000 Kbps)
Click OK
You may have to make the command install more than once. It'll take time but may work. Worked for me!
Its not a cloning problem. Your Internet connection problem. To solve this issue, you have to go to VM(virtual machine) settings to Bridge the physical connection.
VMware Player-->Removable Devices-->Network Adapter-->settings
You will find Network connection and check both
choose the option Bridged: Connected directly to the physical network
if you are using a laptop
Enable Replicate physical network connection state.
99% will be work

How to make a struts2 project an executable Application

I have developed a Struts2 Project using Apache server and MySQL database.
Is it possible to make this application an executable application so that i do not need to give JDK, Apache and MySQL separately to the user. The installer could install all these 3 itself.
Also can i make this so that only a single user can use this application. How Please Tell.
Usually a Web Application has a central server (with at least: a Java Virtual Machine, a Web Server / Application Server, a Database, and the Web Application contanining the Java code), and all the client computers use their browsers to connect to it.
The kind of application that seems to arise from your description is a monolitic one, like a GUI App made in Swing or in Visual Basic; you install it in the clients, and each one has a copy of each component. If you install it 20 times, you will have 20 database, 20 copies of the files, etc...
Even in client-server applications, with centralized database and distributed code, the problems were always client-related; you can't know if the system were you are automatically installing a database, an JDK etc... already has that software, maybe in other versions, or has the environment variables messed up etc. When you need to update the software, or to tune up the system, you need to be physically log to that pc, remotely or by person. This are some of the reasons that led to the choice of preferring Web Applications to distributed applications.
If you need to craft a "package" of your application to be installed in one click by a dumb user (let's say, a portable version of your application, to let your PM perform some Demo in remote locations, or to give it to the big boss to let him see it), you should really evaluate the possibility of creating a Virtual Machine.
A Virtual Machine is a big file (on a hard disk, or read by an USB key, etc) that, once mounted by a Virtualization Software (usually the same software that created the Virtual Machine), will run an entire new OS inside a window of your guest OS.
The leading software to do this is VMWare (the Player is free and cross-platform), alternatively you can use VirtualBox.
Then, you need to
download VMWare Player
download the ISO of your favourite Linux distribution (I hope you don't use Windows as server)
create a, let's say, 10GB partition for your Linux distribution with VMWare Player, and mount it
plug the ISO with something like (the free edition of) Daemon Tools
install the Linux distribution
install and configure all the software you need there (Apache, MySQL, your favourite browsers, etc; JVM usually is already there)
install your web application
Then you will have a physical file with a complete Linux OS inside, with all the needed software already tuned up: just distribute this file to Windows, Mac or Linux users, they will only need the VMWare Player installed to run your file and access (their copy of) your application inside the Linux OS.

Resources