Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle installation, configuration, deployment, and administration
Viewing all articles
Browse latest Browse all 87219

Problem Reading Internet based Resources - JBoss - ES2 - windows 2008

$
0
0

I have an issue trying to use Java via ExecuteScript to get data via URLs on a Staging Server.

The code runs on the server by ends with a Connection Timeout Error.

 

I have a Production server that does not have the issue, and runs correctly.

Both servers are running LiveCycle ES2 (9.0) JBoss

Staging is Windows Server 2008 R2

Production is Windows Server 2008 Std.

 

Can anyone give me suggestions where to look in the configuration of LC or Windows to determine why Staging will no return data.

 

I can remote console onto the Staging box, and retrieve the URL with Internet Explorer OK (using my credentials)  - so the box can 'see' the Internet.

 

Any help is greatly appreciated!

Thanks

Mark

 

 

 

 

Example code below (may not run as is):

 

import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import java.util.ArrayList;
import java.net.URL;
import java.io.*;
com.adobe.idp.Document pdfDoc;


String error = "";
String tmpStr;
String ddxBody = "";
String outputName = "";
String extendedFeatures = "";


        System.out.println("***START 1***");

com.adobe.idp.Document xmlDoc = patExecContext.getProcessDataDocumentValue("/process_data/xmlData");
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();


        URL url =  new URL("http://help.adobe.com/en_US/livecycle/9.0/createfirstapp.pdf");
        System.out.println("***START 2 ***");

pdfDoc = new com.adobe.idp.Document(url);

        System.out.println("***START 3 ***");

        pdfDoc.passivate();

        System.out.println("***START 4 ***: " + docLength );

        patExecContext.setProcessDataDocumentValue("/process_data/outDoc",pdfDoc);
       
        System.out.println("***START 5 ***");


Viewing all articles
Browse latest Browse all 87219

Trending Articles



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