geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6263) App client as karaf "instance"
Date Fri, 13 Jan 2012 22:18:40 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185912#comment-13185912
] 

David Jencks commented on GERONIMO-6263:
----------------------------------------

I've been starting the client instance with this, modified slightly from what "admin start
client" does:
{code}
 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -server -Xmx512M
-Dcom.sun.management.jmxremote  -Djava.util.logging.config.file="/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/instances/client/etc/java.util.logging.properties"
-Djava.endorsed.dirs="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/endorsed:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/endorsed"
-Djava.ext.dirs="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/jre/lib/ext:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/ext"
-Dkaraf.home="/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT"
-Dkaraf.base="/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/instances/client"
-Dkaraf.startLocalConsole=true -Dkaraf.startRemoteShell=false -classpath /Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/commons-cli.jar:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/geronimo-cli.jar:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/geronimo-hook.jar:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/geronimo-rmi-loader.jar:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/karaf-jaas-boot.jar:/Users/david/projects/geronimo-git/geronimo/assemblies/geronimo-tomcat7-javaee6/target/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/lib/karaf.jar
org.apache.karaf.main.Main -l -o org.apache.geronimo.configs/client/3.0-SNAPSHOT/car
{code}
                
> App client as karaf "instance"
> ------------------------------
>
>                 Key: GERONIMO-6263
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6263
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: application client
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> with the rebase on karaf 3 the old strategy of starting geronimo app client via a separate
main class doesn't really work any more.  I've started on a way of running app clients as
karaf instances.
> (implemented, not all tested)
> -- expose command line args through geronimo ServerInfo (just like they are now exposed
in karaf ServerInfo)
> -- have the app client gbean get the client args from ServerInfo
> -- use the -o <artifactId> option to start the app client, thus ignoring the contents
of config.xml as a persistent configuration list
> -- have the app client gbean stop the framework after the app client main method exits.
> -- install the client instance from a .kar file
> (need to do)
> -- modify/write a script to start karaf with the -o <artifactId> option
> -- figure out what "clean" options are needed so different app clients don't interfere
with each other.
> -- figure out if the instance/instance.properties can be left out.
> -- make sure everything works :-)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message