Hi Robert, Thanks for your response. I already have required configuration for web logic server for axis2. I am able to deploy my webservice using axis2 on Weblogic server 9.2. The problem I am facing when I trying to create stubs to access these webservice which are deployed in axis2 war on Weblogic.
I am creating stubs in separate web application. Here I am making mistake is that I am copying all axis2 jar into my we applications WEB-INF/lib folder and then I arching it as war and trying to deploy it along with Web service war on Weblogic. So in my Ear I have axis2 war and web application war now. I am getting following error when I am trying to deploy them together. My question is where should keep all axis2 jars in web application war so that it can be accessible at run time? Or What is standard procedure to create stub in web application and refer those to required axis2 war? Thanks and Regards Dinesh Ghutake 302-636-5401 *3640 -----Original Message----- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 5:43 PM To: [email protected] Subject: Re: Web application and Axis2 deployment issue... Weblogic apparently has stax there somewhere. Try reading this link to see if that helps: http://ws.apache.org/axis2/1_3/app_server.html Robert On 10/24/07, Dinesh Ghutake <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I am involved into the development of web service application using axis2, > hibernate etc. > > Our front end application is built using struts. > > My project ear structure is as below: > > > > MYProjEAR: > > - APP-INF > > - classes > > -lib > > - axis2 (all web services deployed in this project) > > - ejbs > > - META-INF(application.xml and > Weblogic-application.xml) > > - WEBAPP-WAR > > WEB-INF > > Lib ****(I > have copied all axis2 jar here along with webapplication jars ) > > Struts > > classes > > > > Home > > -jsp > > Etc... > > > > In Web application I have stubs created to call web services. > > > > I am getting this exception when I am try to deploy My Proj. ear on > Weblogic 9.2 server. > > > > > > <Oct 24, 2007 2:26:56 PM EDT> <Error> <Console> <BEA-240003> <Console > encountered the followin > > g error weblogic.application.ModuleException: > > at > weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292) > > at > weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModu leDriver.ja > > va:176) > > at > weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleL istenerInvo > > ker.java:93) > > at > weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Deploym entCallback > > Flow.java:360) > > at > weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv er.java:26) > > > > at > weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Deploy mentCallbac > > kFlow.java:56) > > at > weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Deploy mentCallbac > > kFlow.java:46) > > at > weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java: 615) > > at > weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv er.java:26) > > > > at > weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java :191) > > at > weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentS tateChecker > > .java:147) > > at > weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppCon tainerInvok > > er.java:61) > > at > weblogic.deploy.internal.targetserver.operations.ActivateOperation.creat eAndPrepare > > Container(ActivateOperation.java:189) > > at > weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPre pare(Activa > > teOperation.java:87) > > at > weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepa re(Abstract > > Operation.java:217) > > at > weblogic.deploy.internal.targetserver.DeploymentManager.handleDeployment Prepare(Dep > > loymentManager.java:718) > > at > weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymen tList(Deplo > > ymentManager.java:1185) > > at > weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(De ploymentMan > > ager.java:247) > > at > weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepar e(Deploymen > > tServiceDispatcher.java:157) > > at > weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallback Deliverer.d > > oPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) > > at > weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallback Deliverer.a > > ccess$000(DeploymentReceiverCallbackDeliverer.java:12) > > at > weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallback Deliverer$1 > > .run(DeploymentReceiverCallbackDeliverer.java:45) > > at > weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManage rImpl.java: > > 518) > > at > weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) > > at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) > > Caused by: java.lang.ClassCastException: > com.ctc.wstx.stax.WstxInputFactory > > at > javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136) > > at > weblogic.servlet.internal.WebAppHelper.addListenerElements(WebAppHelper. java:244) > > at > weblogic.servlet.internal.WebAppHelper$IOHelperImpl.parseXML(WebAppHelpe r.java:224) > > > > at > weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:324) > > at > weblogic.servlet.internal.WebAppHelper.registerTagLibListeners(WebAppHel per.java:17 > > 4) > > at > weblogic.servlet.internal.EventsManager.registerEventListeners(EventsMan ager.java:2 > > 54) > > at > weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebA ppServletCo > > ntext.java:1591) > > at > weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletCont ext.java:10 > > 36) > > at > weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:4 32) > > at > weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:407) > > at > weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java: 549) > > at > weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:284) > > > > any Idea? > > > > Thanks in Advance!!!!!!!!!! > > > > Thanks and Regards > > Dinesh Ghutake > > 302-636-5401 *3640 > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
