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

How to start Debug server? No Redistributables?

$
0
0

Hi everyone,

 

Having issues with trying to run a Debug server for development testing. The server is not on the same dev box as Visual Studio, etc. It's a standalone W2008R2 box. I have the Debug version installed for testing but when trying to run it I get the 'side-by-side configuration error'.

 

Did a quick search and just installed the 2005 C++ redistributables but still no go.

 

So how can I get this Debug server up and running so we can develop against it without using our Production license?

 

There is zero Adobe documentation on this that I have found and quite frustrating for sure.

 

Edit:

 

I did a sxstrace and here are the results:

 

 

=================
Begin Activation Context Generation.
Input Parameter:          Flags = 0          ProcessorArchitecture = AMD64          CultureFallBacks = en-US;en          ManifestPath = C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\InDesignServer.com          AssemblyDirectory = C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\          Application Config File =
-----------------
INFO: Parsing Manifest File C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\InDesignServer.com.          INFO: Manifest Definition Identity is (null).          INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".          INFO: Resolving reference for ProcessorArchitecture amd64.                    INFO: Resolving reference for culture Neutral.                              INFO: Applying Binding Policy.                                        INFO: No publisher policy found.                                        INFO: No binding policy redirect found.                              INFO: Begin assembly probing.                                        INFO: Did not find the assembly in WinSxS.                                        INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT.MANIFEST.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.                                        INFO: Did not find manifest for culture Neutral.                              INFO: End assembly probing.          ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

 

On the same server I have the Release version of 5.5 and it starts up with no issue. What's the point of the Debug/Developer version if it doesn't start? Do I need to reach out to my Adobe rep for answers on this?

 

Thanks for any help/tips/pointers.

 

~Allen

 

 

Message was edited by: AJDValien


Indesign refuses the socket connection with JVM, and not creating any response

$
0
0

Hi all,

 

I am facing the following error while trying to spray the indesign pdf.Actually we need to generate 100's of pdf but after 12 to 15 jobs indesign refuses the connection with JVM.So that is why JVM is not giving the response to indesign and the indesign stucks waitnig for java side's data.

 

(1) I have tried to increase the jvm memory using the  -Xms512M -Xmx1024M)

I am getting this error in eclipse console.

ClientAbortException:  java.net.SocketException: Connection reset by peer: socket write error

          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)

          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)

          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)

          at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)

          at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)

          at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)

          at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)

          at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java :1747)

          at java.io.ObjectOutputStream.<init>(ObjectOutputStream.java:226)

          at com.apsiva.commframework.server.CommunicationServlet.sendSerializedResponse(Communication Servlet.java:155)

          at com.apsiva.commframework.server.CommunicationServlet.doPost(CommunicationServlet.java:79)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)

          at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.SocketException: Connection reset by peer: socket write error

          at java.net.SocketOutputStream.socketWrite0(Native Method)

          at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)

          at java.net.SocketOutputStream.write(SocketOutputStream.java:136)

          at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:74 0)

          at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)

          at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)

          at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOu tputBuffer.java:764)

          at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124 )

          at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573)

          at org.apache.coyote.Response.doWrite(Response.java:560)

          at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)

          ... 28 more

 

 

Thanks.

where are adobe fonts installed in Mac OSX?

$
0
0

Hi,

I need the same Adobe fonts in Photoshop CS6 and InDesign CS6.

Where are they installed in OSX?

Do my Adobe programs install fonts in a different folder than other programs do?

Return code 6 when trying to activate trial of InDesignCC Server 2014

$
0
0

Hi!

 

I keep on having the "return code 6" when I try to activate a trial version InDesign CC Server 2014 (pc) with APTEE:

i try to use the commande adobe_prtk --tool=StartTrial --leid=InDesignServer-10-Win-GM

InDesign Server CS6 (MacOS) - JavaScripting & Troubleshooting "Bus error" or "Segmentation fault"

$
0
0

I'm attempting to convert a workflow from InDesign CS5.5 Desktop with AppleScript to InDesign Server CS6 with JavaScript. It seems most of our templates work fine but every now and then I run into one that seems to work properly but right after we export to PDF and JPG which is the final step in the script I get either a Bus error or a Segmentation fault error. The files do export and the console sits idle for a few seconds then I get the crash. It doesn't seem to give me anything else and I can't find a crash dump or core file anywhere on disk to examine.

 

