geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tero Mäntyvaara <term...@gmail.com>
Subject Apache Geronimo v2.1 - Developer's guide - Web Application for EJB access
Date Fri, 26 Sep 2008 20:16:58 GMT
Hi

I am running Apache Geronimo v2.1.3 and Eclipse 3.3 on windows XP. I
have installed GEP on Eclipse. I am following documentation of the
Developer's guide for the Apache Geronimo v2.1.

I managed to run Hello World Web Application succesfully. But when I
tried to deploy Web Application for EJB access application I got the
server error:

Publishing failed
  Distribution of module failed.  See log for details.
    Cannot deploy the requested application module because no deployer
is able to handle it.  This can happen if you have omitted the J2EE
deployment descriptor, disabled a deployer module, or if, for example,
you are trying to deploy an EJB module on a minimal Geronimo server that
does not have EJB support installed.
(moduleFile=C:\DOCUME~1\termant\LOCALS~1\Temp\geronimo-deployer11067.tmpdir\CurrencyConvertEJB.zip)
    org.apache.geronimo.common.DeploymentException: Cannot deploy the
requested application module because no deployer is able to handle it.
This can happen if you have omitted the J2EE deployment descriptor,
disabled a deployer module, or if, for example, you are trying to deploy
an EJB module on a minimal Geronimo server that does not have EJB
support installed.
(moduleFile=C:\DOCUME~1\termant\LOCALS~1\Temp\geronimo-deployer11067.tmpdir\CurrencyConvertEJB.zip)
    	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:233)
    	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)
    	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
    	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
    	at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown
Source)
    	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown
Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown
Source)
    	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
    	at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    	at sun.rmi.transport.Transport$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
    	at java.lang.Thread.run(Unknown Source)
  Distribution of module failed.  See log for details.
    Unable to create configuration for deployment
    org.apache.geronimo.common.DeploymentException: Unable to create
configuration for deployment
    	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:120)
    	at
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:100)
    	at
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:80)
    	at
org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java:68)
    	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:530)
    	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
    	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	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.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)
    	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
    	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
    	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
    	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
    	at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown
Source)
    	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown
Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown
Source)
    	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
    	at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
    	at sun.rmi.transport.Transport$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
    	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
    	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.geronimo.kernel.config.LifecycleException:
load of default/WebEJB/1.0/car failed
    	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:327)
    	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
    	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:286)
    	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
    	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:117)
    	... 44 more
    Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Error starting configuration gbean default/WebEJB/1.0/car
    	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:352)
    	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
    	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
    	... 48 more
    Caused by:
org.apache.geronimo.kernel.repository.MissingDependencyException:
Missing dependency: default/CurrencyConvertEJB/1.0/car
    	at
org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
    	at
org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:405)
    	at
org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:322)
    	at
org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:267)
    	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:348)
    	... 50 more


Tero Mäntyvaara

Mime
View raw message