Expand my Community achievements bar.

Attention: Experience League Community will undergo scheduled maintenance on Tuesday, August 20th between 10-11 PM PDT. During this time, the Community and its content will not be accessible. We apologize for any inconvenience this may cause.

com.adobe.formServer.interfaces.RenderFormException

Avatar

Former Community Member
Hi All,



I have created one jsp and tested in jboss application. I have faced one problem.



Please help me....



Error msg:

com.adobe.formServer.interfaces.RenderFormException: java.rmi.RemoteException: java.io.FileNotFoundException: http:\localhost:8080\Forms\js\test.xdp (The filename, directory name, or volume label syntax is incorrect); nested exception is: com.adobe.formServer.interfaces.RenderFormException: java.io.FileNotFoundException: http:\localhost:8080\Forms\js\test.xdp (The filename, directory name, or volume label syntax is incorrect)



String sFormQuery = "LeaveRequestForm.xdp";

String sFormPreference = "MSDHTML";

String sContentRootURI = "http://localhost:8080/LeaveRequest/forms";

String sTargetURL = "http://localhost:8080/LeaveRequest/LeaveRequestForm";

String sApplicationWebRoot = "http://localhost:8080/LeaveRequest";



my jsp code:

try

{

IOutputContext oIOC = null;

SOAPClient oFS = new SOAPClient();

byte[] cContent = null;



URL endPoint = new URL( "http://localhost:8080/jboss-net/services/AdobeFSService" );

endPoint.openConnection().connect();

oFS.setSoapEndPoint( endPoint.toString() );

oIOC = oFS.renderForm(sFormQuery,"PDF",null,"OutputType=0","Mozilla/3.*","http://localhost:8080",null,sContentRootURI,null);

cContent = oIOC.getOutputContent();

ServletOutputStream oOutput = response.getOutputStream();

response.setContentType(oIOC.getContentType());

oOutput.write(cContent);

}

catch(Exception e)

{



}



Thanks,

Saravanan
1 Reply

Avatar

Level 9
Hi

This looks very weird, because the offending url: "http:\localhost:8080\Forms\js\test.xdp " does not appear anywhere in your code. LC Forms is unlikely to be making up this url, so I suspect the code you've posted does not match the exception you're reporting.

You're also eating your exception, which is a very bad idea.

Howard

http://www.avoka.com