Hi everyone,

We are getting an error of the type: nested exception is: Incompatible VM. Please help.

We use WebSphere 7.0.0.3 on Sun hardware. Java version is 1.6.0_10 and VM is Java HotSpot 64-Bit Server VM.

Our application runs on a cluster with 4 JVMs. 2 each of these JVMs are a UNIX box. This is cluster is part of single installation and all 4 JVMs use same java version.

There is a print feature in our application, which uses third party jar file to generate PDF. This generation fails only on one of these 4 JVMs. It fails consistently on the JVM 2 (even after restart), while it works on other 3 JVMs.

We specify the following content in the .profile file on the UNIX boxes.
LANG=en_US.ISO8859-1; export LANG
LC_ALL=en_US.ISO8859-1; export LC_ALL

Application log is as follows:
ERROR [2009-11-04 15:32:04,726]



















xawasft













2009-11-04T15:32:04

Alliance ComSer

nbsse0021/xa-was70-ft02-cluster01-02/xa-node70-ft02-01/xa-dmgr70-ft02/xa-was70-ft02-cluster01



0A30575E-1664-65C2-0124-B6714EDF8083

0A30575E-1664-65C2-0124-B6714EDF8083

Incompatible VM.com.allcorp.premium.docgen.util.PdfHelper

1



ComSer



TFPQ8Q1







com.allcorp.premium.docgen.util.PdfHelperException : Incompatible VM; nested exception is: Incompatible VM

at com.allcorp.premium.docgen.util.PdfHelper.createPD F(PdfHelper.java:133)

at com.allcorp.premium.docgen.transform.DocGenFop.gen erate(DocGenFop.java:169)

at com.allcorp.premium.docgen.commands.DocGenCommand. execute(DocGenCommand.java:192)

at com.allcorp.premium.docgen.DocGen.execute(DocGen.j ava:52)

at com.allcorp.premium.common.service.documents.Docum entsBean.getPdf(DocumentsBean.java:53)

at com.allcorp.premium.common.service.documents.EJSRe moteStatelessDocuments_cc7be70b.getPdf(Unknown Source)

at sun.reflect.GeneratedMethodAccessor24155.invoke(Un known Source)

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

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

at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:69 2)

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

at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders( ProxyUtil.java:690)

at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDel egate.java:1158)

at $Proxy89.getPdf(Unknown Source)

at com.allcorp.premium.common.service.documents._Docu ments_Stub.getPdf(_Documents_Stub.java:270)

at sun.reflect.GeneratedMethodAccessor24154.invoke(Un known Source)

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

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

at com.allcorp.premium.common.services.BaseServicePro vider.execute(BaseServiceProvider.java:123)

at com.allcorp.premium.common.services.client.Documen tServiceDelegate.getPdf(DocumentServiceDelegate.ja va:41)

at com.allcorp.premium.property.service.PropertyPolic yServiceBean.print(PropertyPolicyServiceBean.java: 909)

at com.allcorp.premium.property.service.EJSLocalState lessPropertyPolicyService_b6dfb846.print(Unknown Source)

at sun.reflect.GeneratedMethodAccessor25145.invoke(Un known Source)

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

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

at com.allcorp.premium.common.services.BaseServicePro vider.execute(BaseServiceProvider.java:123)

at com.allcorp.premium.common.services.client.Propert yPolicyServiceDelegate.print(PropertyPolicyService Delegate.java:326)

at com.allcorp.premium.property.actions.EmailFaxDispa tchAction.print(EmailFaxDispatchAction.java:182)

at sun.reflect.GeneratedMethodAccessor25144.invoke(Un known Source)

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

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

at org.apache.struts.actions.DispatchAction.dispatchM ethod(DispatchAction.java:280)

at com.allcorp.premium.common.presentation.actions.Al lcorpBaseLookupDispatchAction.execute(AllcorpBaseL ookupDispatchAction.java:218)

at com.allcorp.premium.property.actions.BaseNavigatio nAction.execute(BaseNavigationAction.java:289)

