When deploying and attempting to test on the LC ES server, I am getting 404 errors. I decided to see if JBoss was up and running normally and I went to http://localhost:8080/ and see a JBoss page with JBoss Onlien REsources links at the top and JBoss Management links at the bottom. The links go to Tomcat Status, JMX Console and JBoss Web Console. All 3 links at the bottom return 404 error messages. Workspace works just fine on this machine. Web Service calls also work fine. What could be wrong?
(2) I decided that since the app server on the LC ES server was malfunctioning, I would install TomCat on my desktop and then just run the servlet with remote calls to the livecycle server. I am getting error messages in the logs "stdout_20080919.log" saying that I have a java.lang.IllegalStateException. I set up the connection properties to include the full server name, not just localhost, so it looked like: jnp://servername:1099.
The WSDL works just fine. I have also started "recording" of the process in workbench but it is never invoked via the servlet. I did in fact package the servlet in a war file and used the typical URL as you describe above. I am using eclipse to build and package the servlet. Should I post the log results or my java code?
I changed the package and made sure the libraries were included. I still can't get it to work on my desktop, but I redeployed to the LC ES server and it definitely invoked the process. I see it in the playback. And I can see the output PDF document during the playback. Unfortunately, in the browser, I don't see anything but a blank screen. No PDF.
What's the value of the "size" and "contentType" variable in your code?
Hi Jasmin, thanks for your reply. I'm getting closer to a solution.
It's choking on the line FormsResult formOut = (FormsResult)esResponse.getOutputParameter("outFormDoc");
I double checked my process and the output variable "outFormDoc" is not set to variable type "FormsResult". It was set to "Document". When I change the variable type to "FormsResult", it crashes in the process in the Render Form (renderPDFForm) activity when I assign the outFormDoc variable. It says "invalid location: /process_data/@outFormDoc cannot be stored for action instance -1"
My settings for the renderPDFForm activity are:
Form to Render -literal value = "/POC/getHRInfo.xdp"
Form Data = blank (no data to merge)
Stand Alone Rendition = True
Form Model = Client
Application WEb Root = Blank
Target URL = Blank
Content URI = repository://
Base URL = Blank
Forms Result = /process_data/@outFormDoc where outFormDoc is of type FormsResult
Thanks for your help!
I changed the output Forms Result to a "variable" instead of "XPath expression" and it works just fine now.