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

Memory purge

$
0
0

When InDesignServer (CS3) is continuously running for a couple of days on our test server, we get the following output messages: (every few minutes)

 

WARN  [server] Memory Purge: 889 MB available, 670 MB physical, 244 MB available physical bytes

 

From this point IDServer is also very slow.

 

Can someone explain? Does it mean that there's not enough memory available? It seems odd that this can happen because every script always closes the InDesign files before completion..

 

Thanks in advance.


User Loads

$
0
0
Anyone have any thoughts on user loads per CPU? i.e. how many concurrent users it'd be reasonable to expect for a 1 CPU license vs. 2 CPU license vs. 3, etc.

Problem relink Image - CORBA

$
0
0
Hallo!

My CS3 Document contains one Rectangle with one Image.
Now I want to change the Image via CS3 Server Java / CORBA Plugin.
After running the code, InD changes the Link, but i can't see the new
image in the Rectangle.
One information for the following Source-Code:
the method startServer initialize the InD-Session and returns the
opened Document as Object of Type Document.
Here is the code:

startServer();
Rectangle ra = doc.getNthChildRectangle(0);
int recId = ra.getId();
Image image = ra.getNthChildImage(0);
int imgId = image.getId();
Link link = image.getItemLink();
int linkId = link.getId();
System.out.println("RectAngleID: " + recId);
System.out.println("ImageID: " + imgId);
System.out.println("LinkID: "+linkId);
link.relink("/Users/fklaes/Downloads/1.jpg");
link.update();
linkId = link.getId();
System.out.println("LinkID: " + linkId);
imgId = image.getId();
System.out.println("ImageID: " + imgId);
recId = ra.getId();
System.out.println("RectAngleID: " + recId);

doc.save(OptArg.noFile(),
OptArg.noBoolean(),
OptArg.noString(),
OptArg.noBoolean());
stopServer();
<-- This lines you can see in the console -->

RectAngleID: 198
ImageID: 319
LinkID: 320
LinkID: 0
ImageID: 0
RectAngleID: 198

I don't know what's wrong in this snippet.
Thanks for your answers.

[IDS CS 2][JS]UTF-8 via soap request

$
0
0
Hallo,

when sending a soap request with utf-8 encoded characters, the server transforms them to the local windows charset encoding (ISO-8859-1) when reading via JavaScript. Is there a possibility to tell the server to treat soap requests as UTF-8 encoded strings? Or maybe the error occurs in the Application.scriptArgs variable where they are stored with the wrong charset.

Passing parameters from plugin to script

$
0
0

I need to pass some parameters from a plugin to a script. I have tried this method:


    PMString engineName("myengine");
    PMString scriptString("C:/Program Files/Adobe/Adobe InDesign CS4 Debug/Scripts/IterateFolder.jsx");
    IDFile scriptFile;
    scriptFile.SetString(scriptString);

    PMString value("c:/windows");
    ScriptData param1;
    param1.SetPMString(valor);

 

    ScriptIDValuePair argument1(0, param1);
       
    ScriptRecordData arguments;
    arguments.push_back(argument1);
    ScriptData result;
    PMString errorString;
    ScriptData scriptFileData(scriptFile);
    int32 errorCode=Utils<IExtendScriptUtils>()->RunScriptInEngine( engineName, scriptFileData, arguments, result, errorString);

 

 

The problem is that I don´t really kwno how can I get the parameters in my script. I suppose it must be something like app.scriptArgs.getValue(), but i don´t really know. Could anybody help me?

 

Thanks,

 

Alvaro

The remote procedure call failed. (Exception of HRESULT: 0x800706BE)

$
0
0

 

when calling           

Document idDoc = (Document)idApp.Open(inddTemplate, false);


sometimes COMException is produced:


The remote procedure call failed. (Exception of HRESULT: 0x800706BE)


Some stacktrace:

 

at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[]

aWrapperTypes, MessageData& msgData)

bei InDesign._Application.Open(Object From, Boolean ShowingWindow)

 

This error does not appear everytime. We tried to reinstall InDesign (Adobe Indesign CS3 trial Version 5.0.2) but it not helped

 

I found the same problem in other thread http://forums.adobe.com/message/1307758#1307758

But i did not find the answer.

 

thanks in advance

"Distributed Copy Editor" Crash | MacOS X 10.6

$
0
0

Hi,

 

since MacOS X 10.6 the IndesignServer CS4 (6.0.1) crashes when starting up with the "Distributed Copy Editor" (suribachi).  Starting it "standalone" everything is fine.  Running it from /suribachiassets it just terminates with

 

2009-09-07 09:30:26.199 InDesignServer[19264:903] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: NSBundleInitialPath)'

*** Call stack at first throw:

