Too few bytes (-1) received from OPMN response error
<p>When I entered Oracle Application Server Control panel, an error message was appeared "Too few bytes (-1) received from OPMN response". It doesn't allow to do any deployment. How can I fix this error?</p>

<p><strong>Trace Information:</strong></p>

<pre>
oracle.ias.opmn.optic.OpticBadConnectException: Too few bytes (-1) received from OPMN response at <br/>oracle.ias.opmn.optic.OpmnPhone.rcvResponse(OpmnPhone.java:529) at <br/>oracle.ias.opmn.optic.OpmnPhone.makePhoneCall(OpmnPhone.java:193) at <br/>oracle.ias.opmn.optic.OpmnPhone.request(OpmnPhone.java:130) at <br/>oracle.ias.opmn.optic.OpmnQuery.getBuf(OpmnQuery.java:347) at <br/>oracle.ias.opmn.optic.OpmnQuery.getDom(OpmnQuery.java:467) at <br/>oracle.ias.opmn.optic.OpmnQuery.getIasCluster(OpmnQuery.java:941) at <br/>oracle.sysman.ias.studio.cluster.OpticTopologyAdminBean.initializeAppServers(OpticTopologyAdminBean.java:1117) at <br/>oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1278) at <br/>oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875) at <br/>oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391) at <br/>oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765) at <br/>oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283) at <br/>oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297) at <br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at <br/>javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at <br/>com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at <br/>oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75) at <br/>com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15) at <br/>oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85) at <br/>com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at <br/>oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80) at <br/>com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at <br/>oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68) at <br/>com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619) at <br/>com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at <br/>com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at <br/>com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at <br/>com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at <br/>com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at <br/>oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at <br/>com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at <br/>java.lang.Thread.run(Thread.java:595)
</pre>

<p><strong>Error logs in opmn.log file :</strong> </p>

<pre>
.
.
.
16/02/03 10:14:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor

16/02/03 10:16:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor

16/02/03 10:18:42 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor

16/02/03 10:19:29 [ons-connect] Local connection 127.0.0.1,6100 invalid form factor

.
.
</pre>