Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 18028 invoked from network); 28 Oct 2006 00:31:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2006 00:31:49 -0000 Received: (qmail 50351 invoked by uid 500); 28 Oct 2006 00:31:59 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 49765 invoked by uid 500); 28 Oct 2006 00:31:58 -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 49753 invoked by uid 99); 28 Oct 2006 00:31:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 17:31:58 -0700 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [192.249.46.190] (HELO mail1.utc.com) (192.249.46.190) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Oct 2006 17:31:45 -0700 Received: (from uucp@localhost) by mail1.utc.com (8.10.0/8.10.0) id k9S0U2712479 for ; Fri, 27 Oct 2006 20:30:02 -0400 (EDT) Received: from uusmna04.utc.com(159.82.218.169) by mail1.utc.com via csmap (V6.0) id srcAAAhWaWxy; Fri, 27 Oct 06 20:30:02 -0400 Received: from PWR-XCH-01.pwrutc.com ([172.19.128.44]) by uusmna04.utc.com (Switch-3.1.9/Switch-3.1.0) with ESMTP id k9S0TxkB024482 for ; Fri, 27 Oct 2006 20:30:00 -0400 (EDT) Received: from PWR-XCH-02.pwrutc.com ([172.19.128.42]) by PWR-XCH-01.pwrutc.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 27 Oct 2006 17:29:52 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6FA28.2F07AB75" Subject: RE: JAX-RPC Web Service - help needed Date: Fri, 27 Oct 2006 17:29:52 -0700 Message-ID: <29C45885D653D543A9B62CB419AA3C2201F350A3@PWR-XCH-02.pwrutc.com> In-Reply-To: <453F2B0C.7050100@opensource.lk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JAX-RPC Web Service - help needed Thread-Index: Acb5Q+TY97aM+SIhQLu2xnXmu5Bq+wA4/B4g From: "Clough, Ray C PWR" To: X-OriginalArrivalTime: 28 Oct 2006 00:29:52.0548 (UTC) FILETIME=[2F475E40:01C6FA28] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.6.1039-14778.000 X-TM-AS-Result: No--35.929000-8.000000-31 X-Scanned-By: MIMEDefang 2.51 on 159.82.218.169 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------_=_NextPart_001_01C6FA28.2F07AB75 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Lasantha, =20 I've been trying to send you a zip file with the app in it, but I get a "undeliverable - recipient mailbox full" error. The app is about 3MB, including the client-side /lib jar files. How can I get this to you? =20 Kowabunga, =20 - Ray Clough ray@allthisisthat.com =20 ________________________________ From: Lasantha Ranaweera [mailto:lasantha@opensource.lk]=20 Sent: Wednesday, October 25, 2006 2:15 AM To: user@geronimo.apache.org Subject: Re: JAX-RPC Web Service - help needed Hi Ray, Please read my in line comments. Thanks, Lasantha Ranaweera Clough, Ray C PWR wrote:=20 Lasantha, =09 Here's the first item of Feedback:=20 =09 1) your implementation class 'CalculatorServiceServlet' does not implement the 'CalculatorService' interface. =20 It is need not to implement service end point interface by actual implementation class.=20 2) I haven't tested it yet, but the wscompile 'config' file can take another attribute 'servantName'. This may take care of your annotation "I am wondering why ...."=20 =20 Ok I will have look at that. I'm going to test both of these. Also, this is not really a generic deployment, as it includes so many jar files from the Geronimo repository. My goal is to create a WAR which I can deploy on any server by supplying the correct 'xxxx-web.xml' file. (Of course, this is for a WS which is so simple it doesn't include datasources, etc). What are the real dependencies. Presumably by including dependencies from the Sun j2ee/lib I can get rid of these. Do you have anything which will tell me what each of these jar files includes? If not, I'll start gradually trying to replace them one by one, which will probably mean a lot of trial and error. I know Geronimo uses the Axis stack to deploy the WS, but why do you include some axis jar files in the built war? =09 =20 I don't understand exact meaning here. This application will copy some of the jar files in to a lib folder since those files has to be included in your classpath (I have to add this comment to the document as soon as confluence is working correctly). Those files has been included in your application class path.=20 By the way, my own app, with the added dependencies, still gives the same errors. =20 If it is Geronimo related files u can share it with us. So we might able to help u. - Ray Clough =09 =09 =09 =09 -----Original Message----- From: lasantha@opensource.lk [mailto:lasantha@opensource.lk]=20 Sent: Monday, October 23, 2006 5:19 PM To: user@geronimo.apache.org Subject: Re: JAX-RPC Web Service - help needed =09 Hi Ray, =09 Have a look at =09 http://cwiki.apache.org/GMOxDOC11/simple-web-services-sample-application ..html ... This is a sample WS application which has been written to the G 1.1.1. But it only has exposing Servlet as a WS. =09 We are expecting feedbacks from users :). =09 Thanks, Lasantha Ranaweera =09 =09 =20 I have a simple WS which I was easily able to deploy in Geronimo 1.0. =20 =09 =20 I am also able to deploy it on Sun App Server 8.2 and Oracle App=20 Server with no problems. However I cannot get it to deploy on =20 Geronimo 1.1.1. =20 The stack trace (below) tells me nothing - maybe it tells someone who=20 knows more about Geronimo something, but it is mysterious to me. =20 There are no examples of JAX-RPC compliant web services anywhere in=20 the Geronimo documentation that I have seen, and I don't recall ever=20 seeing anyone having done it in the mailing list. Do we know, in=20 fact, that Geronimo 1.1.1 can deploy such a service? What I mean by a =20 =09 =20 JAX-RPC-compliant WS is one which contains the WSDL, and mapping.xml=20 files, as well as the web.xml, geronimo-web.xml files. On Geronimo=20 1.0 I could deploy it in an EAR file with a database, but I've=20 simplified it to remove that potential error source, so now I'm trying =20 =09 =20 to deploy it as a WAR file. =09 I would greatly appreciate any help which you can offer. I'll gladly=20 supply the full app source or any files needed. If I can get this to=20 deploy, I'll also happily write up instructions on how to do it. =09 Thank you very much, =09 Ray Clough ray@allthisisthat.com =09 Here is the Exception code from the deployment process: =09 Geronimo Application Server started =09 Retrieving document at 'WEB-INF/wsdl/ApothegmService.wsdl'. =09 12:38:40,407 ERROR [GBeanInstanceState] Error while starting; GBean is =20 =09 =20 now in the FAILED state: =09 abstractName=3D"apothegm/ApothegmWebService/1.1/war?configurationName=3Da= p ot hegm/ApothegmWebService/1.1/war" =09 =09 org.apache.geronimo.kernel.config.InvalidConfigException: Unable to=20 deserialize GBeanState =09 at =09 org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Seri al izedGBeanState.java:120) =09 at =09 org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(Seria li zedGBeanState.java:65) =09 at =09 org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(Configur at ionData.java:171) =09 at =09 org.apache.geronimo.kernel.config.Configuration.(Configuration.j av a:277) =09 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native=20 Method) =09 at =09 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo rA ccessorImpl.java:39) =09 at =09 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo ns tructorAccessorImpl.java:27) =09 at java.lang.reflect.Constructor.newInstance(Constructor.java:494) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanIn st ance.java:933) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart( GB eanInstanceState.java:267) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstan ce State.java:102) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.ja va :526) =09 at =09 org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.ja va :361) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern el ConfigurationManager.java:161) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:307) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:275) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:250) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi gu ration(KernelConfigurationManager.java:112) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas sB yCGLIB$$b117102f.invoke() =09 at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) =09 at =09 org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI nv oker.java:38) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation ..j ava:122) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j av a:817) =09 at =09 org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57 ) =09 at =09 org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati on Invoker.java:35) =09 at =09 org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox yM ethodInterceptor.java:96) =09 at =09 org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc er ByCGLIB$$cfd3ec96.loadConfiguration() =09 at =09 org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm an d.java:63) =09 at java.lang.Thread.run(Thread.java:595) =09 Caused by: java.io.IOException: Unable to deserialize GBeanData=20 =09 apothegm/ApothegmWebService/1.1/war?J2EEApplication=3Dnull,j2eeType=3DWeb= M od ule,name=3Dapothegm/ApothegmWebService/1.1/war =09 at=20 =09 org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:266) =09 at =09 org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Seri al izedGBeanState.java:111) =09 .... 28 more =09 Caused by: java.io.IOException: Unable to deserialize GBeanData=20 =09 apothegm/ApothegmWebService/1.1/war?J2EEApplication=3Dnull,j2eeType=3DWeb= M od ule,name=3Dapothegm/ApothegmWebService/1.1/war, attribute:=20 webServices =09 at=20 =09 org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:239) =09 .... 29 more =09 Caused by: java.io.StreamCorruptedException =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at java.util.ArrayList.readObject(ArrayList.java:591) =09 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09 at =09 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) =09 at =09 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) =09 at java.lang.reflect.Method.invoke(Method.java:585) =09 at =09 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at java.util.ArrayList.readObject(ArrayList.java:591) =09 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09 at =09 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) =09 at =09 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) =09 at java.lang.reflect.Method.invoke(Method.java:585) =09 at =09 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at java.util.ArrayList.readObject(ArrayList.java:591) =09 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09 at =09 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) =09 at =09 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) =09 at java.lang.reflect.Method.invoke(Method.java:585) =09 at =09 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at java.util.HashMap.readObject(HashMap.java:1013) =09 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09 at =09 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) =09 at =09 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) =09 at java.lang.reflect.Method.invoke(Method.java:585) =09 at =09 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at=20 =09 java.io.ObjectInputStream.skipCustomData(ObjectInputStream.java:1877) =09 at =09 java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1765 ) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 11 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at =09 java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191 2) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at java.util.HashMap.readObject(HashMap.java:1013) =09 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09 at =09 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j av a:39) =09 at =09 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess or Impl.java:25) =09 at java.lang.reflect.Method.invoke(Method.java:585) =09 at =09 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919) =09 at=20 =09 java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813) =09 at =09 java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17 13 ) =09 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) =09 at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) =09 at=20 =09 org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:235) =09 .... 29 more =09 org.apache.geronimo.kernel.config.LifecycleException: load of=20 apothegm/ApothegmWebService/1.1/war failed =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:322) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:275) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:250) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi gu ration(KernelConfigurationManager.java:112) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas sB yCGLIB$$b117102f.invoke() =09 at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) =09 at =09 org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI nv oker.java:38) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation ..j ava:122) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j av a:817) =09 at =09 org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57 ) =09 at =09 org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati on Invoker.java:35) =09 at =09 org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox yM ethodInterceptor.java:96) =09 at =09 org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc er ByCGLIB$$cfd3ec96.loadConfiguration() =09 at =09 org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm an d.java:63) =09 at java.lang.Thread.run(Thread.java:595) =09 Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean apothegm/ApothegmWebService/1.1/war =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern el ConfigurationManager.java:180) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:307) =09 .... 14 more =09 Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start=20 apothegm/ApothegmWebService/1.1/war =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern el ConfigurationManager.java:163) =09 .... 15 more =09 Deployer operation failed: load of apothegm/ApothegmWebService/1.1/war failed =09 org.apache.geronimo.kernel.config.LifecycleException: load of=20 apothegm/ApothegmWebService/1.1/war failed =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:322) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:275) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:250) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi gu ration(KernelConfigurationManager.java:112) =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas sB yCGLIB$$b117102f.invoke() =09 at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) =09 at =09 org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI nv oker.java:38) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation ..j ava:122) =09 at =09 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j av a:817) =09 at =09 org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57 ) =09 at =09 org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati on Invoker.java:35) =09 at =09 org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox yM ethodInterceptor.java:96) =09 at =09 org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc er ByCGLIB$$cfd3ec96.loadConfiguration() =09 at =09 org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm an d.java:63) =09 at java.lang.Thread.run(Thread.java:595) =09 Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error starting configuration gbean apothegm/ApothegmWebService/1.1/war =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern el ConfigurationManager.java:180) =09 at =09 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi gu ration(SimpleConfigurationManager.java:307) =09 .... 14 more =09 Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration gbean failed to start=20 apothegm/ApothegmWebService/1.1/war =09 at =09 org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern el ConfigurationManager.java:163) =09 .... 15 more =09 =09 =09 =20 =09 =09 =20 ------_=_NextPart_001_01C6FA28.2F07AB75 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Lasantha,
 
