We're beginning an eval of LiveCycle and PDF Generator. I've successfully installed LiveCycle on RHEL 6.1, and everything appears to be configured correctly. (I'm able to load the adminui, at least.) The only module installed is PDF Generator, and when I attempt to convert a PostScript file to a PDF, it fails with the following error:
2014-01-08 16:36:27,398 INFO [com.adobe.service.ProcessResource] (http-0.0.0.0-8080-2) ALC-BMC-001-505: Service PsToPdfSvc: Starting native process with command line "/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc/PsToPdfServ ice.exe" -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616 E616765723A312E300000000000000200000000000000F8000102000000000A3132372 E302E302E31000DC800000018333638333939323035312F42522D312F0100000000000 000000000050000000000000008000000004A414300000000010000002000000000050 10001000000010001000100010109000000020501000100010100000000210000006C0 00000000000000100000000000000240000001C0000007E00000000000000010000000 A3132372E302E302E31000DC9004000000000000806066781020101010000001704010 00806066781020101010000000764656661756C7400000000000000000000000000000 000000000002000000004000000000000001F000000040000000300000001000000200 0000000000000020000002000000004000000000000001F0000000400000003 -AppServer jboss
2014-01-08 16:36:27,402 ERROR [com.adobe.service.ProcessResource] (http-0.0.0.0-8080-2) ALC-BMC-001-005: Service PsToPdfSvc: Error starting native process "/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc/PsToPdfServ ice.exe" -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616 E616765723A312E300000000000000200000000000000F8000102000000000A3132372 E302E302E31000DC800000018333638333939323035312F42522D312F0100000000000 000000000050000000000000008000000004A414300000000010000002000000000050 10001000000010001000100010109000000020501000100010100000000210000006C0 00000000000000100000000000000240000001C0000007E00000000000000010000000 A3132372E302E302E31000DC9004000000000000806066781020101010000001704010 00806066781020101010000000764656661756C7400000000000000000000000000000 000000000002000000004000000000000001F000000040000000300000001000000200 0000000000000020000002000000004000000000000001F0000000400000003 -AppServer jboss
java.io.IOException: Cannot run program "/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc/PsToPdfServ ice.exe" (in directory "/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc"): java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
at java.lang.Runtime.exec(Runtime.java:593)
at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:6 18)
at com.adobe.service.ProcessResource.<init>(ProcessResource.java:197)
at com.adobe.service.ProcessFactoryManager.createConnectionResource(Proc essFactoryManager.java:64)
at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java :154)
at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceF romPool(ConnectionFactoryManagerPeer.java:79)
at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection( J2EEConnectionFactoryManagerPeerImpl.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.adobe.util.ConnectionFactoryReflectionWrapper.getConnection(Utili ties.java:1166)
at com.adobe.pdfg.PsToPDFTransactionCallback.doInTransaction(PsToPDFTran sactionCallback.java:111)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapt erBean.doRequiresNew(EjbTransactionBMTAdapterBean.java:218)
at sun.reflect.GeneratedMethodAccessor541.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
Sure enough, when I browse to the directory there is no .exe file (or anything for that matter) in there. Which actually confuses me a little - why is it trying to run an exe file on a Linux environment? I'm really quite green at LiveCycle and am not sure what information would be useful to provide other than the OS and installed software:
OS: RHEL 6.1
JAVA: 1.6 u45
AppServer: JBoss 5.1 (the one preconfigured with the LCES4 distributable)
LiveCycle: ES4 (11.0)
I'm happy to provide additional information that will help in debugging this issue. (This feels like a misconfiguration on my part, and I hope someone else has gone through this that can provide a bit of feedback.)
Thanks.
UPDATE: I have resolved the issue of the exe not being in the folder specified - was a bad ear deploy. So the executable now exists:
/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc/PsToPdfServic e.exe
However, we're still getting the error about not being able to find the executable. Here's the directory list:
[dmadmin@localhost PsToPdfSvc]$ pwd
/usr/share/lc_jboss/server/lc_mysql/svcnative/PsToPdfSvc
[dmadmin@localhost PsToPdfSvc]$ ls -ltr
total 23612
-rw-rw-r--. 1 dmadmin dmadmin 100 Mar 6 2013 EchoFontNames.ps
-rw-rw-r--. 1 dmadmin dmadmin 5265765 Mar 6 2013 superatm.db
-rw-rw-r--. 1 dmadmin dmadmin 3316 Mar 6 2013 startupNORM.ps
-rw-rw-r--. 1 dmadmin dmadmin 524536 Mar 6 2013 ps.vm
-rw-rw-r--. 1 dmadmin dmadmin 4420529 Mar 6 2013 libstdc++.so.6
-rw-rw-r--. 1 dmadmin dmadmin 5955046 Mar 6 2013 libnserver.so
-rw-rw-r--. 1 dmadmin dmadmin 926484 Mar 6 2013 libJP2K.so
-rw-rw-r--. 1 dmadmin dmadmin 221143 Mar 6 2013 libgcc_s.so.1
-rw-rw-r--. 1 dmadmin dmadmin 220752 Mar 6 2013 libBIBUtils.so
-rw-rw-r--. 1 dmadmin dmadmin 294544 Mar 6 2013 libBIB.so
-rw-rw-r--. 1 dmadmin dmadmin 4698220 Mar 6 2013 libAGM.so
-rw-rw-r--. 1 dmadmin dmadmin 382392 Mar 6 2013 libAdobeXMP.so
-rw-rw-r--. 1 dmadmin dmadmin 981900 Mar 6 2013 libACE.so
-rwxrwxr-x. 1 dmadmin dmadmin 197309 Mar 6 2013 PsToPdfService.exe
drwxrwxr-x. 9 dmadmin dmadmin 4096 Jan 8 15:27 Resource
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:27 CID
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:27 FS
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:27 Fonts
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:27 PGF
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:27 Lib
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 SchemaExtensions
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 Settings
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 Usr
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 Sys
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 doc
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 encodings
drwxrwxr-x. 2 dmadmin dmadmin 4096 Jan 8 15:28 iccProfiles
-rw-rw-r--. 1 dmadmin dmadmin 32 Jan 8 15:28 md5.digest
Again, this seems like a configuration issue, but I'm really at a loss as to what I've misconfigured.