Hi,

I identified a problem with this WIKI page

http://cwiki.apache.org/confluence/display/GMOxDOC22/Farming+using +Deployment

The j2eeType property of the name of the BasicNodeInfo GBean provided as template was incorrect. It was 'NodeInfo' instead of 'GBean'. Could you please check that the names of the configured nodes in var/ config/config.xml look like (note tthe j2eeType=GBean property):

org.apache.geronimo.configs/farming/2.1/car? ServiceModule=org.apache.geronimo.configs/farming/2.1/ car,j2eeType=GBean,name=NodeInfo2

If the j2eeType is incorrect, then the node declaration is useless. In other words, the WAR is not deployed to the configured node. With this change, when you start/stop/undeploy the WAR on the node used to deploy the WAR, the WAR will also be started/stopped/undeployed on the other nodes.


if you want to automate the creation of a datasource instead of using the console wizzard, then you can deploy a resource adapter plan for your connection pool. There is a handy wizard to create such a plan:

http://cwiki.apache.org/confluence/display/GMOxDOC22/Using+the +Geronimo+database+pool+wizard


Thanks,
Gianny

Thanks

Hi,
Yes ,I am doing a farm deployment.
1,I create dbpool with the console wizzard.
2,Update the var\config\config.xml with farming config.
3,use deploy.bat --user system --password manager start org.apache.geronimo.configs/farming//car and deploy.bat --user system --password manager --port 1109 start org.apache.geronimo.configs/farming//car to start the farming config.
4, deploy the the sample cluster war to the cluster with:
./deploy.sh --user system --password manager deploy --targets org.apache.geronimo.configs/farming/2.1.3/car? ServiceModule=org.apache.geronimo.configs/farming/2.1.3/ car,j2eeType=ConfigurationStore,name=MasterConfigurationStore /opt/ servlet-examples-cluster-server1.war /opt/servlet-examples-cluster- plan.xml


It's nice if deploy the war without dbpool config.


Gianny Damour-2 wrote:

Hi,

I have the feeling that you are doing a farm deployment.

Can you please describe how you are deploying your WAR?

Thanks,
Gianny

On 10/02/2009, at 5:33 PM, R.KAVIO wrote:


Thanks Gianny Damour-2

The server node can distribute war。 but   only  the distribute
node can
work,others can't start。

Start other node :

[ConfigManagerPortlet] Lifecycle operation failed
org.apache.geronimo.kernel.config.LifecycleException: start of
clustering/clustering_G_SLAVE/2.0/war failed
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCo nf
iguration(SimpleConfigurationManager.java:579)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCo nf
iguration(SimpleConfigurationManager.java:543)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke
(ReflectionMethodInvoker.java:34)
        at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
(GBeanOperation.java:124)
        at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
(GBeanInstance.java:832)
        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke
(RawInvoker.java:57)
        at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke
(RawOperationInvoker.java:35)
        at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept
(ProxyMethodInterceptor.java:96)
        at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$
$dcc4237c.startConfiguration(<generated>)
        at
org.apache.geronimo.console.configmanager.ConfigManagerPortlet.proce ss
Action(ConfigManagerPortlet.java:152)
        at org.apache.pluto.core.PortletServlet.dispatch
(PortletServlet.java:218)
        at org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:
139)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:630)
        at
org.apache.catalina.core.ApplicationDispatcher.doInclude
(ApplicationDispatcher.java:535)
        at
org.apache.catalina.core.ApplicationDispatcher.include
(ApplicationDispatcher.java:472)
        at
org.apache.pluto.core.DefaultPortletInvokerService.invoke
(DefaultPortletInvokerService.java:167)
        at
org.apache.pluto.core.DefaultPortletInvokerService.action
(DefaultPortletInvokerService.java:85)
        at
org.apache.pluto.core.PortletContainerImpl.doAction
(PortletContainerImpl.java:219)
        at
org.apache.pluto.driver.PortalDriverServlet.doGet
(PortalDriverServlet.java:121)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
        at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke
(DefaultSubjectValve.java:56)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:525)
        at
org.apache.geronimo.tomcat.GeronimoStandardContext
$SystemMethodValve.invoke(GeronimoStandardContext.java:406)
        at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke
(GeronimoBeforeAfterValve.java:47)
        at
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
        at
org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:568)
        at
org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:845)
        at
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by:
org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurati on
GBeans(ConfigurationUtil.java:522)
        at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start
(KernelConfigurationManager.java:188)
        at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCo nf
iguration(SimpleConfigurationManager.java:562)
        ... 45 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration clustering/clustering_G_SLAVE/2.0/war failed to start
due to
the following reasons:
  The service
J2EEApplication=null,j2eeType=WebModule,name=clustering/clustering/
2.0/war
did not start because No configuration found for id:
clustering/clustering/2.0/war

        at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurati on
GBeans(ConfigurationUtil.java:485)
        ... 47 more

--
View this message in context: http://www.nabble.com/Unable-to-
deploy-tomcat-app-with-WADI-Cluster-and-dbpool-
tp21906672s134p21928475.html
Sent from the Apache Geronimo - Users mailing list archive at
Nabble.com.





Quoted from:
http://www.nabble.com/Unable-to-deploy-tomcat-app-with-WADI-Cluster- and-dbpool-tp21906672s134p21973484.html



Reply via email to