Expand my Community achievements bar.

Render Service Error

Avatar

Former Community Member
I try to write a servlet to render a PDF form using the sample code and when I run the servlet, the following error occurred, does anyone have idea why I encounter such error?thanks!



2008-01-22 21:48:55,235 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract com.adobe.idp.dsc.provider.impl.ejb.EjbResponseHolder com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation.invoke(com.adobe.idp.dsc.provider.impl.ejb.EjbRequestHolder) throws com.adobe.idp.dsc.DSCException,java.rmi.RemoteException:

java.lang.IllegalArgumentException: argument type mismatch

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:585)

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

at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)

at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149)

at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154)

at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)

at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)

at org.jboss.invocation.InvokerInterceptor.invokeMarshalled(InvokerInterceptor.java:201)

at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:35)

at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)

at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)

at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)

at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)

at $Proxy281.invoke(Unknown Source)

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

at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:57)

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

at com.adobe.livecycle.formsservice.client.FormsServiceClient.invokeRequest(FormsServiceClient.java:392)

at com.adobe.livecycle.formsservice.client.FormsServiceClient.renderPDFForm(FormsServiceClient.java:167)

at com.ofta.demo.servlet.RenderForm.
2 Replies

Avatar

Level 10
java.lang.IllegalArgumentException: argument type mismatch



Is it possible you're not passing the right arguments to the service you're calling?



Jasmin

Avatar

Former Community Member
Hi Jasmin,



I'm sure the arguments are correct. Thanks for your help. Actually, the problem seems to be solved by put the corresponding library into the war file instead of put it under jboss/server/all/lib. In LC 7.x, there is no problem to put those library under jboss/serever/all/lib. How come there will be problem in LCES?