geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu George" <manu.t.geo...@gmail.com>
Subject Re: Deploying an ejb web service
Date Thu, 27 Jul 2006 13:19:07 GMT
Hi,
        I am also finding problems on deploying a webservice packaged
in a war file. I am getting errors during deserialisation. To fix
these errors I have modified the plans for
tomcat-deployer and openejb-deployer gbeans. I have modified their
defaultEnvironment to contain following dependencies

Tomcat Deployer

<dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>axis</artifactId>
       <!--<version>${pom.currentVersion}</version>-->
       <type>car</type>
 </dependency>

OpenEJB Deployer

<dependency>
       <groupId>${pom.groupId}</groupId>
       <artifactId>tomcat</artifactId>
       <type>car</type>
</dependency>

So I am facing problems with web services deployed as war or jar. This
is with the server I built from trunk. My jar /war contains only a
single webservice and nothing else.  Shall I open a JIRA for this . Am
I missing somethng here? Is anyone able to deploy a similar
webservice?

Thanks
Manu

On 7/25/06, Manu George <manu.t.george@gmail.com> wrote:
>
> Hi,
>       When i deploy a standalone ejb web service in Geronimo 1.1 it gives an error
>
> 00:11:04,238 ERROR [Servlet] Exception caught:
> javax.portlet.PortletException: Exception
>         at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.proces
> sAction(ConfigManagerPortlet.java:107)
>         at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
> )
>         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>         at  javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>         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 javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>         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.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
> bjectValve.java:52)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:524)
>          at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
> invoke(GeronimoStandardContext.java:342)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
> nimoBeforeAfterValve.java :31)
>         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:
> 541)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
>          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:667)
>         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(Unknown Source)
> Caused by: org.apache.geronimo.kernel.config.LifecycleException: start of geroni
> mo-samples/WSBean/1.2-SNAPSHOT/car failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:529)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:493)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.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:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke (RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$e11b3334.startConfiguration(<generated>)
>         at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.proces
> sAction(ConfigManagerPortlet.java:82)
>         ... 36 more
> Caused by:  org.apache.geronimo.kernel.config.InvalidConfigException: Unable to r
> esolve reference "WebServiceContainer" in gbean geronimo-samples/WSBean/1.2-SNAP
> SHOT/car?EJBModule=geronimo-samples/WSBean/1.2-SNAPSHOT/car,J2EEApplication=null
> ,StatelessSessionBean=HelloBean,j2eeType=WSLink,name=HelloBean to a gbean matchi
> ng the pattern [?name=TomcatWebContainer#]
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.preprocessGBeanDa
> ta( ConfigurationUtil.java:305)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:359)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start (Ke
> rnelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:512)
>         ... 47 more
> Caused by: org.apache.geronimo.kernel.GBeanNotFoundException : No matches for ref
> erencePatterns: [?name=TomcatWebContainer#]
>         at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configu
> ration.java:661)
>         at org.apache.geronimo.kernel.config.Configuration.findGBean (Configurati
> on.java:632)
>         at org.apache.geronimo.kernel.config.Configuration.findGBean(Configurati
> on.java:627)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.preprocessGBeanDa
> ta(ConfigurationUtil.java :303)
>         ... 50 more
> Nested Exception is
> org.apache.geronimo.kernel.config.LifecycleException: start of geronimo-samples/
> WSBean/1.2-SNAPSHOT/car failed
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:529)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:493)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastCla
> ssByCGLIB$$ce77a924.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:122)
>         at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:817)
>         at org.apache.geronimo.gbean.runtime.RawInvoker.invoke (RawInvoker.java:5
> 7)
>         at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java :96)
>         at org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$e11b3334.startConfiguration(<generated>)
>         at org.apache.geronimo.console.configmanager.ConfigManagerPortlet.proces
> sAction(ConfigManagerPortlet.java:82)
>         at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
> )
>         at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>         at  javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>         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 javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>         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.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
> bjectValve.java:52)
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:524)
>          at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
> invoke(GeronimoStandardContext.java:342)
>         at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
> nimoBeforeAfterValve.java :31)
>         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:
> 541)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
>          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
> rocessConnection(Http11BaseProtocol.java:667)
>         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(Unknown Source)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unable to r
> esolve reference "WebServiceContainer" in gbean geronimo-samples/WSBean/1.2-SNAP
> SHOT/car?EJBModule=geronimo-samples/WSBean/1.2-SNAPSHOT/car,J2EEApplication=null
> ,StatelessSessionBean=HelloBean,j2eeType=WSLink,name=HelloBean to a gbean matchi
> ng the pattern [?name=TomcatWebContainer#]
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.preprocessGBeanDa
> ta(ConfigurationUtil.java:305)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:359)
>         at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:187)
>         at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:512)
>         ... 47 more
> Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No matches for ref
> erencePatterns: [?name=TomcatWebContainer#]
>         at org.apache.geronimo.kernel.config.Configuration.findGBeanData (Configu
> ration.java:661)
>         at org.apache.geronimo.kernel.config.Configuration.findGBean(Configurati
> on.java:632)
>         at org.apache.geronimo.kernel.config.Configuration.findGBean(Configurati
> on.java :627)
>         at org.apache.geronimo.kernel.config.ConfigurationUtil.preprocessGBeanDa
> ta(ConfigurationUtil.java:303)
>         ... 50 more
>
> This particular GBean in deployed in the Tomcat configuration in geronimo. If I give
this configuration as the parent then
> the web service gets properly deployed. This issue seems to be because the module geronimo/tomcat/1.1/car
seems to be not present in the heirarchy of the j2ee-server module whose parent is rmi-naming.
Shouldn't the geronimo-tomcat module be the parent of j2ee-server or somehow be added to the
configuration hierarchy so that this problem doesn't occur?
>
> Thanks
>
> Manu
>
>

Mime
View raw message