geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkateros <dkate...@gmail.com>
Subject Re: DeploymentException: POJO web service not configured by any web service builder
Date Tue, 24 Sep 2013 09:02:52 GMT
This thread seems to be the only useful google result for this error message,
so I will resurrect it.

I got the same error on geronimo 3.0.1 deployment (while geronimo 2.2 does
not produce the problem)

POJO web service: SimpleInstallmentsCalculatorService not configured by any
web service builder
org.apache.geronimo.common.DeploymentException: POJO web service:
SimpleInstallmentsCalculatorService not configured by any web service
builder
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:636)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:764)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:281)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:877)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
        at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
        at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:662)

The problem was a transitive maven dependency of jaxws-api was not declared
with provided scope and these jars ended up in the war. 

[INFO] \- javax.xml.ws:jaxws-api:jar:2.2.6:provided
[INFO]    +- javax.xml.bind:jaxb-api:jar:2.2.4:provided
[INFO]    |  +- javax.xml.stream:stax-api:jar:1.0-2:provided
[INFO]    |  \- javax.activation:activation:jar:1.1:provided
[INFO]    +- javax.xml.soap:saaj-api:jar:1.3.4:provided
[INFO]    +- org.glassfish:javax.annotation:jar:3.1.1:provided
[INFO]    \- javax.jws:jsr181-api:jar:1.0-MR1:provided

I am not sure if this demonstrates an underlying geronimo 3.0.1 problem, as
no hidden classes were declared on geronimo-web.xml. Anyway, hope this
helps.



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/DeploymentException-POJO-web-service-not-configured-by-any-web-service-builder-tp2677348p3987180.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message