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)
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
Post a Comment