Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 2506 invoked from network); 13 Sep 2006 14:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2006 14:40:39 -0000 Received: (qmail 57983 invoked by uid 500); 13 Sep 2006 14:40:32 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 57032 invoked by uid 500); 13 Sep 2006 14:40:30 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 57001 invoked by uid 99); 13 Sep 2006 14:40:30 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2006 07:40:30 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=vikas.charak@cns-inc.com; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain cns-inc.com from 208.51.77.15 cause and error) Received: from ([208.51.77.15:15592] helo=CNSIKF5.cns-inc.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id B9/80-09869-96818054 for ; Wed, 13 Sep 2006 07:40:42 -0700 X-Ninja-PIM: Scanned by Ninja X-Ninja-AttachmentFiltering: (no action) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: NoSuchMethodError while deploying aar file on WebSphere Date: Wed, 13 Sep 2006 10:40:22 -0400 Message-ID: Thread-Topic: NoSuchMethodError while deploying aar file on WebSphere Thread-Index: AcbXM0fC570CBbiZQTKtGZjdq1ZAsgABbHaQAAHHtfAAADHQYAAATJ6Q From: "Charak, Vikas" To: axis-user@ws.apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks Devid. I will try that.=20 I will soon be working again on invoking services. I will let you know as soon as I achieve that. Yesterday, I was able to call REST version= of the services. Another interesting thing is that I have setup a handler in Axis2 to trap the call and the call is going to my handler but after that when the call goes to invoke the service, I get "Service not found" exception. -----Original Message----- From: david.ziebol@thomson.com [mailto:david.ziebol@thomson.com]=20 Sent: Wednesday, September 13, 2006 10:31 AM To: axis-user@ws.apache.org Subject: RE: NoSuchMethodError while deploying aar file on WebSphere Setup a shared lib and put all the stuff you need in it and reference the lib from you app. WS has a tendancy=20 to have old jars. Setup your appserver to "load parentlast" so the shared lib gets in first. Just things I've learned trying to get Axis2 in WS. Can you now call you services? Dave Ziebol=20 -----Original Message----- From: Charak, Vikas [mailto:vikas.charak@cns-inc.com]=20 Sent: Wednesday, September 13, 2006 9:27 AM To: axis-user@ws.apache.org Subject: RE: NoSuchMethodError while deploying aar file on WebSphere Hi , I replaced WSDL4J.jar of websphere with the WSDL4J.jar which came with Axis2 and now the services are getting deployed on websphere. I am not sure if this would affect our websphere warranty/support. I do not have much experience on websphere but another solution could be to configure websphere, where libraries in Axis2 module take precedence over websphere. I tried setting parameter "Load parent last" for Axis2 module in Admin screen, but that did not help. Issue with invoking services still remains. Interestingly, I am able to call REST version of the services but not SOAP version.=20 Further investigation revealed that the SOAP endpoint in WSDL generated by AXIS2 has "/axis2.war/services/testservice" instead of just "/axis2/services/testservice". REST endpoint is fine. I am still doing some R&D , if I find something else I will post it. Good luck to me. Regards, Vikas=20 -----Original Message----- From: david.ziebol@thomson.com [mailto:david.ziebol@thomson.com] Sent: Wednesday, September 13, 2006 9:38 AM To: axis-user@ws.apache.org; dims@apache.org Subject: RE: NoSuchMethodError while deploying aar file on WebSphere Sorry, I'm relatively new to using software this bleeding edge (we are using WebSphere after all ;-)) I normally try to post solutions to issues encountered, but allas, I'm late already. How would I go about doing this? I'll have to submit the stack track that Vikas posted as I no longer have my software setup using the nightly build. =20 Dave Ziebol -----Original Message----- From: Davanum Srinivas [mailto:davanum@gmail.com] Sent: Wednesday, September 13, 2006 7:51 AM To: axis-user@ws.apache.org Subject: Re: NoSuchMethodError while deploying aar file on WebSphere David, Please log a JIRA bug with your problem/stack trace against nightly. If we don't know about a problem, we can't fix it. can we? thanks, dims On 9/13/06, david.ziebol@thomson.com wrote: > I ran out of time to explore this issue, but > > Even though docs on the web note how WebSphere unpacks prior to use... > In reality, WS6 doesn't unpack "aar" files. So the axis2 war file is=20 > unpacked but the services are not. You can see this by looking in the > services area; the aars are there and they aren't represented as=20 > folders. > > You could try to place the service (in unpacked form) into the=20 > \services area. Many places won't allow a move out of dev like this,=20 > but at least you could determine if this is the issue. > > Sorry I couldn't be more helpful, as noted before, good luck, please=20 > post your outcome back to the mail list so others can benefit from=20 > your experiment. > > I'm currently trying to roll back to the ver1.0 release, and it has=20 > not been fun! > > Good luck > > Dave Ziebol > > > -----Original Message----- > From: Charak, Vikas [mailto:vikas.charak@cns-inc.com] > Sent: Tuesday, September 12, 2006 3:42 PM > To: axis-user@ws.apache.org > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere > > Hi Dave, > Although the services are getting deployed now but when I invoke the=20 > service I still get "Service not found operation terminated !!" error=20 > on websphere . > Any Idea? > > > -----Original Message----- > From: david.ziebol@thomson.com [mailto:david.ziebol@thomson.com] > Sent: Tuesday, September 12, 2006 1:26 PM > To: axis-user@ws.apache.org > Subject: RE: NoSuchMethodError while deploying aar file on WebSphere > > You are using the websphere version of wsdl4j.jar rather then one of=20 > the newer versions that are required by Axis2. > > Just been down that path with nightly builds, to circumvent the=20 > websphere issue with not really unpacking aar files. Good luck! > > Dave Ziebol > > -----Original Message----- > From: Charak, Vikas [mailto:vikas.charak@cns-inc.com] > Sent: Tuesday, September 12, 2006 11:19 AM > To: axis-user@ws.apache.org > Subject: NoSuchMethodError while deploying aar file on WebSphere > > Hi , > I have created a SimpleService with one method which takes in a string > and sends out a string. The SimpleService.aar deployment works fine= on > Jboss But I get the following error on WebSphere. > Any idea? > > > [9/12/06 11:49:54:478 EDT] 00000028 DeploymentEng I Invalid service > SimpleService.aar due to java.lang.NoSuchMethodError: > javax.wsdl.PortType: method getExtensionAttributes()Ljava/util/Map; > not found > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortTyp > e( > WSDL11ToAxisServiceBuilder.java:738) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding > (W > SDL11ToAxisServiceBuilder.java:412) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServic > e( > WSDL11ToAxisServiceBuilder.java:230) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLF > il > e(ArchiveReader.java:191) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs > (A > rchiveReader.java:304) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .j > ava:513) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st > .java:200) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er > .java:208) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yL > istener.java:155) > at > org.apache.axis2.deployment.RepositoryListener.startListener(Repositor > yL > istener.java:200) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Sc > he > dulerTask.java:61) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask. > ja > va:68) > at > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run > (S > cheduler.java:76) > at java.util.TimerThread.mainLoop(Timer.java:447) > at java.util.TimerThread.run(Timer.java:397) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > -- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org