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

LBQ returns blank page (and HTTP Error 400).

$
0
0

So a little background -

 

We run InDesign CS6 on 2 different servers. Both servers are Windows 2008 R2. CS6 server has been running smoothly for a few years now. We're running both in a multi-instance environment and using the Adobe LBQ client to manage the queue and jobs.

 

Recently I built a new machine to test CC14 server. I noticed that the basic informationg regarding the LBQ was the same so I built out a couple of instances like before and tried to run the LBQ client (clover.cmd).

 

It starts to load and seems to load completely but when you try to go to the queue site (localhost:8080) it returns a blank page and an HTTP 400 error. Nothing else happens. The instances of Indesign are running fine but the LBQ is not.

 

My servers I've tried this on are the following:

 

Windows 2012 R2

Windows 2008 R2

 

I have even gone back to a clean VM of Windows 2008 R2 and even migrated back to InDesign CS6 and still the same issue!

 

The only thing I can think of is that the JRE is different. Originally our servers were setup with JRE 1.7 but they've auto-upgraded and are running 1.8. My new servers have 1.8 from the beginning.

 

I'm really at a loss here as to what might be happening. Spent last 3 days trying to puzzle things through to isolate any differences in configs, settings, versions, etc.

 

Any thoughts?in


How to tell programmatically check InDesign Server is functioning properly

$
0
0

We have InDesign Server CS5.5 deployed in our environment and, occasionally, the windows service will be running however it doesn't seem to function and needs to be restarted.  Obviously, this causes impacts to our user base as well as satisfaction issues.  I'm wondering if anyone knows of an technical approach to invoke it programmatically to see if its responding in a way that would declare it online and operational.  The desired goal would be to put availability monitoring on it in such a way that it would notify us as soon as an outage was detected but cannot find an elegant way to do this.  We tried to invoke an API to create a PDF but it generates a new folder and document each time it is checked plus this seems like a somewhat heavy operation.  Since we wanted monitoring on it to check very regularly, every minute or less, we had concerns that this approach would end up leaking a lot of storage.

 

Any thoughts would be appreciated!  Please be aware that I'm very much a novice when it comes to InDesign Server

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

Passing arguments to jsx file externally

$
0
0

Hi,

 

I have a script (javascript, jsx) that will parse content from InDesign (.indd) documents using InDesignServer. I want to be able to pass the filename, as well as the path of the indesign file as parameters to this script.

 

I have tried this vbs solution:

 

==========================

runjavascript.vbs

-------------

Option Explicit

On Error Resume Next


Dim appRef

Dim javaScriptFile


Set appRef = CreateObject( "Photoshop.Application" )


appRef.BringToFront


javaScriptFile = "C:\myscript\test.jsx"


call appRef.DoJavaScriptFile( javaScriptFile, Array(Array("one","two"), Array("three")), 1)


------

DoJavaScriptFile takes 3 params, the first being the script, the 2nd is an array of params. In my example, you can have an array of arrays of params. When you receive params from javascript side, it will see param 0 as (one, two), param 1 is (three). For most people, simple case is fine: eg:


call appRef.DoJavaScriptFile( javaScriptFile, Array("one","two", "three"), 1)


The javascript would look like this:


test.jsx

---------

#target photoshop


if (arguments.length > 0)

alert("ARGUMENT 0 = " + arguments[0]);


----

from the jsx side, there's a magical variable called "arguments" of array type. When you pass variables in, the 1st one will be arguments[0], the next one would be arguments[1], and so forth.


To execute this from command line, (assuming everything lives in c:\myscript):


cscript c:\myscript\runjavascript.vbs

 

 

==========================

 

This approach does not work, because I get an error from the CreateObject function, it cannot create an object for InDesignServer.Application.

 

Ideally, I want to be able to pass arguments from a python script to a jsx script.

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (32bit)

SmartLayout plugin

InDesign Server 10 CC 2014

$
0
0

Hi there,

 

we are using InDesign CS4 upt o CC 2014 and have some automation going with InDesign Server.

Our latest InDesign Server is 9. This workflow can't handle CC 2014- Documents.

 

Is there any Release-Date for InDesign Server CC 2014?

 

Many thanks,

Florian

I can't get indesign server to listen on the admin port on osx.

$
0
0

I've tried the example (with other ports) from the sdk with no success:

"/Applications/Adobe InDesign CS6 Server/InDesignServer.app/Contents/MacOS/InDesignServer" -port 12345 -heartbeatupdateinterval 10 -adminport 18485

