Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2CC892BD for ; Sun, 1 Jan 2012 21:54:02 +0000 (UTC) Received: (qmail 68600 invoked by uid 500); 1 Jan 2012 21:54:02 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 68576 invoked by uid 500); 1 Jan 2012 21:54:02 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 68569 invoked by uid 99); 1 Jan 2012 21:54:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2012 21:54:02 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.136.44.61] (HELO smtp106.prem.mail.sp1.yahoo.com) (98.136.44.61) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Jan 2012 21:53:54 +0000 Received: (qmail 25514 invoked from network); 1 Jan 2012 21:53:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=aLNra4CIGwM9WhOjfSc3K6pYrDRw8jd8iMVtA8dpqUGTOCjgpuGMBU7QJFXDrR3xPci+Z8OQlyGddogJ1a+SpYhhcTZvXZUbOri98XPgHoji9azcXDAI5Ub6qq5kVHmkWtRxYYZIolgwUT1b5vhurPC5USc4x0Wj7rR+5bbsc2g= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325454812; bh=tjeA1sZlO+x5OSBXurQDGVThFC1rRwY4cQEIdGCJWEI=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:Mime-Version:Content-Type:Subject:Date:In-Reply-To:To:References:Message-Id:X-Mailer; b=ceSB8kX8sRw92iTjJ5rqqaf7JKUZT+ey8DpLuDhQBTdr2fy8oaEUzU2zqTn/wfZM4HbLZh7auQzFsOZDHUfkGOdARWZIjvnknnf7lJTHRDTW36wsfs0cUQFJqQo7AR9pL3PUkGwzF6BYFcVIOc+wmhFhTm++h7QIV6by5nYWr4c= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7buwtyMVM1nbjGIkG_8dqmSLsExOwJ_X8BD7lFsx3C4wyC_ Wtp56zHIyc8QUQLktJHxrdMKfkZxc32mx0YxwJNuzvnmEv3AWr5dUoJXOg0I qc699S6FlhiZrmgeS3WNp3UzW04BzBBCgiAJX_xzDBIbLMyVUo5lCahlL2rC bo7lOeVa7YIt_5OlDsTbXqfVInOv0SheefqF.wGxMxmiG8DK7SL2H_u3kZ1z 3jyr7gOATD0pfKcGtpglS5mZ51xbuVQ7rPSl6X_3OuiBl0Xq5isqC6SrqWI0 KU8BL5fXgjXF9U_A8rKz8m2Ay9vdbRxYwwqHtXe878r6MKas2bjunfHPmHfc _2Dwx9YJZAO0n8yftvJL08V9LBAKLkq4OOJWRWxOA1PeskCDBXnl6.OvDRdS CbNb31EVe0eOR49opaYS6fyZIvW5GSHANFr8kbJs.dtjaIWr4f0wMs.vy906 KyXDOpTzFsAf_socn_rtijBoaLvSAIvYBPGaiEdEIs8UxT85xQ5kDfZtIJbU TifPuESHDdLWKIin1iKBtdba3NGs6QV8UfMzop916e2grj2_TuqfFmmxe51L KnD3rdBORebO.u9eFfmQrJYYcCrzKKtkKSvfE_H.Jrzx81d5K71i.f54oMvZ Crccs_hPovLzPNvu4QAysWUw7ynNYTAwiQWyf1i5P1GYCEHe7Dt3JGkcaogF QIlBQhSCeoGQ1RICj1Orkr0vgQwABU_owzoMCFHmVoN9a5F_d2OOZT3lHib4 4Hj1MFOto8wqjDMXWK24LzRzCVVPjQKMZw7mjNp2sHvFlLvIU5oRJNtlL4g3 m4UvpweLBzH7_ X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- Received: from [10.0.1.4] (david_jencks@98.246.196.64 with plain) by smtp106.prem.mail.sp1.yahoo.com with SMTP; 01 Jan 2012 13:53:32 -0800 PST From: David Jencks Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-19--744740015 Subject: Re: DeploymentException: POJO web service not configured by any web service builder Date: Sun, 1 Jan 2012 13:53:30 -0800 In-Reply-To: To: user@geronimo.apache.org References: <1300136229852-2677348.post@n3.nabble.com> <1300284040552-2688260.post@n3.nabble.com> <1323888348691-3586364.post@n3.nabble.com> <1325432206082-3624951.post@n3.nabble.com> Message-Id: X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-19--744740015 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii There's also a chance that if you include a servlet api jar in your = application and set up geronimo classloading to load application classes = first there will be a conflict between the servlet api jar in your app = and the one geronimo includes. Don't include a servlet api jar in your = app, this is always supplied by the environment you are deploying into. david jencks On Jan 1, 2012, at 9:32 AM, Ivan wrote: > =46rom the log, think there is a servlet named ResourceServlet is = configured in the web.xml file, and it did not implement the Servlet = interface. It is invalid except that this is a POJO web service. > If that entry is a POJO webservice class, which means it is annotated = with WebService related annotation, you may need to double check whether = there is a WebService provider is there, for tomcat assembly, it is = Axis2, for Jetty assembly, it is CXF. >=20 >=20 > 2012/1/1 mikedanese > Well maybe i'm a dufus but I'm still stuck on this issue. I have = investigate > the tips provided here, along with spending many hours digging in to = the > geronimo deployment package, TomcatModuleBuilder, ect. One thing - the > source I am able to find via web search(TomcatModuleBuilder) seems = quite > dated(2006)... Anyway, still getting an excpetion when deploying from > eclipse to wsce6.1 (see below). Funny thing is, deployment fails on = the > first servlet listed in our war file(there are many, including axis2.4 > further down the list) - which is not a webservice or related to any > webservice at all. So it seems the deployment context is confused by = my > configuation. Some things I have tried: edit web.xml to declare = various > versions of servlet spec, eg: 2.3, 2.4, created a default = geronimo-web.xml > (type=3Dwar) and (lots of time on this) trying to get the log-4j = properties > file to log the geronimo deployment classes in DEBUG/verbose mode(no > progress here) I also searched under WebSphere and eclipse > directories(ubumtu11.10), including .directories, for additional = logging but > no success there(just a short trace (shown below) that comes to = eclipse > console. > Any tips appreciated >=20 > POJO web service: ResourceServlet not configured by any web service = builder > org.apache.geronimo.common.DeploymentException: POJO web service: > ResourceServlet not configured by any web service builder > at > = org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(Tomcat= ModuleBuilder.java:643) > at > = org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(Switc= hingModuleBuilder.java:174) > at > = org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EA= RConfigBuilder.java:763) > at = org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255) > at = org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140) >=20 > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39) > at > = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > = org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Reflectio= nMethodInvoker.java:34) > at > = org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.jav= a:131) > at > = org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:= 883) > at > = org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at = org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39) > at > = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > = org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Reflectio= nMethodInvoker.java:34) > at > = org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.jav= a:131) > at > = org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:= 883) > at > = org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245) > at > = org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.ja= va:172) > at > = com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanS= erverInterceptor.java:836) > at = com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) > at > = javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImp= l.java:1427) > at > = javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl= .java:72) > at > = javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIC= onnectionImpl.java:1265) > at java.security.AccessController.doPrivileged(Native Method) > at > = javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMICon= nectionImpl.java:1367) > at > = javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.jav= a:788) > at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) > at > = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at = sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303) > at sun.rmi.transport.Transport$1.run(Transport.java:159) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:155) > at = sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) > at > = sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.jav= a:790) > at > = sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java= :649) > at > = java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886) > at > = java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908) > at java.lang.Thread.run(Thread.java:662) >=20 > -- > View this message in context: = http://apache-geronimo.328035.n3.nabble.com/DeploymentException-POJO-web-s= ervice-not-configured-by-any-web-service-builder-tp2677348p3624951.html > Sent from the Users mailing list archive at Nabble.com. >=20 >=20 >=20 > --=20 > Ivan --Apple-Mail-19--744740015 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
=46rom the = log, think there is a servlet named ResourceServlet is configured in the = web.xml file, and it did not implement the Servlet interface. It is = invalid except that this is a POJO web service.
If that entry is a = POJO webservice class, which means it is annotated with WebService = related annotation, you may need to double check whether there is a = WebService provider is there, for tomcat assembly, it is Axis2, for = Jetty assembly, it is CXF.


