0 Replies Latest reply on May 11, 2012 9:17 AM by V B Sajjan

    Exception at createspace(...) method?

    V B Sajjan

      Hi,

       

      I am working on Content Services in ADEP 10 which is installed on JBoss 5.1.

       

      I am getting an error at the location where createspace(...) method is invoked. It was working perfectly, all of a sudden I am experiencing error. The error is com.adobe.internal.pdftoolkit.pdf.document.PDFDocument - ClassNotFoundException. We neither added a new JAR nor removed a JAR. Also I am not finding the JAR which has the above class. Please help me.

       

      2012-05-11 20:46:21,515 ERROR [STDERR] (WorkerThread#0[127.0.0.1:1335]) ALC-CSV-30000-000: com.adobe.livecycle.contentservices.client.exceptions.CSInvocationException: ALC-CSV-030-000-[{0}]

      java.lang.ClassNotFoundException: com.adobe.internal.pdftoolkit.pdf.document.PDFDocument

      Caused by: ALC-DSC-099-000: com.adobe.idp.dsc.DSCException: java.lang.ClassNotFoundException: com.adobe.internal.pdftoolkit.pdf.document.PDFDocument

      at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractRespo nseHolder.java:175)

      at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :159)

      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)

      at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)

      at com.adobe.livecycle.contentservices.client.impl.DocumentManagementServiceClientImpl.creat eSpace(Unknown Source)

      at com.company.realm.documentservice.coreservice.DocumentServiceImpl.createSpace(DocumentSer viceImpl.java:65)

      at com.company.realm.documentservice.DocumentSettingInfoServiceImpl.uploadDocument(DocumentS ettingInfoServiceImpl.java:2136)

      at com.company.realm.ejb.RealmUserBean.uploadDocument(RealmUserBean.java:101)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

      at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.jav a:69)

      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)

      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.ja va:59)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContext Interceptor.java:72)

      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillM ethod_22081762.invoke(InvocationContextInterceptor_z_fillMethod_22081762.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInter ceptor.java:88)

      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup _22081762.invoke(InvocationContextInterceptor_z_setup_22081762.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInter ceptor.java:62)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedE ntityManagerInterceptor.java:56)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor .java:68)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:194)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationIntercep torv2.java:186)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor .java:67)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocation Interceptor.java:67)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176)

      at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216)

      at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(Sessio nProxyInvocationHandlerBase.java:207)

      at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(Sessio nProxyInvocationHandlerBase.java:164)

      at $Proxy237.uploadDocument(Unknown Source)

      at com.company.realm.ejb.RealmSessionFacadeBean.doService(RealmSessionFacadeBean.java:172)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)

      at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.jav a:69)

      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73)

      at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.ja va:59)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContext Interceptor.java:72)

      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillM ethod_22081762.invoke(InvocationContextInterceptor_z_fillMethod_22081762.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInter ceptor.java:88)

      at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup _22081762.invoke(InvocationContextInterceptor_z_setup_22081762.java)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInter ceptor.java:62)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedE ntityManagerInterceptor.java:56)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor .java:68)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

      at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationIntercep torv2.java:186)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor .java:67)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocation Interceptor.java:67)

      at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)

      at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:421)

      at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClas sProxyHack.java:53)

      at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91)

      at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandl er.java:82)

      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

      at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744 )

      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697)

      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524)

      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232)

      Caused by: java.lang.NoClassDefFoundError: com/adobe/internal/pdftoolkit/pdf/document/PDFDocument

      at java.lang.Class.getDeclaredMethods0(Native Method)

      at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)

      at java.lang.Class.getDeclaredMethods(Class.java:1791)

      at org.apache.commons.beanutils.MappedPropertyDescriptor$1.run(MappedPropertyDescriptor.java :342)

      at java.security.AccessController.doPrivileged(Native Method)

      at org.apache.commons.beanutils.MappedPropertyDescriptor.getPublicDeclaredMethods(MappedProp ertyDescriptor.java:337)

      at org.apache.commons.beanutils.MappedPropertyDescriptor.internalFindMethod(MappedPropertyDe scriptor.java:426)

      at org.apache.commons.beanutils.MappedPropertyDescriptor.findMethod(MappedPropertyDescriptor .java:500)

      at org.apache.commons.beanutils.MappedPropertyDescriptor.<init>(MappedPropertyDescriptor.jav a:103)

      at org.apache.commons.beanutils.PropertyUtilsBean.getPropertyDescriptor(PropertyUtilsBean.ja va:822)

      at org.apache.commons.beanutils.PropertyUtilsBean.isWriteable(PropertyUtilsBean.java:1235)

      at org.apache.commons.beanutils.PropertyUtils.isWriteable(PropertyUtils.java:456)

      at com.adobe.idp.dsc.component.impl.DefaultPOJOServiceInstanceFactory.createInstance(Default POJOServiceInstanceFactory.java:132)

      at com.adobe.idp.dsc.invocation.impl.InstancePerRequestStrategy.getInstance(InstancePerReque stStrategy.java:56)

      at com.adobe.idp.dsc.invocation.impl.InstanceAccessorFactory.getInstanceForInvocation(Instan ceAccessorFactory.java:55)

      at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.allocateInstance(Invocat ionStrategyInterceptor.java:91)

      at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:54)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)

      at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:131)

      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)

      at com.adobe.idp.dsc.provider.impl.ejb.receiver.EjbReceiverBean.invoke(EjbReceiverBean.java: 158)

      at sun.reflect.GeneratedMethodAccessor1079.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.invocation.Invocation.performCall(Invocation.java:386)

      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:233)

      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:156)

      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:173)

      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)

      at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)

      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)

      at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java :97)

      at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java: 81)

      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)

      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)

      at org.jboss.ejb.Container.invoke(Container.java:1092)

      at sun.reflect.GeneratedMethodAccessor1038.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

      at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)

      at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)

      at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791 )

      at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)

      at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)

      at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)

      Caused by: java.lang.ClassNotFoundException: com.adobe.internal.pdftoolkit.pdf.document.PDFDocument

      at com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingImportExport(DSContainerSearchP olicy.java:480)

      at com.adobe.idp.dsc.DSContainerSearchPolicy.searchClassUsingParentFirst(DSContainerSearchPo licy.java:232)

      at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:198)

      at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)

      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

      ... 61 more

      2012-05-11 20:46:21,515 ERROR [STDERR] (WorkerThread#0[127.0.0.1:1335])  at com.adobe.livecycle.contentservices.client.impl.DocumentManagementServiceClientImpl.creat eSpace(Unknown Source)

      2012-05-11 20:46:21,515 ERROR [STDERR] (WorkerThread#0[127.0.0.1:1335])