Open document in Indesign server cs5.5
Hi Guys!
I am having problem when opening documents in CS5.5, I have upgraded our Indesign server CS3 to CS5.5 and using the indesignserver-api for Java.
I am running Jboss, J2EE, CORBA and CS5.5 with 8 instances.
When I open many *.indt documents I get "Please close one or more Adobe InDesign Server documents or books or libraries and try again." it seams that Indesign server is locking
the file. If i dont have heavy load the indesign has no problem. I read the new API and I am opening the document with:
com.adobe.ids.basics.ApplicationOperations.open(VariableType from, OptOpenOptionsEnum openOption) throws IdsException
My code:
| VariableType vtDocument = application.open(VariableTypeUtils.createFile(documentFileName), OptArg.noOpenOptionsEnum()); | |
| Document document = DocumentHelper.narrow(vtDocument.asObject()); |
I really dont know what OptOpenOptionsEnums are available and sending in no options, I think the problem is here, because in CS3
I did not need to send the OpenOptionsEnum in open method.
What kinds of OptOpenOptionsEnums is there to choose from ?
Anyone get the same problem? solutions ?
