I also didn't expect a cluster to not behave in the same way, but it does. What works fine (jre/lib/endorsed) on the non-clustered WS doesn't work on the clustered one. And I do use mixed mode: SOAP and REST so I have to have it all.
KARR, DAVID (ATTCINW) wrote: > >> -----Original Message----- >> From: vickatvuuch [mailto:[email protected]] >> Sent: Tuesday, November 10, 2009 6:44 PM >> To: [email protected] >> Subject: CXF on Weblogic 10 cluster >> >> >> Was anybody able to get CXF up and running on the cluster setup? >> I tried the suggested work around for >> java.lang.NoSuchMethodError: >> javax.jws.WebService.portName()Ljava/lang/String; > > I wouldn't expect being clustered would have any impact on this. > > However, I did have some trouble with CXF in WebLogic related to > classloading, but I wasn't getting the error you're getting. What I > ended up doing was moving most of the required jars into the APP-INF/lib > directory of my EAR. Once I did that, it was working fine. I never had > that Geronimo jar, however. I also only used JAX-RS features, not > JAX-WS. > >> >> and put geronimo-ws-metadata_2.0_spec-1.1.1.jar >> and wsdl4j-1.6.1.jar in the /jre/endorsed directory, which worked >> fine under a stand-alone server, but under a cluster it happily > ignored >> /jre/endorsed and blew up in all its glory. >> >> I also tried to change application xml by adding this, but then it >> failed to >> parse its own xml: >> >> <prefer-application-packages> >> <package-name>javax.jws.*</package-name> >> </prefer-application-packages> >> >> Any ideas are very much appreciated. >> >> PS >> Long live JBoss - no problems there at all; my ear with CXF in it runs >> without any hacks. >> >> Thanks, >> -Vitaly >> >> -- >> View this message in context: > http://old.nabble.com/CXF-on-Weblogic-10- >> cluster-tp26294448p26294448.html >> Sent from the cxf-user mailing list archive at Nabble.com. > > > -- View this message in context: http://old.nabble.com/CXF-on-Weblogic-10-cluster-NoSuchMethodError-WebService.portName%28%29Ljava-lang-String-tp26294448p26304292.html Sent from the cxf-user mailing list archive at Nabble.com.
