On Thu, Jan 19, 2012 at 10:40 PM, Venkat <ven12344@yahoo.com> wrote:
Hi all, Please help me in developing a Web Service in Eclipse using 2.1.8
Geronimo. I am using wsdl2java  plugin to create the stubs in Eclipse 3.7
(Indigo). I am getting these exceptions.

Please let me know what is the problem.


Booting Geronimo Kernel (in Java 1.7.0_02)...

Geronimo 2.1.8 is tested with java 5 and 6, not 7, please change your jdk to 5 or 6 to retry.
Module  1/68 org.apache.geronimo.framework/gshell-framework/2.1.8/car
started in   .001s
Module  2/68 org.apache.geronimo.framework/gshell-geronimo/2.1.8/car
started in   .000s
Module  3/68 org.apache.geronimo.framework/j2ee-system/2.1.8/car
started in   .000s
Module  4/68 org.apache.geronimo.framework/transformer-agent/2.1.8/car
started in   .000s
Module  5/68 org.apache.geronimo.framework/jee-specs/2.1.8/car
started in   .000s
Module  6/68 org.apache.geronimo.framework/rmi-naming/2.1.8/car
started in   .131s
Module  7/68 org.apache.geronimo.framework/xmlbeans/2.1.8/car
started in   .000s
Module  8/68 org.apache.geronimo.framework/plugin/2.1.8/car
started in   .047s
Module  9/68 org.apache.geronimo.framework/j2ee-security/2.1.8/car
started in   .166s
Module 10/68 org.apache.geronimo.framework/server-security-config/2.1.8/car
started in   .030s
Module 11/68 org.apache.geronimo.framework/geronimo-gbean-deployer/2.1.8/car
started in   .163s
Module 12/68 org.apache.geronimo.configs/j2ee-server/2.1.8/car
started in   .028s
Module 13/68 org.apache.geronimo.configs/transaction/2.1.8/car
started in   .083s
Module 14/68 org.apache.geronimo.configs/derby/2.1.8/car
started in   .000s
Module 15/68 org.apache.geronimo.configs/system-database/2.1.8/car
started in  2.604s
Module 16/68 org.apache.geronimo.configs/openjpa/2.1.8/car
started in   .004s
Module 17/68 org.apache.geronimo.configs/webservices-common/2.1.8/car
started in   .000s
Module 18/68 org.apache.geronimo.configs/openejb/2.1.8/car
started in   .746s
Module 19/68 org.apache.geronimo.configs/axis/2.1.8/car
started in   .112s
Module 20/68 org.apache.geronimo.configs/axis2/2.1.8/car
started in   .000s
Module 21/68 org.apache.geronimo.configs/axis2-ejb/2.1.8/car
started in   .000s
Module 22/68 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.8/car
started in   .864s
Module 23/68 org.apache.geronimo.configs/jasper/2.1.8/car
started in   .001s
Module 24/68 org.apache.geronimo.configs/tomcat6/2.1.8/car
started in   .565s
Module 25/68 org.apache.geronimo.configs/tomcat6-no-ha/2.1.8/car
started in   .001s
Module 26/68 org.apache.geronimo.configs/clustering/2.1.8/car
started in   .152s
Module 27/68 org.apache.geronimo.configs/j2ee-deployer/2.1.8/car
started in   .087s
Module 28/68 org.apache.geronimo.configs/connector-deployer/2.1.8/car
started in   .056s
Module 29/68 org.apache.geronimo.configs/tomcat6-deployer/2.1.8/car
started in   .029s
Module 30/68
org.apache.geronimo.configs/tomcat6-clustering-builder-wadi/2.1.8/car
started in   .016s
Module 31/68 org.apache.geronimo.configs/activemq-broker/2.1.8/car
started in  1.363s
Module 32/68 org.apache.geronimo.configs/activemq-ra/2.1.8/car
started in   .490s
Module 33/68 org.apache.geronimo.configs/javamail/2.1.8/car
started in   .021s
Module 34/68 org.apache.geronimo.configs/jasper-deployer/2.1.8/car
started in   .013s
Module 35/68 org.apache.geronimo.configs/myfaces/2.1.8/car
started in   .010s
Module 36/68 org.apache.geronimo.configs/myfaces-deployer/2.1.8/car
started in   .014s
Module 37/68 org.apache.geronimo.configs/openejb-deployer/2.1.8/car
started in   .058s
Module 38/68 org.apache.geronimo.configs/openejb-corba-deployer/2.1.8/car
started in   .088s
Module 39/68
org.apache.geronimo.configs/persistence-jpa10-deployer/2.1.8/car
started in   .027s
Module 40/68 org.apache.geronimo.configs/axis-deployer/2.1.8/car
started in   .053s
Module 41/68 org.apache.geronimo.configs/jaxws-deployer/2.1.8/car
started in   .000s
Module 42/68 org.apache.geronimo.configs/axis2-deployer/2.1.8/car
started in   .025s
Module 43/68 org.apache.geronimo.configs/jaxws-ejb-deployer/2.1.8/car
started in   .000s
Module 44/68 org.apache.geronimo.configs/axis2-ejb-deployer/2.1.8/car
started in   .034s
Module 45/68 org.apache.geronimo.configs/spring/2.1.8/car
started in   .000s
Module 46/68 org.apache.geronimo.configs/cxf/2.1.8/car
started in   .000s
Module 47/68 org.apache.geronimo.configs/cxf-ejb/2.1.8/car
started in   .000s
Module 48/68 org.apache.geronimo.configs/client-deployer/2.1.8/car
started in   .021s
Module 49/68 org.apache.geronimo.configs/hot-deployer/2.1.8/car
started in   .359s
Module 50/68 org.apache.geronimo.configs/welcome-tomcat/2.1.8/car
started in   .278s
Module 51/68 org.apache.geronimo.plugins/pluto-support/2.1.8/car
started in   .008s
Module 52/68 org.apache.geronimo.plugins/console-tomcat/2.1.8/car
started in  1.266s
Module 53/68 org.apache.geronimo.plugins/plugin-console-tomcat/2.1.8/car
started in   .199s
Module 54/68 org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.8/car
started in   .025s
Module 55/68 org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.8/car
started in   .116s
Module 56/68 org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.8/car
started in   .206s
Module 57/68 org.apache.geronimo.plugins/activemq-console-tomcat/2.1.8/car
started in   .203s
Module 58/68
org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.8/car
started in   .131s
Module 59/68 org.apache.geronimo.configs/remote-deploy-tomcat/2.1.8/car
started in   .052s
Module 60/68 org.apache.geronimo.configs/uddi-tomcat/2.1.8/car
started in   .541s
Module 61/68 org.apache.geronimo.configs/ca-helper-tomcat/2.1.8/car
started in   .183s
Module 62/68 org.apache.geronimo.configs/sharedlib/2.1.8/car
started in   .006s
Module 63/68 org.apache.geronimo.configs/mejb/2.1.8/car
started in   .308s
Module 64/68 org.apache.geronimo.configs/dojo-tomcat/2.1.8/car
started in   .023s
Module 65/68 org.apache.geronimo.plugins/agent-ds/2.1.8/car
started in  2.086s
Module 66/68 org.apache.geronimo.plugins.monitoring/agent-car-jmx/2.1.8/car
started in   .133s
Module 67/68 org.apache.geronimo.plugins/mconsole-ds/2.1.8/car
started in   .079s
Module 68/68 org.apache.geronimo.plugins/mconsole-tomcat/2.1.8/car
started in   .950s
Startup completed in 17.355s seconds
 Listening on Ports:
   1050 0.0.0.0 CORBA Naming Service
   1099 0.0.0.0 RMI Naming
   1527 0.0.0.0 Derby Connector
   2001 0.0.0.0 OpenEJB ORB Adapter
   4201 0.0.0.0 OpenEJB Daemon
   6882 0.0.0.0 OpenEJB ORB Adapter
   8009 0.0.0.0 Tomcat Connector AJP AJP
   8080 0.0.0.0 Tomcat Connector HTTP BIO HTTP
   8443 0.0.0.0 Tomcat Connector HTTPS BIO HTTPS
   9998 0.0.0.0 JMX Secure Remoting Connector
   9999 0.0.0.0 JMX Remoting Connector
  61613 0.0.0.0 ActiveMQ Transport Connector
  61616 0.0.0.0 ActiveMQ Transport Connector

 Started Application Modules:
   EAR: org.apache.geronimo.configs/uddi-tomcat/2.1.8/car
   EAR: org.apache.geronimo.plugins/console-tomcat/2.1.8/car
   JAR: org.apache.geronimo.configs/mejb/2.1.8/car
   RAR: org.apache.geronimo.configs/activemq-ra/2.1.8/car
   RAR: org.apache.geronimo.configs/system-database/2.1.8/car
   RAR: org.apache.geronimo.plugins/agent-ds/2.1.8/car
   RAR: org.apache.geronimo.plugins/mconsole-ds/2.1.8/car
   WAR: org.apache.geronimo.configs/ca-helper-tomcat/2.1.8/car
   WAR: org.apache.geronimo.configs/dojo-legacy-tomcat/2.1.8/car
   WAR: org.apache.geronimo.configs/dojo-tomcat/2.1.8/car
   WAR: org.apache.geronimo.configs/remote-deploy-tomcat/2.1.8/car
   WAR: org.apache.geronimo.configs/welcome-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/activemq-console-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/debugviews-console-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/mconsole-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/plancreator-console-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/plugin-console-tomcat/2.1.8/car
   WAR: org.apache.geronimo.plugins/sysdb-console-tomcat/2.1.8/car

 Web Applications:
   /
   /CAHelper
   /activemq
   /console
   /console-base
   /debug-views
   /dojo
   /dojo/0.4
   /juddi
   /monitoring
   /plan-creator
   /plugin
   /remote-deploy
   /system-database