The exact same input files on InDesign CS5.5 Desktop completing a very similar automation task via AppleScript work without an issue or error. I'm not certain if it's a problem with the way the InDesign files were put together, a version problem between a CS5.5 file and CS6, or something that I'm doing wrong in the script.

 

Is there a way to get InDesign Server to go into debug or verbose mode so that it will show more than just two word errors on crash?  I've read a few people talking here about the debug version but every path I've found to get access to the debug version runs into a roadblock with a bad link.

 

I would appreciate a point in the current right direction for how to debug these templates this script.

interactive document 交互文档

$
0
0

您好,是否有一个帮助文件详细介绍了indesign的交互功能(动画,连接,等等)??

How to work with Layout Windows

$
0
0

myDoc.layoutWindows[0] not working with indesign server It shows object not supported.

Any alternative for this to use with indesign server??

Adding XMP Details in Indesign INDD and generated PDF File

$
0
0

HI,

How can we add xmp details to indd and pdf file in indesign. and the added xmp details should be populated in IPTC content of indesign xmp viewer.


JPEG single page export from multipage document

$
0
0
Hello Experts: I have a function to create a JPEG file given a page number from a multipage document. The problem is that InDesign Server will actually create JPEG files for all the pages -despite the given page range (I just want to create one). It appends the page number starting on page 2 (and will create the JPEG's desired file name for the first page in the document, and so on)

Here is my sample code:

Somewhere I will initialize the document to use it globally:
app.open(File(inDocumentPath));
currentDocument = app.documents[0];

Here is my current function:

function ExportAsQualityJPG(inSaveAsDocumentPath, inPageNumber)
{
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.maximum;
app.jpegExportPreferences.resolution = 300;

pageName = currentDocument.pages.item(inPageNumber-1).name;
app.pdfExportPreferences.pageRange = pageName;
// app.jpegExportPreferences.pageString = pageName; --> Does not work

currentDocument.exportFile(ExportFormat.jpg, File(inSaveDocumentPath), app.pdfExportPresets.item("[High Quality Print]"));
}

I will do something like later:

ExportAsQualityJPG("//Documents/InDesign/Page2.jpg", 2);

As I mentioned above, it will actually create images for all pages in the document. For example, if the INDD doc has 3 pages, it will create these images:
Page2.jpg (actual page 1)
Page22.jpg (actual page 2)
Page23.jpg (actual page 3)

Any help or tip would be really appreciated.

Thanks,

G.O.

PHP SOAP Client for InDesign Server

$
0
0
Hi,<br />I am new to IDS and I am writing my diploma thesis about working with IDS. I need some help or ideas how I can implement a SOAP-Client for IDS with PHP.<br /><br />I am working with PHP 5's SOAP-Extension and know that there is one function "runScript". But when I try to send a SOAP-Message I get some error like "The required SOAP element "RunScriptParameters" could not be found Please check the SOAP Message that was send to InDesign Server."<br /><br />Thats my code:<br /><br /><?php<br /><br />$client = new SoapClient('http://localhost/IDSP.wsdl');<br /><br />$client->__call('runScript',$params);<br />?><br /><br />How should I fill the array '$params'?<br /><br />Thanks,<br />Christoph

IDML to PDF using Java API

$
0
0

Hi,

 

   I have created an IDML with template through the Indesign GUI and have created the respective XML files(story,designmap,etc) and able to make the changes in it and display that in the UI. This is fine, my requirement is to use the Java API to pass the .idml file (which holds the template) and creates a .PDF out of this. I am unable to get any source code samples for this, this should be done through Java API and no scripting is allowed. I went through the IDML spec, but doesn't have any source code samples for the requirement. Hence, please do provide the source code samples to achieve this using Java API. Expecting positive response...

 

Thanks

Rithu

5.0.2 dot release available for InDesign Server

$
0
0
The 5.0.2 Dot Release for InDesign, InCopy and InDesign Server is now live on Adobe.com and available through Help>Updates. This update provides key fixes in the areas of Anchored Objects, Character Alignment, Step and Repeat, Indexing and Table of Contents, Text and Fonts, Dictionaries, Color, Scripting, Import/Export Graphics, InDesign Interchange files (INX), XML, Library files, Printing, and others.

For a full list of resolved issues, please see the Adobe InDesign CS3 5.0.2 ReadMe.pdf at http://www.adobe.com/go/id5_readme.

This installer includes fixes from all previously released InDesign CS3 5.0.x updates. Note that the previous InDesign 5.0.x updates are no longer available separately.

Shut down ID Server CS2

$
0
0
Hi all,

Does anybody know how to shut down ID Server CS2 programatically?

Thanks,

Call ID Server from remote machine using AS

$
0
0
Hello,
I read all documentation but I haven't find any example about how to call IDServer from remote machine using AppleScript using SOAP or others technologies
I want to create a palette using Xcode and AppleScript Studio to pilote ID Server from remote machines.
Does anyone have ideas or samples on how to accomplish this task?

Stefano

[IDS CF8] Can't return a value from the script

$
0
0
I want to return a value from an indesign server script, but I am getting the error "Variable FOO is undefined". When I run the Coldfusion code (see below), it runs the InDesign Server Script, but I can not get a return value.<br /><br />When I run the script with test client I get: ./testclient test.jsx<br />Script result (std__string): TEST<br /><br />I am using Coldfusion 8 (Win) and IDS is running on OS X 10.5.<br /><br />InDesign Server Script (test.jsx)<br /><br />function main() {<br />     app.consoleout("This is a test");<br />     return "TEST";<br />}<br /><br />main();<br /><br />Coldfusion Code<br /><br /><cfset aRunScriptParameters=StructNew()><br /><cfset aRunScriptParameters.scriptFile = "/Applications/Adobe InDesign CS3 Server/test.jsx" ><br /><cfset aRunScriptParameters.scriptLanguage = "Javascript" ><br /><br /><cfset foo = "" ><br /><cfinvoke webservice="http://127.0.0.1/SOAP/IDSP.wsdl" method="runScript" returnVariable="foo"><br />     <cfinvokeargument name="runScriptParameters" value="#aRunScriptParameters#"/><br />     <cfinvokeargument name="errorNumber" value=""/><br />     <cfinvokeargument name="errorString" value=""/><br />     <cfinvokeargument name="scriptResult" value=""/><br /></cfinvoke><br /><cfoutput>foo</cfoutput><br /><br />Does anyone know of another way of calling InDesign Server from Coldfusion 8 that will get me the return value?<br /><br />Thanks

Passing a param to a JavaScript in Java using myApp.doScript

$
0
0
Hi!

I'm trying to pass a very simple string parameter to a JavaScript within my Java code. I am using the example DoRunScript.java that was given in the CS3 SDK:

... (here's a snippet of the code)

//call the javascript, passing in the arguments
VariableType returnValue = myApp.doScript (
VariableTypeUtils.createFile (scriptFilePath),
OptArg.makeScriptLanguageEnum (kScriptLanguageJavascript.value), argSeq);

My question is how do I retrieve the value of the parameter in my Javascript? I gather that I must use something like the following, but I'm not sure what to use as the name.

var myArg = app.scriptArgs.get ("name");

Am I going about this the wrong way? Eventually, I would like to pass an array or an ArrayList. Could I do this?

Thanks for your help!
Jennifer

[IDS CS2]File.openDialog does not work!!!

$
0
0
Hi,

I tried the following code in Javascript in InDesign Server CS2 to show the file open dialog to choose a txt file but it failed :

var myFile=File.openDialog("Choose the txt file","TXT:*.txt");

Whats wrong in this code?Please help

Thanks
Raabu

[IDSW]: Exiting InDesign Server

$
0
0
Hello Forum,

I'm a newbie in the InDesign Server world, and my question may be a very silly one.

I run ID Server from Windows console. If I exit it with Ctrl-C, my strartup/shutdown services get called. If I just close the console window, the shutdown service is not called. Has anybody come across the problem? Is there a "moral" and portable way to solve it?

I noticed that when I just close the console window, InDesign temporary files are not deleted from the temporary directory. Maybe this is just a bug in InDesign Server, or InDesign server is not supposed to quit normally in this case at all...

Thank you,
Pavel.

SOAP FAULT: SOAP-ENV:Client

$
0
0
Hi all,

I'm trying to get the Adobe InDesign Server to work, but having no experience with SOAP I'm running into a few problems.

After I make sure that the server is running I use the testclient to try HelloWorld.jsx
"testclient HelloWorls.jsx"

When executing this I get the following errors:
----
SOAP FAULT: SOAP-ENV:Client
"Unknown error"
Detail: TCP connect failed in tcp_connect()
---

Any ideas on how I can solve this? A few google searches about this problem gave me no relief...

Kind regards,
Tibor

InDesign Server Installation and Configuration Guide

$
0
0
Hi everybody
I try to ask one silly Q.
Where can I get this document.
I found many references but no link :(
Viewing all 20709 articles
Browse latest View live


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