The port isn't showing when I list the ports using lsof.

 

When I use LBQ the same things occurs. We start the server with:

/Applications/Adobe\ InDesign\ CS6\ Server/InDesignServer.command -configuration config_ior2 -pluginpath Server/Corba -iorfile ~/ServerTestFiles/LBQ/iors/ior2.txt -adminport 12342 -previews

 

When sending a REST call with KillInstance pointing to the ior file the same error occur as when calling the port through curl:

java.net.ConnectException: Connection refused

  at java.net.PlainSocketImpl.socketConnect(Native Method)

  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:18

.....

 

On windows it's working as expected.

 

Is there something to take into account when starting on mac?

 

System:

Mac OSX (10.9.4)

Indesign Server CS6 ver 8.0

Execute javascript on InDesign CC server 2014 with CORBA plugin.

$
0
0

I have installed InDesign CC server 2014 & wants to communicate with InDesign server via scripting.

I checked that we can pass script path with SOAP connection, but here I have to connect with CORBA to get support for LBQ component.

 

I am new to InDesign server scripting. So,comment/ask if you need any more info.

PhotoShop Server???

$
0
0

Hi!

 

I wonder if there is a "Server PhotoShop" for conversion of images and generation of previews.

Sorry, i dont speek inglish very well.

Thanks

INDESIGN SERVER GET LOCKED ON EXECUTING SCRIPT

$
0
0

Hi

Is there any method in jsx to unlock the indd file from indesign server.

currently indesign cc 2014 server is locking the indd files generated due to linking error in the server logs.

Importing of PDF Export Preset

$
0
0
Does anyone know how to import an existing PDF export preset into IDS. Ideally I'd like to set up Presets in InDesign desktop and then copy them into IDS, but I cant find where the preset files are stored. Alternatively, I could save existing presets as .joboptions files, and then use the script interface to import them. I cant find the right calls to make.

Thanks.

PDF Preset (joboptions)

$
0
0

Hi,

 

Where do PDF Preset files or joboptions files need to be stored for InDesign CS3 Server to "see" them. Would InDesign Server need to be restarted to pick up changes to the Presets?

 

 

Thanks

Failed to export the JPEG file: Maximum size exceeded

$
0
0

When exporting a page to JPEG you might get the following error message:

 

"Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

 

After some research I believe this maximum size for the resulting JPEG is set to 32767 pixels. This is the maximum value of a signed short.

Anyone can verify if this is correct?

 

 

 

Another similar error message you might get is:

 

"Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

 

I would like to know how this limit is calculated.

 

 

Test case:

 

InDesign document of 2000 mm x 2000 mm

    

    Export JPEG, format method 'BASELINE', dpi 416

          -> result preview of 32756 pixels     (2000 mm = 78,740157 inch * 416 dpi = 32756 pixels)

          => preview is exported

     Export JPEG, format method 'BASELINE', dpi 417

          -> "Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

          => max size exceeded

 

     Export JPEG, format method 'PROGRESSIVE', dpi 416

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 225

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 224

          => preview is exported

Indesign server trial not licensing

$
0
0

i am trying to get Indesign server Trial working... without any result.

 

this is the result in adobe_prtk

 


Copyright 2012 Adobe Systems Incorporated

All rights reserved.

StartTrial Successful

Return Code = 0

 

still get no working server

 

message

 

ERROR[server] Adobe InDesign Server is not properly licensed and will now quit.

Anyone any idea ??

 

Peter

Indesign Server CC Trial issues

$
0
0

The installation instructions states

 

You need to download Adobe Provisioning Toolkit Enterprise Edition (APTEE) for using the InDesign Server trial

 

The download link only refers to CS6, CS5.5 & CS5 not CC

Since there is no Adobe Provisioning Toolkit Enterprise Edition for CC I decided just to install and run the trial.

 

However I got the Adobe InDesign Server is not properly licensed and will now quit message.

According to the CC Release notes it says:

 

InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install. You need to provide your Adobe ID, and serial number when prompted by the installer. Unless the software is activated, you'll see an error, "Adobe InDesign Server’ is not properly licensed and will now quit."

 

My computer was online yet the it seems it didn't perfom the automatic activation as it suggests. When I entered my AdobeID credentials I did not get any errors saying it could not connect online.

 

So I had to do something and decided to use the Adobe Provisioning Toolkit Enterprise Edition for CS6.

This allowed me to get pass the licensing issue.

 

The next problem was I was getting DDE Server Window:InDesignServer.exe System Error popup. Telling me The program can't start because svml_dispmd.dll is missing from your computer.

 