at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:718)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1455)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1396)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:131)

at com.allcorp.premium.infrastructure.filter.RequestC ontextFilter.doFilter(RequestContextFilter.java:59 )

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:188)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:116)

at com.allcorp.premium.security.SecurityServletFilter .doFilter(SecurityServletFilter.java:178)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:188)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:116)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:852)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:788)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:444)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)

at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3622)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:276)

at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:927)

at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1566)

at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:175)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:557)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:607)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:984)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1069)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1527)

Caused by org.apache.avalon.framework.CascadingRuntimeExcept ion: Incompatible VM

at org.apache.fop.render.pdf.PDFRenderer.getUnicodeSt ring(PDFRenderer.java:820)

at org.apache.fop.render.pdf.PDFRenderer.renderWordAr ea(PDFRenderer.java:786)

at org.apache.fop.layout.inline.WordArea.render(WordA rea.java:68)

at org.apache.fop.render.AbstractRenderer.renderLineA rea(AbstractRenderer.java:516)

at org.apache.fop.layout.LineArea.render(LineArea.jav a:519)

at org.apache.fop.render.AbstractRenderer.renderBlock Area(AbstractRenderer.java:485)

at org.apache.fop.layout.BlockArea.render(BlockArea.j ava:117)

at org.apache.fop.render.AbstractRenderer.renderAreaC ontainer(AbstractRenderer.java:451)

at org.apache.fop.layout.ColumnArea.render(ColumnArea .java:71)

at org.apache.fop.render.AbstractRenderer.renderSpanA rea(AbstractRenderer.java:100)

at org.apache.fop.layout.SpanArea.render(SpanArea.jav a:94)

at org.apache.fop.render.AbstractRenderer.renderBodyA reaContainer(AbstractRenderer.java:368)

at org.apache.fop.layout.BodyAreaContainer.render(Bod yAreaContainer.java:137)

at org.apache.fop.render.AbstractRenderer.renderRegio ns(AbstractRenderer.java:529)

at org.apache.fop.render.pdf.PDFRenderer.renderPage(P DFRenderer.java:904)

at org.apache.fop.render.pdf.PDFRenderer.render(PDFRe nderer.java:880)

at org.apache.fop.apps.StreamRenderer.queuePage(Strea mRenderer.java:302)

at org.apache.fop.layout.AreaTree.addPage(AreaTree.ja va:108)

at org.apache.fop.fo.pagination.PageSequence.makePage (PageSequence.java:415)

at org.apache.fop.fo.pagination.PageSequence.format(P ageSequence.java:338)

at org.apache.fop.apps.StreamRenderer.render(StreamRe nderer.java:262)

at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeB uilder.java:223)

at org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source)

at org.apache.xerces.impl.XMLNSDocumentScannerImpl.sc anEndElement(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContentDispatcher.dispatch(Unknown Source)

at org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)

at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source)

at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Source)

at org.apache.fop.apps.Driver.render(Driver.java:498)

at org.apache.fop.apps.Driver.run(Driver.java:565)

at com.allcorp.premium.docgen.util.PdfHelper.createPD F(PdfHelper.java:102)

at com.allcorp.premium.docgen.transform.DocGenFop.gen erate(DocGenFop.java:169)

at com.allcorp.premium.docgen.commands.DocGenCommand. execute(DocGenCommand.java:192)

at com.allcorp.premium.docgen.DocGen.execute(DocGen.j ava:52)

at com.allcorp.premium.common.service.documents.Docum entsBean.getPdf(DocumentsBean.java:53)

at com.allcorp.premium.common.service.documents.EJSRe moteStatelessDocuments_cc7be70b.getPdf(Unknown Source)

at sun.reflect.GeneratedMethodAccessor24155.invoke(Un known Source)

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

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

at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:69 2)

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

at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders( ProxyUtil.java:690)

at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDel egate.java:1158)

at $Proxy89.getPdf(Unknown Source)

at com.allcorp.premium.common.service.documents._Docu ments_Stub.getPdf(_Documents_Stub.java:270)

