You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(5) |
Apr
(8) |
May
(2) |
Jun
(8) |
Jul
(2) |
Aug
(5) |
Sep
(9) |
Oct
(10) |
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(5) |
Feb
(3) |
Mar
(11) |
Apr
|
May
(1) |
Jun
(7) |
Jul
(11) |
Aug
(9) |
Sep
(8) |
Oct
|
Nov
(3) |
Dec
(3) |
2006 |
Jan
(2) |
Feb
(16) |
Mar
(13) |
Apr
(5) |
May
(4) |
Jun
|
Jul
(3) |
Aug
(5) |
Sep
(2) |
Oct
(17) |
Nov
(21) |
Dec
(23) |
2007 |
Jan
(22) |
Feb
(3) |
Mar
(18) |
Apr
|
May
(11) |
Jun
(3) |
Jul
(8) |
Aug
(29) |
Sep
(1) |
Oct
(2) |
Nov
(1) |
Dec
|
2008 |
Jan
(2) |
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve L. <ste...@hp...> - 2007-07-06 16:05:59
|
Bill de hOra wrote: > Hi, > > is there a Tomcat .sf file I could look at? I've seen references to a > TomcatServer, but not the actual configuration itself. Hmm. lets see what we have. 1. There is a components/tomcat tomcat component, but looking at it is half complete, which explains why we dont distribute it. 2. we do have the DeployByCopy components which can deploy webapps by copying them to a target dir, and then delete them when undeploying. This, in conjuction with a component extending Java to actually start JBoss is how we work with JBoss; Tomcat should take something similar. http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/components/www/src/org/smartfrog/services/www/dbc/components.sf?view=markup 3. There is a cargo component, and cargo can start pretty much anything. Which I like. When it is working, it can deploy tomcat with good control. Going forward, apart from its dependency on ant1.6.x for utility classes, its a good generic way to start and stop webapps, one we should work with. That said, there are three open bugreps saying it isn't working right now, and again, it isnt in todays 3.11.001beta http://jira.smartfrog.org/jira/browse/SFOS-137 http://jira.smartfrog.org/jira/browse/SFOS-138 http://jira.smartfrog.org/jira/browse/SFOS-152 Cargo 0.8 was failing, and a move up to 0.9 implied effort and time that I didnt have to hand, so I filed them as todos for 3.12.x. If you are interested in using this, we could bump it up the schedule and I could have a go at fixing it next week, target release 3.11.002beta two weeks from today. > > I'm asking because I'm just getting to grips with SmartFrog and I'm > assuming that something akin to the JettyServer needs to be written (ie > thre'll be a bit more to it that stopping and starting catalina.sh). > > cheers > Bill The level of complexity really depends on what level of control you need. Personally I'd advocate taking the .sh file, looking at what it does and producing a template to match it, usually a Java is all you need. That gives you the best control; easy changing of system properties, etc, and the automatic termination of the Java process when you terminate the component. We could work together on that very quickly; it shouldn't be that hard to use that + deploy-by-copy . Incidentally. The nice thing about Jetty is that we can do very low-level stuff, at the level of configuring individual mime mappings, servlets, etc. with tomcat you are left creating web.xml files, and that is not something we have done anything with. I heard claims at apachecon that tomcat 6 is now configurable outside the XML files, which would be very nice; we could actually start it in a SmartFrog process and then configure it directly. This is the most intimate and probably the most vulnerable to changes in the Tomcat configuration APIs. -Steve |
From: Bill de h. <bi...@de...> - 2007-07-06 14:04:00
|
Hi, is there a Tomcat .sf file I could look at? I've seen references to a TomcatServer, but not the actual configuration itself. I'm asking because I'm just getting to grips with SmartFrog and I'm assuming that something akin to the JettyServer needs to be written (ie thre'll be a bit more to it that stopping and starting catalina.sh). cheers Bill |
From: Steve L. <ste...@hp...> - 2007-06-18 14:11:43
|
SmartFrog 3.11.000beta This is a new release of SmartFrog, the Java-based, LPGL-licensed distributed deployment framework developed by HP Laboratories. SmartFrog enables applications to be deployed across multiple machines, configuring different aspects of the system so that they are all consistently configured, and managing the life-cycle of the application as a whole. The project's home page is http://smartfrog.org/ The artifacts are available at http://sourceforge.net/project/showfiles.php?group_id=87384&package_id=176308&release_id=516351 This release is 3.11.000beta; the first beta of the 3.11 release, built on Java 1.5 from revision 4328 of the SVN repository. This release has an extended language with the ability to tag attributes, and includes the following items: * Core smartfrog daemon, including services to manage files, start and stop Java and native programs. * Example components and applications. * Ant support: ant tasks to deploy and terminate applications from a build. * Ant components: the ability to execute ant tasks in a deployment. * Anubis: a partition aware tuple-space that can be used to implement fault tolerant systems. * JMX: the ability to configure and manage JMX components, and to manage SmartFrog components over JMX. * Logging: integration with Apache commons-logging and Log4J * Networking: email, FTP, SSH, DNS support. * Quartz: scheduled operations using Quartz libraries. * Scripting: support for BSF-hosted scripting languages * WWW: deployment of WAR and EAR files to application servers. deploy-by-copy is provided for all application servers that support, and a tomcat-specific component can communicate with Apache Tomcat. The Jetty component can configure and deploy individual servlets, eliminating much of the need for WAR files themselves. For Java 1.5 systems, there are some extra components: * Database: components to issue database commands, and deploy HSLDB and MySQL. * Testing: Distributed JUnit and sfUnit testing. * XML: XML support with XOM. * XMPP: Presence and messaging over Jabber. This is a beta release; before the final release we plan to integrate Forrest-generated documentation into the redistributables, and tune the redistributable packages themselves. Packaging ========= This release represents a beta test of the new packaging/distribution options. It is available as: * the original core smartfrog distribution as .zip and .tar.gz. * RPM files inside a .tar.gz file. * a JAR installer. The JAR installer will become the recommended distribution in the future; the original distribution is retained for backwards compatibility, and because we have yet to integrate the documentation with the JAR installer. The RPM installation is for RPM-based Linux systems. It comprises three RPM files, smartfrog, smartfrog-daemon and smartfrog-demo: smartfrog: the core SmartFrog distribution. smartfrog-daemon: the shell scripts to add the smartfrog distribution to the path, and to run the daemon on start-up. smartfrog-demo: example code and documentation. Again, we hope to broaden the contents of the RPM packaging and perhaps supplement with a .deb distribution. All the JAR files are also published to a repository that is compatible with Apache Maven and Ivy. Add http://smartfrog.sourceforge.net/repository/ to your repository list to pull SmartFrog artifacts into your Ivy- or Maven- based build. There are also SmartFrog components to retrieve artifacts from such a repository (the Library components under /org/smartfrog/services/os/java/library.sf ), which can be used for dynamic download of SmartFrog and other artifacts. The files and SHA1 checksums are: 9a5e7da61309fb4e214a1812d2f9d9da4db1a867 sf.3.11.000beta.20070614_all.tar.gz d3f7488d7afad967b508c1ba8769f52a500a4f65 sf.3.11.000beta.20070614_all.zip bd06a2d61fea78f4297eb693872debc8db28c3c5 sf.3.11.000beta.20070614_dist.tar.gz 5dbfcb841f3182a064834eb76ce4ee93613c4901 sf.3.11.000beta.20070614_dist.zip a8fba7fc8a51e625defbab46d8646610e022c1f8 sf-install-3.11.000beta.jar 306eeda6da1da2a2530435dd34a10a6c2eb0fb29 sf-rpm-bundle-3.11.000beta.tar.gz Security warning ================ Unless SmartFrog is configured with security, a running daemon will listen on its configured port for incoming deployment requests, and deploy the applications with the rights of the user running the daemon. When the smartfrog-daemon RPM is installed, that means that a process running as root will be listening on an open port for incoming deployment requests. Do not deploy SmartFrog this way on any untrusted network, not without turning security on and, ideally, recreating the RPMs with signed JAR files. Building SmartFrog ================== SmartFrog requires Java 1.4 and Ant 1.7 to build. For a complete release, Java1.5 or later is required. None of our distributions include a source tree adequate to build the entire system. Please follow the instructions at http://sourceforge.net/svn/?group_id=87384 and check out smartfrog/trunk/core from our repository. We strongly encourage anyone interested in building or extending smartfrog to get involved in the smartfrog developer mailing list, which can be found from the sourceforge project page http://sourceforge.net/projects/smartfrog/ Reporting Bugs ============== Please file all bug reports at http://jira.smartfrog.org/ Thank you! The SmartFrog Team http://smartfrog.org/ |
From: Steve L. <ste...@hp...> - 2007-06-04 14:10:20
|
Andreas Unterkircher wrote: > I just tried, it works fine for me. I got 3 rpms: > > smartfrog-3.10.051dev-2.noarch.rpm > smartfrog-daemon-3.10.051dev-2.noarch.rpm > smartfrog-demo-3.10.051dev-2.noarch.rpm > > I had not yet time to look at the rpms resp. try to install them. I'm going to set up a standalone rhel5 vm to test this stuff on, so I have a clean system to work with. the smartfrog rpm contains the smartfrog and sfServices JAR, the shell scripts, etc. -demo contains the example source and sfExamples JAR -daemon patches /etc/profile.d and /etc/init.d to set up SFHOME in every user, and run smartfrog as a daemon, which is what you do at CERN already (its derived from your rpms). This does give you good integration, but at the price of security. anyone who can connect to port 3800 can run stuff as root, which is generally frowned upon. we are thinking that maybe we can set up rpm to generate a new certification authority and resign the JARs at install time, so even if the daemon is running as root and auto installed, you can't do much. -steve |
From: Steve L. <ste...@hp...> - 2007-06-04 14:06:10
|
Xavier Grehant wrote: > Hi - > I tried 'ant rpm' from core/release/ but Ivy comes with all these > unresolved dependencies and breaks. Apparently it looks for > sf-components jars that I don't have nor need. > Maybe I missed some Ivy configuration so that it doesn't try to > package everything? > I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and > apparently 'ant release' doesn't call the rpm task, and the 'rmp' task > is not imported at this level. > Xavier The rpm generation is off on the side of the main installer, which is also created in core/release, and uses izpack to create a cross-platform installer of everything. Its the izpack dependencies which are stopping your build from working. We could set up a new project just for the RPMs, but we may want to pull in more components and generate separate RPMS for each, which would be the best long-term way. Once you've done a build of everything (try running "ant published" in the core directory), then the stuff will get picked up from then on...there's no need to rebuild them whenever something changes. Incidentally, there are some good slides on Ivy from apache con; Xavier Hanin is the man behind it: http://incubator.apache.org/ivy/presentations/apache-con-2007/slides.ppt -steve |
From: Xavier G. <xav...@ce...> - 2007-05-31 14:29:34
|
And here is my log, if anyone interested.. Xavier [1040] root@oplaport3 [/data/smartfrog/smartfrog/trunk/core/release] >ant rpm Buildfile: build.xml init-common-simpledefinitions: init-common: init-standard-output-dirs: common.init: init: init-rpm: copy-rpm-specs: [expandingcopy] Copying 1 file to /data/smartfrog/smartfrog/trunk/core/release/build/rpm/rpm/SPECS load-versions: ivy-properties: maybe-declare-ivy: declare-ivy: maybe-ivy-init: maybe-ivy-resolve: ivy-init: [ivy:configure] Loading jar:file:/data/smartfrog/smartfrog/trunk/core/antbuild/ivy/lib/ivy-1.4.1.jar!/fr/jayasoft/ivy/ivy.properties [ivy:configure] :: Ivy 1.4.1 - 20061109165313 :: http://ivy.jayasoft.org/ :: [ivy:configure] :: configuring :: file = /data/smartfrog/smartfrog/trunk/core/antbuild/ivy/ivyconf.xml ivy-resolve: [ivy:resolve] :: resolving dependencies :: [ org.smartfrog | sf-release | wo...@op... ] [ivy:resolve] confs: [default, build, compile, daemon, test, master, redist, runtime, package-core, package-examples, package-antbuild-minimal, package-antbuild-full, package-ant, package-anubis, package-database, package-jmx, package-logging, package-networking, package-quartz, package-scripting, package-testing, package-www, package-xml, package-xmpp, package-extras, package-gui] [ivy:resolve] found [ org.smartfrog | smartfrog | 3.10.051dev ] in local [ivy:resolve] [3.10.051dev] [ org.smartfrog | smartfrog | latest.integration ] [ivy:resolve] :: resolution report :: --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 2 | 1 | 0 | 0 || 0 | 0 | | build | 0 | 0 | 0 | 0 || 0 | 0 | | compile | 0 | 0 | 0 | 0 || 0 | 0 | | daemon | 0 | 0 | 0 | 0 || 0 | 0 | | test | 2 | 1 | 0 | 0 || 0 | 0 | | master | 0 | 0 | 0 | 0 || 0 | 0 | | redist | 2 | 1 | 0 | 0 || 0 | 0 | | runtime | 2 | 1 | 0 | 0 || 0 | 0 | | package-core | 2 | 1 | 0 | 0 || 3 | 0 | | package-examples | 1 | 1 | 0 | 0 || 3 | 0 | |package-antbuild-m| 1 | 0 | 0 | 0 || 0 | 0 | |package-antbuild-f| 1 | 0 | 0 | 0 || 0 | 0 | | package-ant | 1 | 0 | 0 | 0 || 0 | 0 | | package-anubis | 1 | 0 | 0 | 0 || 0 | 0 | | package-database | 1 | 0 | 0 | 0 || 0 | 0 | | package-jmx | 1 | 0 | 0 | 0 || 0 | 0 | | package-logging | 1 | 0 | 0 | 0 || 0 | 0 | |package-networking| 4 | 0 | 0 | 0 || 0 | 0 | | package-quartz | 1 | 0 | 0 | 0 || 0 | 0 | | package-scripting| 1 | 0 | 0 | 0 || 0 | 0 | | package-testing | 2 | 0 | 0 | 0 || 0 | 0 | | package-www | 3 | 0 | 0 | 0 || 0 | 0 | | package-xml | 1 | 0 | 0 | 0 || 0 | 0 | | package-xmpp | 1 | 0 | 0 | 0 || 0 | 0 | | package-extras | 0 | 0 | 0 | 0 || 0 | 0 | | package-gui | 0 | 0 | 0 | 0 || 0 | 0 | --------------------------------------------------------------------- [ivy:resolve] [ivy:resolve] :: problems summary :: [ivy:resolve] :::: WARNINGS [ivy:resolve] module not found: [ org.smartfrog | sf-tasks | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-tasks/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-tasks/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-tasks | latest.integration ]/sf-tasks.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-tasks/latest.integration/jars/sf-tasks.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tasks/latest.integration/sf-tasks-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tasks/[any integration]/sf-tasks-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-tasks | latest.integration ]/sf-tasks.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tasks/latest.integration/sf-tasks-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-antbuild | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-antbuild/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-antbuild/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-antbuild | latest.integration ]/sf-antbuild.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-antbuild/latest.integration/jars/sf-antbuild.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-antbuild/latest.integration/sf-antbuild-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-antbuild/[any integration]/sf-antbuild-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-antbuild | latest.integration ]/sf-antbuild.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-antbuild/latest.integration/sf-antbuild-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-ant | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-ant/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-ant/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-ant | latest.integration ]/sf-ant.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-ant/latest.integration/jars/sf-ant.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ant/latest.integration/sf-ant-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ant/[any integration]/sf-ant-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-ant | latest.integration ]/sf-ant.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ant/latest.integration/sf-ant-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-anubis | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-anubis/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-anubis/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-anubis | latest.integration ]/sf-anubis.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-anubis/latest.integration/jars/sf-anubis.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-anubis/latest.integration/sf-anubis-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-anubis/[any integration]/sf-anubis-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-anubis | latest.integration ]/sf-anubis.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-anubis/latest.integration/sf-anubis-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-database | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-database/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-database/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-database | latest.integration ]/sf-database.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-database/latest.integration/jars/sf-database.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-database/latest.integration/sf-database-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-database/[any integration]/sf-database-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-database | latest.integration ]/sf-database.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-database/latest.integration/sf-database-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-jmx | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-jmx/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-jmx/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-jmx | latest.integration ]/sf-jmx.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-jmx/latest.integration/jars/sf-jmx.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jmx/latest.integration/sf-jmx-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jmx/[any integration]/sf-jmx-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-jmx | latest.integration ]/sf-jmx.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jmx/latest.integration/sf-jmx-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-loggingservices | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-loggingservices/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-loggingservices/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-loggingservices | latest.integration ]/sf-loggingservices.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-loggingservices/latest.integration/jars/sf-loggingservices.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-loggingservices/latest.integration/sf-loggingservices-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-loggingservices/[any integration]/sf-loggingservices-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-loggingservices | latest.integration ]/sf-loggingservices.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-loggingservices/latest.integration/sf-loggingservices-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-dns | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-dns/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-dns/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-dns | latest.integration ]/sf-dns.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-dns/latest.integration/jars/sf-dns.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-dns/latest.integration/sf-dns-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-dns/[any integration]/sf-dns-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-dns | latest.integration ]/sf-dns.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-dns/latest.integration/sf-dns-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-emailer | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-emailer/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-emailer/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-emailer | latest.integration ]/sf-emailer.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-emailer/latest.integration/jars/sf-emailer.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-emailer/latest.integration/sf-emailer-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-emailer/[any integration]/sf-emailer-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-emailer | latest.integration ]/sf-emailer.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-emailer/latest.integration/sf-emailer-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-net | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-net/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-net/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-net | latest.integration ]/sf-net.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-net/latest.integration/jars/sf-net.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-net/latest.integration/sf-net-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-net/[any integration]/sf-net-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-net | latest.integration ]/sf-net.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-net/latest.integration/sf-net-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-ssh | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-ssh/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-ssh/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-ssh | latest.integration ]/sf-ssh.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-ssh/latest.integration/jars/sf-ssh.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ssh/latest.integration/sf-ssh-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ssh/[any integration]/sf-ssh-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-ssh | latest.integration ]/sf-ssh.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-ssh/latest.integration/sf-ssh-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-quartz | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-quartz/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-quartz/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-quartz | latest.integration ]/sf-quartz.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-quartz/latest.integration/jars/sf-quartz.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-quartz/latest.integration/sf-quartz-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-quartz/[any integration]/sf-quartz-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-quartz | latest.integration ]/sf-quartz.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-quartz/latest.integration/sf-quartz-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-scripting | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-scripting/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-scripting/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-scripting | latest.integration ]/sf-scripting.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-scripting/latest.integration/jars/sf-scripting.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-scripting/latest.integration/sf-scripting-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-scripting/[any integration]/sf-scripting-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-scripting | latest.integration ]/sf-scripting.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-scripting/latest.integration/sf-scripting-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-junit | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-junit/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-junit/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-junit | latest.integration ]/sf-junit.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-junit/latest.integration/jars/sf-junit.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-junit/latest.integration/sf-junit-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-junit/[any integration]/sf-junit-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-junit | latest.integration ]/sf-junit.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-junit/latest.integration/sf-junit-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-xunit | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xunit/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xunit/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-xunit | latest.integration ]/sf-xunit.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-xunit/latest.integration/jars/sf-xunit.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xunit/latest.integration/sf-xunit-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xunit/[any integration]/sf-xunit-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-xunit | latest.integration ]/sf-xunit.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xunit/latest.integration/sf-xunit-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-www | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-www/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-www/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-www | latest.integration ]/sf-www.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-www/latest.integration/jars/sf-www.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-www/latest.integration/sf-www-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-www/[any integration]/sf-www-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-www | latest.integration ]/sf-www.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-www/latest.integration/sf-www-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-tomcat | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-tomcat/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-tomcat/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-tomcat | latest.integration ]/sf-tomcat.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-tomcat/latest.integration/jars/sf-tomcat.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tomcat/latest.integration/sf-tomcat-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tomcat/[any integration]/sf-tomcat-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-tomcat | latest.integration ]/sf-tomcat.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-tomcat/latest.integration/sf-tomcat-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-jetty | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-jetty/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-jetty/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-jetty | latest.integration ]/sf-jetty.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-jetty/latest.integration/jars/sf-jetty.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jetty/latest.integration/sf-jetty-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jetty/[any integration]/sf-jetty-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-jetty | latest.integration ]/sf-jetty.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-jetty/latest.integration/sf-jetty-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-xml | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xml/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xml/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-xml | latest.integration ]/sf-xml.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-xml/latest.integration/jars/sf-xml.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xml/latest.integration/sf-xml-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xml/[any integration]/sf-xml-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-xml | latest.integration ]/sf-xml.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xml/latest.integration/sf-xml-latest.integration.jar [ivy:resolve] module not found: [ org.smartfrog | sf-xmpp | latest.integration ] [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xmpp/latest.integration/ivys/ivy.xml [ivy:resolve] local: tried /root/.ivy/local/org.smartfrog/sf-xmpp/[any integration]/ivys/ivy.xml [ivy:resolve] local: tried artifact [ org.smartfrog | sf-xmpp | latest.integration ]/sf-xmpp.jar[jar]: [ivy:resolve] /root/.ivy/local/org.smartfrog/sf-xmpp/latest.integration/jars/sf-xmpp.jar [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xmpp/latest.integration/sf-xmpp-latest.integration.xml [ivy:resolve] team: tried /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xmpp/[any integration]/sf-xmpp-[any integration].xml [ivy:resolve] team: tried artifact [ org.smartfrog | sf-xmpp | latest.integration ]/sf-xmpp.jar[jar]: [ivy:resolve] /data/smartfrog/smartfrog/trunk/core/antbuild/repository/org.smartfrog/sf-xmpp/latest.integration/sf-xmpp-latest.integration.jar [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: [ org.smartfrog | sf-xml | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-ant | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-net | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-jmx | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-ssh | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-tasks | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-anubis | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-www | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-antbuild | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-database | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-tomcat | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-emailer | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-xmpp | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-junit | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-jetty | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-dns | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-loggingservices | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-scripting | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-xunit | latest.integration ]: not found [ivy:resolve] :: [ org.smartfrog | sf-quartz | latest.integration ]: not found [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS BUILD FAILED /data/smartfrog/smartfrog/trunk/core/common.xml:1636: impossible to resolve dependencies: resolve failed - see output for details Total time: 1 second On 5/31/07, Andreas Unterkircher <and...@ce...> wrote: > I just tried, it works fine for me. I got 3 rpms: > > smartfrog-3.10.051dev-2.noarch.rpm > smartfrog-daemon-3.10.051dev-2.noarch.rpm > smartfrog-demo-3.10.051dev-2.noarch.rpm > > I had not yet time to look at the rpms resp. try to install them. > > Andreas > > Xavier Grehant wrote: > > On FC 6. > > The "missing dependencies" are SmartFrog component that I don't want > > to package. It happens before Ant tries to actually build the rpm. So > > in my case I guess it's a problem of configuring Ivy or calling the > > right ant task from the right place. > > > > Thanks > > Xavier > > > > On 5/31/07, Andreas Unterkircher <and...@ce...> wrote: > >> On which OS did you try "ant rpm" ? > >> > >> Xavier Grehant wrote: > >>> Hi - > >>> I tried 'ant rpm' from core/release/ but Ivy comes with all these > >>> unresolved dependencies and breaks. Apparently it looks for > >>> sf-components jars that I don't have nor need. > >>> Maybe I missed some Ivy configuration so that it doesn't try to > >>> package everything? > >>> I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and > >>> apparently 'ant release' doesn't call the rpm task, and the 'rmp' task > >>> is not imported at this level. > >>> Xavier > >>> > >>> On 5/29/07, Guijarro, Julio <jul...@hp...> wrote: > >>>> Hi Andreas, > >>>> > >>>> The task is named "rpm" and you can find it in release/build.xml. > >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >>>> / > >>>> > >>>> The spec file for the rpm is in: > >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >>>> /metadata/rpm/ > >>>> > >>>> And the scripts used for the daemon install are in: > >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >>>> /scripts/ > >>>> > >>>> Any feedback is welcome. > >>>> > >>>> > >>>> Julio > >>>> > >>>> > >>>> > >>>>> -----Original Message----- > >>>>> From: sma...@li... > >>>>> [mailto:sma...@li...] On > >>>>> Behalf Of Andreas Unterkircher > >>>>> Sent: 27 May 2007 20:44 > >>>>> To: Steve Loughran > >>>>> Cc: smartfrog support > >>>>> Subject: Re: [Smartfrog-support] RPM support > >>>>> > >>>>> I'm of course interested in this. How is it implemented ? > >>>>> What is the ant task ? > >>>>> > >>>>> Best regards, > >>>>> Andreas > >>>>> > >>>>> > >>>>> On May 24, 2007, at 6:32 PM, Steve Loughran wrote: > >>>>> > >>>>>> Is anyone interested in playing with an RPM of the core smartfrog > >>>>>> runtime? > >>>>>> > >>>>>> this is not integrated with JPackage, and is pretty much an RPM > >>>>>> version of the normal core distribution. It's based on the > >>>>> CERN .spec > >>>>>> file, with some changes from JPackage-land > >>>>>> > >>>>>> -steve > >>>>>> > >>>>>> > >>>>>> ----------------------- > >>>>>> Hewlett-Packard Limited > >>>>>> Registered Office: Cain Road, Bracknell, Berks RG12 1HN > >>>>> Registered No: > >>>>>> 690597 England > >>>>>> > >>>>>> > >>>>> ---------------------------------------------------------------------- > >>>>>> --- > >>>>>> This SF.net email is sponsored by DB2 Express Download DB2 > >>>>> Express C - > >>>>>> the FREE version of DB2 express and take control of your XML. No > >>>>>> limits. Just data. Click to get it now. > >>>>>> http://sourceforge.net/powerbar/db2/ > >>>>>> _______________________________________________ > >>>>>> Smartfrog-support mailing list > >>>>>> Sma...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >>>>> -------------------------------------------------------------- > >>>>> ----------- > >>>>> This SF.net email is sponsored by DB2 Express Download DB2 > >>>>> Express C - the FREE version of DB2 express and take control > >>>>> of your XML. No limits. Just data. Click to get it now. > >>>>> http://sourceforge.net/powerbar/db2/ > >>>>> _______________________________________________ > >>>>> Smartfrog-support mailing list > >>>>> Sma...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >>>>> > >>>> ------------------------------------------------------------------------- > >>>> This SF.net email is sponsored by DB2 Express > >>>> Download DB2 Express C - the FREE version of DB2 express and take > >>>> control of your XML. No limits. Just data. Click to get it now. > >>>> http://sourceforge.net/powerbar/db2/ > >>>> _______________________________________________ > >>>> Smartfrog-support mailing list > >>>> Sma...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >>>> > >>> ------------------------------------------------------------------------- > >>> This SF.net email is sponsored by DB2 Express > >>> Download DB2 Express C - the FREE version of DB2 express and take > >>> control of your XML. No limits. Just data. Click to get it now. > >>> http://sourceforge.net/powerbar/db2/ > >>> _______________________________________________ > >>> Smartfrog-support mailing list > >>> Sma...@li... > >>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >> > >> -- > >> Andreas Unterkircher > >> IT Department > >> Grid Deployment Group > >> CERN > >> CH-1211 Geneva 23 > >> > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > -- > Andreas Unterkircher > IT Department > Grid Deployment Group > CERN > CH-1211 Geneva 23 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > |
From: Andreas U. <and...@ce...> - 2007-05-31 14:03:41
|
I just tried, it works fine for me. I got 3 rpms: smartfrog-3.10.051dev-2.noarch.rpm smartfrog-daemon-3.10.051dev-2.noarch.rpm smartfrog-demo-3.10.051dev-2.noarch.rpm I had not yet time to look at the rpms resp. try to install them. Andreas Xavier Grehant wrote: > On FC 6. > The "missing dependencies" are SmartFrog component that I don't want > to package. It happens before Ant tries to actually build the rpm. So > in my case I guess it's a problem of configuring Ivy or calling the > right ant task from the right place. > > Thanks > Xavier > > On 5/31/07, Andreas Unterkircher <and...@ce...> wrote: >> On which OS did you try "ant rpm" ? >> >> Xavier Grehant wrote: >>> Hi - >>> I tried 'ant rpm' from core/release/ but Ivy comes with all these >>> unresolved dependencies and breaks. Apparently it looks for >>> sf-components jars that I don't have nor need. >>> Maybe I missed some Ivy configuration so that it doesn't try to >>> package everything? >>> I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and >>> apparently 'ant release' doesn't call the rpm task, and the 'rmp' task >>> is not imported at this level. >>> Xavier >>> >>> On 5/29/07, Guijarro, Julio <jul...@hp...> wrote: >>>> Hi Andreas, >>>> >>>> The task is named "rpm" and you can find it in release/build.xml. >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >>>> / >>>> >>>> The spec file for the rpm is in: >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >>>> /metadata/rpm/ >>>> >>>> And the scripts used for the daemon install are in: >>>> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >>>> /scripts/ >>>> >>>> Any feedback is welcome. >>>> >>>> >>>> Julio >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: sma...@li... >>>>> [mailto:sma...@li...] On >>>>> Behalf Of Andreas Unterkircher >>>>> Sent: 27 May 2007 20:44 >>>>> To: Steve Loughran >>>>> Cc: smartfrog support >>>>> Subject: Re: [Smartfrog-support] RPM support >>>>> >>>>> I'm of course interested in this. How is it implemented ? >>>>> What is the ant task ? >>>>> >>>>> Best regards, >>>>> Andreas >>>>> >>>>> >>>>> On May 24, 2007, at 6:32 PM, Steve Loughran wrote: >>>>> >>>>>> Is anyone interested in playing with an RPM of the core smartfrog >>>>>> runtime? >>>>>> >>>>>> this is not integrated with JPackage, and is pretty much an RPM >>>>>> version of the normal core distribution. It's based on the >>>>> CERN .spec >>>>>> file, with some changes from JPackage-land >>>>>> >>>>>> -steve >>>>>> >>>>>> >>>>>> ----------------------- >>>>>> Hewlett-Packard Limited >>>>>> Registered Office: Cain Road, Bracknell, Berks RG12 1HN >>>>> Registered No: >>>>>> 690597 England >>>>>> >>>>>> >>>>> ---------------------------------------------------------------------- >>>>>> --- >>>>>> This SF.net email is sponsored by DB2 Express Download DB2 >>>>> Express C - >>>>>> the FREE version of DB2 express and take control of your XML. No >>>>>> limits. Just data. Click to get it now. >>>>>> http://sourceforge.net/powerbar/db2/ >>>>>> _______________________________________________ >>>>>> Smartfrog-support mailing list >>>>>> Sma...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >>>>> -------------------------------------------------------------- >>>>> ----------- >>>>> This SF.net email is sponsored by DB2 Express Download DB2 >>>>> Express C - the FREE version of DB2 express and take control >>>>> of your XML. No limits. Just data. Click to get it now. >>>>> http://sourceforge.net/powerbar/db2/ >>>>> _______________________________________________ >>>>> Smartfrog-support mailing list >>>>> Sma...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >>>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Smartfrog-support mailing list >>>> Sma...@li... >>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Smartfrog-support mailing list >>> Sma...@li... >>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >> >> -- >> Andreas Unterkircher >> IT Department >> Grid Deployment Group >> CERN >> CH-1211 Geneva 23 >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support -- Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 |
From: Xavier G. <xav...@ce...> - 2007-05-31 13:51:23
|
On FC 6. The "missing dependencies" are SmartFrog component that I don't want to package. It happens before Ant tries to actually build the rpm. So in my case I guess it's a problem of configuring Ivy or calling the right ant task from the right place. Thanks Xavier On 5/31/07, Andreas Unterkircher <and...@ce...> wrote: > On which OS did you try "ant rpm" ? > > Xavier Grehant wrote: > > Hi - > > I tried 'ant rpm' from core/release/ but Ivy comes with all these > > unresolved dependencies and breaks. Apparently it looks for > > sf-components jars that I don't have nor need. > > Maybe I missed some Ivy configuration so that it doesn't try to > > package everything? > > I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and > > apparently 'ant release' doesn't call the rpm task, and the 'rmp' task > > is not imported at this level. > > Xavier > > > > On 5/29/07, Guijarro, Julio <jul...@hp...> wrote: > >> Hi Andreas, > >> > >> The task is named "rpm" and you can find it in release/build.xml. > >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >> / > >> > >> The spec file for the rpm is in: > >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >> /metadata/rpm/ > >> > >> And the scripts used for the daemon install are in: > >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > >> /scripts/ > >> > >> Any feedback is welcome. > >> > >> > >> Julio > >> > >> > >> > >>> -----Original Message----- > >>> From: sma...@li... > >>> [mailto:sma...@li...] On > >>> Behalf Of Andreas Unterkircher > >>> Sent: 27 May 2007 20:44 > >>> To: Steve Loughran > >>> Cc: smartfrog support > >>> Subject: Re: [Smartfrog-support] RPM support > >>> > >>> I'm of course interested in this. How is it implemented ? > >>> What is the ant task ? > >>> > >>> Best regards, > >>> Andreas > >>> > >>> > >>> On May 24, 2007, at 6:32 PM, Steve Loughran wrote: > >>> > >>>> Is anyone interested in playing with an RPM of the core smartfrog > >>>> runtime? > >>>> > >>>> this is not integrated with JPackage, and is pretty much an RPM > >>>> version of the normal core distribution. It's based on the > >>> CERN .spec > >>>> file, with some changes from JPackage-land > >>>> > >>>> -steve > >>>> > >>>> > >>>> ----------------------- > >>>> Hewlett-Packard Limited > >>>> Registered Office: Cain Road, Bracknell, Berks RG12 1HN > >>> Registered No: > >>>> 690597 England > >>>> > >>>> > >>> ---------------------------------------------------------------------- > >>>> --- > >>>> This SF.net email is sponsored by DB2 Express Download DB2 > >>> Express C - > >>>> the FREE version of DB2 express and take control of your XML. No > >>>> limits. Just data. Click to get it now. > >>>> http://sourceforge.net/powerbar/db2/ > >>>> _______________________________________________ > >>>> Smartfrog-support mailing list > >>>> Sma...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >>> > >>> -------------------------------------------------------------- > >>> ----------- > >>> This SF.net email is sponsored by DB2 Express Download DB2 > >>> Express C - the FREE version of DB2 express and take control > >>> of your XML. No limits. Just data. Click to get it now. > >>> http://sourceforge.net/powerbar/db2/ > >>> _______________________________________________ > >>> Smartfrog-support mailing list > >>> Sma...@li... > >>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >>> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 express and take > >> control of your XML. No limits. Just data. Click to get it now. > >> http://sourceforge.net/powerbar/db2/ > >> _______________________________________________ > >> Smartfrog-support mailing list > >> Sma...@li... > >> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >> > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > -- > Andreas Unterkircher > IT Department > Grid Deployment Group > CERN > CH-1211 Geneva 23 > |
From: Andreas U. <and...@ce...> - 2007-05-31 13:13:43
|
On which OS did you try "ant rpm" ? Xavier Grehant wrote: > Hi - > I tried 'ant rpm' from core/release/ but Ivy comes with all these > unresolved dependencies and breaks. Apparently it looks for > sf-components jars that I don't have nor need. > Maybe I missed some Ivy configuration so that it doesn't try to > package everything? > I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and > apparently 'ant release' doesn't call the rpm task, and the 'rmp' task > is not imported at this level. > Xavier > > On 5/29/07, Guijarro, Julio <jul...@hp...> wrote: >> Hi Andreas, >> >> The task is named "rpm" and you can find it in release/build.xml. >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >> / >> >> The spec file for the rpm is in: >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >> /metadata/rpm/ >> >> And the scripts used for the daemon install are in: >> http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release >> /scripts/ >> >> Any feedback is welcome. >> >> >> Julio >> >> >> >>> -----Original Message----- >>> From: sma...@li... >>> [mailto:sma...@li...] On >>> Behalf Of Andreas Unterkircher >>> Sent: 27 May 2007 20:44 >>> To: Steve Loughran >>> Cc: smartfrog support >>> Subject: Re: [Smartfrog-support] RPM support >>> >>> I'm of course interested in this. How is it implemented ? >>> What is the ant task ? >>> >>> Best regards, >>> Andreas >>> >>> >>> On May 24, 2007, at 6:32 PM, Steve Loughran wrote: >>> >>>> Is anyone interested in playing with an RPM of the core smartfrog >>>> runtime? >>>> >>>> this is not integrated with JPackage, and is pretty much an RPM >>>> version of the normal core distribution. It's based on the >>> CERN .spec >>>> file, with some changes from JPackage-land >>>> >>>> -steve >>>> >>>> >>>> ----------------------- >>>> Hewlett-Packard Limited >>>> Registered Office: Cain Road, Bracknell, Berks RG12 1HN >>> Registered No: >>>> 690597 England >>>> >>>> >>> ---------------------------------------------------------------------- >>>> --- >>>> This SF.net email is sponsored by DB2 Express Download DB2 >>> Express C - >>>> the FREE version of DB2 express and take control of your XML. No >>>> limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Smartfrog-support mailing list >>>> Sma...@li... >>>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >>> >>> -------------------------------------------------------------- >>> ----------- >>> This SF.net email is sponsored by DB2 Express Download DB2 >>> Express C - the FREE version of DB2 express and take control >>> of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Smartfrog-support mailing list >>> Sma...@li... >>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Smartfrog-support mailing list >> Sma...@li... >> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support -- Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 |
From: Xavier G. <xav...@ce...> - 2007-05-29 17:17:21
|
Hi - I tried 'ant rpm' from core/release/ but Ivy comes with all these unresolved dependencies and breaks. Apparently it looks for sf-components jars that I don't have nor need. Maybe I missed some Ivy configuration so that it doesn't try to package everything? I tried to call 'ant release' or 'ant rpm' from core/smartfrog/ and apparently 'ant release' doesn't call the rpm task, and the 'rmp' task is not imported at this level. Xavier On 5/29/07, Guijarro, Julio <jul...@hp...> wrote: > Hi Andreas, > > The task is named "rpm" and you can find it in release/build.xml. > http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > / > > The spec file for the rpm is in: > http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > /metadata/rpm/ > > And the scripts used for the daemon install are in: > http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release > /scripts/ > > Any feedback is welcome. > > > Julio > > > > > -----Original Message----- > > From: sma...@li... > > [mailto:sma...@li...] On > > Behalf Of Andreas Unterkircher > > Sent: 27 May 2007 20:44 > > To: Steve Loughran > > Cc: smartfrog support > > Subject: Re: [Smartfrog-support] RPM support > > > > I'm of course interested in this. How is it implemented ? > > What is the ant task ? > > > > Best regards, > > Andreas > > > > > > On May 24, 2007, at 6:32 PM, Steve Loughran wrote: > > > > > > > > Is anyone interested in playing with an RPM of the core smartfrog > > > runtime? > > > > > > this is not integrated with JPackage, and is pretty much an RPM > > > version of the normal core distribution. It's based on the > > CERN .spec > > > file, with some changes from JPackage-land > > > > > > -steve > > > > > > > > > ----------------------- > > > Hewlett-Packard Limited > > > Registered Office: Cain Road, Bracknell, Berks RG12 1HN > > Registered No: > > > 690597 England > > > > > > > > ---------------------------------------------------------------------- > > > --- > > > This SF.net email is sponsored by DB2 Express Download DB2 > > Express C - > > > the FREE version of DB2 express and take control of your XML. No > > > limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Smartfrog-support mailing list > > > Sma...@li... > > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > > > > -------------------------------------------------------------- > > ----------- > > This SF.net email is sponsored by DB2 Express Download DB2 > > Express C - the FREE version of DB2 express and take control > > of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > |
From: Guijarro, J. <jul...@hp...> - 2007-05-29 14:30:19
|
Hi Andreas, The task is named "rpm" and you can find it in release/build.xml. http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release / The spec file for the rpm is in: http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release /metadata/rpm/ And the scripts used for the daemon install are in: http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/release /scripts/ Any feedback is welcome. Julio > -----Original Message----- > From: sma...@li...=20 > [mailto:sma...@li...] On=20 > Behalf Of Andreas Unterkircher > Sent: 27 May 2007 20:44 > To: Steve Loughran > Cc: smartfrog support > Subject: Re: [Smartfrog-support] RPM support >=20 > I'm of course interested in this. How is it implemented ?=20 > What is the ant task ? >=20 > Best regards, > Andreas >=20 >=20 > On May 24, 2007, at 6:32 PM, Steve Loughran wrote: >=20 > > > > Is anyone interested in playing with an RPM of the core smartfrog=20 > > runtime? > > > > this is not integrated with JPackage, and is pretty much an RPM=20 > > version of the normal core distribution. It's based on the=20 > CERN .spec=20 > > file, with some changes from JPackage-land > > > > -steve > > > > > > ----------------------- > > Hewlett-Packard Limited > > Registered Office: Cain Road, Bracknell, Berks RG12 1HN=20 > Registered No:=20 > > 690597 England > > > >=20 > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by DB2 Express Download DB2=20 > Express C -=20 > > the FREE version of DB2 express and take control of your XML. No=20 > > limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support >=20 >=20 > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by DB2 Express Download DB2=20 > Express C - the FREE version of DB2 express and take control=20 > of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support >=20 |
From: Andreas U. <and...@ce...> - 2007-05-27 19:43:55
|
I'm of course interested in this. How is it implemented ? What is the ant task ? Best regards, Andreas On May 24, 2007, at 6:32 PM, Steve Loughran wrote: > > Is anyone interested in playing with an RPM of the core smartfrog > runtime? > > this is not integrated with JPackage, and is pretty much an RPM > version > of the normal core distribution. It's based on the CERN .spec file, > with > some changes from JPackage-land > > -steve > > > ----------------------- > Hewlett-Packard Limited > Registered Office: Cain Road, Bracknell, Berks RG12 1HN > Registered No: 690597 England > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support |
From: Steve L. <ste...@hp...> - 2007-05-24 16:34:19
|
Is anyone interested in playing with an RPM of the core smartfrog runtime? this is not integrated with JPackage, and is pretty much an RPM version of the normal core distribution. It's based on the CERN .spec file, with some changes from JPackage-land -steve ----------------------- Hewlett-Packard Limited Registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England |
From: Steve L. <ste...@hp...> - 2007-05-17 15:17:06
|
Kevin Jackson wrote: >> >> ***Tell me where your local repo is (in the filesys or HTTP) and I will >> do an example library configuration to retrieve from it** > > Ok, here's a bit more detail on the setup. > > My PC (client) has a local m2 repo ~/,m2/repository.... in Vietnam > behind a NAT style ADSL connection (not a static IP - this I guess > will be the main showstopper) > > The server (Fedora core6) with no m2 repo based in US - has static IP/hostname > > So the problem is : > -when I test SmartFrog locally (run sfDaemon on my PC and then run the > sfStart localhost...), everything is fine as the m2 repo is resolved > locally and sf discovers the custom JDBCRealm jar and deploys it to > TC6/lib correctly (great!) I see. > -when I test sf connecting to the server (run sfDaemon on the server, > then run sfStart <server> ...), sf first looks for > /home/root/.m2/repository, fails to find it then downloads the jdbc > drivers jar from ibiblio and installs it in a newly created m2 repo, > then falls over when it looks online for my custom JDBCRealm. > My guess is that if I had a static IP I could run a http accessible > repo that the server could connect to, to retrieve the custom jars. > Without that static IP address I think I'm screwed as I cannot see a > way that the server can 'fetch/get' from my PC - if there was a way > for me to 'push' to the server that would be great. its probably behind a firewall too. hmm. There are actually components to do scp/ssh, so you can deploy something on one box to copy stuff to another, but then you have to deploy stuff locally as well as remotely. for now, I'd use our old friend <scp> to publish to either your ~/m2/repository, or to somewhere else in the filesystem set up to act as a repository, which you can then point the library components at. The alternative is to publish the artifact to a public place (people.apache.org), and use the Download component (/org/smartfrog/services/os/download/components.sf) to GET the file, sticking it in the location you want. That's a workflow component that can be set up to be run as part of a sequence before you bring up tomcat. > >> > Another option would of course to setup SmartFrog so that the required >> > jars are copied over to the server first via Ant's <scp> and then >> > SmartFrog won't need to download them. >> >> 1. We tend to use network shares, but it does rely on the shares having >> the same name everywhere. >> >> 2. Smartfrog daemons themselves support an RMI-style network >> classloader, so you can force download new components by deploying a >> component descriptor with an sfClasspath attribute ...all things that >> are deployed from that level down get the new classpath. This lets you >> do dynamic component deployment, but doesnt help with setting up TC6. >> >> 3. There's a LocalFilestore component, with an implementation behind it: >> org.smartfrog.services.filesystem.filestore.LocalFilestore >> >> This is something I've used for long-haul publishing, where you push up >> an artifact with metadata and a URI, and it gets saved at the far end >> (RMI isn't the long haul API used, some SOAPy thing BTW). So you can >> store stuff locally. > > This may be what I need to use as I don't think that the server will > be able to get from my PC. > start with <scp> now...better long haul stuff is on my long-term activities list, but not something I will touch in the next month. If you are doing long haul deployment, there is one little component to deploy an XMPP presence which is kind of handy...it lets you keep track of whether a server is live or not by looking at your IM presence list. I suspect it may need some more work to recover from network outages, and then we could hook it up to the logging to IM you on significant system events... > OT: > I was looking at izpack the other day - it's LGPL right? Can we use > that with Ant (the wiki mentions providing an izpack distribution)? I > guess we can, but I'm not a license guru. Izpack 3.8+ is Apache 2.0; fully compatible w/ Apache code. http://home.izforge.com/index.php/2005/05/06/115-izpack-license-changes The version in the ibiblio repository is 3.8.0, the apache-licensed version, though there are later versions out (we keep it under SCM for that reason). I suppose I should create a pom and get last week's 3.10.2 release up there, but I am in the maven team's bad books for uploading BSH 1.3 with invalid XML for a pom file... > >> We encourage users, and on the mail lists provide free support to >> internal and external customers. Your use of the tool is appreciated. >> Part of our team (Ritu and Kumar) are in India, which is closer TZ-wise >> to your place of employment. >> >> also, we caught a presentation at apachecon that mentioned a POJO API >> for managing Tomcat 6, though I havent seen the details yet...it should >> be something we can manage directly. Otherwise there is the JMX component. >> > > On the conference side of things, my Uni has just told me that from > next January I have funding to attend conferences (upto a certain > amount), so I should be available for more apache related activities > when that comes through - as a new Lecturer I don't have access to > these funds (which sucks, but never mind). ApacheCon in hong kong? You can take the extending ant talk and give it or some variation thereof. > > BTW, last week were you at Manchester Uni for a grid computing > conference? I haven't seen the place for too long - hope to get back > to visit this summer. yes, its a lot less grim in the middle than it used to be (or still is round the edges). Manchester and Leeds city centres are very sophisticated these days. -steve |
From: Kevin J. <foa...@gm...> - 2007-05-17 10:33:53
|
Hi Steve, > Kevin, > You are welcome to send sf support calls to me at work. I'd recommend > you get on the smartfrog dev or support mail list, because there are > other people who can answer them too. ok, I'm just getting subscribed now. > aah, that's my code isnt it? Its not really beta, its got tests, its got > source, just not enough docs. Actually there is some ivy stuff that's > new and testless, but that's just a different layout policy...all the > underlying code is the same. > > -the Library stuff can pull stuff down from local or remote > repositories, using any policy to describe remote stuff, and the same or > a different policy for local file layout. That lets me fetch from m2, > store under ivy, etc. > > -you can tweak caching policy to control how often we look for updated > artifacts > > -you can make the download synchronous or async. Async stops your > deployment blocking for a while, but makes it harder to wait for the result > > -you set a destination in the copyTo attribute (either a path or a ref > to a FileUsingComponent), to where the artifact will be copied on > deploy. so even with an async download you can trigger a synchronous copy. > > -the maven2 library defaults to using the ibiblio repository, but can be > set up to use a local file or http repository. Setting up an m2 > repository with the jetty component should be pretty simple, even if I > haven't set up an example of that yet. > > > the way around this problem is to setup a private maven repo which > > includes all our custom jars and then get SmartFrog to use that > > instead of the ibiblio repo. > > 1. You may be able to use it alongside the main one; I will check. > 2. we support filesystem repositories too -if you have a shared FS then > stuff is simple. > > ***Tell me where your local repo is (in the filesys or HTTP) and I will > do an example library configuration to retrieve from it** Ok, here's a bit more detail on the setup. My PC (client) has a local m2 repo ~/,m2/repository.... in Vietnam behind a NAT style ADSL connection (not a static IP - this I guess will be the main showstopper) The server (Fedora core6) with no m2 repo based in US - has static IP/hostname So the problem is : -when I test SmartFrog locally (run sfDaemon on my PC and then run the sfStart localhost...), everything is fine as the m2 repo is resolved locally and sf discovers the custom JDBCRealm jar and deploys it to TC6/lib correctly (great!) -when I test sf connecting to the server (run sfDaemon on the server, then run sfStart <server> ...), sf first looks for /home/root/.m2/repository, fails to find it then downloads the jdbc drivers jar from ibiblio and installs it in a newly created m2 repo, then falls over when it looks online for my custom JDBCRealm. My guess is that if I had a static IP I could run a http accessible repo that the server could connect to, to retrieve the custom jars. Without that static IP address I think I'm screwed as I cannot see a way that the server can 'fetch/get' from my PC - if there was a way for me to 'push' to the server that would be great. > > Another option would of course to setup SmartFrog so that the required > > jars are copied over to the server first via Ant's <scp> and then > > SmartFrog won't need to download them. > > 1. We tend to use network shares, but it does rely on the shares having > the same name everywhere. > > 2. Smartfrog daemons themselves support an RMI-style network > classloader, so you can force download new components by deploying a > component descriptor with an sfClasspath attribute ...all things that > are deployed from that level down get the new classpath. This lets you > do dynamic component deployment, but doesnt help with setting up TC6. > > 3. There's a LocalFilestore component, with an implementation behind it: > org.smartfrog.services.filesystem.filestore.LocalFilestore > > This is something I've used for long-haul publishing, where you push up > an artifact with metadata and a URI, and it gets saved at the far end > (RMI isn't the long haul API used, some SOAPy thing BTW). So you can > store stuff locally. This may be what I need to use as I don't think that the server will be able to get from my PC. > > I could imagine a component that is a bit like this that lets you > publish stuff to a local library cache. I say imagine as it isnt there > yet and I am not going to write it this week -I'm trying to get a > release out the way and I've been building a pretty complex process > using ivy and izpack, and now people want RPMs. your .deb antlib will > come in handy in future too. OT: I was looking at izpack the other day - it's LGPL right? Can we use that with Ant (the wiki mentions providing an izpack distribution)? I guess we can, but I'm not a license guru. > We encourage users, and on the mail lists provide free support to > internal and external customers. Your use of the tool is appreciated. > Part of our team (Ritu and Kumar) are in India, which is closer TZ-wise > to your place of employment. > > also, we caught a presentation at apachecon that mentioned a POJO API > for managing Tomcat 6, though I havent seen the details yet...it should > be something we can manage directly. Otherwise there is the JMX component. > On the conference side of things, my Uni has just told me that from next January I have funding to attend conferences (upto a certain amount), so I should be available for more apache related activities when that comes through - as a new Lecturer I don't have access to these funds (which sucks, but never mind). BTW, last week were you at Manchester Uni for a grid computing conference? I haven't seen the place for too long - hope to get back to visit this summer. Thanks for your help, Kev |
From: Steve L. <ste...@hp...> - 2007-05-17 10:08:44
|
On 17/05/07, Kevin Jackson <foa...@gm...> wrote: > Hi Steve, > > Sorry to bother you at work, but I'm trying to build up our automated > deployment with SmartFrog and I've encountered something that I'm not > sure it's possible to resolve currently. Kevin, You are welcome to send sf support calls to me at work. I'd recommend you get on the smartfrog dev or support mail list, because there are other people who can answer them too. > > I have a custom JDBCRealm for Tomcat that must be deployed into > tomcat/lib (with Tomcat6). > > Now I can deploy JDBC drivers to the same location as they are > available in the maven/ibiblio repo, but my tomcat-realm-1.0-SNAPSHOT > is only available in my local repo. > > So I have > > Server: with tomcat installed, needs jars from my local repo, running > SmartFrog demon > > Client: with local m2 repo with all required jars (my custom ones and > standard jdbc drivers) > > When I run sfStart <server> test linux_config.sf > > SmartFrog on the server tries to get the jars from the ibiblio repo. > How can I 'send' the jars in my local repo to the server via > SmartFrog? It looks like Maven2Library is still beta and as such > doesn't have much documentation or examples, but from what I gather, aah, that's my code isnt it? Its not really beta, its got tests, its got source, just not enough docs. Actually there is some ivy stuff that's new and testless, but that's just a different layout policy...all the underlying code is the same. -the Library stuff can pull stuff down from local or remote repositories, using any policy to describe remote stuff, and the same or a different policy for local file layout. That lets me fetch from m2, store under ivy, etc. -you can tweak caching policy to control how often we look for updated artifacts -you can make the download synchronous or async. Async stops your deployment blocking for a while, but makes it harder to wait for the result -you set a destination in the copyTo attribute (either a path or a ref to a FileUsingComponent), to where the artifact will be copied on deploy. so even with an async download you can trigger a synchronous copy. -the maven2 library defaults to using the ibiblio repository, but can be set up to use a local file or http repository. Setting up an m2 repository with the jetty component should be pretty simple, even if I haven't set up an example of that yet. > the way around this problem is to setup a private maven repo which > includes all our custom jars and then get SmartFrog to use that > instead of the ibiblio repo. 1. You may be able to use it alongside the main one; I will check. 2. we support filesystem repositories too -if you have a shared FS then stuff is simple. ***Tell me where your local repo is (in the filesys or HTTP) and I will do an example library configuration to retrieve from it** > > Another option would of course to setup SmartFrog so that the required > jars are copied over to the server first via Ant's <scp> and then > SmartFrog won't need to download them. 1. We tend to use network shares, but it does rely on the shares having the same name everywhere. 2. Smartfrog daemons themselves support an RMI-style network classloader, so you can force download new components by deploying a component descriptor with an sfClasspath attribute ...all things that are deployed from that level down get the new classpath. This lets you do dynamic component deployment, but doesnt help with setting up TC6. 3. There's a LocalFilestore component, with an implementation behind it: org.smartfrog.services.filesystem.filestore.LocalFilestore This is something I've used for long-haul publishing, where you push up an artifact with metadata and a URI, and it gets saved at the far end (RMI isn't the long haul API used, some SOAPy thing BTW). So you can store stuff locally. I could imagine a component that is a bit like this that lets you publish stuff to a local library cache. I say imagine as it isnt there yet and I am not going to write it this week -I'm trying to get a release out the way and I've been building a pretty complex process using ivy and izpack, and now people want RPMs. your .deb antlib will come in handy in future too. > > Any ideas or examples of doing something similar to this? > > Thanks and sorry to bug you at work. We encourage users, and on the mail lists provide free support to internal and external customers. Your use of the tool is appreciated. Part of our team (Ritu and Kumar) are in India, which is closer TZ-wise to your place of employment. also, we caught a presentation at apachecon that mentioned a POJO API for managing Tomcat 6, though I havent seen the details yet...it should be something we can manage directly. Otherwise there is the JMX component. -steve -- ----------------------- Hewlett-Packard Limited Registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England |
From: Andreas U. <and...@ce...> - 2007-03-09 07:52:12
|
Hello Julio, in case you're interested I recently put together a page that describes our setup: https://twiki.cern.ch/twiki/bin/view/Virtualization/GDVirtualization We use SmartDomains which is a set of SF components but has no portal itself. In addition to that a portal (called vgrid) was developed to launch virtual machines. Experience showed that users are somehow reluctant to write SF descriptions and to learn about SF details in general. On the other hand there are users who deploy with sfStart. Anyway, because of our usage of .sf templates both, deploying through the portal as well as sfStart give the same component structure. We use sfManagementConsole to to change attributes in running SmartDomain components. The ManagementConsole is not integrated into the portal and my understanding is that this is not so straightforward (there was some discussion about this last year on this mailing list). So I'm not sure if we will ever achieve a "portal only" solution. Maybe the Avalanche project you mention in the other mail gives some answers... Having an sfStart with automatic signing would be very useful for us as it allows us to enable SF security without having to change our usage habits. So I'll put this request into the tracker as you suggested. Best regards, Andreas Guijarro, Julio wrote: > Hi Andreas, > > If you are using a portal to deploy your system (ex. Smartdomains), then > you can have the portal doing all the signing on behalf of the users in > a transparent way. Another way is that the user uses the portal to send > his description and then get a jar file properly signed that he can then > deploy. > > In any case, all this is possible today using the shell scripts > available in the dist/bin/security directory and the singing is done > using ant. The ant task that we don't have is one that combines sfStart > and signing in one single operation but that is very easy to implement. > If you are interested in something like this please put a request in > jira.smartfrog.org and we will try to make available for the next > release. > > About the Mananagement console, the same applies to it when it connects > to a daemon as an independent application and therefore it needs to be > signed before it can connect to the remote daemons. This should not be a > problem because the management console is part of the core services and > you will already have signed those for your deployment. > > For clarification follow the steps that I sent before and then try to > use the console using the signed jar (private dirs) and then the > unsigned jar (normal dist jar file). > > Regards, > > Julio Guijarro > > > > -----Original Message----- > From: sma...@li... > [mailto:sma...@li...] On Behalf Of > Andreas Unterkircher > Sent: 08 March 2007 12:28 > To: Steve Loughran > Cc: Smartfrog Support > Subject: Re: [Smartfrog-support] SF Security: How to enable > > Hello Steve & Antonio, > > thanks for your replies. So my understanding now is that it is currently > > not possible to, I cite from my mail,: > > What we want to achieve is that only certain users can deploy into the > SF daemons we are running on several machines. > > But that there is a plan to do this via ant tasks. When this is > available on could think of modifying the sfStart script so that it > calls the ant task behind the scenes to do the deployment. > > Another question related to security: > > When security is switched on what happens to the sfManagementConsole ? > Is it still possible to use it (and to terminate components or modify > attributes) ? > > Thanks, > Andreas > > Steve Loughran wrote: >> Andreas Unterkircher wrote: >>>> -- Note that when using security you cannot load descriptions from > the >>>> file system, the descriptions have to be contained in singed jars. >>> What we want to achieve is that only certain users can deploy into > the >>> SF daemons we are running on several machines. If I understand > correctly >>> to achieve this a user who wants to deploy when security is enabled > has >>> to do: >>> >>> - have the key >>> - create the description (a ascii .sf file) >>> - put the description in a jar >>> - sign the jar >>> - deploy >>> >>> Am i right with this ? If yes, is there a sfStart script that does > this >>> in a transparent way ? I mean the user still types "sfStart host name > >>> description.sf" but behind the scenes the jar generation and signing >>> takes place. >> The world view has always been that you create and sign the JARs > before >> you start. >> >> There is some placeholder support for this in the Ant tasks, but as it > >> doesn't have any tests, it still doesnt exist. >> >> >> If it did exist, the code would contain: >> >> * a <security> datatype with keystore, policy file, alias and security > >> properties >> * a <sf-sign> task that signs jars, using a nested or referenced >> <security> datatype >> * all the ant tasks to start/call smartfrog to take a nested or >> referenced <security> datatype and to use it to set up their JVM > properties. >> what is not in the written-but-not-tested state is support for dynamic > >> JAR file creation and signing if you have any inline application using > >> <sf:deploy> or the like, which is something I've just added as JIRA >> feature SFOS-88. >> >> I may add this, but would do it as part of the move to Ant1.7 only >> tasks. Is everyone ready for that? >> >> -steve >> >> >> >> >> > ------------------------------------------------------------------------ > - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >> opinions on IT & business topics through brief surveys-and earn cash >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V >> _______________________________________________ >> Smartfrog-support mailing list >> Sma...@li... >> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > -- Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 |
From: Guijarro, J. <jul...@hp...> - 2007-03-08 15:15:38
|
Hi Andreas, If you are using a portal to deploy your system (ex. Smartdomains), then you can have the portal doing all the signing on behalf of the users in a transparent way. Another way is that the user uses the portal to send his description and then get a jar file properly signed that he can then deploy.=20 In any case, all this is possible today using the shell scripts available in the dist/bin/security directory and the singing is done using ant. The ant task that we don't have is one that combines sfStart and signing in one single operation but that is very easy to implement. If you are interested in something like this please put a request in jira.smartfrog.org and we will try to make available for the next release. About the Mananagement console, the same applies to it when it connects to a daemon as an independent application and therefore it needs to be signed before it can connect to the remote daemons. This should not be a problem because the management console is part of the core services and you will already have signed those for your deployment.=20 For clarification follow the steps that I sent before and then try to use the console using the signed jar (private dirs) and then the unsigned jar (normal dist jar file). Regards, Julio Guijarro -----Original Message----- From: sma...@li... [mailto:sma...@li...] On Behalf Of Andreas Unterkircher Sent: 08 March 2007 12:28 To: Steve Loughran Cc: Smartfrog Support Subject: Re: [Smartfrog-support] SF Security: How to enable Hello Steve & Antonio, thanks for your replies. So my understanding now is that it is currently not possible to, I cite from my mail,: What we want to achieve is that only certain users can deploy into the SF daemons we are running on several machines. But that there is a plan to do this via ant tasks. When this is=20 available on could think of modifying the sfStart script so that it=20 calls the ant task behind the scenes to do the deployment. Another question related to security: When security is switched on what happens to the sfManagementConsole ?=20 Is it still possible to use it (and to terminate components or modify=20 attributes) ? Thanks, Andreas Steve Loughran wrote: > Andreas Unterkircher wrote: >>> -- Note that when using security you cannot load descriptions from the >>> file system, the descriptions have to be contained in singed jars. >> What we want to achieve is that only certain users can deploy into the=20 >> SF daemons we are running on several machines. If I understand correctly=20 >> to achieve this a user who wants to deploy when security is enabled has=20 >> to do: >> >> - have the key >> - create the description (a ascii .sf file) >> - put the description in a jar >> - sign the jar >> - deploy >> >> Am i right with this ? If yes, is there a sfStart script that does this=20 >> in a transparent way ? I mean the user still types "sfStart host name >> description.sf" but behind the scenes the jar generation and signing=20 >> takes place. >=20 > The world view has always been that you create and sign the JARs before=20 > you start. >=20 > There is some placeholder support for this in the Ant tasks, but as it > doesn't have any tests, it still doesnt exist. >=20 >=20 > If it did exist, the code would contain: >=20 > * a <security> datatype with keystore, policy file, alias and security > properties > * a <sf-sign> task that signs jars, using a nested or referenced=20 > <security> datatype > * all the ant tasks to start/call smartfrog to take a nested or=20 > referenced <security> datatype and to use it to set up their JVM properties. >=20 > what is not in the written-but-not-tested state is support for dynamic > JAR file creation and signing if you have any inline application using > <sf:deploy> or the like, which is something I've just added as JIRA=20 > feature SFOS-88. >=20 > I may add this, but would do it as part of the move to Ant1.7 only=20 > tasks. Is everyone ready for that? >=20 > -steve >=20 >=20 >=20 >=20 > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support --=20 Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Smartfrog-support mailing list Sma...@li... https://lists.sourceforge.net/lists/listinfo/smartfrog-support |
From: Andreas U. <and...@ce...> - 2007-03-08 12:27:51
|
Hello Steve & Antonio, thanks for your replies. So my understanding now is that it is currently not possible to, I cite from my mail,: What we want to achieve is that only certain users can deploy into the SF daemons we are running on several machines. But that there is a plan to do this via ant tasks. When this is available on could think of modifying the sfStart script so that it calls the ant task behind the scenes to do the deployment. Another question related to security: When security is switched on what happens to the sfManagementConsole ? Is it still possible to use it (and to terminate components or modify attributes) ? Thanks, Andreas Steve Loughran wrote: > Andreas Unterkircher wrote: >>> -- Note that when using security you cannot load descriptions from the >>> file system, the descriptions have to be contained in singed jars. >> What we want to achieve is that only certain users can deploy into the >> SF daemons we are running on several machines. If I understand correctly >> to achieve this a user who wants to deploy when security is enabled has >> to do: >> >> - have the key >> - create the description (a ascii .sf file) >> - put the description in a jar >> - sign the jar >> - deploy >> >> Am i right with this ? If yes, is there a sfStart script that does this >> in a transparent way ? I mean the user still types "sfStart host name >> description.sf" but behind the scenes the jar generation and signing >> takes place. > > The world view has always been that you create and sign the JARs before > you start. > > There is some placeholder support for this in the Ant tasks, but as it > doesn't have any tests, it still doesnt exist. > > > If it did exist, the code would contain: > > * a <security> datatype with keystore, policy file, alias and security > properties > * a <sf-sign> task that signs jars, using a nested or referenced > <security> datatype > * all the ant tasks to start/call smartfrog to take a nested or > referenced <security> datatype and to use it to set up their JVM properties. > > what is not in the written-but-not-tested state is support for dynamic > JAR file creation and signing if you have any inline application using > <sf:deploy> or the like, which is something I've just added as JIRA > feature SFOS-88. > > I may add this, but would do it as part of the move to Ant1.7 only > tasks. Is everyone ready for that? > > -steve > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support -- Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 |
From: antonio l. <an...@hp...> - 2007-03-08 12:00:04
|
Hi Andreas, the requirement of having a description in a signed jar file is because the parser loads .sf using a secure class loader.After that, and provided that you do not add extra classes, there is no more need of signed jar since the parser will talk "directly" with a SSL connection to the target daemon and send component descriptions objects (not the original jar file!). What I mean with the above is if you can load a .sf from a source that you trust (i.e., not using the class loader, just get the input stream...) then you can feed that to the parser directly and everything should work... You could have a simple component that do that. That approach is equivalent from a security point of view to bundle into the SFStart a transparent "load the .sf from a stream, patch jar, and sign" model. However, you should be careful where the .sf is loaded from since there is no authentication of the file... Regarding multiple users/ domains the current security does not support it. That was the goal of SF Security 2, currently in limbo. If you need to do that you will have to do it "at the border", e.g., have a proxy that authenticates a customer, checks what he wants to do and do the deployment on behalf of the customer. (the customer cannot do deployments directly (otherwise he gets full privileges...), but uses a proxy for ALL interactions with SmartFrog. Hope this helps, Antonio On Thu, 2007-03-08 at 09:28, Andreas Unterkircher wrote: > > -- Note that when using security you cannot load descriptions from the > > file system, the descriptions have to be contained in singed jars. > > What we want to achieve is that only certain users can deploy into the > SF daemons we are running on several machines. If I understand correctly > to achieve this a user who wants to deploy when security is enabled has > to do: > > - have the key > - create the description (a ascii .sf file) > - put the description in a jar > - sign the jar > - deploy > > Am i right with this ? If yes, is there a sfStart script that does this > in a transparent way ? I mean the user still types "sfStart host name > description.sf" but behind the scenes the jar generation and signing > takes place. > > Thanks, > Andreas > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > For more info refer to this previous thread. > > http://thread.gmane.org/gmane.comp.java.smartfrog.devel/811 > > > > We will update the Tutorial to cover this topic but if you still have > > problems, please ask again. > > > > Regards, > > > > Julio Guijarro > > > > -----Original Message----- > > From: sma...@li... > > [mailto:sma...@li...] On Behalf Of > > Sabharwal, Ritu (STSD) > > Sent: 06 March 2007 11:01 > > To: Omer Khalid > > Cc: Smartfrog Support > > Subject: Re: [Smartfrog-support] SF Security: How to enable > > > > Hello Omer, > > > > Please follow the instructions in sfUserManual under section 6 titled > > "Enabling Security". > > > > Thanks & Regards, > > Ritu. > > > > Omer Khalid wrote: > > > >> Dear "SmartFrog Experts", > >> > >> I have been looking for a step-by-step guide on how to enable SF > >> security. So far I have managed to find bit and pieces in different > >> places :-(. > >> > >> I am wondering if there exist a concise documents? It would be a great > > > >> help if some one could send me the pointer to it. > >> > >> Many thanks in advance! > >> > >> Omer > >> > >> -- > >> --------------------------------------------------------------- > >> > > > >> CERN - European Organization for Nuclear > >> IT Department, CH-1211 Geneva 23, Switzerland > >> > >> Phone: +41 (0) 22 767 7996 > >> Fax: +41 (0) 22 767 4900 > >> E-mail : Ome...@ce... <mailto:Ome...@ce...> > >> Homepage: http://cern.ch/Omer.Khalid > >> > >> ----------------------------------------------------------------------- > > - > >> ----------------------------------------------------------------------- > > -- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > >> opinions on IT & business topics through brief surveys-and earn cash > >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > > EV > >> ----------------------------------------------------------------------- > > - > >> _______________________________________________ > >> Smartfrog-support mailing list > >> Sma...@li... > >> https://lists.sourceforge.net/lists/listinfo/smartfrog-support > >> > >> > > > > > > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > V > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Smartfrog-support mailing list > > Sma...@li... > > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > |
From: Steve L. <ste...@hp...> - 2007-03-08 11:30:36
|
Andreas Unterkircher wrote: >> -- Note that when using security you cannot load descriptions from the >> file system, the descriptions have to be contained in singed jars. > > What we want to achieve is that only certain users can deploy into the > SF daemons we are running on several machines. If I understand correctly > to achieve this a user who wants to deploy when security is enabled has > to do: > > - have the key > - create the description (a ascii .sf file) > - put the description in a jar > - sign the jar > - deploy > > Am i right with this ? If yes, is there a sfStart script that does this > in a transparent way ? I mean the user still types "sfStart host name > description.sf" but behind the scenes the jar generation and signing > takes place. The world view has always been that you create and sign the JARs before you start. There is some placeholder support for this in the Ant tasks, but as it doesn't have any tests, it still doesnt exist. If it did exist, the code would contain: * a <security> datatype with keystore, policy file, alias and security properties * a <sf-sign> task that signs jars, using a nested or referenced <security> datatype * all the ant tasks to start/call smartfrog to take a nested or referenced <security> datatype and to use it to set up their JVM properties. what is not in the written-but-not-tested state is support for dynamic JAR file creation and signing if you have any inline application using <sf:deploy> or the like, which is something I've just added as JIRA feature SFOS-88. I may add this, but would do it as part of the move to Ant1.7 only tasks. Is everyone ready for that? -steve |
From: Andreas U. <and...@ce...> - 2007-03-08 09:28:34
|
> -- Note that when using security you cannot load descriptions from the > file system, the descriptions have to be contained in singed jars. What we want to achieve is that only certain users can deploy into the SF daemons we are running on several machines. If I understand correctly to achieve this a user who wants to deploy when security is enabled has to do: - have the key - create the description (a ascii .sf file) - put the description in a jar - sign the jar - deploy Am i right with this ? If yes, is there a sfStart script that does this in a transparent way ? I mean the user still types "sfStart host name description.sf" but behind the scenes the jar generation and signing takes place. Thanks, Andreas > > --- > > For more info refer to this previous thread. > http://thread.gmane.org/gmane.comp.java.smartfrog.devel/811 > > We will update the Tutorial to cover this topic but if you still have > problems, please ask again. > > Regards, > > Julio Guijarro > > -----Original Message----- > From: sma...@li... > [mailto:sma...@li...] On Behalf Of > Sabharwal, Ritu (STSD) > Sent: 06 March 2007 11:01 > To: Omer Khalid > Cc: Smartfrog Support > Subject: Re: [Smartfrog-support] SF Security: How to enable > > Hello Omer, > > Please follow the instructions in sfUserManual under section 6 titled > "Enabling Security". > > Thanks & Regards, > Ritu. > > Omer Khalid wrote: > >> Dear "SmartFrog Experts", >> >> I have been looking for a step-by-step guide on how to enable SF >> security. So far I have managed to find bit and pieces in different >> places :-(. >> >> I am wondering if there exist a concise documents? It would be a great > >> help if some one could send me the pointer to it. >> >> Many thanks in advance! >> >> Omer >> >> -- >> --------------------------------------------------------------- >> > >> CERN - European Organization for Nuclear >> IT Department, CH-1211 Geneva 23, Switzerland >> >> Phone: +41 (0) 22 767 7996 >> Fax: +41 (0) 22 767 4900 >> E-mail : Ome...@ce... <mailto:Ome...@ce...> >> Homepage: http://cern.ch/Omer.Khalid >> >> ----------------------------------------------------------------------- > - >> ----------------------------------------------------------------------- > -- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share > your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > EV >> ----------------------------------------------------------------------- > - >> _______________________________________________ >> Smartfrog-support mailing list >> Sma...@li... >> https://lists.sourceforge.net/lists/listinfo/smartfrog-support >> >> > > > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support -- Andreas Unterkircher IT Department Grid Deployment Group CERN CH-1211 Geneva 23 |
From: Omer K. <Ome...@ce...> - 2007-03-08 08:43:38
|
Hello Julio, Thank you very much for posting the step-by-step guide on how to set up SF security. I am going to try it :-) Many thanks! Omer On 3/7/07, Guijarro, Julio <jul...@hp...> wrote: > > Hi Omer, > A quick summary from a previous question: > > ---- > The steps should be: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > * ant initCA : creates a new Certificate Authority for siging jars and > generating the credentials ---> Only once! > > * mkdir signedLib > > * ant signJars :signs the jar files and populates the dist/signedLib > dir. Only once (and copy jars to all daemons). > > * ant newDaemon : creates new host credentials This will generate the > > host credentials in > <smartfrog-installation-dir>/dist/private/hostxxx> directory. > > * Rename the generated directory > /opt/iexpress/smartfrog/private/hostxxx to > /opt/iexpress/smartfrog/private/host1. > > * ant newDaemon : creates 2nd new host credentials This will generate > the > host credentials in > <smartfrog-installation-dir>/dist/private/hostxxx> directory. > * copy the generated directory to 2nd machine: > /opt/iexpress/smartfrog/private/hostxxx to > <2nd host>/opt/iexpress/smartfrog/private/host1. > * copy the dist/signedLib directory to 2nd machine in dist/signedLib > > * start Daemon 2 > * start Daemon 1 > * deploy application. > > > - Daemon credentials =3D daemon identity and each host has a unique one > signed by the same CA. > - Signed jars =3D all signed by the same CA that signed the daemons > identity. Same jars for all the daemons or jar in only one place and > classes downloaded dynamically in the other participating daemons. > > -- Note that when using security you cannot load descriptions from the > file system, the descriptions have to be contained in singed jars. > > > --- > > For more info refer to this previous thread. > http://thread.gmane.org/gmane.comp.java.smartfrog.devel/811 > > We will update the Tutorial to cover this topic but if you still have > problems, please ask again. > > Regards, > > Julio Guijarro > > -----Original Message----- > From: sma...@li... > [mailto:sma...@li...] On Behalf Of > Sabharwal, Ritu (STSD) > Sent: 06 March 2007 11:01 > To: Omer Khalid > Cc: Smartfrog Support > Subject: Re: [Smartfrog-support] SF Security: How to enable > > Hello Omer, > > Please follow the instructions in sfUserManual under section 6 titled > "Enabling Security". > > Thanks & Regards, > Ritu. > > Omer Khalid wrote: > > > Dear "SmartFrog Experts", > > > > I have been looking for a step-by-step guide on how to enable SF > > security. So far I have managed to find bit and pieces in different > > places :-(. > > > > I am wondering if there exist a concise documents? It would be a great > > > help if some one could send me the pointer to it. > > > > Many thanks in advance! > > > > Omer > > > > -- > > --------------------------------------------------------------- > > > > > > > CERN - European Organization for Nuclear > > IT Department, CH-1211 Geneva 23, Switzerland > > > > Phone: +41 (0) 22 767 7996 > > Fax: +41 (0) 22 767 4900 > > E-mail : Ome...@ce... <mailto:Ome...@ce...> > > Homepage: http://cern.ch/Omer.Khalid > > > >----------------------------------------------------------------------- > - > > > >----------------------------------------------------------------------- > -- > >Take Surveys. Earn Cash. Influence the Future of IT > >Join SourceForge.net's Techsay panel and you'll get the chance to share > your > >opinions on IT & business topics through brief surveys-and earn cash > >http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVD > EV > > > >----------------------------------------------------------------------- > - > > > >_______________________________________________ > >Smartfrog-support mailing list > >Sma...@li... > >https://lists.sourceforge.net/lists/listinfo/smartfrog-support > > > > > > > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > V > _______________________________________________ > Smartfrog-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartfrog-support > --=20 --------------------------------------------------------------- CERN =96 European Organization for Nuclear IT Department, CH-1211 Geneva 23, Switzerland Phone: +41 (0) 22 767 7996 Fax: +41 (0) 22 767 4900 E-mail : Ome...@ce... Homepage: http://cern.ch/Omer.Khalid |
From: Guijarro, J. <jul...@hp...> - 2007-03-07 17:48:02
|
Hi Omer,=20 A quick summary from a previous question: ---- The steps should be: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D * ant initCA : creates a new Certificate Authority for siging jars and generating the credentials ---> Only once! * mkdir signedLib * ant signJars :signs the jar files and populates the dist/signedLib dir. Only once (and copy jars to all daemons). * ant newDaemon : creates new host credentials This will generate the host credentials in <smartfrog-installation-dir>/dist/private/hostxxx> directory. * Rename the generated directory /opt/iexpress/smartfrog/private/hostxxx to /opt/iexpress/smartfrog/private/host1. * ant newDaemon : creates 2nd new host credentials This will generate the host credentials in <smartfrog-installation-dir>/dist/private/hostxxx> directory. * copy the generated directory to 2nd machine: /opt/iexpress/smartfrog/private/hostxxx to <2nd host>/opt/iexpress/smartfrog/private/host1. * copy the dist/signedLib directory to 2nd machine in dist/signedLib * start Daemon 2 * start Daemon 1 * deploy application. - Daemon credentials =3D daemon identity and each host has a unique one signed by the same CA. - Signed jars =3D all signed by the same CA that signed the daemons identity. Same jars for all the daemons or jar in only one place and classes downloaded dynamically in the other participating daemons. -- Note that when using security you cannot load descriptions from the file system, the descriptions have to be contained in singed jars. --- For more info refer to this previous thread.=20 http://thread.gmane.org/gmane.comp.java.smartfrog.devel/811 We will update the Tutorial to cover this topic but if you still have problems, please ask again. Regards, Julio Guijarro -----Original Message----- From: sma...@li... [mailto:sma...@li...] On Behalf Of Sabharwal, Ritu (STSD) Sent: 06 March 2007 11:01 To: Omer Khalid Cc: Smartfrog Support Subject: Re: [Smartfrog-support] SF Security: How to enable Hello Omer, Please follow the instructions in sfUserManual under section 6 titled=20 "Enabling Security". Thanks & Regards, Ritu. Omer Khalid wrote: > Dear "SmartFrog Experts", > > I have been looking for a step-by-step guide on how to enable SF=20 > security. So far I have managed to find bit and pieces in different=20 > places :-(. > > I am wondering if there exist a concise documents? It would be a great > help if some one could send me the pointer to it. > > Many thanks in advance! > > Omer > > --=20 > --------------------------------------------------------------- > > > CERN - European Organization for Nuclear > IT Department, CH-1211 Geneva 23, Switzerland > > Phone: +41 (0) 22 767 7996 > Fax: +41 (0) 22 767 4900 > E-mail : Ome...@ce... <mailto:Ome...@ce...> > Homepage: http://cern.ch/Omer.Khalid > >----------------------------------------------------------------------- - > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVD EV > >----------------------------------------------------------------------- - > >_______________________________________________ >Smartfrog-support mailing list >Sma...@li... >https://lists.sourceforge.net/lists/listinfo/smartfrog-support > =20 > ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Smartfrog-support mailing list Sma...@li... https://lists.sourceforge.net/lists/listinfo/smartfrog-support |
From: Steve L. <ste...@hp...> - 2007-03-07 14:16:31
|
ziuziu wrote: > Hi all, > I am new on Smartfrog and i would like some advice if possible. I am about > to use it as an automated deploy tool for a production enviroment that > contains around 8 servers at the moment. > Do you think smartfrog easy to use..... reagarding your experience. Does > anything to do with opsware. > If anyone could give me a point of view it would really help. > Hello ziuziu I think you need to open the question up the smartfrog-support mailing list; to get the opinions of people other than the developers -we are clearly biased :) Here are some of my opinions on the topic -If you've ever used Ant, using SmartFrog for your deployment isnt that hard a conceptual leap. Just as you configure and run tasks for building things, now you configure and deploy components. Some big differences are (1) the components stay deployed until terminated, when they are meant to clean up, and (2) you can spread components across multiple machines. -setting up an 8 server cluster can be easy or hard, depending on whether the machines are identical, or whether you have a more complex setup of, say, two DB, four app servers, two load balanced front ends and some router in front of it all: the more complex your system, the harder it is to describe the configuration. Eight identical machines? Get the deployment descriptor right for one, then deploy it on eight boxes. -It has built in components to run native and java programs, and manipulate the file system, which, together, can be used for a lot of deployments. There is extra support for application servers (especially jetty, tomcat and JBoss), and in the next release, databases. -If you can use the built in components, then building up a deployment by gluing them together, possibly in complex workflows, means you can deploy without writing any Java code. If you have to resort to java coding, you have more work, but you may have a reusable deployment component, which is yours to keep, or to share if that is your wish (i.e. its your code; SmartFrog being LGPL doesnt mean your components need to be open) -It's not XML. This is good and bad. Good, because the docs are more readable, there's no need to understand XML namespaces, full XPath syntax or, worst of all, XSD and WSDL. Bad, because you have a new syntax to learn. I'm always forgetting semicolons at the end of lines -but then I do the same in Java. -It doesn't have a workflow GUI, one of those drag-and-drop tools that look nice but dont scale. We have a standalone GUI tool, and an eclipse plugin, and hopefully, soon, one for NetBeans. all of these are text based, but make editing the text easier. I havent used opsware; I have no opinions on it. There are a couple of things in Ruby that are possibly similar; Capistrano and Puppet. Puppet is good for configuring a system; I don't know if it can applications in the detail SmartFrog can with Java code Capistrano can deploy Ruby applications, though its workflow is somewhat hard coded to deploying Rails applications and it uses Linux everywhere. Its very much like a make-for-deployment, with some notion of transactions, but is still very procedural. You run a sequence of operations to cold deploy an application, or migrate a database, instead of deploying a set of components whose goal is to keep the system in the declared state. I would certainly encourage you to start using SmartFrog, starting off with the problem of configuring one of the machines, a test machine, or a single part of the system (the database, the application server), and as you get one host working, ask for advice on the mailing list on how to do fault-tolerant multi-machine deployments. We have components to do Service Location Protocol and Anubis (a distributed 'management' tuple-space system) that can be used to let nodes discover each other and interact without the need to hard code machine names across the different descriptors. -Steve |