cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esabourin <eric.sabou...@xwave.com>
Subject weblogic deployment fails: com.xxx.services.jaxws.Search could not be found
Date Fri, 23 May 2008 14:43:40 GMT

I'm trying to put together a simple web service using JSR181 and CXF 2.1.
We are using Weblogic 10.

I have my SEI interface, with one webservice method 'search' and with the
required annotations (see below), my implementation class also has, I think,
the required annotations.
I can run java2ws, it seems to correctly generate my wsdl.
So far so good.

Next I want to deploy my webservice to weblogic to test it...
I will use the CXFServlet, so I setup my web.xml and cfx.xml
I put together my war file, and drop it into my autodeploy directory which
results in an error about "com.xxx.services.jaxws.Search could not be found"
(full error below).  I have no such "jaxws" package or Search class... but
'search' is the WS operation...?  Why is it looking for this? Or how am I
supposed to generate it?

I have also added geronimo-ws-metadata_2.0_spec-1.1.2.jar as the first entry
in my weblogic CP but the error still occurs.

I appreciate any help!
Eric

-------------------------
Full error on deployment:
####<May 23, 2008 10:02:26 AM EDT> <Error> <Deployer> <onottpc035040>
<AdminServer> <[ACTIVE] ExecuteThread: '19' for queue:
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
<1211551346183> <BEA-149265> <Failure occurred in the execution of
deployment request with ID '1211551340058' for task '0'. Error is:
'weblogic.application.ModuleException: [HTTP:101216]Servlet:
"com.xxx.services.AutonomySearchService" failed to preload on startup in Web
application: "ISearchService.war".
class: com.xxx.services.jaxws.Search could not be found
	at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
	at
com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
	at
com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
	at
com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
	at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
	at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
	at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
	at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
	at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
	at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
	at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
	at javax.servlet.GenericServlet.init(GenericServlet.java:241)
	at
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(Unknown Source)
	at
weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
	at
weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
	at
weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
	at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
	at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1853)
	at
weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1830)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1750)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2909)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:973)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:361)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
	at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)
	at
weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)
	at
weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
	at
weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
	at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)


SEI:
@WebService(name="ISearchService")
@SOAPBinding( style = SOAPBinding.Style.DOCUMENT,
            use = SOAPBinding.Use.LITERAL,
            parameterStyle = SOAPBinding.ParameterStyle.WRAPPED )
public interface ISearchService {
	@WebMethod(operationName="basicSearch")
	@WebResult(name="searchResults")
	public SearchResults search(@WebParam(name="text") String text) throws
SearchServiceException;
}

Implementation class has only following annotation:
@WebService(endpointInterface="com.xwave.ta09.services.ISearchService",
serviceName="ISearchService")


WEB-INF/lib has:
aopalliance-1.0.jar
asm-2.2.3.jar
commons-logging-1.1.1.jar
cxf-2.1.jar

FastInfoset-1.2.2.jar
geronimo-activation_1.1_spec-1.0.2.jar
geronimo-annotation_1.0_spec-1.1.1.jar
geronimo-javamail_1.4_spec-1.3.jar
geronimo-ws-metadata_2.0_spec-1.1.2.jar
jaxb-api-2.1.jar
jaxb-impl-2.1.6.jar
jaxws-api-2.1-1.jar
neethi-2.0.4.jar
saaj-api-1.3.jar
saaj-impl-1.3.jar
spring-beans-2.0.8.jar
spring-context-2.0.8.jar
spring-core-2.0.8.jar
spring-web-2.0.8.jar
stax-utils-20060502.jar
wsdl4j-1.6.1.jar
wstx-asl-3.2.4.jar
xml-resolver-1.2.jar
XmlSchema-1.4.2.jar




-- 
View this message in context: http://www.nabble.com/weblogic-deployment-fails%3A-com.xxx.services.jaxws.Search-could-not-be-found-tp17427174p17427174.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message