Skip to main content

Problem with HP Performance Center

I had a problem with named product / software. It's a testing tool for performance testing.
If you ever used it, you know that the virtual users amount in scenario is configurable. My problem was that with what ever amount of users I started the scenario, only one virtual user started. All others stopped with following exception..


com.dcx.iap.clientcontainer.ClientContainerException[JCC0015X]: Error while populating the Client Container JNDI namespace
at dcx.appclient.container.startup.APPClientContainerStartup.loadJavaConfiguration(APPClientContainerStartup.java:266)
at dcx.appclient.container.startup.APPClientContainerStartup.doStartAndLogin(APPClientContainerStartup.java:155)
at dcx.appclient.container.startup.APPClientContainerStartup.start(APPClientContainerStartup.java:116)
at com.dcx.iap.clientcontainer.ClientContainer.startup(ClientContainer.java:85)
at com.daimler.acm.common.connectivity.RemoteTestingClientCommunicationHelper.createClientConnection(RemoteTestingClientCommunicationHelper.java:252)
at Actions.init(Actions.java:103)
Caused by: javax.naming.NameAlreadyBoundException: Use rebind to overwrite entries
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:144)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWInitialJavaContext.bind(IFWInitialJavaContext.java:47)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:168)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at dcx.integration.jndiprovider.IFWJndiContentLoader.loadContent(IFWJndiContentLoader.java:223)
at dcx.integration.jndiprovider.IFWJndiContentLoader.loadContent(IFWJndiContentLoader.java:98)
at dcx.appclient.container.startup.APPClientContainerStartup.loadJavaConfiguration(APPClientContainerStartup.java:263)
... 5 more
Caused by:
javax.naming.NameAlreadyBoundException: Use rebind to overwrite entries
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:144)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:161)
at dcx.integration.jndiprovider.client.java.IFWInitialJavaContext.bind(IFWInitialJavaContext.java:47)
at dcx.integration.jndiprovider.client.java.IFWJavaContext.bind(IFWJavaContext.java:168)
at javax.naming.InitialContext.bind(InitialContext.java:359)
at dcx.integration.jndiprovider.IFWJndiContentLoader.loadContent(IFWJndiContentLoader.java:223)
at dcx.integration.jndiprovider.IFWJndiContentLoader.loadContent(IFWJndiContentLoader.java:98)
at dcx.appclient.container.startup.APPClientContainerStartup.loadJavaConfiguration(APPClientContainerStartup.java:263)
at dcx.appclient.container.startup.APPClientContainerStartup.doStartAndLogin(APPClientContainerStartup.java:155)
at dcx.appclient.container.startup.APPClientContainerStartup.start(APPClientContainerStartup.java:116)
at com.dcx.iap.clientcontainer.ClientContainer.startup(ClientContainer.java:85)
at com.daimler.acm.common.connectivity.RemoteTestingClientCommunicationHelper.createClientConnection(RemoteTestingClientCommunicationHelper.java:252)
at Actions.init(Actions.java:103)

.. and message ..



How to solve?
With help from more experienced project co-worker we found out that the issue was "process vs thread"..
In run time settings you can find a following setting..


After setting it to "Run Vuser as a process" the problem was solved.

Comments

Popular posts from this blog

brew, "pear install ...", Log for example..

I had issues while installing Log package from Pear. I used brew to get PHP (5.5.17) running on my MBP. So, back to the installing issue - if I tried to execute following command I got an error .. $ pear install Log No releases available for package "pear.php.net/Log" intallation failed So, failed. Then I tried to download the package using "pear download Log". Failed too. Solution was to go to Log package Pear page  and manually download the package. And in terminal you should executed the same installation command and point to downloaded file.. $ pear install /path/to/downloaded/Log-1.12.8.tar .. output skipped .. install ok: channel://pear.php.net/Log-1.12.8 Done. Anyway, there are probably other (better, more modern) logging libraries out there for PHP applications. Feel free to post your favorite one with short description to comments. Thanks in advance!

How to run Laravel and Angular app on the same development host?

I had to build a quick demo using Angular . I decided to use Laravel as back end for my app. Setup Setup went easy. I used  angular2-seed for Angular. Cloned it using git. $ git clone https://github.com/angular/angular2-seed.git my-demo-app-gui With command "npm start" after "npm install" in the "my-demo-app-gui" folder I got my angular application running locally - http://localhost:3000. To create a new Laravel project I used following command line command: "laravel new my-demo-app-web" to create PHP server side for my project. In folder I just created, I executed following command: "php -S localhost:8000 -t public" to start local back end server -  http://localhost:8000. So far everything went smoothly. So I started build something amazing, like script of Laravel is suggesting before it is finishing its job. Since the goal for me was to build a web application that will get its data from the back end of the same hos