Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Dead instances in corba mode on Mac OSX

$
0
0

Hello,

 

Since our transition to IDS CS5 we often experience that corba instances run into a dead-lock randomly.

With a dead instance, i mean that the process is still running, the ior file still exists and seems to be valid (the contentstring is the same as on startup), but the application object is lost. It occurs randomly somewhere during execution of our code and almost always on a different part of our code.

I can simulate this state of IndesignServer by running a corba instance on my MacBook Pro, closing the MBP and wait for about an hour. Then reopen it and trying to connect. Then i get:

org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
       at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O RBUtilSystemException.java:2200)
       at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O RBUtilSystemException.java:2221)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>( SocketOrChannelConnectionImpl.java:205)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>( SocketOrChannelConnectionImpl.java:218)
       at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create Connection(SocketOrChannelContactInfoImpl.java:101)
       at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin Request(CorbaClientRequestDispatcherImpl.java:152)
       at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaC lientDelegateImpl.java:118)
       at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
       at com.adobe.ids.basics._ApplicationStub.updateFonts(Unknown Source)
       at be.nss.ids.advit.AdvitSession.<init>(AdvitSession.java:98)
       at be.nss.documentserver.controller.action.OpenSubDocumentAction.execute (OpenSubDocumentAction.java:50)
       at be.nss.documentserver.controller.ActionQueue$ActionThread.run(ActionQ ueue.java:231)
Caused by: java.lang.NullPointerException
       at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket (DefaultSocketFactoryImpl.java:59)
       at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>( SocketOrChannelConnectionImpl.java:188)
       ... 9 more

This is exactly what i get on our customers servers (which don't "go to sleep" obviously). Just setting my MacBook Pro to a very short sleep time (1 min.) doesn't invoke this error. This makes it hard to simulate the problem. Apparently the sleep invoked by closing the MBP and waiting an hour isn't the same as putting it asleep, all parameters on, after 1 min.

All OSX versions are 10.6

So i have two questions:

1) What are the possible causes of those dead-locks? Errors in our code (both java and our own IDS plugin) normally cause a real instance crash which is traceable.

2) Is there a way to re-establish a connection to a dead instance?

 

Thanks in advance for any input!

 

Bart Devos.


Viewing all articles
Browse latest Browse all 20709

Trending Articles



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