(

0   CoreFoundation                      0x9038658a __raiseError + 410

1   libobjc.A.dylib                     0x98bf3f49 objc_exception_throw + 56

2   CoreFoundation                      0x903862b8 +[NSException raise:format:arguments:] + 136

3   CoreFoundation                      0x9038622a +[NSException raise:format:] + 58

4   Foundation                          0x96c828d7 -[NSCFDictionary setObject:forKey:] + 261

5   Foundation                          0x96c8bff8 +[NSBundle mainBundle] + 428

6   HIToolbox                           0x93a1bb33 _HIEnableSuddenTerminationIfRequestedByPlist + 100

7   HIToolbox                           0x93a1c011 _FirstEventTime + 20

8   HIToolbox                           0x93a1be94 RunCurrentEventLoopInMode + 48

9   HIToolbox                           0x93a1bcdf ReceiveNextEventCommon + 158

10  HIToolbox                           0x93ba3d91 ReceiveNextEvent + 83

11  AppFramework                        0x321797be 0x0 + 840406974

12  AppFramework                        0x3219cd9e GetPlugIn + 16750

13  InDesignServer                      0x0000209b start + 2107

14  InDesignServer                      0x00001962 start + 258

15  InDesignServer                      0x00001889 start + 41

16  ???                                 0x00000005 0x0 + 5

)

./startup-indesign-server.sh: line 1: 19264 Trace/BPT trap          "/Volumes/Macintosh HD/Applications/Adobe InDesign CS4 Server/InDesignServer.app/Contents/MacOS/InDesignServer" -iorfile "/suribachiassets/ior.txt" -pluginpath "Server/Corba"

Any idea how to fix that?
Regards
Benjamin Müller

InDesign CS4 Server not responding after several hours

$
0
0

Hello All,

 

I have some plugins running on the InDesign CS4 Server. We have noticed that server is not responding if kept idle for Several Hours or days.

Has anyone faced this similar problem. Even if we ping the Server with HTTP from browser it returns the message InDesign Server is not Running. But in Task Manager it show InDesign Server is running.

 

If any one has any solution to this please do let me know.

 

Thank you all in advance

 

Regards

Farzana.


Indesign server trial

$
0
0

Hello, I would like to find a trial version of Adobe Indesign server (CS4 or CS5). I try to download it in the download area, but the link is broken. Thanks.

Unable to start cs3 server on os x 10.6.3

$
0
0

After starting from a shell server terminates with following error:

 

Sun Jun  6 12:28:11 2010 INFO    [Server] Initialisierung
Sun Jun  6 12:28:11 2010 INFO    [Server] Anwendung wird geladen
Sun Jun  6 12:28:11 2010 INFO    [Server] Zusatzmodule werden gesucht
Sun Jun  6 12:28:11 2010 INFO    [Server] 105 Zusatzmodule werden registriert
Sun Jun  6 12:28:13 2010 INFO    [Server] Objektmodell wird fertig gestellt
Sun Jun  6 12:28:13 2010 INFO    [Server] Objektmodell wird gespeichert
Sun Jun  6 12:28:13 2010 INFO    [Server] Zusatzmodule werden initialisiert
Sun Jun  6 12:28:13 2010 INFO    [Server] "Early Initializers" werden aufgerufen
Sun Jun  6 12:28:13 2010 INFO    [Server] Dienstregistrierung wird gestartet
terminate called after throwing an instance of 'devtech::LM_exception'
  what():  Can't find user application support folder!
./startup_id3.sh: line 4: 68749 Abort trap              InDesignServer.app/Contents/MacOS/InDesignServer -iorfile "/ior.txt" -pluginpath "Server/Corba" -previews
sh-3.2#

 

Any idea for a solution?

IDS on WinServer 2008 Location of joboptions files

$
0
0

I am attempting to find where to put my joboption file on Windows Server 2008. Indesign Desktop is not installed on this server, nor can it be. I tried

C:\Users\Administrator\AppData\Roaming\Adobe\Adobe PDF\Settings

 

The job option file I am attempting to use is: PDFX1a 2001.joboptions

 

but my javascript that works locally does not on the server. My function call is:

 

mydoc.exportFile(ExportFormat.pdfType, File(file), app.pdfExportPresets.item("[PDF/X-1a:2001]"));

 

but that results in an error as the item is not found.

 

Any help would be appreciated.

 

Thanks,

 

Mike

Import(insert) formatted text(HTML) into document

$
0
0

Hi guys, I have faceed with folowing problem:

how to insert into text frame formatted text ?

At Indesign desktop version this feature was able through pasting HTML from clippboard with appropriate settings of clippboard preferences. But at server versionthere is no such function.