I've been trying to send you a zip file with = the app in it,=20 but I get a "undeliverable - recipient mailbox full" error.  The = app is=20 about 3MB, including the client-side /lib jar files.  How can I get = this to=20 you?
 
Kowabunga,
 
- Ray Clough
ray@allthisisthat.com
 


From: Lasantha Ranaweera=20 [mailto:lasantha@opensource.lk]
Sent: Wednesday, October 25, = 2006=20 2:15 AM
To: user@geronimo.apache.org
Subject: Re: = JAX-RPC=20 Web Service - help needed

Hi Ray,

Please read my in line=20 comments.

Thanks,
Lasantha Ranaweera
Clough, Ray C PWR = wrote:=20
Lasantha,

Here's the first item of Feedback:=20

1) your implementation class 'CalculatorServiceServlet' does not
implement the 'CalculatorService' interface.
  
It is need not to implement service end point = interface by=20 actual implementation class.
2) I haven't tested it yet, but the =
wscompile 'config' file can take
another attribute 'servantName'.  This may take
care of your annotation "I am wondering why ...."=20
  
Ok I will have look at that.
I'm going to test both of these.
Also, this is not really a generic deployment, as it includes so many
jar files from the Geronimo repository.  My goal is to create a WAR
which I can deploy on any server by supplying the correct 'xxxx-web.xml'
file.  (Of course, this is for a WS which is so simple it doesn't
include datasources, etc).  What are the real dependencies.  Presumably
by including dependencies from the Sun j2ee/lib I can get rid of these.
Do you have anything which will tell me what each of these jar files
includes?  If not, I'll start gradually trying to replace them one by
one, which will probably mean a lot of trial and error.  I know Geronimo
uses the Axis stack to deploy the WS, but why do you include some axis
jar files in the built war?

  
I don't understand exact meaning here. This = application=20 will copy some of the jar files in to a lib folder since those files has = to be=20 included in your classpath (I have to add this comment to the document = as soon=20 as confluence is working correctly).  Those files has been included = in your=20 application class path.
By the way, my own app, with the added =
dependencies, still gives the
same errors.
  
If it is Geronimo related files u can share it with = us. So=20 we might able to help u.
- Ray Clough




-----Original Message-----
From: lasantha@opensource.lk [mailto:lasantha@opensource.lk]=
=20
Sent: Monday, October 23, 2006 5:19 PM
To: user@geronimo.apache.org
Subject: Re: JAX-RPC Web Service - help needed

Hi Ray,

Have a look at
http://cwiki.apache.org/GMOxDOC11/simple-web-services-sample-app=
lication
..html
... This is a sample WS application which has been written to the G
1.1.1.
But it only has exposing Servlet as a WS.

We are expecting feedbacks from users :).

Thanks,
Lasantha Ranaweera


  
I have a simple WS which I =
was easily able to deploy in Geronimo 1.0.
    

  
I am also able to deploy it =
on Sun App Server 8.2 and Oracle App=20
Server with no problems.  However I cannot get it to deploy on
    
Geronimo 1.1.1.
  
The stack trace (below) tells =
me nothing - maybe it tells someone who=20
knows more about Geronimo something, but it is mysterious to me. =20
There are no examples of JAX-RPC compliant web services anywhere in=20
the Geronimo documentation that I have seen, and I don't recall ever=20
seeing anyone having done it in the mailing list.  Do we know, in=20
fact, that Geronimo 1.1.1 can deploy such a service?  What I mean by a
    

  
JAX-RPC-compliant WS is one =
which contains the WSDL, and mapping.xml=20
files, as well as the web.xml, geronimo-web.xml files.  On Geronimo=20
1.0 I could deploy it in an EAR file with a database, but I've=20
simplified it to remove that potential error source, so now I'm trying
    

  
to deploy it as a WAR file.

I would greatly appreciate any help which you can offer.  I'll gladly=20
supply the full app source or any files needed.  If I can get this to=20
deploy, I'll also happily write up instructions on how to do it.

Thank you very much,

Ray Clough
ray@allthisisthat.com

Here is the Exception code from the deployment process:

Geronimo Application Server started

Retrieving document at 'WEB-INF/wsdl/ApothegmService.wsdl'.

12:38:40,407 ERROR [GBeanInstanceState] Error while starting; GBean is
    

  
now in the FAILED state:
abstractName=3D"apothegm/ApothegmWebService/1.1/war?configurationName=3Da=
p
ot
hegm/ApothegmWebService/1.1/war"

org.apache.geronimo.kernel.config.InvalidConfigException: Unable to=20
deserialize GBeanState

at
org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Seri
al
izedGBeanState.java:120)

at
org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(Seria
li
zedGBeanState.java:65)

at
org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(Configur
at
ionData.java:171)

at
org.apache.geronimo.kernel.config.Configuration.<init>(Configuratio=
n.j
av
a:277)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native=20
Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructo
rA
ccessorImpl.java:39)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCo
ns
tructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanIn
st
ance.java:933)

at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
GB
eanInstanceState.java:267)

at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstan
ce
State.java:102)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.ja
va
:526)

at
org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.ja
va
:361)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern
el
ConfigurationManager.java:161)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:307)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:275)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:250)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi
gu
ration(KernelConfigurationManager.java:112)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas
sB
yCGLIB$$b117102f.invoke(<generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI
nv
oker.java:38)

at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation
..j
ava:122)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j
av
a:817)

at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57
)

at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati
on
Invoker.java:35)

at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox
yM
ethodInterceptor.java:96)

at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc
er
ByCGLIB$$cfd3ec96.loadConfiguration(<generated>)

at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm
an
d.java:63)

at java.lang.Thread.run(Thread.java:595)

Caused by: java.io.IOException: Unable to deserialize GBeanData=20
apothegm/ApothegmWebService/1.1/war?J2EEApplication=3Dnull,j2eeType=3DWeb=
M
od ule,name=3Dapothegm/ApothegmWebService/1.1/war

at=20
org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:266)

at
org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(Seri
al
izedGBeanState.java:111)

.... 28 more

Caused by: java.io.IOException: Unable to deserialize GBeanData=20
apothegm/ApothegmWebService/1.1/war?J2EEApplication=3Dnull,j2eeType=3DWeb=
M
od ule,name=3Dapothegm/ApothegmWebService/1.1/war, attribute:=20
webServices

at=20
org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:239)

.... 29 more

Caused by: java.io.StreamCorruptedException

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1326)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at java.util.ArrayList.readObject(ArrayList.java:591)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at java.util.ArrayList.readObject(ArrayList.java:591)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at java.util.ArrayList.readObject(ArrayList.java:591)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at java.util.HashMap.readObject(HashMap.java:1013)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at=20
java.io.ObjectInputStream.skipCustomData(ObjectInputStream.java:1877)

at
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1765
)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
11
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:191
2)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at java.util.HashMap.readObject(HashMap.java:1013)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
av
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
or
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)

at=20
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)

at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:17
13
)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)

at=20
org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:235)

.... 29 more

org.apache.geronimo.kernel.config.LifecycleException: load of=20
apothegm/ApothegmWebService/1.1/war failed

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:322)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:275)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:250)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi
gu
ration(KernelConfigurationManager.java:112)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas
sB
yCGLIB$$b117102f.invoke(<generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI
nv
oker.java:38)

at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation
..j
ava:122)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j
av
a:817)

at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57
)

at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati
on
Invoker.java:35)

at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox
yM
ethodInterceptor.java:96)

at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc
er
ByCGLIB$$cfd3ec96.loadConfiguration(<generated>)

at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm
an
d.java:63)

at java.lang.Thread.run(Thread.java:595)

Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean apothegm/ApothegmWebService/1.1/war

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern
el
ConfigurationManager.java:180)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:307)

.... 14 more

Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration gbean failed to start=20
apothegm/ApothegmWebService/1.1/war

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern
el
ConfigurationManager.java:163)

.... 15 more

Deployer operation failed: load of apothegm/ApothegmWebService/1.1/war
failed

org.apache.geronimo.kernel.config.LifecycleException: load of=20
apothegm/ApothegmWebService/1.1/war failed

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:322)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:275)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:250)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfi
gu
ration(KernelConfigurationManager.java:112)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClas
sB
yCGLIB$$b117102f.invoke(<generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodI
nv
oker.java:38)

at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation
..j
ava:122)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.j
av
a:817)

at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57
)

at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperati
on
Invoker.java:35)

at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Prox
yM
ethodInterceptor.java:96)

at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhanc
er
ByCGLIB$$cfd3ec96.loadConfiguration(<generated>)

at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartComm
an
d.java:63)

at java.lang.Thread.run(Thread.java:595)

Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean apothegm/ApothegmWebService/1.1/war

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern
el
ConfigurationManager.java:180)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfi
gu
ration(SimpleConfigurationManager.java:307)

.... 14 more

Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration gbean failed to start=20
apothegm/ApothegmWebService/1.1/war

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Kern
el
ConfigurationManager.java:163)

.... 15 more



    


  

------_=_NextPart_001_01C6FA28.2F07AB75--