Geronimo Application Server started
2012-01-19 09:27:37,785 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="default/Application_ID/1326983128315/car?J2EEApplication=default/Application_ID/1326983128315/car,j2eeType=WebModule,name=PANDeviceRegistrationWS.war"
java.lang.RuntimeException: Failure initializing web service containter
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:96)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.createWebServices(TomcatWebAppContext.java:281)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.<init>(TomcatWebAppContext.java:255)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.ConnectException: Connection refused: connect
       at java.net.DualStackPlainSocketImpl.connect0(Native Method)
       at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
       at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
       at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
       at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
       at java.net.Socket.connect(Socket.java:579)
       at java.net.Socket.connect(Socket.java:528)
       at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
       at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
       at sun.net.www.http.HttpClient.New(HttpClient.java:300)
       at sun.net.www.http.HttpClient.New(HttpClient.java:316)
       at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
       at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
       at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
       at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
       at java.net.URL.openStream(URL.java:1035)
       at
org.apache.geronimo.axis2.AxisServiceGenerator.readWSDL(AxisServiceGenerator.java:296)
       at
org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:134)
       at
org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:137)
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainer.init(POJOWebServiceContainer.java:71)
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:94)
       ... 66 more
2012-01-19 09:27:44,034 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="default/Application_ID/1326983143422/car?J2EEApplication=default/Application_ID/1326983143422/car,j2eeType=WebModule,name=PANDeviceRegistrationWS.war"
java.lang.RuntimeException: Failure initializing web service containter
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:96)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.createWebServices(TomcatWebAppContext.java:281)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.<init>(TomcatWebAppContext.java:255)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
       at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.ConnectException: Connection refused: connect
       at java.net.DualStackPlainSocketImpl.connect0(Native Method)
       at
