Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Connection reset when creating a AD computer object

$
0
0

Hi all,

do anybody observe this strange behaviour?

 

I have deployment workflow, where is hostname built and hostname is verified against AD, DNS and ESXi hosts, if it is not presented a AD object is created and here is my point of pain.

The construction of hostname takes about 20 minutes and after this period I've recieved a message Failed to create computer... Connection reset.

 

log file server.log has the following output:

2015-09-30 13:22:35.611+0200 ERROR [Container] Failed to create computer... Connection reset

javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]; remaining name 'CN=HOSTNAME'

    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(Unknown Source)

    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(Unknown Source)

    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)

    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(Unknown Source)

    at ch.dunes.ad.object.Container.createComputer(Container.java:621)

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

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at ch.dunes.vso.sdk.WrappedJavaMethod.call(WrappedJavaMethod.java:142)

    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)

    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)

    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)

    at ch.dunes.scripting.server.script.DynamicFunction.call(DynamicFunction.java:214)

    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)

    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)

    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)

    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)

    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)

    at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)

    at org.mozilla.javascript.Context.evaluateString(Context.java:1111)

    at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(MainScriptingObject.java:236)

    at ch.dunes.scripting.server.script.MainScriptingObject.executeScript(MainScriptingObject.java:223)

    at ch.dunes.workflow.engine.mbean.WorkflowScriptRunner.execute(WorkflowScriptRunner.java:188)

    at ch.dunes.workflow.engine.mbean.runner.WorkflowItemTaskRunner.execute(WorkflowItemTaskRunner.java:45)

    at ch.dunes.workflow.engine.mbean.runner.WorkflowItemTaskRunner.execute(WorkflowItemTaskRunner.java:24)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.requestElementExecution(WorkflowHandler.java:875)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.handleWorkflowTokenNextStep(WorkflowHandler.java:619)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.executeToken(WorkflowHandler.java:500)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.handleTokenExecution(WorkflowHandler.java:416)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.access$200(WorkflowHandler.java:89)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler$1.execute(WorkflowHandler.java:330)

    at ch.dunes.model.ar.AccessRightsTemplate.executeWithAccessRights(AccessRightsTemplate.java:16)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.doExecute(WorkflowHandler.java:326)

    at ch.dunes.workflow.engine.mbean.helper.WorkflowHandler.run(WorkflowHandler.java:230)

    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

Caused by: java.net.SocketException: Connection reset

    at java.net.SocketInputStream.read(Unknown Source)

    at java.io.BufferedInputStream.fill(Unknown Source)

    at java.io.BufferedInputStream.read1(Unknown Source)

    at java.io.BufferedInputStream.read(Unknown Source)

    at com.sun.jndi.ldap.Connection.run(Unknown Source)

    ... 1 more

2015-09-30 13:22:35.611+0200 INFO  [SCRIPTING_LOG] Failed to create computer... Connection reset

 

As far as I found on internet it should be caused by firewall, but in my case there isn't firewalls on the way.

 

Did anybody solve issue like this?

 

My version of orchestrator is 5.1.1 build 2980 and AD plug-in is in version


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>