From user-return-15543-apmail-geronimo-user-archive=geronimo.apache.org@geronimo.apache.org Tue May 31 17:08:03 2011 Return-Path: X-Original-To: apmail-geronimo-user-archive@www.apache.org Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 13D624E62 for ; Tue, 31 May 2011 17:08:03 +0000 (UTC) Received: (qmail 20807 invoked by uid 500); 31 May 2011 17:08:02 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 20771 invoked by uid 500); 31 May 2011 17:08:01 -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 20764 invoked by uid 99); 31 May 2011 17:08:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 17:08:01 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mansour.alakeel@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2011 17:07:55 +0000 Received: by qyk35 with SMTP id 35so1597047qyk.13 for ; Tue, 31 May 2011 10:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=CTa6fWL0+uIPAnFdLdCorgtKiQ7yYm7yzGEwl1Y8tGs=; b=eE6ko/bkX85nktaFN+/T8uAHvyHIJFS+zCaCsdvl7owk+pfxTkUjjefqBvpK7r5QHW t8EsW4GEOMwBP4/O75V9/mhBfxNbEtCR1vq/qAu8NtcSqhGsC+5GlFpdJNOm00a4gvVz FWfIty+XGfS4w7eOvex+jMMbNyhuMfAF0pX5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=NHL7iqI0DOqjcACJYwGbVZIyeIYyCeJ8y45+S0vcSWZrXkQ7K0coNNbgZqDE7c1KRV ViNVuNZ2oUee8Av/oKGxvChcP/OjMWIwYcfpm7sfYJxR47hb//vFCuRZwsb1gE46D2h0 eHkufhFv+itZ4NJ8SkwuUKWHkRnEAlAyIarXg= Received: by 10.224.211.74 with SMTP id gn10mr4707681qab.288.1306861654664; Tue, 31 May 2011 10:07:34 -0700 (PDT) Received: from localhost.phub.net.cable.rogers.com (CPE002369c275af-CM00252eac76b2.cpe.net.cable.rogers.com [174.115.210.94]) by mx.google.com with ESMTPS id j18sm144888qck.39.2011.05.31.10.07.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 10:07:33 -0700 (PDT) Date: Tue, 31 May 2011 13:07:02 -0400 From: Mansour Al Akeel To: user@geronimo.apache.org Subject: Re: War deployemnt Message-ID: <20110531170701.GA4167@localhost.phub.net.cable.rogers.com> References: <20110527005352.GB14172@localhost.phub.net.cable.rogers.com> <20110528153031.GA24661@localhost.phub.net.cable.rogers.com> <20110528183112.GB24661@localhost.phub.net.cable.rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110528183112.GB24661@localhost.phub.net.cable.rogers.com> User-Agent: Mutt/1.5.21 (2010-09-15) I was able to create the ear file, and I think I am getting closer to deploy it to geronimo. I am facing this issue, and wondering if there's a way to resolve it without diging the WAR file, and correct the web.xml. I was able to find a similar issue on the mailing list here http://mail-archives.apache.org/mod_mbox/geronimo-user/200803.mbox/%3C18DC284A-A7E8-4F8E-A99E-F6CA5098D63E@yahoo.com%3E Hopping I don't need to fix all the war files. Using GERONIMO_HOME: /opt/geronimo Using GERONIMO_TMPDIR: var/temp Using JRE_HOME: /home/mansour/.gentoo/java-config-2/current-user-vm/jre Username: system Password: *********** 2011-05-31 12:47:55,652 ERROR [DeployTool] Error: org.apache.geronimo.common.DeploymentException: Unable to deploy hippo-package-cms-ear-2.21.00.ear: Error parsing web.xml for hippo-repository-application-2.20.01-SNAPSHOT.war Invalid deployment descriptor: errors: error: cvc-complex-type.2.4a: Expected elements 'run-as@http://java.sun.com/xml/ns/javaee security-role-ref@http://java.sun.com/xml/ns/javaee' instead of 'init-param@http://java.sun.com/xml/ns/javaee' here in element servlet@http://java.sun.com/xml/ns/javaee Descriptor: Hippo ECM repository accessible as remote service to other applications. Hippo ECM repository The address of the repository repository-address rmi://localhost:1099/hipporepository StatusServlet org.hippoecm.repository.StatusServlet 2 LoggingServlet org.hippoecm.repository.LoggingServlet 3 PingServlet org.hippoecm.repository.PingServlet 3 repository-address vm:// RepositoryServlet org.hippoecm.repository.RepositoryServlet The (relative) location where to store files repository-directory WEB-INF/storage The location of the repository configuration file. Unless the location starts with file://, the location is retreived from within the application package as resource. repository-config repository.xml 4 StatusServlet /status/* LoggingServlet /logging/* RepositoryServlet /repository/* PingServlet /ping/* 5 repository-user at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45) at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149) at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125) at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:172) at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) On Sat May 28,2011 02:31 pm, Mansour Al Akeel wrote: > David, > Thank you again. > I will try the EAR file, and let you know. I am not expecting it to work > without pain, as the bad URL (file name with spaces) issue will occur > again, which means I have to unpackage it and repackage it again. > > But it doesn't hurt to try ! > > > > > On Sat May 28,2011 10:00 am, David Jencks wrote: > > Hi Mansour, > > > > Since they supply an ear it might be simpler to start over and try deploying just the ear from the Applications/Deployer page. Like JBoss, Geronimo already uses port 1099 so you will have to make the same configuration change. > > > > To get more logging try changing var/log/server-log4j.properties so the first uncommented line reads > > > > log4j.rootLogger=DEBUG, CONSOLE, FILE > > > > hope this helps.... let us know > > > > thanks > > david jencks > > > > On May 28, 2011, at 8:30 AM, Mansour Al Akeel wrote: > > > > > David, > > > I tried to install the jars one by one though the admin console: > > > In a fresh germino 2.2.1 installation, I logged in as a system manager, > > > and from Services/Repository, I installed the required jars. For each > > > jar I used a group name org.onehippo.cms7. and finally I installed the > > > war file, through Applications/Deployer page and changed the type to a war instead of the default "CAR". > > > Things went fine, but I can not access the cms, I have set its context > > > to /cms, but I am getting 404. I coldn't find the logs files to dig > > > further. > > > > > > > > > How to install hippo cms to supported application servers is described > > > in the page with the WAR/EAR files. > > > http://www.onehippo.org/cms7/documentation/installation > > > > > > > > > Any help will be highly appreciated. > > > > > > > > > On Thu May 26,2011 07:11 pm, David Jencks wrote: > > >> Hi Mansour, > > >> > > >> IIUC you have solved the bad URI problem. Looking at the hippo link in the thread you reference it looks like there are a lot of jars to install and at least one war. I don't find the link very clear so my advice might not be completely relevant and I only have a minute so this is not very complete. > > >> > > >> I'd recommend geronimo 2.2.x or if you are quite adventurous trunk which is undergoing rapid development. > > >> > > >> You can install jars through the geronimo admin console. Click the "advanced" button and find the resources/repository page. You need to supply the location of the jar and the maven coordinates you want it installed at. > > >> > > >> Once you have all the jars installed into geronimo you need to create deployment plan for the war that tells geronimo to include the jars you need in the application classloader. I haven't used it in a while but you should try the applications/plan creator in the admin console. I'm not sure of its current capabilities but it will at least give you the framework for a deployment plan. If the wizard doesn't help you add dependencies to your jars you can look the geronimo documentation on the xml format. > > >> > > >> hope this helps.... feel free to keep asking for help. You may be able to get more real-time help on the #geronimo irc channel at chat.freenode.net but that depends on finding someone who is there at the right time. > > >> > > >> thanks! > > >> david jencks > > >> > > >> > > >> > > >> > > >> You can install it using the geronimo admin console > > >> On May 26, 2011, at 5:53 PM, Mansour Al Akeel wrote: > > >> > > >>> Hello all, > > >>> I need some help deploying a war file to geronimo. The war file for > > >>> hippo cms. I started a thread and asked for help on their mainling list > > >>> > > >>> http://hippo.2275632.n2.nabble.com/Hippo-CMS-on-apache-geronimo-td6405694.html > > >>> > > >>> But I think it's more related to gernimo that HippoCMS > > >>> > > >>> I tried to deply on both G-3.0-M1 and 2.2 > > >>> No luck > > >>> > > >>> Thank you. > > >>> > > >>> > > >> > >