java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
       at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
       at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
       at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
       at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
       at java.net.Socket.connect(Socket.java:579)
       at java.net.Socket.connect(Socket.java:528)
       at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
       at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
       at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
       at sun.net.www.http.HttpClient.New(HttpClient.java:300)
       at sun.net.www.http.HttpClient.New(HttpClient.java:316)
       at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
       at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
       at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
       at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
       at java.net.URL.openStream(URL.java:1035)
       at
org.apache.geronimo.axis2.AxisServiceGenerator.readWSDL(AxisServiceGenerator.java:296)
       at
org.apache.geronimo.axis2.AxisServiceGenerator.getServiceFromWSDL(AxisServiceGenerator.java:134)
       at
org.apache.geronimo.axis2.Axis2WebServiceContainer.init(Axis2WebServiceContainer.java:137)
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainer.init(POJOWebServiceContainer.java:71)
       at
org.apache.geronimo.axis2.pojo.POJOWebServiceContainerFactoryGBean.getWebServiceContainer(POJOWebServiceContainerFactoryGBean.java:94)
       ... 66 more
2012-01-19 09:30:41,757 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from ServletContext resource [/WEB-INF/beans.xml];
nested exception is java.io.FileNotFoundException: Could not open
ServletContext resource [/WEB-INF/beans.xml]
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
       at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
       at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
       at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
       at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
       at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
       at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
       at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
       at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
       at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4201)
       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4694)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:63)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:398)
       at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:251)
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
       at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:369)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.FileNotFoundException: Could not open ServletContext
