Rank: Newbie Coder Groups: Member
Joined: 5/7/2009 Posts: 1 Points: 3
|
After installing the pdf generator, I tried to generate a PDF file from the Example menu of WebORB console. But the system thrown an exception during the generation. Is there anyone who is familiar with this exception?
Exception thrown on Flex side .
Server reported an error - None of the handlers were able to invoke the target service. The service may not be found:com.tmc.weborb.pdf.PDFService. Make sure exceptions are logged - check server log for details
Stack trace from the server side:
[5/7/09 17:17:00:265 GMT+04:00] 00000022 SystemOut O [WEBORB INFO] Dispatching request. [5/7/09 17:17:00:265 GMT+04:00] 00000022 SystemOut O [WEBORB INFO] Dispatching request processing to V3 Dispatcher [5/7/09 17:17:00:265 GMT+04:00] 00000022 SystemOut O [WEBORB SECURITY] access allowed. resource name - 'weborb.handler.JavaObjectHandler'. reason - [5/7/09 17:17:00:265 GMT+04:00] 00000022 SystemOut O [WEBORB INFO] Delegating invocation to handler Java Object Handler [5/7/09 17:17:00:265 GMT+04:00] 00000022 SystemOut O [WEBORB INFO] Processing method invocation in Java Object Handler [5/7/09 17:17:00:343 GMT+04:00] 00000022 SystemOut O [WEBORB ERROR] Method invocation raised an exception. Method - public java.lang.String com.tmc.weborb.pdf.PDFService.PrintPDF(com.tmc.weborb.pdf.model.Document,java.lang.String) throws java.lang.Exception. Error - weborbpdfgenerator/ProductID [5/7/09 17:17:00:343 GMT+04:00] 00000022 SystemOut O [WEBORB EXCEPTION] java.lang.NoClassDefFoundError: weborbpdfgenerator/ProductID at com.tmc.weborb.pdf.util.PDFUtil.isLicensed(PDFUtil.java:134) at com.tmc.weborb.pdf.util.PDFUtil.showTestMode(PDFUtil.java:106) at com.tmc.weborb.pdf.model.Document.write(Document.java:198) at com.tmc.weborb.pdf.util.PDFUtil.saveDocument(PDFUtil.java:57) at com.tmc.weborb.pdf.PDFService.PrintPDFInternal(PDFService.java:106) at com.tmc.weborb.pdf.PDFService.PrintPDF(PDFService.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at weborb.util.Invocation.invoke(Unknown Source) at weborb.handler.JavaObjectHandler.invoke(Unknown Source) at weborb.handler.Handlers.invokeWithHandler(Unknown Source) at weborb.handler.Handlers.invoke(Unknown Source) at weborb.dispatch.Invoker.handleInvoke(Unknown Source) at weborb.v3types.ReqMessage.execute(Unknown Source) at weborb.dispatch.V3Dispatcher.dispatch(Unknown Source) at weborb.dispatch.Dispatchers.dispatch(Unknown Source) at weborb.ORBServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:859) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
[5/7/09 17:17:00:343 GMT+04:00] 00000022 SystemOut O [WEBORB EXCEPTION] Exception during processing method invocation in Java Object Handler: java.lang.ClassCastException: java.lang.NoClassDefFoundError incompatible with java.lang.Exception java.lang.ClassCastException: java.lang.NoClassDefFoundError incompatible with java.lang.Exception at weborb.util.Invocation.invoke(Unknown Source) at weborb.handler.JavaObjectHandler.invoke(Unknown Source) at weborb.handler.Handlers.invokeWithHandler(Unknown Source) at weborb.handler.Handlers.invoke(Unknown Source) at weborb.dispatch.Invoker.handleInvoke(Unknown Source) at weborb.v3types.ReqMessage.execute(Unknown Source) at weborb.dispatch.V3Dispatcher.dispatch(Unknown Source) at weborb.dispatch.Dispatchers.dispatch(Unknown Source) at weborb.ORBServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:859) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
I would really appreciate any help provided.
Vahe
|