0 Replies Latest reply on Oct 28, 2008 8:56 AM by (Joachim_Karl)

    Problem wit Java via ORB: org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No

    Level 1
      I try to use the Java API to drive an InDesign Server CS3.<br />I have set up Windows Services for two InDesign Server instances, both using diffenrent prots and different IOR Files.<br /><br />When I try to connect the Adobe Java SampleClient (from teh SDK. Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba) I can connet to InDesign one or two times.<br /><br />After that i get an Exception on the next try:<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br /><br />same thin occours when I use the precompiled java program musing the sampleclient.bat.<br /><br />One strange thing could be encountered here. I definitely do not use port: 2512" as mentioned in the error message. I use port 2267n and it works for just two client calls (after each restart of the InDesign Service).<br /><br />any hints?<br />What ist the thing about OmniOrb? Do I have to install somthing except the adobe InDeign Server and the SDK?<br /><br />many thanks in advance<br />Joachim<br /><br />sampleclient.bat's output:<br />--------------------<br />C:\Programme\Adobe\Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba<br />\scripts>java -classpath "..\lib\sampleclient-java-corba.jar;..\..\..\lib\InDesi<br />gnServerAPI.jar" com.adobe.ids.SampleClient -iorfile "c:\Temp\InDesignCS3Server2267ior.txt" "C:\Workshops\InDesignServer\WWPScripts\SavePageAsJpg.jsx"<br />28.10.2008 17:21:36 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImp<br />l <init><br />WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR<br />_TEXT; hostname: 192.168.1.152; port: 2512"<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create<br />Connection(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin<br />Request(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow<br />n Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S<br />ource)<br />        at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)<br />        at com.adobe.ids.basics.ApplicationHelper.narrow(Unknown Source)<br />        at com.adobe.ids.SampleClient.main(Unknown Source)<br />Caused by: java.net.ConnectException: Connection refused: connect<br />        at sun.nio.ch.Net.connect(Native Method)<br />        at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)<br />        at java.nio.channels.SocketChannel.open(Unknown Source)<br />        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket<br />(Unknown Source)<br />        ... 9 more