resource [/WEB-INF/beans.xml]
       at
org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
       ... 82 more
2012-01-19 09:30:41,758 ERROR [[/PANDeviceRegistrationWS]] Exception sending
context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from ServletContext resource [/WEB-INF/beans.xml];
nested exception is java.io.FileNotFoundException: Could not open
ServletContext resource [/WEB-INF/beans.xml]
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
       at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
       at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
       at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
       at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
       at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
       at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
       at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
       at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
       at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
       at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4201)
       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4694)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:63)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:398)
       at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
       at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:251)
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
       at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:369)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.FileNotFoundException: Could not open ServletContext
resource [/WEB-INF/beans.xml]
       at
org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:117)
       at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
       ... 82 more
2012-01-19 09:30:41,760 ERROR [StandardContext] Error listenerStart
2012-01-19 09:30:41,760 ERROR [StandardContext] Context
[/PANDeviceRegistrationWS] startup failed due to previous errors
2012-01-19 09:30:41,768 ERROR [ContainerBase] ContainerBase.addChild: start:
LifecycleException:  java.io.IOException: Context did not start for an
unknown reason
       at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:272)
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
       at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:369)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)
2012-01-19 09:30:41,798 WARN  [TomcatWebAppContext] TomcatWebAppContext
failed
2012-01-19 09:30:41,798 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="default/Application_ID/1326983339743/car?J2EEApplication=default/Application_ID/1326983339743/car,j2eeType=WebModule,name=PANDeviceRegistrationWS.war"
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  java.io.IOException: Context did not start for an
unknown reason
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:803)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
       at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:369)
       at
org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
       at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
       at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
       at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
       at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
       at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
       at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
       at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
       at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
       at sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       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:867)
       at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
       at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
       at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
       at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
       at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
       at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
       at java.security.AccessController.doPrivileged(Native Method)
       at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
       at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
       at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:601)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
       at sun.rmi.transport.Transport$1.run(Transport.java:177)
       at sun.rmi.transport.Transport$1.run(Transport.java:174)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
       at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
       at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
       at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
       at java.lang.Thread.run(Thread.java:722)


--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3672504.html
Sent from the Users mailing list archive at Nabble.com.



--
Thanks!

Regards, Forrest