2012/1/1 mikedanese <mikedanese@hotmail.com>
Well maybe i'm a dufus but I'm still stuck on this issue. I have = investigate
the tips provided here, along with spending many hours digging in to = the
geronimo deployment package, TomcatModuleBuilder, ect. One thing - = the
source I am able to find via web search(TomcatModuleBuilder) seems = quite
dated(2006)... Anyway, still getting an excpetion when deploying = from
eclipse to wsce6.1 (see below). Funny thing is, deployment fails on = the
first servlet listed in our war file(there are many, including = axis2.4
further down the list) - which is not a webservice or related to any
webservice at all. So it seems the deployment context is confused by = my
configuation. Some things I have tried: edit web.xml to declare = various
versions of servlet spec, eg: 2.3, 2.4, created a default = geronimo-web.xml
(type=3Dwar) and (lots of time on this) trying to get the log-4j = properties
file to log the geronimo deployment classes in DEBUG/verbose mode(no
progress here) I also searched under WebSphere and eclipse
directories(ubumtu11.10), including .directories, for additional logging = but
no success there(just a short trace (shown below) that comes to = eclipse
console.
Any tips appreciated

POJO web service: ResourceServlet not configured by any web service = builder
org.apache.geronimo.common.DeploymentException: POJO web service:
ResourceServlet not configured by any web service builder
       at
= org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(Tomcat= ModuleBuilder.java:643)
       at
= org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(Switc= hingModuleBuilder.java:174)
       at
= org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EA= RConfigBuilder.java:763)
       at = org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
       at = org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)

       at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
= sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39)
       at
= sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25)
       at = java.lang.reflect.Method.invoke(Method.java:597)
       at
= org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Reflectio= nMethodInvoker.java:34)
       at
= org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.jav= a:131)
       at
= org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:= 883)
       at
= org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)<= br>        at = org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
       at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
= sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39)
       at
= sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25)
       at = java.lang.reflect.Method.invoke(Method.java:597)
       at
= org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Reflectio= nMethodInvoker.java:34)
       at
= org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.jav= a:131)
       at
= org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:= 883)
       at
= org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)<= br>        at
= org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.ja= va:172)
       at
= com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanS= erverInterceptor.java:836)
       at = com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
=        at
= javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImp= l.java:1427)
       at
= javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl= .java:72)
       at
= javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIC= onnectionImpl.java:1265)
       at = java.security.AccessController.doPrivileged(Native Method)
       at
= javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMICon= nectionImpl.java:1367)
       at
= javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.jav= a:788)
       at = sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
       at
= sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25)
       at = java.lang.reflect.Method.invoke(Method.java:597)
       at = sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)
       at = sun.rmi.transport.Transport$1.run(Transport.java:159)
       at = java.security.AccessController.doPrivileged(Native Method)
       at = sun.rmi.transport.Transport.serviceCall(Transport.java:155)
       at = sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)        at
= sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.jav= a:790)
       at
= sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java= :649)
       at
= java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.= java:886)
       at
= java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :908)
       at java.lang.Thread.run(Thread.java:662)

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



-- =
Ivan

= --Apple-Mail-19--744740015--