This discussion is archived
1 Reply Latest reply: Feb 15, 2013 8:43 AM by Jon Schneider RSS

JBossws-CXF compatibility issue.

SanjuThomas Newbie
Currently Being Moderated
Hi all, As per the compatibility documentation we are using JBoss-eap-5.1.0 to bring up ATG CRS reference application with Endeca integration. Though the search from CRS works correctly the baseline index using "ProductCatalogSimpleIndexingAdmin" is failing due to JBossws-CXF jar compatibility issue. atg.endeca.index.admin.IIndexingPhase.performPhaseTasks trying to construct an instance HTTPTransportFactory using a constructor in the super class AbstractTransportFactory(List), This particular constructor is available only in JBossws-CXF 4.0 or greater, JBossws-CXF 4.0 can be used only with JBoss 6.0, is there a version compatibility issue here?

12:48:12,823 ERROR [ProductCatalogSimpleIndexingAdmin]
atg.repository.search.indexing.IndexingException: java.lang.NoSuchMethodError: org.apache.cxf.transport.AbstractTransportFactory.<init>(Ljava/util/List;)V
at atg.endeca.index.admin.IndexingPhase.performPhaseTasks(IndexingPhase.java:292)
at atg.endeca.index.admin.IndexingPhase.performPhaseTasksInParallel(IndexingPhase.java:247)
at atg.endeca.index.admin.IndexingJob.performJobInParallel(IndexingJob.java:280)
at atg.endeca.index.admin.SimpleIndexingAdmin.indexBaseline(SimpleIndexingAdmin.java:654)
at atg.endeca.index.admin.SimpleIndexingAdmin.indexBaseline(SimpleIndexingAdmin.java:636)
at atg.endeca.index.admin.SimpleIndexingAdmin$2.run(SimpleIndexingAdmin.java:1008)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodError: org.apache.cxf.transport.AbstractTransportFactory.<init>(Ljava/util/List;)V
at org.apache.cxf.transport.http.HTTPTransportFactory.<init>(HTTPTransportFactory.java:104)
at org.apache.cxf.transport.http.HTTPTransportFactory.<init>(HTTPTransportFactory.java:87)
at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:138)
at atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl.<init>(RecordStoreDocumentSubmitterSessionImpl.java:179)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:95)
at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:59)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForKey(AbstractRecordStoreAggregateSession.java:297)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForContext(AbstractRecordStoreAggregateSession.java:249)
at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForCurrentContext(AbstractRecordStoreAggregateSession.java:238)
at atg.endeca.index.AbstractRecordStoreAggregateSession.submitRecord(AbstractRecordStoreAggregateSession.java:334)
at atg.endeca.index.LocaledExporter.exportRecords(LocaledExporter.java:295)
at atg.endeca.index.LocaledExporter.export(LocaledExporter.java:258)
at atg.endeca.index.LocaledExporter.export(LocaledExporter.java:199)
at atg.endeca.index.LocaledExporter.performBaselineUpdate(LocaledExporter.java:345)
at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:401)
at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.java:359)
at atg.endeca.index.admin.IndexingPhase$IndexingTaskJob.invoke(IndexingPhase.java:469)
at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178)
  • 1. Re: JBossws-CXF compatibility issue.
    Jon Schneider Newbie
    Currently Being Moderated
    I ran into the same problem, and came to the same conclusion -- a version compatibility issue between the version of CXF that ATG is dependent upon, and an older version of CXF that comes with JBoss and which JBoss automatically loads.

    I spent some time looking into how to get JBoss to use ATG's version of CXF instead of its own version, but I never found a good solution. Ultimately (for other reasons) my project ended up switching from JBoss to WebLogic; this issue with CXF version compatibility does not exist in WebLogic (10.3.6.0) when used with ATG 10.1.1.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points