C:\Program Files\Adobe\Adobe InDesign CC Server x64>indesignserver
================================================================================

.  InDesign CC Server Version 9.0 x64 Evaluation
.  Copyright 1999-2013 Adobe Systems Incorporated and its licensors.
.  All rights reserved. See the other legal notices in the ReadMe.
================================================================================

11/28/13 08:08:49 INFO  [server] Initializing
11/28/13 08:08:49 INFO  [server] Loading the application
11/28/13 08:08:49 INFO  [server] Scanning for plug-ins
11/28/13 08:08:49 INFO  [server] Registering 113 plug-ins
11/28/13 08:08:53 INFO  [server] Completing Object Model
11/28/13 08:08:53 INFO  [server] Saving Object Model
11/28/13 08:08:53 INFO  [server] Initializing plug-ins
11/28/13 08:08:53 INFO  [server] Calling Early Initializers
11/28/13 08:08:53 INFO  [server] Starting up Service Registry
11/28/13 08:09:02 INFO  [server] Executing startup services
11/28/13 08:09:02 INFO  [server] Using configuration configuration_noport
11/28/13 08:09:02 INFO  [server] Initializing Application
11/28/13 08:09:02 INFO  [server] Completing Initialization
11/28/13 08:09:02 INFO  [server] Calling Late Initializers
11/28/13 08:09:08 INFO  [server] Image previews are off
11/28/13 08:09:08 INFO  [server] Server Running
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\startup scripts\ConnectInstancesToESTK.js
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\startup scripts\ConvertURLToHyperlinkMenuItemLoader.jsx
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

So after browsing the net to see where I can get this missing svml_dispmd.dll I found this post http://software.intel.com/en-us/forums/topic/285859

and decided to install what it suggested.

I still got the missing dll error so I copied it from C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler into C:\Program Files\Adobe\Adobe InDesign CC Server x64

 

Now it just sits there and hangs at the same spot

11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

What the heck is going on here?

 

 

I have installed Indesign Server CC on another machine and although I did not get the missing dll problem it still however hangs at the same spot mentioned above.

Could someone from Adobe please help. The already I'm losing days with this trial and I will have little days left to test this product.

Using InDesign Server CC PC with Mac Clients

$
0
0

We have a situation currently where we will be retiring our OS X xserve running InDesign Server with the expectation to move to the windows version on a VM. An interesting questions has come up about the fact that the paths for Mac and PC users are different and we need the InDesign Server for PC to be able to work with the mac pathing of all of our clients. While I am aware there is a way we could use packaging to avoid the issue, we have plugins that wont work with that and need to use absolute paths for images.

 

I am sure people have dealt with this issue in the past but unfortunately have not been able to find much information about it. Can anyone shed some light on this for me.


XML to News E-Edition PDF

$
0
0

How do i create e-edition pdf (looks similar to newspaper) on the fly. I have a java based web application that need to create pdf looks similar to newspaper from bunch of articles. How do automate this thing. Do i need to work with Desktop Indesign or What solution fit my need. Help needed urgently.

scriptArgs and Applescript

$
0
0
Hello,
I am trying to determine how to pass variables into an InDesign Server Applescript when calling InDesign server via SOAP. I have seen several examples on how to do this with javascript, but nothing with Applescript -- does anyone have ideas or samples on how to accomplish this task?

I am passing some variables with the scriptArgs parameter in the SOAP call, but what is needed in the Applescript to receive and read the passed variables?

Thanks,
Mark

I want to communication with c++ sdk plug-ins by javaScript

$
0
0
When I created c++ indesign plug-ins, I used dollyx.

so, I create indesign server c++ sdk plus-ins by dollyx.

of couse, I choice InDesignServer.

and default sayHello() created successfully.

and startup the indesignserver, I founded that plug-ins count increased.

But, My javaScript could not connect app.sayHello() function.

what is the problem?

Thank you.

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

Unable to start Indesign Server

$
0
0

I have written a simple script to open and print a document using IDS.

 

When i try to run the script i get the following error:

 

Target Adobe InDesign CS4 Server is not running. Do you want to launch Adobe InDesign CS4 Server?

 

when i click yes i get:

 

Cannon execute script. (Cannot launch target Adobe InDesign CS4 Server!)

 

The sysadmin shows IDS to be running on 12345 and can access it from Smart Connection. We have the server set on an action so it should be running continuall. So we are not sure why we are getting this error. I do not see any permission issues that might cause this.

Viewing all 20709 articles
Browse latest View live


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