I have also invesigated XML import:  you can set up text and paragraph styles and map them with tags but this technique doesnt support nested styles for instance if you have <b><i>xxx</i></b> and appropriate styles "b" and "i" i will be applied to "xxx".

 

So I need to insert html as it did clipboard pasting.

 

Any thoughts ?

Support for undo in CS5 server?

$
0
0

Hi

 

I'm having trouble accessing doc.undoHistory in my scripts as well as through ICmdHistory in my plugin code. Does the server version not provide any undo support?

 

Kind regards Toke

CS4 InDesign Server hangs

$
0
0

I've ran into a problem where the my CS4 InDesign Server hangs. 

 

I'm adding pages dynamically using the JAVA API.  Basically I go through all the content, check to see if I've reached the ParagraphStyle that indicates the "end" of the document.  If not, I add a page, flow the content into a text frame on that page & check if I've reached the end.  If not I add another page.  And so on until I finally reach the end. But it ends up hanging while attempting to do this.  What's odd, it works the first 5-10 times, but it takes longer and longer each time it adds a page until around the 10th page or so, it completely stops.  I'm using the "duplicate(OptLocationOptionsEnum arg0, OptVariableType arg1)" method on the com.adobe.ids.layout.Page object.

 

Any ideas?  I can provide sample code if it would help.

 

-Josh

Start IDS CS5.5 at reboot with IndesignServerServices

$
0
0

Screen shot 2011-06-08 at 4.50.49 PM.png

We make use of InDesign Server Windows Service and InDesign Server Console

 

Management snap-in to automatically load InDesignServer. In the current setup
InDesignServer.exe runs yet the InDesignServer.com process doesn't seem to load.

Then on running a JavaScript file via the ExtendScript Toolkit editor the Application

 

tell us InDesignServer CS5.5 isn't running. See attachments for screenshots.

It is possible to start IDS command line, and by ExtendScript Toolkit, but Windows

Service only launches the indesignserver.exe

 

Screen shot 2011-06-08 at 4.55.05 PM.png

Screen shot 2011-06-08 at 4.51.28 PM.png


InDesignServer CS5.5 Windows Service issue

$
0
0

Hi,

 


My company just bought InDesignServer CS5.5 (win- full version). My app uses indesignserver on port 12345. This works via command line very well (Indesignserver.com -port 12345). But there is nothing in documentation that explain how to install indesignserver as windows service with port 12345 option. When I install the indesignserver it will get installed as a windows service but without any parameters.

 

Can anybody please help me regarding this.

 

Thanks,

Venkat

Running InDesign Server CS5 single instance and CS5.5 on same box fails

$
0
0

Hi

 

I am unable to run two single instance versions of CS5 and CS5.5 on the same Windows machine.

 

Is there a work-around?

 

Is this possible for you or any other in this forum?

 

Thanks in advance,

Ruvan

Frontlab

IOR files not being created

$
0
0

I'm currently experimenting with using the InDesignServerService (windows service) as our means of starting and managing instances of InDesign Server.

 

I seem to have it working for the most part but the IOR files are not being created and I cannot figure out why. I have been messing around with the command line arguments in the InDesignServerService MMC for quite some time with no luck. The instances seem to startup fine and show "running" in the event viewer info message.

 

Command line arguments used -

-pluginpath Server/Corba -iorfile c:\IDSQueues\Default\ior1.txt -previews

 

I've made sure the account the service is running under has writes access to the ior file path. I truely don't know what else to try or why this is happening.

 

Any help would be great! thanks!

 

FYI

 

Using InDesign Developer Server CS5 (for testing) on Windows 7 64bit.

Fonts not being recognized by ID server

$
0
0

Hi Experts,

 

We are having terrific inconsistent behaviour with Indesign server.

 

Currently we have an set of Indesign servers instances(k1-k13) running on one windows server machine managed by one LBQ.All of them

share the same set of plugins and same environment including the Fonts folder and the Fonts link present in it

 

we find that inconsistent results are coming up for fonts in the same Indesign File on the same machine but with different instances

of Indesign server.

 

On furthur investigation we found that this is something specific to one instance K8 running. It doesn't recognize the font Aria

lMTBoldLE but say for another instance on the same machine like K6 the same font is being recognized. The same instance K8 seems to not recognize the other f

onts also.

 

We are unable to find out inspite lots of googling also. Any advise on this will be welcomed.

 

Thanks,

 

sameer

Logs In JobQueue

$
0
0

Hi Experts,

 

I keep on getting below logs in my idsQueue.log after every 3 second

 

Calling execute on job DEFAULT.deployBundleJob

 

Could any body throw some knowledge why this message come after every 3 sec. Is it a normal behaviour.

 

Regards,

sameer

Viewing all 20709 articles
Browse latest View live


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