We are attempting to upgrade an application that uses LiveCycle Forms and Reader Extensions 7.0 Server to ES. Using the turnkey installation option, I have installed the LiveCycle Forms and the Reader Extensions on a new Server running Windows 2008 and JBoss. I have also installed the 7.x compatibility layer. I migrated our application, which is contained in a .war file, to the deploy directory on the new server. I am able to render a PDF document on the new server, but each time I attempt to Reader Enable the document I receive the following error:
2010-07-09 15:23:37,466 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mycentury].[GetForm]] Servlet.service() for servlet GetForm threw exception
java.lang.NoClassDefFoundError: com.adobe.service.ConnectionFactory
at com.century.forms.dao.AdobePDFManager.class$(AdobePDFManager.java:574)
at com.century.forms.dao.AdobePDFManager.rightsEnable(AdobePDFManager.java:573)
at com.century.forms.services.AdobeFSService.readerEnablePDF(AdobeFSService.java:355)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at electric.util.reflect.Invocation.execute(Unknown Source)
at electric.util.reflect.Invocation.invoke(Unknown Source)
at electric.service.object.ObjectService.invoke(Unknown Source)
at electric.proxy.handler.Proxy.invoke(Unknown Source)
at $Proxy536.readerEnablePDF(Unknown Source)
at com.century.forms.services.GetForm.execReaderEnablePDF(GetForm.java:266)
at com.century.forms.services.GetForm.doGet(GetForm.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
And here is the code that is causing the exception:
//
// Create PDF manipulation object. We will use this object
// to enable usage rights for the PDF document.
//
Object obj = initialContext.lookup("PDFManipulation");
ConnectionFactory connectionFactory = (ConnectionFactory)PortableRemoteObject.narrow(obj, ConnectionFactory.class);
PDFFactory pdfFactory = PDFFactoryHelper.narrow((org.omg.CORBA.Object)connectionFactory.getConnection());
Thanks for any help you can provide.