at sun.reflect.GeneratedMethodAccessor24154.invoke(Un known Source)

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

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

at com.allcorp.premium.common.services.BaseServicePro vider.execute(BaseServiceProvider.java:123)

at com.allcorp.premium.common.services.client.Documen tServiceDelegate.getPdf(DocumentServiceDelegate.ja va:41)

at com.allcorp.premium.property.service.PropertyPolic yServiceBean.print(PropertyPolicyServiceBean.java: 909)

at com.allcorp.premium.property.service.EJSLocalState lessPropertyPolicyService_b6dfb846.print(Unknown Source)

at sun.reflect.GeneratedMethodAccessor25145.invoke(Un known Source)

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

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

at com.allcorp.premium.common.services.BaseServicePro vider.execute(BaseServiceProvider.java:123)

at com.allcorp.premium.common.services.client.Propert yPolicyServiceDelegate.print(PropertyPolicyService Delegate.java:326)

at com.allcorp.premium.property.actions.EmailFaxDispa tchAction.print(EmailFaxDispatchAction.java:182)

at sun.reflect.GeneratedMethodAccessor25144.invoke(Un known Source)

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

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

at org.apache.struts.actions.DispatchAction.dispatchM ethod(DispatchAction.java:280)

at com.allcorp.premium.common.presentation.actions.Al lcorpBaseLookupDispatchAction.execute(AllcorpBaseL ookupDispatchAction.java:218)

at com.allcorp.premium.property.actions.BaseNavigatio nAction.execute(BaseNavigationAction.java:289)

at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)

at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)

at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:718)

at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1455)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.ser vice(ServletWrapper.java:1396)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:131)

at com.allcorp.premium.infrastructure.filter.RequestC ontextFilter.doFilter(RequestContextFilter.java:59 )

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:188)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:116)

at com.allcorp.premium.security.SecurityServletFilter .doFilter(SecurityServletFilter.java:178)

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapp er.doFilter(FilterInstanceWrapper.java:188)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain.d oFilter(WebAppFilterChain.java:116)

at com.ibm.ws.webcontainer.filter.WebAppFilterChain._ doFilter(WebAppFilterChain.java:77)

at com.ibm.ws.webcontainer.filter.WebAppFilterManager .doFilter(WebAppFilterManager.java:852)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:788)

at com.ibm.ws.webcontainer.servlet.ServletWrapper.han dleRequest(ServletWrapper.java:444)

at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl .handleRequest(ServletWrapperImpl.java:175)

at com.ibm.ws.webcontainer.webapp.WebApp.handleReques t(WebApp.java:3622)

at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequ est(WebGroup.java:276)

at com.ibm.ws.webcontainer.WebContainer.handleRequest (WebContainer.java:927)

at com.ibm.ws.webcontainer.WSWebContainer.handleReque st(WSWebContainer.java:1566)

at com.ibm.ws.webcontainer.channel.WCChannelLink.read y(WCChannelLink.java:175)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleDiscrimination(HttpInboundLink.java:455)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLi nk.handleNewInformation(HttpInboundLink.java:384)

at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCa llback.complete(HttpICLReadCallback.java:83)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.reque stComplete(WorkQueueManager.java:557)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attem ptIO(WorkQueueManager.java:607)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.worke rRun(WorkQueueManager.java:984)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worke r.run(WorkQueueManager.java:1069)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1527)

Caused by: java.nio.BufferOverflowException

at java.nio.charset.CoderResult.throwException(CoderR esult.java:259)

at java.lang.StringCoding$StringEncoder.encode(String Coding.java:242)

at java.lang.StringCoding.encode(StringCoding.java:27 2)

at java.lang.String.getBytes(String.java:947)

at org.apache.fop.render.pdf.PDFRenderer.getUnicodeSt ring(PDFRenderer.java:817)

... 99 more

com.allcorp.premium.docgen.util.PdfHelper.generate

ERROR

Correlation ID=0A30575E-1664-65C2-0124-B6714EDF8083;Incompatible VM; nested exception is: Incompatible VM