Return-Path: X-Original-To: apmail-incubator-ace-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ace-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB7129966 for ; Thu, 27 Oct 2011 12:52:54 +0000 (UTC) Received: (qmail 82515 invoked by uid 500); 27 Oct 2011 12:52:54 -0000 Delivered-To: apmail-incubator-ace-dev-archive@incubator.apache.org Received: (qmail 82475 invoked by uid 500); 27 Oct 2011 12:52:54 -0000 Mailing-List: contact ace-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ace-dev@incubator.apache.org Delivered-To: mailing list ace-dev@incubator.apache.org Received: (qmail 82467 invoked by uid 99); 27 Oct 2011 12:52:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 12:52:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 12:52:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 386003220B2 for ; Thu, 27 Oct 2011 12:50:32 +0000 (UTC) Date: Thu, 27 Oct 2011 12:50:32 +0000 (UTC) From: "Denis Koelewijn (Commented) (JIRA)" To: ace-dev@incubator.apache.org Message-ID: <1237156495.24294.1319719832232.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1503434333.11923.1319053511209.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ACE-191) Provision Glassfish servers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ACE-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137048#comment-13137048 ] Denis Koelewijn commented on ACE-191: ------------------------------------- The current composition of the ace-target-devserver always includes de amazon-nodelauncher. This component, on startup, always connects directly to amazon, with in my case, incorrect credentials. This gives a nasty and lengthy stacktrace in the logfile: 2011.10.27 14:24:29 WARNING - Bundle: org.apache.ace.nodelauncher.amazon - Invocation of 'start' failed. - org.jclouds.rest.AuthorizationException: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 -> HTTP/1.1 401 Unauthorized at org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.refineException(ParseAWSErrorFromXmlContent.java:117) (....) Is this as it should be ? I can image Ace being used without deployment to Amazon.... Is the idea to have a separate assembly for deployment to Amazon and for non-Amazon deployment, or will there be one Ace assembly for all kinds of deployments ? In the latter case, it might not be desirable to always connect directly to Amazon on the startup ? > Provision Glassfish servers > --------------------------- > > Key: ACE-191 > URL: https://issues.apache.org/jira/browse/ACE-191 > Project: Ace > Issue Type: New Feature > Reporter: Paul Bakker > Assignee: Marcel Offermans > Attachments: ace-191-pom.patch, ace-nodelauncher-amazon-cfg.patch, glassfish-aws-v2.patch, glassfish-aws.patch > > > It should be possible to provision a Glassfish server instead of a pure Felix instance. Glassfish contains Felix and in recent versions you can directly deploy OSGI bundles as you would do in a normal OSGI container. There are some extra features however; for example you can use EJB, JPA and CDI from bundles and use the WAB as deployment type besides normal bundles. In the future we can also build towards clustering support on top of GF. > I fixed this by creating a new Ace launcher specifically for Glassfish. It downloads and unzips GF, changes it's configuration files and installs the Ace Management Agent. GF is started using asadmin after that. Besides this I changed the Amazon Node Laucher. You can now configure a serverType to either DEFAULT or GLASSFISH. When the type is GLASSFISH it changes the startup script to download and use the new Glassfish launcher. > At this moment Glassfish is downloaded from a S3 bucket that I created because the official download server is extremely slow. We have to come up with something better however. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira