- This topic has 3 replies, 2 voices, and was last updated 16 years ago by Loyal Water.
-
AuthorPosts
-
indian.koti1MemberHi ,
I am looking to deploy jax-ws webservices developed in Myeclipse 7.0 to WebLogic 10.0 Server it is giving the following error, but when i deployed to tomcat it is working fine.
In this i am using the JDK 1.5
The error message is as follows..<User defined listener weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module: ex1.
weblogic.wsee.deploy.WSEEServletEndpointException: Failed to prepare wsse module: ex1
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDeployListener.java:32)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run(EventsManager.java:480)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(EventsManager.java:149)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: Can’t find wsdl WEB-INF/wsdl/wscoor.wsdl
at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.java:131)
at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:291)
at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:146)
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:104)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDeployListener.java:29)
Truncated. see log file for complete stacktrace
>
<Dec 9, 2008 3:11:33 PM EST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application ‘_appsdir_ex1_dir’ due to error weblogic.application.ModuleException: .
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:308)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: Can’t find wsdl WEB-INF/wsdl/wscoor.wsdl
at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.java:131)
at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:291)
at weblogic.wsee.deploy.WSEEModule.verifyWsdd(WSEEModule.java:146)
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:104)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDeployListener.java:29)
Truncated. see log file for complete stacktraceLet me know if any body is able to help us..
Thanks,
Koti
Loyal WaterMemberKoti,
Sounds like some Weblogic – JAXWS issue. You should cross post this query on the WebLogic and Jax WS forums as well.
indian.koti1MemberHi got solution for this from exlipse support team, thanks to the team
Koteswara,
Ahh! Thanks for the additional tips, I was able to dig in on my end and it looks like a library conflict. As it turns out WebLogic 10.0 already ships JAX-WS support, so the libraries are already present in the server. When you deploy the additional JAX-WS libraries from MyEclipse, they conflict with the WebLogic ones and throw that weird exception.
I was able to right-click and remove those libraries from my Build Path and redeploy my project and bam, the web service came up no problems.
Unfortunately if you remove these from your project’s build path, you can no longer run your WS Client from inside the IDE because it would be missing the class references (likely compilation will fail to). So what we want to do is tell MyEclipse just not to deploy those libs to WebLogic instead.
You can do that by going to Window > Preferences > MyEclipse > Project Capabilities > Web Services > JAX-WS, and then expanding each JAR from each JAX-WS library and going down to the “Excludes” setting and adding WebLogic 10.0 to it.
I’ve included screenshots outlining all of this that may be easier to follow.
Once you’ve done that, right-click on your Deployment, and select “Remove” (not Redeploy) and then re-add the deployment. From there you should be all set.
I’ve filed a PR in our internal tracking system to make sure we streamline this in a future release.
Riyad
MyEclipse Support
Loyal WaterMemberGreat. Thanks for posting this information on the forums.
-
AuthorPosts