Problem attaching Policy on PDF using PDFManipulation.exe in Security Server. [GIOP 1.2 protocol err


hi,

i'm using policy server 7.0.1 , security server on windows 2003 , jboss 3.2.5. have adobe policy server , adobe security server both deployed on same jboss instance. security configured using ssl.

i'm trying attach policy pdf using pdfmanipulation tool inside security server api.

i have servlet connecting policy server, i'm looking pdfmanipulation in jndi, creating transaction , trying connectionfactory class connection native pdfmanipulation.exe. i'm getting error message : "detected giop 1.2 protocol error in input message".

so wonder ior string [ior:00000000000000224...] wrong or what?
anyone out there recognize error?

regards
jerry johansson
perth, australia

-----------------------------------------------------

this code:

private pdfdocument getpdfdocument(string rawpdfpath)
{
try
{
initialcontext ctx = new initialcontext();
object pdfobject = ctx.lookup("pdfmanipulation");
connectionfactory pdfconnectionfactory = (connectionfactory)
portableremoteobject.narrow(pdfobject, connectionfactory.class);
usertransaction trans = (usertransaction)ctx.lookup("java:comp/usertransaction");
log.debug("usertransaction " + trans);

trans.begin();

pdffactory pdffactory = pdffactoryhelper.narrow((org.omg.corba.object) pdfconnectionfactory.getconnection());

// !!!! exception happens above.

-----------------------------------------------------

this log:

2005-06-23 16:02:29,562 debug [com.ebooks.ebl.onlinereader.aps.factory.onlinereaderpolicyfactory] usertransaction org.jboss.tm.usertx.client.servervmclientusertransaction@40f2f1

2005-06-23 16:02:29,718 info [com.adobe.service.logging.logger] $$$/server/service/logging/msg.logsvcinit=logger com.adobe.service.logging.logger initialized

2005-06-23 16:02:29,781 info [com.adobe.document.pdfmanipulation] service pdfmanipulation: creating temporary directory managed process.

2005-06-23 16:02:30,843 info [com.adobe.document.pdfmanipulation] service pdfmanipulation: starting native process command line c:\aps\adobe\livecycle\policyserver\jboss-3.2.5\server\all\svcnative\pdfmanipulation\bin\ pdfmanipulation.exe -ior ior:000000000000002249444c3a636f6d2f61646f62652f736572766963652f4d616e616765723a312e30000 000000000020000000000000088000102000000000e3139322e3136382e302e313434000dc8000000134a426f7 3732f42522d312f0100000000000000000000000400000014000000080000004000600dc900000000000000080 00000004a414300000000010000001c00000000000100010000000105010001000101090000000105010001000 0001400000008000000e000600dc9000000010000002c0000000000000001000000010000001c0000000000010 0010000000105010001000101090000000105010001 -keypass ymvkcm9jaw== -certpath "c:\aps\adobe\livecycle\policyserver\jboss-3.2.5\server\all\svcnative" -sslnativedir "c:\aps\adobe\livecycle\policyserver\jboss-3.2.5\server\all\svcnative\servicesnatives2\li b" -appserver jboss

2005-06-23 16:02:35,296 info [stdout] omniorb: endpoint: giop:tcp:192.168.0.144:3528. detected giop 1.2 protocol error in input message. connection closed.

omniorb: endpoint: giop:tcp:192.168.0.144:3528. detected giop 1.2 protocol error in input message. connection closed.

-----------------------------------------------------

after going through adobe livecycle policy server sample (freely downloadable www.adobe.com, documents said policy server disables sdk access default , there instructions in sample on how enable it.

i believe reason code threw exception usertransaction class meant used data manager. not sure why threw on pdffactory call though. check document security developer's guide there appeared simple instructions on how create document policy.


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments