geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuk Chinmoy Pal Chaudhuri" <Anshuk_PalChaudh...@infosys.com>
Subject Unable to initialize webapp GBean while deploying web service
Date Wed, 13 Sep 2006 11:54:26 GMT


Hi,

I am facing a major problem in deploying a web service which takes
complex type objects as parameters in the document style web service.It
is the same problem with both geronimo 1.0 and geronimo 1.1.
The mapping file and the wsdl file is generated using wscompile tool.

If the web service is normal java types, then it is not a problem.
Only in case of complex type objects, it is becoming a problem.
PFA the error that is coming when trying to deploy a webservice on
geronimo 1.0.

Any hints..???

Retrieving document at 'WEB-INF/WebService.wsdl'.
org.apache.geronimo.common.DeploymentException: Unable to initialize
webapp GBea
n
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
omcatModuleBuilder.java:560)
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder$$FastClassB
yCGLIB$$6f85ec2c.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$4
ca9e4d7.addGBeans(<generated>)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(
SwitchingModuleBuilder.java:160)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClass
ByCGLIB$$d0c31844.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$4
ca9e4d7.addGBeans(<generated>)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
on(EARConfigBuilder.java:402)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLI
B$$38e56ec6.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$
$5896ed49.buildConfiguration(<generated>)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:269)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
        at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.i
nvoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:835)
        at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
178)
        at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAc
tion(DeploymentPortlet.java:112)
        at
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
)
        at
org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoke
rImpl.java:120)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvoke
rImpl.java:68)
        at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletCon
tainerImpl.java:164)
        at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processP
ortletAction(PortletContainerWrapperImpl.java:82)
        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
        at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:482)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:272)
        at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:46)
        at
org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyCont
extValve.java:50)
        at
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Trans
actionContextValve.java:53)
        at
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Compone
ntContextValve.java:47)
        at
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Instance
ContextValve.java:60)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException
        at
org.apache.geronimo.axis.builder.HeavyweightOperationDescBuilder.<ini
t>(HeavyweightOperationDescBuilder.java:105)
        at
org.apache.geronimo.axis.builder.AxisServiceBuilder.buildOperations(A
xisServiceBuilder.java:175)
        at
org.apache.geronimo.axis.builder.AxisServiceBuilder.createServiceDesc
(AxisServiceBuilder.java:124)
        at
org.apache.geronimo.axis.builder.AxisServiceBuilder.createServiceInfo
(AxisServiceBuilder.java:73)
        at
org.apache.geronimo.axis.builder.AxisBuilder.configurePOJO(AxisBuilde
r.java:111)
        at
org.apache.geronimo.axis.builder.AxisBuilder$$FastClassByCGLIB$$16a52
a9a.invoke(<generated>)
        at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
        at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:118)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:800)
        at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:36)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
        at
org.apache.geronimo.j2ee.deployment.WebServiceBuilder$$EnhancerByCGLI
B$$493cf3fa.configurePOJO(<generated>)
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.configurePO
JO(TomcatModuleBuilder.java:934)
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(T
omcatModuleBuilder.java:508)
        ... 78 more
17:16:01,154 ERROR [[Deployment]] Servlet.service() for servlet
Deployment threw
 exception
java.lang.NullPointerException
        at
org.apache.geronimo.console.configmanager.DeploymentPortlet.append(De
ploymentPortlet.java:145)
        at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAc
tion(DeploymentPortlet.java:134)
        at
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
)
        at
org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoke
rImpl.java:120)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvoke
rImpl.java:68)
        at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletCon
tainerImpl.java:164)
        at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processP
ortletAction(PortletContainerWrapperImpl.java:82)
        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
        at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:482)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:272)
        at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:46)
        at
org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyCont
extValve.java:50)
        at
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Trans
actionContextValve.java:53)
        at
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Compone
ntContextValve.java:47)
        at
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Instance
ContextValve.java:60)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)
17:16:01,310 ERROR [Servlet] Exception caught:
java.lang.NullPointerException
        at
org.apache.geronimo.console.configmanager.DeploymentPortlet.append(De
ploymentPortlet.java:145)
        at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAc
tion(DeploymentPortlet.java:134)
        at
org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
)
        at
org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:672)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
ispatcher.java:574)
        at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
patcher.java:499)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoke
rImpl.java:120)
        at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvoke
rImpl.java:68)
        at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletCon
tainerImpl.java:164)
        at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processP
ortletAction(PortletContainerWrapperImpl.java:82)
        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
        at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:482)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:272)
        at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:46)
        at
org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyCont
extValve.java:50)
        at
org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Trans
actionContextValve.java:53)
        at
org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Compone
ntContextValve.java:47)
        at
org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Instance
ContextValve.java:60)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
526)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
        at java.lang.Thread.run(Thread.java:534)



Warm Regards,
Anshuk Pal Chaudhuri
SETLabs - Web Services/SOA CoE
Infosys Technologies Ltd.
Hyderabad
Extn. 48030


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Mime
View raw message