Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 51464 invoked from network); 27 Sep 2008 09:22:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2008 09:22:50 -0000 Received: (qmail 14154 invoked by uid 500); 27 Sep 2008 09:22:47 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 14138 invoked by uid 500); 27 Sep 2008 09:22:47 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 14126 invoked by uid 99); 27 Sep 2008 09:22:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Sep 2008 02:22:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 195.197.172.116 is neither permitted nor denied by domain of termant@gmail.com) Received: from [195.197.172.116] (HELO gw02.mail.saunalahti.fi) (195.197.172.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Sep 2008 09:21:46 +0000 Received: from [127.0.0.1] (a91-155-177-195.elisa-laajakaista.fi [91.155.177.195]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id E2CD21394E1 for ; Sat, 27 Sep 2008 12:22:15 +0300 (EEST) Message-ID: <48DDFB49.3050507@gmail.com> Date: Sat, 27 Sep 2008 12:22:17 +0300 From: =?ISO-8859-1?Q?Tero_M=E4ntyvaara?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Apache Geronimo v2.1 - Developer's guide - Web Application for EJB access References: <48DD433A.3010806@gmail.com> <48DDA64B.4070003@gmail.com> In-Reply-To: <48DDA64B.4070003@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, it worked! :-) Thank you for the quick response. I did all steps manually and I managed to deploy the tutorial application succesfully. Only one problem is left: the converter is not working correctly. :-/ The JSP-page isn't showing result at all. How should I debug the application and server? I am using Tomcat version of the AG. Tero M�ntyvaara Tim McConnell wrote: > HI Tero, the problem you are seeing is generally indicative of an > environment and/or configuration problem. What I usually recommend in > this case is to use the following documentation but invoke only the > manual steps throughout: > > -----> > http://cwiki.apache.org/GMOxDOC21/quick-start-fast-and-easy-development.html > > > 1. Manually download and install the Sun JDK 5.0/6.0 > > 2. Create a new Eclipse installation directory for yourself and then > manually download and install the "Eclipse IDE for Java EE Developers" > (either Europa or Ganymede) into that new Eclipse installation directory. > > 3. Manually download and install the GEP. Just unzip the > geronimo-eclipse-plugin-2.1.3-deployable.zip file into your new Eclipse > installation directory. > > 4. To verify that these steps have been successful, startup your new > Eclipse installation and from the workspace select "Help --> About > Eclipse Platform". In the panel that appears you will see anywhere from > 4-6 Eclipse icons representing the various Eclipse projects and/or > components installed. You must also see the Geronimo icon -- if not > something has not been installed correctly. If the Geronimo icon does > not show up then please attach the .log file in the .metadata directory > of your workspace that you are using and we can probably figure out > what's wrong from it. If the Geronimo icon does appear that is a very > good indication that Eclipse and the GEP have been installed correctly, > and you can continue to the next step. > > 5. Manually download and install the Geronimo v2.1.3 server, just > remember where you installed/unzipped it. > > 6. Define a new Geronimo server runtime as described in the document > above, but point to the directory you unzipped it in Step 5 above. If > you get any errors please copy/paste them in your reply. > > 7. Next, start the new Geronimo server as described in the document > above. It should start fine, but again if you get any errors please > copy/paste them in your reply. > > 8. Finally, if the Geronimo server starts up okay, then go through this > tutorial. It should work fine as well, but again if you get any errors > please copy/past them in your reply and also attach the .log file in the > .metadata directory of your workspace that you are using. > > -----> > http://cwiki.apache.org/GMOxSAMPLES/5-minute-tutorial-on-enterprise-application-development-with-eclipse-and-geronimo.html > > > Thanks and please let me know how it goes for you. > > Tero M�ntyvaara wrote: >> 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.(DeploymentContext.java:100) >> >> at >> org.apache.geronimo.deployment.DeploymentContext.(DeploymentContext.java:80) >> >> at >> org.apache.geronimo.j2ee.deployment.EARContext.(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.(Configuration.java:267) >> >> at >> org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:348) >> >> ... 50 more >> >> >> Tero M�ntyvaara >> >