You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2011/12/20 02:08:32 UTC

Geronimo 3 and karaf 3

I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.

After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.

The modules that don't start are:

activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
As a result activemq-ra and tomcat-console-activemq can't be started.

client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.


Here are some of the changes:

-- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).

-- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.

-- "geronimo" is started from a DS component, EmbeddedDaemon.

-- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.

Some other things that are not working yet:

-- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.

-- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.

-- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.


I'f there's no strong opposition I'd like to commit this tomorrow.

Many thanks
david jencks


Re: Geronimo 3 and karaf 3

Posted by viola lu <vi...@gmail.com>.
Hi, David:
There is a jira about  "activemq-broker-blueprint.  The ${X + Y} stuff is
not getting evaluated at all.", It's already fixed by Rex, may be helpful
to you.
https://issues.apache.org/jira/browse/GERONIMO-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs

which is dependent on  https://issues.apache.org/jira/browse/ARIES-727

On Tue, Dec 20, 2011 at 4:51 PM, Jean-Baptiste Onofré <jb...@nanthrax.net>wrote:

> Great job David,
>
> It looks good to me (non-binding ;)).
>
> Regards
> JB
>
>
> On 12/20/2011 02:08 AM, David Jencks wrote:
>
>> I've been spending a lot of time working to rebase geronimo on karaf 3 so
>> we can have a maintainable future and get stuff like osgi 4.3, up to date
>> aries components, and the experimental region support now in karaf.
>>
>> After a lot of work I have everything except clustering building and
>> after turning off a couple problematic modules the tomcat-javaee6 server
>> starts and the web admin console appears to work at least a little bit.
>> I'd like a little vacation this year and would like to commit this work
>> first so that others can help with the loose ends if they like.  I'll
>> probably be around to answer questions in any case.
>>
>> The modules that don't start are:
>>
>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated
>> at all.  I don't know if this is an xbean-blueprint problem or an aries
>> blueprint problem or a side effect of running in geronimo.
>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>
>> client-deployer.  I think this is a pretty simple gbean name problem but
>> I haven't looked into it.
>>
>>
>> Here are some of the changes:
>>
>> -- assemble the server using a combination of karaf assembly from
>> features and kars and geronimo assembly from geronimo plugins.  We now use
>> the same base karaf assembly stuff as the normal default full karaf
>> assembly (except I might have left out the spring feature repository).
>>
>> -- basic geronimo components such as the kernel, configuration manager,
>> dependency manager, deployer, and service config builder are set up as osgi
>> declarative services so they start without any geronimo configuration.
>>  They are generally configured through config admin as appropriate.  Most
>> of these also have gbean wrappers so they can be accessed through gbean
>> references.
>>
>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>
>> -- I think I'm using the karaf remote jmx security rather than ours.  The
>> capabilities are similar but not identical.
>>
>> Some other things that are not working yet:
>>
>> -- The (gogo) geronimo console commands that work through "remote" gbean
>> proxies don't work AFAIK.  Probably one way to fix this would be to expose
>> some more of the DS components using gbean wrappers, but I haven't looked
>> into this yet.
>>
>> -- the app client (as well as the client-deployer) is not working yet at
>> all.  We may be able to use command line args to tell the EmbeddedDaemon
>> it's an app client, or possibly not.  We may be able to use a karaf
>> instance to supply different ConfigAdmin settings to e.g. the local
>> attribute manager to convince it it's an app client.  Similarly the
>> separate console-like things presumably won't work either.
>>
>> -- the EditableConfigurationManager needs to be replaced by a separate
>> component that edits the configuration it gets from the normal
>> configuration manager.  I think this affects some part of the admin console.
>>
>>
>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>
>> Many thanks
>> david jencks
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
viola

Apache Geronimo

Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Great job David,

It looks good to me (non-binding ;)).

Regards
JB

On 12/20/2011 02:08 AM, David Jencks wrote:
> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
>
> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
>
> The modules that don't start are:
>
> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
> As a result activemq-ra and tomcat-console-activemq can't be started.
>
> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
>
>
> Here are some of the changes:
>
> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
>
> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
>
> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>
> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
>
> Some other things that are not working yet:
>
> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
>
> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
>
> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
>
>
> I'f there's no strong opposition I'd like to commit this tomorrow.
>
> Many thanks
> david jencks
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 6, 2012, at 11:04 AM, David Jencks wrote:

> A different problem...
> 
> [WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> 
> I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?

So far, I'm getting the following, if I run with tests:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.096 sec <<< FAILURE!
Running org.apache.geronimo.mavenplugins.car.DependencyTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec
Running org.apache.geronimo.mavenplugins.car.PluginMetadataTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.281 sec

Results :

Tests in error: 
  testEmptyPlanProcessing(org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest)
  testNoEnvironmentPlanProcessing(org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest)

Tests run: 7, Failures: 0, Errors: 2, Skipped: 0


And the following, if I run without tests:

[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Framework, Feature :: DS and Metatype 3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.karaf.tooling:karaf-maven-plugin:jar:3.0.0-20111221.171238-221 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://repository.apache.org/snapshots/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/maven-metadata.xml
Downloading: http://snapshots.repository.codehaus.org/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/maven-metadata.xml
Downloading: http://oss.sonatype.org/content/groups/jetty-with-staging/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/maven-metadata.xml
Downloading: http://nexus.openqa.org/content/repositories/snapshots/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/maven-metadata.xml
Downloaded: http://repository.apache.org/snapshots/org/apache/felix/org.apache.felix.scr/1.6.1-SNAPSHOT/maven-metadata.xml (786 B at 1.1 KB/sec)
[INFO] 
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ declarative-services ---
[INFO] Deleting file set: /Users/kevan/geronimo/server/trunk/framework/features/declarative-services/target (included: [**], excluded: [])
[INFO] 
[INFO] --- genesis-maven-plugin:2.0:validate-configuration (default) @ declarative-services ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (default) @ declarative-services ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.0:process (default) @ declarative-services ---
[INFO] 
[INFO] --- karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor (default-features-generate-descriptor) @ declarative-services ---
[WARNING] The POM for org.apache.karaf.tooling:karaf-maven-plugin:jar:3.0.0-20111221.171238-221 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Jan 6, 2012 11:58:58 AM org.sonatype.guice.bean.reflect.LoadedClass
WARNING: Error injecting: org.apache.karaf.tooling.features.GenerateDescriptorMojo
java.lang.NoClassDefFoundError: org/apache/maven/shared/filtering/MavenFilteringException
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
	at java.lang.Class.getDeclaredConstructors(Class.java:1836)
	at com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:243)
	at com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:96)
	at com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:628)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:835)
	at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:769)
	at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:254)
	at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:205)
	at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:843)
	at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:957)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:990)
	at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:951)
	at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1003)
	at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:47)
	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
	at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:968)
	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1014)
	at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:964)
	at com.google.inject.Scopes$1$1.get(Scopes.java:59)
	at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:79)
	at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:53)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243)
	at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:235)
	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:455)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:92)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.shared.filtering.MavenFilteringException
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
	... 47 more

--kevan

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 6, 2012, at 11:04 AM, David Jencks wrote:

> A different problem...
> 
> [WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> 
> I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?

Buildbot is seeing the same test failure that I am…

http://ci.apache.org/builders/geronimo-server-trunk/builds/502/steps/compile/logs/stdio

--kevan

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 6, 2012, at 11:04 AM, David Jencks wrote:

> A different problem...
> 
> [WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> 
> I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?

The build bot configuration is here https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/geronimo.conf

And yes, we could add a -X. However, I'll see if I can recreate locally. Will be simpler…

--kevan


Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi David,

FYI, pax-url-aether used aether 1.11, and part of my fix consists to 
upgrade to aether 1.13.1.

I will commit a fix soon on pax-url and karaf.

Regards
JB

On 01/18/2012 06:37 PM, David Jencks wrote:
> I did a build on another machine with nexus turned off and reproduced
> this problem.
>
> We (karaf people) think that it's due to aether expecting maven metadata
> in the karaf system repository and ignoring any artifacts there not
> represented by metadata, and downloading a remote older version of the
> snapshot. I did not see this because I have my local nexus configured to
> not download any geronimo artifacts. It's still not entirely clear why
> aether would prefer an older copy from apache-snapshots to a newer copy
> in the ~/.m2/repository repo. This might be due to a bug in the old
> version of aether embedded in pax-url-aether.
>
> thanks
> david jencks
>
> On Jan 12, 2012, at 4:43 AM, Forrest Xia wrote:
>
>>
>>
>> On Thu, Jan 12, 2012 at 3:29 PM, David Jencks <david_jencks@yahoo.com
>> <ma...@yahoo.com>> wrote:
>>
>>     I have seen problems like this sometimes. I wonder if the pax-url
>>     and karaf snapshots are up to date?
>>
>> I locally built karaf, but no pax-url, will retry.
>>
>>     That might result in old artifacts (not from the build you just
>>     did) getting downloaded and installed in the framework rather than
>>     the ones in the server /system repo. You might also be able to use
>>     the console to investigate why geronimo-system won't start. The
>>     log (now at data/log/karaf.log) might show something also.
>>
>>     I'll see if I can find some time tomorrow to run a build on
>>     another machine and see what happens.
>>
>>     thanks
>>     david jencks
>>
>>
>>
>>     On Jan 11, 2012, at 9:58 PM, Forrest Xia wrote:
>>
>>>     Made a build bypassing the test, but failed to start server with
>>>     this exception:
>>>
>>>     Module 1/62
>>>     org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car Server
>>>     Startup failed
>>>
>>>     org.apache.geronimo.kernel.config.LifecycleException: load of
>>>     org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
>>>     at
>>>     org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:389)
>>>     at
>>>     org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:261)
>>>     Caused by: org.osgi.framework.BundleException: Unresolved
>>>     constraint in bundle org.apache.geronimo.framework.j2ee-system
>>>     [129]: Unable to resolve 129.0: missing requirement [129.0]
>>>     osgi.wiring.package;
>>>     (osgi.wiring.package=org.apache.geronimo.system.osgi)
>>>     at
>>>     org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>>>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
>>>     at
>>>     org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:380)
>>>     ... 1 more
>>>
>>>
>>>     On Tue, Jan 10, 2012 at 11:13 PM, Kevan Miller
>>>     <kevan.miller@gmail.com <ma...@gmail.com>> wrote:
>>>
>>>
>>>         Looks like there's a new build issue --
>>>         http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio
>>>
>>>         --kevan
>>>
>>>
>>>
>>>
>>>     --
>>>     Thanks!
>>>
>>>     Regards, Forrest
>>>
>>
>>
>>
>>
>> --
>> Thanks!
>>
>> Regards, Forrest
>>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
I did a build on another machine with nexus turned off and reproduced this problem.

We (karaf people) think that it's due to aether expecting maven metadata in the karaf system repository and ignoring any artifacts there not represented by metadata, and downloading a remote older version of the snapshot.  I did not see this because I have my local nexus configured to not download any geronimo artifacts.  It's still not entirely clear why aether would prefer an older copy from apache-snapshots to a newer copy in the ~/.m2/repository repo.  This might be due to a bug in the old version of aether embedded in pax-url-aether.

thanks
david jencks

On Jan 12, 2012, at 4:43 AM, Forrest Xia wrote:

> 
> 
> On Thu, Jan 12, 2012 at 3:29 PM, David Jencks <da...@yahoo.com> wrote:
> I have seen problems like this sometimes.  I wonder if the pax-url and karaf snapshots are up to date?
> I locally built karaf, but no pax-url, will retry. 
>  That might result in old artifacts (not from the build you just did) getting downloaded and installed in the framework rather than the ones in the server /system repo.  You might also be able to use the console to investigate why geronimo-system won't start.  The log (now at data/log/karaf.log) might show something also.
> 
> I'll see if I can find some time tomorrow to run a build on another machine and see what happens.
> 
> thanks
> david jencks
> 
> 
> 
> On Jan 11, 2012, at 9:58 PM, Forrest Xia wrote:
> 
>> Made a build bypassing the test, but failed to start server with this exception:
>> 
>> Module  1/62 org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car             Server Startup failed
>> 
>> org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
>>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:389)
>>     at org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:261)
>> Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.geronimo.framework.j2ee-system [129]: Unable to resolve 129.0: missing requirement [129.0] osgi.wiring.package; (osgi.wiring.package=org.apache.geronimo.system.osgi)
>>     at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
>>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:380)
>>     ... 1 more
>> 
>> 
>> On Tue, Jan 10, 2012 at 11:13 PM, Kevan Miller <ke...@gmail.com> wrote:
>> 
>> Looks like there's a new build issue -- http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio
>> 
>> --kevan
>> 
>> 
>> 
>> -- 
>> Thanks!
>> 
>> Regards, Forrest
>> 
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 


Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
On Thu, Jan 12, 2012 at 3:29 PM, David Jencks <da...@yahoo.com>wrote:

> I have seen problems like this sometimes.  I wonder if the pax-url and
> karaf snapshots are up to date?
>
I locally built karaf, but no pax-url, will retry.

>  That might result in old artifacts (not from the build you just did)
> getting downloaded and installed in the framework rather than the ones in
> the server /system repo.  You might also be able to use the console to
> investigate why geronimo-system won't start.  The log (now at
> data/log/karaf.log) might show something also.
>
> I'll see if I can find some time tomorrow to run a build on another
> machine and see what happens.
>
> thanks
> david jencks
>
>
>
> On Jan 11, 2012, at 9:58 PM, Forrest Xia wrote:
>
> Made a build bypassing the test, but failed to start server with this
> exception:
>
> Module  1/62
> org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car
> Server Startup failed
>
> org.apache.geronimo.kernel.config.LifecycleException: load of
> org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:389)
>     at
> org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:261)
> Caused by: org.osgi.framework.BundleException: Unresolved constraint in
> bundle org.apache.geronimo.framework.j2ee-system [129]: Unable to resolve
> 129.0: missing requirement [129.0] osgi.wiring.package;
> (osgi.wiring.package=org.apache.geronimo.system.osgi)
>     at
> org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
>     at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:380)
>     ... 1 more
>
>
> On Tue, Jan 10, 2012 at 11:13 PM, Kevan Miller <ke...@gmail.com>wrote:
>
>>
>> Looks like there's a new build issue --
>> http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio
>>
>> --kevan
>
>
>
>
> --
> Thanks!
>
> Regards, Forrest
>
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
I have seen problems like this sometimes.  I wonder if the pax-url and karaf snapshots are up to date?  That might result in old artifacts (not from the build you just did) getting downloaded and installed in the framework rather than the ones in the server /system repo.  You might also be able to use the console to investigate why geronimo-system won't start.  The log (now at data/log/karaf.log) might show something also.

I'll see if I can find some time tomorrow to run a build on another machine and see what happens.

thanks
david jencks


On Jan 11, 2012, at 9:58 PM, Forrest Xia wrote:

> Made a build bypassing the test, but failed to start server with this exception:
> 
> Module  1/62 org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car             Server Startup failed
> 
> org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:389)
>     at org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:261)
> Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.geronimo.framework.j2ee-system [129]: Unable to resolve 129.0: missing requirement [129.0] osgi.wiring.package; (osgi.wiring.package=org.apache.geronimo.system.osgi)
>     at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:380)
>     ... 1 more
> 
> 
> On Tue, Jan 10, 2012 at 11:13 PM, Kevan Miller <ke...@gmail.com> wrote:
> 
> Looks like there's a new build issue -- http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio
> 
> --kevan
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 


Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
Made a build bypassing the test, but failed to start server with this
exception:

Module  1/62
org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car
Server Startup failed

org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:389)
    at
org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:261)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle org.apache.geronimo.framework.j2ee-system [129]: Unable to resolve
129.0: missing requirement [129.0] osgi.wiring.package;
(osgi.wiring.package=org.apache.geronimo.system.osgi)
    at
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
    at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
    at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:944)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:380)
    ... 1 more


On Tue, Jan 10, 2012 at 11:13 PM, Kevan Miller <ke...@gmail.com>wrote:

>
> Looks like there's a new build issue --
> http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio
>
> --kevan




-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
Looks like there's a new build issue -- http://ci.apache.org/builders/geronimo-server-trunk/builds/506/steps/compile/logs/stdio

--kevan

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 6, 2012, at 11:04 AM, David Jencks wrote:

> A different problem...
> 
> [WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> 
> I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?

By the way, here are the test errors:

-------------------------------------------------------------------------------
Test set: org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.075 sec <<< FAILURE!
testEmptyPlanProcessing(org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest)  Time elapsed: 0.052 sec  <<< ERROR!
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
	at org.codehaus.plexus.DefaultContainerConfiguration.<init>(DefaultContainerConfiguration.java:197)
	at org.codehaus.plexus.PlexusTestCase.setupContainer(PlexusTestCase.java:82)
	at org.codehaus.plexus.PlexusTestCase.getContainer(PlexusTestCase.java:139)
	at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:191)
	at org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest.setUp(PlanProcessorMojoTest.java:59)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 23 more

testNoEnvironmentPlanProcessing(org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.NoClassDefFoundError: org/codehaus/plexus/classworlds/realm/ClassRealm
	at org.codehaus.plexus.DefaultContainerConfiguration.<init>(DefaultContainerConfiguration.java:197)
	at org.codehaus.plexus.PlexusTestCase.setupContainer(PlexusTestCase.java:82)
	at org.codehaus.plexus.PlexusTestCase.getContainer(PlexusTestCase.java:139)
	at org.codehaus.plexus.PlexusTestCase.lookup(PlexusTestCase.java:191)
	at org.apache.geronimo.mavenplugins.car.PlanProcessorMojoTest.setUp(PlanProcessorMojoTest.java:59)
	at junit.framework.TestCase.runBare(TestCase.java:132)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:232)
	at junit.framework.TestSuite.run(TestSuite.java:227)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.classworlds.realm.ClassRealm
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 23 more

--kevan

Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Uli,

Thanks for the update, I'm gonna take a look also.

Regards
JB

On 02/03/2012 11:46 PM, uromahn wrote:
> Gentlemen,
>
> I updated all my local sources and was able to actually build G3.
> Unfortunately, the "fix" posted by JB may not have resolved all the issues.
>
> When I extract the jetty-jee6-web assembly and start the server using
> 'bin/karaf start' the server hangs somewhere very early in the bootstrap.
> There is absolutely no message on the console and the log file shows about
> 10 entries or so but no error message or any other clue.
>
> Trying to do the same with the tomcat-jee6-web assembly I was at least able
> to see the command prompt but then I saw the exact same error message than
> reported before with the missing bundle.
>
> I have actually downloaded some sources and made some local changes to some
> pom files to see if I get anywhere further and will report back.
>
> On another note: I think I found another potential issue...
> Karaf 3.0.0-SNAPSHOT is referencing pax-web-1.1.2-SNAPSHOT which internally
> references Jetty7. However, G3 bundles Jetty8. This could most likely lead
> to a version conflict and may explain why I am not able to even start G3
> with the jetty assembly. I got the latest pax-web and noticed that it is
> currently at 2.0.0-SNAPSHOT. I then went ahead and updated the pom.xml of
> Karaf 3 to include pax-web-2.0.0-SNAPSHOT and see if that will get me
> anywhere.
>
> I will also keep you updated on this one.
> -Uli
>
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3714488.html
> Sent from the Development mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
Thanks for the update, I will try to find some time to take a look soon.

The jetty version conflict shouldn't be a problem because geronimo should not be loading pax-web at all.  If you have some evidence that it is, please show it....

In more detail, geronimo uses the karaf startup code, a lot of the other code, and the feature and assembly code, but we make our own assemblies that don't include everything the same way karaf "full" does.

thanks!
david jencks

On Feb 3, 2012, at 2:46 PM, uromahn wrote:

> Gentlemen,
> 
> I updated all my local sources and was able to actually build G3.
> Unfortunately, the "fix" posted by JB may not have resolved all the issues.
> 
> When I extract the jetty-jee6-web assembly and start the server using
> 'bin/karaf start' the server hangs somewhere very early in the bootstrap.
> There is absolutely no message on the console and the log file shows about
> 10 entries or so but no error message or any other clue.
> 
> Trying to do the same with the tomcat-jee6-web assembly I was at least able
> to see the command prompt but then I saw the exact same error message than
> reported before with the missing bundle.
> 
> I have actually downloaded some sources and made some local changes to some
> pom files to see if I get anywhere further and will report back.
> 
> On another note: I think I found another potential issue...
> Karaf 3.0.0-SNAPSHOT is referencing pax-web-1.1.2-SNAPSHOT which internally
> references Jetty7. However, G3 bundles Jetty8. This could most likely lead
> to a version conflict and may explain why I am not able to even start G3
> with the jetty assembly. I got the latest pax-web and noticed that it is
> currently at 2.0.0-SNAPSHOT. I then went ahead and updated the pom.xml of
> Karaf 3 to include pax-web-2.0.0-SNAPSHOT and see if that will get me
> anywhere.
> 
> I will also keep you updated on this one.
> -Uli
> 
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3714488.html
> Sent from the Development mailing list archive at Nabble.com.


Re: Geronimo 3 and karaf 3

Posted by uromahn <ur...@paypal.com>.
Gentlemen,

I updated all my local sources and was able to actually build G3.
Unfortunately, the "fix" posted by JB may not have resolved all the issues.

When I extract the jetty-jee6-web assembly and start the server using
'bin/karaf start' the server hangs somewhere very early in the bootstrap.
There is absolutely no message on the console and the log file shows about
10 entries or so but no error message or any other clue.

Trying to do the same with the tomcat-jee6-web assembly I was at least able
to see the command prompt but then I saw the exact same error message than
reported before with the missing bundle.

I have actually downloaded some sources and made some local changes to some
pom files to see if I get anywhere further and will report back.

On another note: I think I found another potential issue...
Karaf 3.0.0-SNAPSHOT is referencing pax-web-1.1.2-SNAPSHOT which internally
references Jetty7. However, G3 bundles Jetty8. This could most likely lead
to a version conflict and may explain why I am not able to even start G3
with the jetty assembly. I got the latest pax-web and noticed that it is
currently at 2.0.0-SNAPSHOT. I then went ahead and updated the pom.xml of
Karaf 3 to include pax-web-2.0.0-SNAPSHOT and see if that will get me
anywhere.

I will also keep you updated on this one.
-Uli

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3714488.html
Sent from the Development mailing list archive at Nabble.com.

Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I just fixed the issue on the OBR feature.

The SNAPSHOT deployment is in progress.

Regards
JB

On 02/02/2012 04:32 AM, David Jencks wrote:
> Hi,
>
> First, I only concentrated on the tomcat server, I have no idea what state the jetty server is in.
>
> I think the pax bundles are in an unstable state with various hard-to-satisfy dependencies.  You might try building the pax bundles yourself.  I'm taking a break until things stabilize there.
>
> Can you check whether karaf trunk can install the obr feature successfully?
>
> thanks
> david jencks
>
> On Feb 1, 2012, at 4:42 PM, uromahn wrote:
>
>> I was actually able to successfully build the current trunk.
>>
>> However when I extract the jetty-jee6-web assembly and start it, I am
>> getting the following error message in the log:
>>
>> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
>> INFO: Trying to lock
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/lock
>> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
>> INFO: Lock acquired
>> 2012-02-01 16:34:15,289 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:15,343 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,610 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,647 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,772 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,809 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,820 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  453 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Installing feature config
>> 3.0.0-SNAPSHOT
>> 2012-02-01 16:34:17,076 | INFO  | FelixStartLevel  | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Starting JMX OSGi agent
>> 2012-02-01 16:34:17,096 | INFO  | FelixStartLevel  | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3]
>> for service with service.id [10]
>> 2012-02-01 16:34:17,122 | WARN  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | There are no MBean servers registred, can't register MBeans
>> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.compendium:service=cm,version=1.3
>> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=bundleState,version=1.5
>> 2012-02-01 16:34:17,376 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=serviceState,version=1.5
>> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=framework,version=1.5
>> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=packageState,version=1.5
>> 2012-02-01 16:34:17,737 | INFO  | Thread-3         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.shell:org.apache.karaf.shell.config:jar:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT/org.apache.karaf.shell.config-3.0.0-SNAPSHOT.jar
>> 2012-02-01 16:34:17,739 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  720 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Found installed bundle:
>> org.apache.karaf.shell.config [60]
>> 2012-02-01 16:34:17,746 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  345 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Bundles to refresh:
>> 2012-02-01 16:34:18,427 | ERROR | .features.repos) | configadmin
>> | ?                                   ? | 6 - org.apache.felix.configadmin -
>> 1.2.8 | [org.osgi.service.cm.ManagedService, id=91, bundle=43]: Unexpected
>> problem updating null
>> java.lang.NullPointerException
>> 	at
>> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[43:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
>> 	at Proxy7d5ed748_8a6a_4844_a9b0_93e68dbc74d3.updated(Unknown Source)[:]
>> 	at
>> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[6:org.apache.felix.configadmin:1.2.8]
>> 	at
>> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[6:org.apache.felix.configadmin:1.2.8]
>> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
>> 2012-02-01 16:34:19,197 | INFO  | FelixStartLevel  | SecurityUtils
>> | e.sshd.common.util.SecurityUtils   80 | 28 - sshd-core - 0.6.0 |
>> BouncyCastle not registered, using the default JCE provider
>> 2012-02-01 16:34:19,728 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.sshd:sshd-core:jar:0.6.0) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar
>> 2012-02-01 16:34:20,560 | INFO  | FelixStartLevel  | ListCommandComponent
>> | scr.command.ListCommandComponent   63 | 44 - org.apache.karaf.scr.command
>> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR List Command
>> 2012-02-01 16:34:20,565 | INFO  | FelixStartLevel  |
>> ActivateCommandComponent         | command.ActivateCommandComponent   65 |
>> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Activate Command
>> 2012-02-01 16:34:20,569 | INFO  | FelixStartLevel  |
>> DeactivateCommandComponent       | mmand.DeactivateCommandComponent   65 |
>> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Deactivate Command
>> 2012-02-01 16:34:20,573 | INFO  | FelixStartLevel  | DetailsCommandComponent
>> | .command.DetailsCommandComponent   67 | 44 - org.apache.karaf.scr.command
>> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR Details Command
>> 2012-02-01 16:34:20,579 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl
>> | ent.internal.ScrServiceMBeanImpl   73 | 64 -
>> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Service MBean
>> 2012-02-01 16:34:21,013 | INFO  | FelixStartLevel  |
>> RepositoryConfigurationStore     | ion.RepositoryConfigurationStore  108 |
>> 114 - org.apache.geronimo.framework.geronimo-system - 3.0.0.SNAPSHOT |
>> created
>> 2012-02-01 16:34:21,133 | INFO  | FelixStartLevel  | AbstractGBeanReference
>> | n.runtime.AbstractGBeanReference   45 | 99 -
>> org.apache.geronimo.framework.geronimo-kernel - 3.0.0.SNAPSHOT | GBean
>> references are not using proxies
>> 2012-02-01 16:34:24,226 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework:j2ee-system:car:3.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/j2ee-system/3.0-SNAPSHOT/j2ee-system-3.0-SNAPSHOT.car
>> 2012-02-01 16:34:24,476 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.ops4j.pax.logging:pax-logging-api:jar:1.6.1)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.1/pax-logging-api-1.6.1.jar
>> 2012-02-01 16:34:24,488 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (asm:asm-all:jar:3.2) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/asm/asm-all/3.2/asm-all-3.2.jar
>> 2012-02-01 16:34:24,538 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-finder:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-finder/3.8/xbean-finder-3.8.jar
>> 2012-02-01 16:34:24,614 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-bundleutils:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-bundleutils/3.8/xbean-bundleutils-3.8.jar
>> 2012-02-01 16:34:24,678 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-reflect:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-reflect/3.8/xbean-reflect-3.8.jar
>> 2012-02-01 16:34:24,752 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xstream:jar:1.3_3)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xstream/1.3_3/org.apache.servicemix.bundles.xstream-1.3_3.jar
>> 2012-02-01 16:34:24,799 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:jar:1.1.4c_3)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_3/org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar
>> 2012-02-01 16:34:24,804 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:jar:1.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-stax-api_1.2_spec/1.1/geronimo-stax-api_1.2_spec-1.1.jar
>> 2012-02-01 16:34:24,839 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:jar:1.0.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-jaxb_2.2_spec/1.0.1/geronimo-jaxb_2.2_spec-1.0.1.jar
>> 2012-02-01 16:34:24,844 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:jaxb-impl:jar:2.2.3-1_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/jaxb-impl/2.2.3-1_1/jaxb-impl-2.2.3-1_1.jar
>> 2012-02-01 16:34:24,853 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:woodstox-core-asl:jar:4.1.2_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/woodstox-core-asl/4.1.2_1/woodstox-core-asl-4.1.2_1.jar
>> 2012-02-01 16:34:24,859 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.codehaus.woodstox:stax2-api:jar:3.1.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar
>> 2012-02-01 16:34:24,907 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
>> 2012-02-01 16:34:24,925 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.geronimo.bundles:sxc-jaxb:jar:0.7.3_1)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-jaxb/0.7.3_1/sxc-jaxb-0.7.3_1.jar
>> 2012-02-01 16:34:24,990 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:sxc-runtime:jar:0.7.3_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-runtime/0.7.3_1/sxc-runtime-0.7.3_1.jar
>> 2012-02-01 16:34:25,032 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.felix:org.apache.felix.configadmin:jar:1.2.4) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.4/org.apache.felix.configadmin-1.2.4.jar
>> 2012-02-01 16:34:37,561 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl
>> | ent.internal.ScrServiceMBeanImpl   89 | 64 -
>> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Deactivating the Apache
>> Karaf SCR Service MBean
>>
>> and the following error message on the console:
>>
>> ERROR: Bundle org.ops4j.pax.url.obr [25] Error starting
>> mvn:org.ops4j.pax.url/pax-url-obr/1.4-SNAPSHOT
>> (org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
>> [25.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0)))
>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
>> [25.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0))
>> 	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
>> 	at
>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>> 	at java.lang.Thread.run(Thread.java:662)
>>
>> Any idea how to correct this and get a running server?
>> -Uli
>>
>> --
>> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3708594.html
>> Sent from the Development mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi David,

we have an issue on the OBR feature on the latest Karaf 3 SNAPSHOT, on 
the pax-url-obr:

Error executing command: Could not start bundle 
mvn:org.ops4j.pax.url/pax-url-obr/1.4-SNAPSHOT in feature(s) 
obr-3.0.0-SNAPSHOT: Unresolved constraint in bundle 
org.ops4j.pax.url.obr [73]: Unable to resolve 73.0: missing requirement 
[73.0] osgi.wiring.package; 
(&(osgi.wiring.package=org.ops4j.pax.swissbox.tracker)(version>=1.5.0))

I'm fixing it right now and deploy a new SNAPSHOT.

Sorry for that.

Regards
JB

On 02/02/2012 04:32 AM, David Jencks wrote:
> Hi,
>
> First, I only concentrated on the tomcat server, I have no idea what state the jetty server is in.
>
> I think the pax bundles are in an unstable state with various hard-to-satisfy dependencies.  You might try building the pax bundles yourself.  I'm taking a break until things stabilize there.
>
> Can you check whether karaf trunk can install the obr feature successfully?
>
> thanks
> david jencks
>
> On Feb 1, 2012, at 4:42 PM, uromahn wrote:
>
>> I was actually able to successfully build the current trunk.
>>
>> However when I extract the jetty-jee6-web assembly and start it, I am
>> getting the following error message in the log:
>>
>> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
>> INFO: Trying to lock
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/lock
>> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
>> INFO: Lock acquired
>> 2012-02-01 16:34:15,289 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:15,343 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,610 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,647 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,772 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,809 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
>> 2012-02-01 16:34:16,820 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  453 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Installing feature config
>> 3.0.0-SNAPSHOT
>> 2012-02-01 16:34:17,076 | INFO  | FelixStartLevel  | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Starting JMX OSGi agent
>> 2012-02-01 16:34:17,096 | INFO  | FelixStartLevel  | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3]
>> for service with service.id [10]
>> 2012-02-01 16:34:17,122 | WARN  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | There are no MBean servers registred, can't register MBeans
>> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.compendium:service=cm,version=1.3
>> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=bundleState,version=1.5
>> 2012-02-01 16:34:17,376 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=serviceState,version=1.5
>> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=framework,version=1.5
>> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx
>> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
>> | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer
>> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
>> osgi.core:type=packageState,version=1.5
>> 2012-02-01 16:34:17,737 | INFO  | Thread-3         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.karaf.shell:org.apache.karaf.shell.config:jar:3.0.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT/org.apache.karaf.shell.config-3.0.0-SNAPSHOT.jar
>> 2012-02-01 16:34:17,739 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  720 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Found installed bundle:
>> org.apache.karaf.shell.config [60]
>> 2012-02-01 16:34:17,746 | INFO  | Thread-3         | FeaturesServiceImpl
>> | res.internal.FeaturesServiceImpl  345 | 21 -
>> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Bundles to refresh:
>> 2012-02-01 16:34:18,427 | ERROR | .features.repos) | configadmin
>> | ?                                   ? | 6 - org.apache.felix.configadmin -
>> 1.2.8 | [org.osgi.service.cm.ManagedService, id=91, bundle=43]: Unexpected
>> problem updating null
>> java.lang.NullPointerException
>> 	at
>> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[43:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
>> 	at Proxy7d5ed748_8a6a_4844_a9b0_93e68dbc74d3.updated(Unknown Source)[:]
>> 	at
>> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[6:org.apache.felix.configadmin:1.2.8]
>> 	at
>> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[6:org.apache.felix.configadmin:1.2.8]
>> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
>> 2012-02-01 16:34:19,197 | INFO  | FelixStartLevel  | SecurityUtils
>> | e.sshd.common.util.SecurityUtils   80 | 28 - sshd-core - 0.6.0 |
>> BouncyCastle not registered, using the default JCE provider
>> 2012-02-01 16:34:19,728 | INFO  | FelixStartLevel  | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.sshd:sshd-core:jar:0.6.0) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar
>> 2012-02-01 16:34:20,560 | INFO  | FelixStartLevel  | ListCommandComponent
>> | scr.command.ListCommandComponent   63 | 44 - org.apache.karaf.scr.command
>> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR List Command
>> 2012-02-01 16:34:20,565 | INFO  | FelixStartLevel  |
>> ActivateCommandComponent         | command.ActivateCommandComponent   65 |
>> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Activate Command
>> 2012-02-01 16:34:20,569 | INFO  | FelixStartLevel  |
>> DeactivateCommandComponent       | mmand.DeactivateCommandComponent   65 |
>> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Deactivate Command
>> 2012-02-01 16:34:20,573 | INFO  | FelixStartLevel  | DetailsCommandComponent
>> | .command.DetailsCommandComponent   67 | 44 - org.apache.karaf.scr.command
>> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR Details Command
>> 2012-02-01 16:34:20,579 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl
>> | ent.internal.ScrServiceMBeanImpl   73 | 64 -
>> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Activating the Apache
>> Karaf SCR Service MBean
>> 2012-02-01 16:34:21,013 | INFO  | FelixStartLevel  |
>> RepositoryConfigurationStore     | ion.RepositoryConfigurationStore  108 |
>> 114 - org.apache.geronimo.framework.geronimo-system - 3.0.0.SNAPSHOT |
>> created
>> 2012-02-01 16:34:21,133 | INFO  | FelixStartLevel  | AbstractGBeanReference
>> | n.runtime.AbstractGBeanReference   45 | 99 -
>> org.apache.geronimo.framework.geronimo-kernel - 3.0.0.SNAPSHOT | GBean
>> references are not using proxies
>> 2012-02-01 16:34:24,226 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.framework:j2ee-system:car:3.0-SNAPSHOT) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/j2ee-system/3.0-SNAPSHOT/j2ee-system-3.0-SNAPSHOT.car
>> 2012-02-01 16:34:24,476 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.ops4j.pax.logging:pax-logging-api:jar:1.6.1)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.1/pax-logging-api-1.6.1.jar
>> 2012-02-01 16:34:24,488 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (asm:asm-all:jar:3.2) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/asm/asm-all/3.2/asm-all-3.2.jar
>> 2012-02-01 16:34:24,538 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-finder:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-finder/3.8/xbean-finder-3.8.jar
>> 2012-02-01 16:34:24,614 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-bundleutils:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-bundleutils/3.8/xbean-bundleutils-3.8.jar
>> 2012-02-01 16:34:24,678 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-reflect:jar:3.8) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-reflect/3.8/xbean-reflect-3.8.jar
>> 2012-02-01 16:34:24,752 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xstream:jar:1.3_3)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xstream/1.3_3/org.apache.servicemix.bundles.xstream-1.3_3.jar
>> 2012-02-01 16:34:24,799 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:jar:1.1.4c_3)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_3/org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar
>> 2012-02-01 16:34:24,804 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:jar:1.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-stax-api_1.2_spec/1.1/geronimo-stax-api_1.2_spec-1.1.jar
>> 2012-02-01 16:34:24,839 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:jar:1.0.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-jaxb_2.2_spec/1.0.1/geronimo-jaxb_2.2_spec-1.0.1.jar
>> 2012-02-01 16:34:24,844 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:jaxb-impl:jar:2.2.3-1_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/jaxb-impl/2.2.3-1_1/jaxb-impl-2.2.3-1_1.jar
>> 2012-02-01 16:34:24,853 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:woodstox-core-asl:jar:4.1.2_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/woodstox-core-asl/4.1.2_1/woodstox-core-asl-4.1.2_1.jar
>> 2012-02-01 16:34:24,859 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.codehaus.woodstox:stax2-api:jar:3.1.1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar
>> 2012-02-01 16:34:24,907 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
>> 2012-02-01 16:34:24,925 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved (org.apache.geronimo.bundles:sxc-jaxb:jar:0.7.3_1)
>> as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-jaxb/0.7.3_1/sxc-jaxb-0.7.3_1.jar
>> 2012-02-01 16:34:24,990 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.geronimo.bundles:sxc-runtime:jar:0.7.3_1) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-runtime/0.7.3_1/sxc-runtime-0.7.3_1.jar
>> 2012-02-01 16:34:25,032 | INFO  | Thread-8         | AetherBasedResolver
>> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
>> 1.4.0.SNAPSHOT | Resolved
>> (org.apache.felix:org.apache.felix.configadmin:jar:1.2.4) as
>> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.4/org.apache.felix.configadmin-1.2.4.jar
>> 2012-02-01 16:34:37,561 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl
>> | ent.internal.ScrServiceMBeanImpl   89 | 64 -
>> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Deactivating the Apache
>> Karaf SCR Service MBean
>>
>> and the following error message on the console:
>>
>> ERROR: Bundle org.ops4j.pax.url.obr [25] Error starting
>> mvn:org.ops4j.pax.url/pax-url-obr/1.4-SNAPSHOT
>> (org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
>> [25.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0)))
>> org.osgi.framework.BundleException: Unresolved constraint in bundle
>> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
>> [25.0] osgi.wiring.package;
>> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0))
>> 	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
>> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
>> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
>> 	at
>> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
>> 	at java.lang.Thread.run(Thread.java:662)
>>
>> Any idea how to correct this and get a running server?
>> -Uli
>>
>> --
>> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3708594.html
>> Sent from the Development mailing list archive at Nabble.com.
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
Hi,

First, I only concentrated on the tomcat server, I have no idea what state the jetty server is in.

I think the pax bundles are in an unstable state with various hard-to-satisfy dependencies.  You might try building the pax bundles yourself.  I'm taking a break until things stabilize there.

Can you check whether karaf trunk can install the obr feature successfully?

thanks
david jencks

On Feb 1, 2012, at 4:42 PM, uromahn wrote:

> I was actually able to successfully build the current trunk.
> 
> However when I extract the jetty-jee6-web assembly and start it, I am
> getting the following error message in the log:
> 
> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
> INFO: Trying to lock
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/lock
> Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
> INFO: Lock acquired
> 2012-02-01 16:34:15,289 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:15,343 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:16,610 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:16,647 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:16,772 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:16,809 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
> 2012-02-01 16:34:16,820 | INFO  | Thread-3         | FeaturesServiceImpl             
> | res.internal.FeaturesServiceImpl  453 | 21 -
> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Installing feature config
> 3.0.0-SNAPSHOT
> 2012-02-01 16:34:17,076 | INFO  | FelixStartLevel  | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Starting JMX OSGi agent
> 2012-02-01 16:34:17,096 | INFO  | FelixStartLevel  | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3]
> for service with service.id [10]
> 2012-02-01 16:34:17,122 | WARN  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | There are no MBean servers registred, can't register MBeans
> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
> osgi.compendium:service=cm,version=1.3
> 2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
> osgi.core:type=bundleState,version=1.5
> 2012-02-01 16:34:17,376 | INFO  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
> osgi.core:type=serviceState,version=1.5
> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
> osgi.core:type=framework,version=1.5
> 2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx                             
> | ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
> | Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer
> com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
> osgi.core:type=packageState,version=1.5
> 2012-02-01 16:34:17,737 | INFO  | Thread-3         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.karaf.shell:org.apache.karaf.shell.config:jar:3.0.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT/org.apache.karaf.shell.config-3.0.0-SNAPSHOT.jar
> 2012-02-01 16:34:17,739 | INFO  | Thread-3         | FeaturesServiceImpl             
> | res.internal.FeaturesServiceImpl  720 | 21 -
> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Found installed bundle:
> org.apache.karaf.shell.config [60]
> 2012-02-01 16:34:17,746 | INFO  | Thread-3         | FeaturesServiceImpl             
> | res.internal.FeaturesServiceImpl  345 | 21 -
> org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Bundles to refresh: 
> 2012-02-01 16:34:18,427 | ERROR | .features.repos) | configadmin                     
> | ?                                   ? | 6 - org.apache.felix.configadmin -
> 1.2.8 | [org.osgi.service.cm.ManagedService, id=91, bundle=43]: Unexpected
> problem updating null
> java.lang.NullPointerException
> 	at
> org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[43:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
> 	at Proxy7d5ed748_8a6a_4844_a9b0_93e68dbc74d3.updated(Unknown Source)[:]
> 	at
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[6:org.apache.felix.configadmin:1.2.8]
> 	at
> org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[6:org.apache.felix.configadmin:1.2.8]
> 	at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
> 2012-02-01 16:34:19,197 | INFO  | FelixStartLevel  | SecurityUtils                   
> | e.sshd.common.util.SecurityUtils   80 | 28 - sshd-core - 0.6.0 |
> BouncyCastle not registered, using the default JCE provider
> 2012-02-01 16:34:19,728 | INFO  | FelixStartLevel  | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.apache.sshd:sshd-core:jar:0.6.0) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar
> 2012-02-01 16:34:20,560 | INFO  | FelixStartLevel  | ListCommandComponent            
> | scr.command.ListCommandComponent   63 | 44 - org.apache.karaf.scr.command
> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR List Command
> 2012-02-01 16:34:20,565 | INFO  | FelixStartLevel  |
> ActivateCommandComponent         | command.ActivateCommandComponent   65 |
> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
> Karaf SCR Activate Command
> 2012-02-01 16:34:20,569 | INFO  | FelixStartLevel  |
> DeactivateCommandComponent       | mmand.DeactivateCommandComponent   65 |
> 44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
> Karaf SCR Deactivate Command
> 2012-02-01 16:34:20,573 | INFO  | FelixStartLevel  | DetailsCommandComponent         
> | .command.DetailsCommandComponent   67 | 44 - org.apache.karaf.scr.command
> - 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR Details Command
> 2012-02-01 16:34:20,579 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl             
> | ent.internal.ScrServiceMBeanImpl   73 | 64 -
> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Activating the Apache
> Karaf SCR Service MBean
> 2012-02-01 16:34:21,013 | INFO  | FelixStartLevel  |
> RepositoryConfigurationStore     | ion.RepositoryConfigurationStore  108 |
> 114 - org.apache.geronimo.framework.geronimo-system - 3.0.0.SNAPSHOT |
> created
> 2012-02-01 16:34:21,133 | INFO  | FelixStartLevel  | AbstractGBeanReference          
> | n.runtime.AbstractGBeanReference   45 | 99 -
> org.apache.geronimo.framework.geronimo-kernel - 3.0.0.SNAPSHOT | GBean
> references are not using proxies
> 2012-02-01 16:34:24,226 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.framework:j2ee-system:car:3.0-SNAPSHOT) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/j2ee-system/3.0-SNAPSHOT/j2ee-system-3.0-SNAPSHOT.car
> 2012-02-01 16:34:24,476 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.ops4j.pax.logging:pax-logging-api:jar:1.6.1)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.1/pax-logging-api-1.6.1.jar
> 2012-02-01 16:34:24,488 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (asm:asm-all:jar:3.2) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/asm/asm-all/3.2/asm-all-3.2.jar
> 2012-02-01 16:34:24,538 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-finder:jar:3.8) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-finder/3.8/xbean-finder-3.8.jar
> 2012-02-01 16:34:24,614 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-bundleutils:jar:3.8) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-bundleutils/3.8/xbean-bundleutils-3.8.jar
> 2012-02-01 16:34:24,678 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-reflect:jar:3.8) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-reflect/3.8/xbean-reflect-3.8.jar
> 2012-02-01 16:34:24,752 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xstream:jar:1.3_3)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xstream/1.3_3/org.apache.servicemix.bundles.xstream-1.3_3.jar
> 2012-02-01 16:34:24,799 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:jar:1.1.4c_3)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_3/org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar
> 2012-02-01 16:34:24,804 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:jar:1.1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-stax-api_1.2_spec/1.1/geronimo-stax-api_1.2_spec-1.1.jar
> 2012-02-01 16:34:24,839 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:jar:1.0.1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-jaxb_2.2_spec/1.0.1/geronimo-jaxb_2.2_spec-1.0.1.jar
> 2012-02-01 16:34:24,844 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.bundles:jaxb-impl:jar:2.2.3-1_1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/jaxb-impl/2.2.3-1_1/jaxb-impl-2.2.3-1_1.jar
> 2012-02-01 16:34:24,853 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.bundles:woodstox-core-asl:jar:4.1.2_1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/woodstox-core-asl/4.1.2_1/woodstox-core-asl-4.1.2_1.jar
> 2012-02-01 16:34:24,859 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.codehaus.woodstox:stax2-api:jar:3.1.1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar
> 2012-02-01 16:34:24,907 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
> 2012-02-01 16:34:24,925 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved (org.apache.geronimo.bundles:sxc-jaxb:jar:0.7.3_1)
> as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-jaxb/0.7.3_1/sxc-jaxb-0.7.3_1.jar
> 2012-02-01 16:34:24,990 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.geronimo.bundles:sxc-runtime:jar:0.7.3_1) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-runtime/0.7.3_1/sxc-runtime-0.7.3_1.jar
> 2012-02-01 16:34:25,032 | INFO  | Thread-8         | AetherBasedResolver             
> | mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
> 1.4.0.SNAPSHOT | Resolved
> (org.apache.felix:org.apache.felix.configadmin:jar:1.2.4) as
> /home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.4/org.apache.felix.configadmin-1.2.4.jar
> 2012-02-01 16:34:37,561 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl             
> | ent.internal.ScrServiceMBeanImpl   89 | 64 -
> org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Deactivating the Apache
> Karaf SCR Service MBean
> 
> and the following error message on the console:
> 
> ERROR: Bundle org.ops4j.pax.url.obr [25] Error starting
> mvn:org.ops4j.pax.url/pax-url-obr/1.4-SNAPSHOT
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
> [25.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0)))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
> [25.0] osgi.wiring.package;
> (&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0))
> 	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
> 	at
> org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
> 	at java.lang.Thread.run(Thread.java:662)
> 
> Any idea how to correct this and get a running server?
> -Uli
> 
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3708594.html
> Sent from the Development mailing list archive at Nabble.com.


Re: Geronimo 3 and karaf 3

Posted by uromahn <ur...@paypal.com>.
I was actually able to successfully build the current trunk.

However when I extract the jetty-jee6-web assembly and start it, I am
getting the following error message in the log:

Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/lock
Feb 1, 2012 4:34:11 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
2012-02-01 16:34:15,289 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
2012-02-01 16:34:15,343 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.karaf.features:standard:xml:features:3.0.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/standard/3.0.0-SNAPSHOT/standard-3.0.0-SNAPSHOT-features.xml
2012-02-01 16:34:16,610 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
2012-02-01 16:34:16,647 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.karaf.features:enterprise:xml:features:3.0.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/features/enterprise/3.0.0-SNAPSHOT/enterprise-3.0.0-SNAPSHOT-features.xml
2012-02-01 16:34:16,772 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
2012-02-01 16:34:16,809 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.framework.features:org.apache.geronimo.javaee-specs:xml:features:3.0-SNAPSHOT)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/features/org.apache.geronimo.javaee-specs/3.0-SNAPSHOT/org.apache.geronimo.javaee-specs-3.0-SNAPSHOT-features.xml
2012-02-01 16:34:16,820 | INFO  | Thread-3         | FeaturesServiceImpl             
| res.internal.FeaturesServiceImpl  453 | 21 -
org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Installing feature config
3.0.0-SNAPSHOT
2012-02-01 16:34:17,076 | INFO  | FelixStartLevel  | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Starting JMX OSGi agent
2012-02-01 16:34:17,096 | INFO  | FelixStartLevel  | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering MBean with ObjectName [osgi.compendium:service=cm,version=1.3]
for service with service.id [10]
2012-02-01 16:34:17,122 | WARN  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| There are no MBean servers registred, can't register MBeans
2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering org.osgi.jmx.service.cm.ConfigurationAdminMBean to MBeanServer
com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
osgi.compendium:service=cm,version=1.3
2012-02-01 16:34:17,353 | INFO  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering org.osgi.jmx.framework.BundleStateMBean to MBeanServer
com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
osgi.core:type=bundleState,version=1.5
2012-02-01 16:34:17,376 | INFO  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering org.osgi.jmx.framework.ServiceStateMBean to MBeanServer
com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
osgi.core:type=serviceState,version=1.5
2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering org.osgi.jmx.framework.FrameworkMBean to MBeanServer
com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
osgi.core:type=framework,version=1.5
2012-02-01 16:34:17,377 | INFO  | JMX OSGi Agent   | jmx                             
| ?                                   ? | 32 - org.apache.aries.jmx - 0.3.0
| Registering org.osgi.jmx.framework.PackageStateMBean to MBeanServer
com.sun.jmx.mbeanserver.JmxMBeanServer@18385e3 with name
osgi.core:type=packageState,version=1.5
2012-02-01 16:34:17,737 | INFO  | Thread-3         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.karaf.shell:org.apache.karaf.shell.config:jar:3.0.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/karaf/shell/org.apache.karaf.shell.config/3.0.0-SNAPSHOT/org.apache.karaf.shell.config-3.0.0-SNAPSHOT.jar
2012-02-01 16:34:17,739 | INFO  | Thread-3         | FeaturesServiceImpl             
| res.internal.FeaturesServiceImpl  720 | 21 -
org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Found installed bundle:
org.apache.karaf.shell.config [60]
2012-02-01 16:34:17,746 | INFO  | Thread-3         | FeaturesServiceImpl             
| res.internal.FeaturesServiceImpl  345 | 21 -
org.apache.karaf.features.core - 3.0.0.SNAPSHOT | Bundles to refresh: 
2012-02-01 16:34:18,427 | ERROR | .features.repos) | configadmin                     
| ?                                   ? | 6 - org.apache.felix.configadmin -
1.2.8 | [org.osgi.service.cm.ManagedService, id=91, bundle=43]: Unexpected
problem updating null
java.lang.NullPointerException
	at
org.apache.karaf.features.command.FeatureFinder.updated(FeatureFinder.java:46)[43:org.apache.karaf.features.command:3.0.0.SNAPSHOT]
	at Proxy7d5ed748_8a6a_4844_a9b0_93e68dbc74d3.updated(Unknown Source)[:]
	at
org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)[6:org.apache.felix.configadmin:1.2.8]
	at
org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)[6:org.apache.felix.configadmin:1.2.8]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_29]
2012-02-01 16:34:19,197 | INFO  | FelixStartLevel  | SecurityUtils                   
| e.sshd.common.util.SecurityUtils   80 | 28 - sshd-core - 0.6.0 |
BouncyCastle not registered, using the default JCE provider
2012-02-01 16:34:19,728 | INFO  | FelixStartLevel  | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.apache.sshd:sshd-core:jar:0.6.0) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar
2012-02-01 16:34:20,560 | INFO  | FelixStartLevel  | ListCommandComponent            
| scr.command.ListCommandComponent   63 | 44 - org.apache.karaf.scr.command
- 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR List Command
2012-02-01 16:34:20,565 | INFO  | FelixStartLevel  |
ActivateCommandComponent         | command.ActivateCommandComponent   65 |
44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
Karaf SCR Activate Command
2012-02-01 16:34:20,569 | INFO  | FelixStartLevel  |
DeactivateCommandComponent       | mmand.DeactivateCommandComponent   65 |
44 - org.apache.karaf.scr.command - 3.0.0.SNAPSHOT | Activating the Apache
Karaf SCR Deactivate Command
2012-02-01 16:34:20,573 | INFO  | FelixStartLevel  | DetailsCommandComponent         
| .command.DetailsCommandComponent   67 | 44 - org.apache.karaf.scr.command
- 3.0.0.SNAPSHOT | Activating the Apache Karaf SCR Details Command
2012-02-01 16:34:20,579 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl             
| ent.internal.ScrServiceMBeanImpl   73 | 64 -
org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Activating the Apache
Karaf SCR Service MBean
2012-02-01 16:34:21,013 | INFO  | FelixStartLevel  |
RepositoryConfigurationStore     | ion.RepositoryConfigurationStore  108 |
114 - org.apache.geronimo.framework.geronimo-system - 3.0.0.SNAPSHOT |
created
2012-02-01 16:34:21,133 | INFO  | FelixStartLevel  | AbstractGBeanReference          
| n.runtime.AbstractGBeanReference   45 | 99 -
org.apache.geronimo.framework.geronimo-kernel - 3.0.0.SNAPSHOT | GBean
references are not using proxies
2012-02-01 16:34:24,226 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.framework:j2ee-system:car:3.0-SNAPSHOT) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/framework/j2ee-system/3.0-SNAPSHOT/j2ee-system-3.0-SNAPSHOT.car
2012-02-01 16:34:24,476 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.ops4j.pax.logging:pax-logging-api:jar:1.6.1)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/ops4j/pax/logging/pax-logging-api/1.6.1/pax-logging-api-1.6.1.jar
2012-02-01 16:34:24,488 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (asm:asm-all:jar:3.2) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/asm/asm-all/3.2/asm-all-3.2.jar
2012-02-01 16:34:24,538 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-finder:jar:3.8) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-finder/3.8/xbean-finder-3.8.jar
2012-02-01 16:34:24,614 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-bundleutils:jar:3.8) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-bundleutils/3.8/xbean-bundleutils-3.8.jar
2012-02-01 16:34:24,678 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.apache.xbean:xbean-reflect:jar:3.8) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/xbean/xbean-reflect/3.8/xbean-reflect-3.8.jar
2012-02-01 16:34:24,752 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.servicemix.bundles:org.apache.servicemix.bundles.xstream:jar:1.3_3)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xstream/1.3_3/org.apache.servicemix.bundles.xstream-1.3_3.jar
2012-02-01 16:34:24,799 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.servicemix.bundles:org.apache.servicemix.bundles.xpp3:jar:1.1.4c_3)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_3/org.apache.servicemix.bundles.xpp3-1.1.4c_3.jar
2012-02-01 16:34:24,804 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:jar:1.1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-stax-api_1.2_spec/1.1/geronimo-stax-api_1.2_spec-1.1.jar
2012-02-01 16:34:24,839 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:jar:1.0.1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/specs/geronimo-jaxb_2.2_spec/1.0.1/geronimo-jaxb_2.2_spec-1.0.1.jar
2012-02-01 16:34:24,844 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.bundles:jaxb-impl:jar:2.2.3-1_1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/jaxb-impl/2.2.3-1_1/jaxb-impl-2.2.3-1_1.jar
2012-02-01 16:34:24,853 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.bundles:woodstox-core-asl:jar:4.1.2_1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/woodstox-core-asl/4.1.2_1/woodstox-core-asl-4.1.2_1.jar
2012-02-01 16:34:24,859 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.codehaus.woodstox:stax2-api:jar:3.1.1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar
2012-02-01 16:34:24,907 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.felix:org.apache.felix.bundlerepository:jar:1.6.6) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
2012-02-01 16:34:24,925 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved (org.apache.geronimo.bundles:sxc-jaxb:jar:0.7.3_1)
as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-jaxb/0.7.3_1/sxc-jaxb-0.7.3_1.jar
2012-02-01 16:34:24,990 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.geronimo.bundles:sxc-runtime:jar:0.7.3_1) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/geronimo/bundles/sxc-runtime/0.7.3_1/sxc-runtime-0.7.3_1.jar
2012-02-01 16:34:25,032 | INFO  | Thread-8         | AetherBasedResolver             
| mvn.internal.AetherBasedResolver  224 | 2 - org.ops4j.pax.url.mvn -
1.4.0.SNAPSHOT | Resolved
(org.apache.felix:org.apache.felix.configadmin:jar:1.2.4) as
/home/uromahn/programs/geronimo-jetty8-javaee6-web-3.0-SNAPSHOT/system/org/apache/felix/org.apache.felix.configadmin/1.2.4/org.apache.felix.configadmin-1.2.4.jar
2012-02-01 16:34:37,561 | INFO  | FelixStartLevel  | ScrServiceMBeanImpl             
| ent.internal.ScrServiceMBeanImpl   89 | 64 -
org.apache.karaf.scr.management - 3.0.0.SNAPSHOT | Deactivating the Apache
Karaf SCR Service MBean

and the following error message on the console:

ERROR: Bundle org.ops4j.pax.url.obr [25] Error starting
mvn:org.ops4j.pax.url/pax-url-obr/1.4-SNAPSHOT
(org.osgi.framework.BundleException: Unresolved constraint in bundle
org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
[25.0] osgi.wiring.package;
(&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle
org.ops4j.pax.url.obr [25]: Unable to resolve 25.0: missing requirement
[25.0] osgi.wiring.package;
(&(osgi.wiring.package=org.ops4j.lang)(version>=1.3.0))
	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3826)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
	at
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
	at java.lang.Thread.run(Thread.java:662)

Any idea how to correct this and get a running server?
-Uli

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3708594.html
Sent from the Development mailing list archive at Nabble.com.

Re: Geronimo 3 and karaf 3

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Ulrich and David,

regarding Karaf 3, I'm going to create a karaf-3.0 branch to freeze the 
features included and stabilize.

I'm upgrading the dependency versions right now, I will cut off this 
branch tomorrow or Monday morning.

Regards
JB

On 01/20/2012 09:17 PM, uromahn wrote:
> Hi David,
>
> Thanks for your quick response. Based on your and your fellow
> committer’s comments on this thread, I suspected you were as frustrated
> as well.
>
> To answer your immediate question: I may be best to put a short but
> prominent comment here: https://cwiki.apache.org/GMOxDEV/index.html
>
> In addition, it may be helpful to update the build instructions included
> in the source and put the same warning there.
>
> At least that way, interested developers would be aware of the current
> issues.
>
> -Ulrich
>
> *Ulrich Romahn*
>
> Sr. MTS, Architect
>
> *PayPal*
>
> The safer, easier way to pay online
>
> 2211 North First Street, San Jose, CA 95131
>
> Direct 408 967 6808 | Cell 650 430 4499
>
> Skype uliromahn
>
> *From:*David Jencks [via Apache Geronimo] [mailto:[hidden email]
> </user/SendEmail.jtp?type=node&node=3676525&i=0>]
> *Sent:* Friday, January 20, 2012 12:12 PM
> *To:* Romahn, Ulrich
> *Subject:* Re: Geronimo 3 and karaf 3
>
> HI Ulrich,
>
> I appreciate your frustration... I've been struggling with various forms
> of the current problems for more than a year and think we may finally be
> close to a working stable solution. How and if these problems show up
> seems to be quite dependent on your local maven environment. For
> instance I have nexus installed locally and configured to never download
> any org.apache.geronimo.* artifacts and that has stabilized my builds
> considerably but concealed the problems other people are having from me.
>
> I have been trying to update the build status on the geronimo dev list,
> and you seem to have found the current thread on the topic. Do you have
> a suggestion on a better way?
>
> We also have a buildbot set up but I haven't figured out when it runs or
> how to trigger it. Sometimes it reports interesting errors quickly and
> other times it seems to just not run.
>
> thanks for your interest!
> david jencks
>
> On Jan 20, 2012, at 11:54 AM, uromahn wrote:
>
>
>  > Gentlemen:
>  >
>  > I am following the development on Geronimo 3 for quite a while since
> we are
>  > very interested in potentially using it to support a new OSGI-based
> server
>  > framework that we will use here.
>  >
>  > Today, I have refreshed my G3 sources of trunk and was trying to
> build G3.
>  > After reading through this thread and doing the build step-by-step (I
> had to
>  > go into various sub-systems and do a mvn clean install first before I
> could
>  > run the top level build successfully) I finally ended up with the
> completed
>  > assemblies. However, when trying to start G3 using the command
> "./bin/karaf"
>  > I am getting a failed start because some dependencies are missing.
>  >
>  > Unfortunately, it appears that the current state of trunk is somewhat
>  > unstable. I completely understand that this happens, but I would kindly
>  > suggest to post a message somewhere "warning" people wanting to build
>  > G3-trunk themselves, that the result may actually not really what
> they hoped
>  > for.
>  >
>  > With a little frustration and hope for a more stable situation soon,
>  >
>  > kind regards,
>  > -Ulrich
>  >
>  > --
>  > View this message in context: click here.
> NAML
> <http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
> ------------------------------------------------------------------------
> View this message in context: RE: Geronimo 3 and karaf 3
> <http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676525.html>
> Sent from the Development mailing list archive
> <http://apache-geronimo.328035.n3.nabble.com/Development-f342155.html>
> at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

RE: Geronimo 3 and karaf 3

Posted by uromahn <ur...@paypal.com>.
Hi David,

Thanks for your quick response. Based on your and your fellow committer's comments on this thread, I suspected you were as frustrated as well.

To answer your immediate question: I may be best to put a short but prominent comment here: https://cwiki.apache.org/GMOxDEV/index.html
In addition, it may be helpful to update the build instructions included in the source and put the same warning there.

At least that way, interested developers would be aware of the current issues.

-Ulrich

Ulrich Romahn
Sr. MTS, Architect

PayPal
The safer, easier way to pay online

2211 North First Street, San Jose, CA 95131
Direct  408 967 6808  |  Cell  650 430 4499
Skype  uliromahn

From: David Jencks [via Apache Geronimo] [mailto:ml-node+s328035n3676516h27@n3.nabble.com]
Sent: Friday, January 20, 2012 12:12 PM
To: Romahn, Ulrich
Subject: Re: Geronimo 3 and karaf 3

HI Ulrich,

I appreciate your frustration... I've been struggling with various forms of the current problems for more than a year and think we may finally be close to a working stable solution.  How and if these problems show up seems to be quite dependent on your local maven environment.  For instance I have nexus installed locally and configured to never download any org.apache.geronimo.* artifacts and that has stabilized my builds considerably but concealed the problems other people are having from me.

I have been trying to update the build status on the geronimo dev list, and you seem to have found the current thread on the topic.  Do you have a suggestion on a better way?

We also have a buildbot set up but I haven't figured out when it runs or how to trigger it.  Sometimes it reports interesting errors quickly and other times it seems to just not run.

thanks for your interest!
david jencks

On Jan 20, 2012, at 11:54 AM, uromahn wrote:

> Gentlemen:
>
> I am following the development on Geronimo 3 for quite a while since we are
> very interested in potentially using it to support a new OSGI-based server
> framework that we will use here.
>
> Today, I have refreshed my G3 sources of trunk and was trying to build G3.
> After reading through this thread and doing the build step-by-step (I had to
> go into various sub-systems and do a mvn clean install first before I could
> run the top level build successfully) I finally ended up with the completed
> assemblies. However, when trying to start G3 using the command "./bin/karaf"
> I am getting a failed start because some dependencies are missing.
>
> Unfortunately, it appears that the current state of trunk is somewhat
> unstable. I completely understand that this happens, but I would kindly
> suggest to post a message somewhere "warning" people wanting to build
> G3-trunk themselves, that the result may actually not really what they hoped
> for.
>
> With a little frustration and hope for a more stable situation soon,
>
> kind regards,
> -Ulrich
>
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676480.html
> Sent from the Development mailing list archive at Nabble.com.


________________________________
If you reply to this email, your message will be added to the discussion below:
http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676516.html
To unsubscribe from Geronimo 3 and karaf 3, click here<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3600027&code=dXJvbWFobkBwYXlwYWwuY29tfDM2MDAwMjd8LTEyMzk5MjQ3OTg=>.
NAML<http://apache-geronimo.328035.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676525.html
Sent from the Development mailing list archive at Nabble.com.

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
HI Ulrich,

I appreciate your frustration... I've been struggling with various forms of the current problems for more than a year and think we may finally be close to a working stable solution.  How and if these problems show up seems to be quite dependent on your local maven environment.  For instance I have nexus installed locally and configured to never download any org.apache.geronimo.* artifacts and that has stabilized my builds considerably but concealed the problems other people are having from me.

I have been trying to update the build status on the geronimo dev list, and you seem to have found the current thread on the topic.  Do you have a suggestion on a better way?

We also have a buildbot set up but I haven't figured out when it runs or how to trigger it.  Sometimes it reports interesting errors quickly and other times it seems to just not run.

thanks for your interest!
david jencks

On Jan 20, 2012, at 11:54 AM, uromahn wrote:

> Gentlemen:
> 
> I am following the development on Geronimo 3 for quite a while since we are
> very interested in potentially using it to support a new OSGI-based server
> framework that we will use here.
> 
> Today, I have refreshed my G3 sources of trunk and was trying to build G3.
> After reading through this thread and doing the build step-by-step (I had to
> go into various sub-systems and do a mvn clean install first before I could
> run the top level build successfully) I finally ended up with the completed
> assemblies. However, when trying to start G3 using the command "./bin/karaf"
> I am getting a failed start because some dependencies are missing.
> 
> Unfortunately, it appears that the current state of trunk is somewhat
> unstable. I completely understand that this happens, but I would kindly
> suggest to post a message somewhere "warning" people wanting to build
> G3-trunk themselves, that the result may actually not really what they hoped
> for.
> 
> With a little frustration and hope for a more stable situation soon,
> 
> kind regards,
> -Ulrich
> 
> --
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676480.html
> Sent from the Development mailing list archive at Nabble.com.


Re: Geronimo 3 and karaf 3

Posted by uromahn <ur...@paypal.com>.
Gentlemen:

I am following the development on Geronimo 3 for quite a while since we are
very interested in potentially using it to support a new OSGI-based server
framework that we will use here.

Today, I have refreshed my G3 sources of trunk and was trying to build G3.
After reading through this thread and doing the build step-by-step (I had to
go into various sub-systems and do a mvn clean install first before I could
run the top level build successfully) I finally ended up with the completed
assemblies. However, when trying to start G3 using the command "./bin/karaf"
I am getting a failed start because some dependencies are missing.

Unfortunately, it appears that the current state of trunk is somewhat
unstable. I completely understand that this happens, but I would kindly
suggest to post a message somewhere "warning" people wanting to build
G3-trunk themselves, that the result may actually not really what they hoped
for.

With a little frustration and hope for a more stable situation soon,

kind regards,
-Ulrich

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-3-and-karaf-3-tp3600027p3676480.html
Sent from the Development mailing list archive at Nabble.com.

Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
I've added -X to buildbot, since I can't hit the same problem, locally.

--kevan
On Jan 6, 2012, at 11:04 AM, David Jencks wrote:

> A different problem...
> 
> [WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> 
> I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?
> 
> david jencks
> 
> On Jan 6, 2012, at 7:43 AM, Kevan Miller wrote:
> 
>> 
>> On Jan 5, 2012, at 9:40 PM, David Jencks wrote:
>> 
>>> yup, karaf just copied those classes into itself to avoid some java  7 problem.... just committed a fix along with some other work.
>> 
>> Still seems to be problems… http://ci.apache.org/builders/geronimo-server-trunk/builds/501
>> 
>> --kevan
>> 
> 


Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
A different problem...

[WARNING] The POM for org.apache.geronimo.testsupport:testsupport-common:jar:3.0-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

I don't know how to find out what the problem is since I don't have it locally.  Can we run with -X?

david jencks

On Jan 6, 2012, at 7:43 AM, Kevan Miller wrote:

> 
> On Jan 5, 2012, at 9:40 PM, David Jencks wrote:
> 
>> yup, karaf just copied those classes into itself to avoid some java  7 problem.... just committed a fix along with some other work.
> 
> Still seems to be problems… http://ci.apache.org/builders/geronimo-server-trunk/builds/501
> 
> --kevan
> 


Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
On Jan 5, 2012, at 9:40 PM, David Jencks wrote:

> yup, karaf just copied those classes into itself to avoid some java  7 problem.... just committed a fix along with some other work.

Still seems to be problems… http://ci.apache.org/builders/geronimo-server-trunk/builds/501

--kevan


Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
yup, karaf just copied those classes into itself to avoid some java  7 problem.... just committed a fix along with some other work.

david jencks

On Jan 5, 2012, at 6:16 PM, Kevan Miller wrote:

> 
> I'm seeing this same failure, locally -- http://ci.apache.org/builders/geronimo-server-trunk/builds/498/steps/compile/logs/stdio
> 
> Anyone else?
> 
> --kevan


Re: Geronimo 3 and karaf 3

Posted by Kevan Miller <ke...@gmail.com>.
I'm seeing this same failure, locally -- http://ci.apache.org/builders/geronimo-server-trunk/builds/498/steps/compile/logs/stdio

Anyone else?

--kevan

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
I think that changing the namespace and adding the new evaluator attribute fix this!

thanks
david jencks

On Dec 20, 2011, at 8:18 AM, Rex Wang wrote:

> 
> 
> 2011/12/20 David Jencks <da...@yahoo.com>
> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
> 
> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
> 
> The modules that don't start are:
> 
> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
> As a result activemq-ra and tomcat-console-activemq can't be started.
> 
> Hi David, neither xbean-blueprint nor aries-blueprint can correctly do such evaluation. So for 3.0-beta-1 release, I provided an  interim fix of Aries-727 and  release our aries-blueprint in external folder: http://svn.apache.org/repos/asf/geronimo/external/tags/blueprint-0.3.0.1/
> 
> However, we should not use this approach for trunk. I had refactored the codes in Aries-727 based on the discussion in Aries mailing list. The new approach has been applied to Aries trunk.
> The current approach is as following:
> 1, depends on following
> org.apache.aries.blueprint.core-0.4.1-SNAPSHOT
> org.apache.aries.blueprint.jexl.evaluator-0.1.1-SNAPSHOT (http://svn.apache.org/repos/asf/aries/trunk/blueprint/blueprint-jexl-evaluator/)
> 
> 2. use the new namespace blueprint-ext 1.2.0 
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.2.0"
> 
> 3. use the ext:property-placeholder with the new attribute evaluator="jexl" to do evaluation
> <ext:property-placeholder placeholder-prefix="$["
>          placeholder-suffix="]" ignore-missing-locations="true"
>         system-properties="override" evaluator="jexl">
>          <ext:default-properties>
>              <ext:property name="name" value="value" />
>             <ext:property name="a" value="Hello " />
>             <ext:property name="b" value="FooBar" />
>          </ext:default-properties>
>          <ext:location>file:///url</ext:location>
> </ext:property-placeholder>
> 
> <bean id="bar" class="org.apache.aries.blueprint.sample.Bar">
>         <property name="value" value="$[a+b]">
> ...
> 
> basically, this will make the blueprint bundle reference a "PropertyEvaluator" service with the property "org.apache.aries.blueprint.ext.evaluator.name=jexl" to do the evaluate.
> 
> Hope this helps, and I can help fix this issue after your commit.
> 
> Merry Christmas and happy new year!
> 
> -Rex
> 
>  
> 
> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
> 
> 
> Here are some of the changes:
> 
> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
> 
> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
> 
> -- "geronimo" is started from a DS component, EmbeddedDaemon.
> 
> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
> 
> Some other things that are not working yet:
> 
> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
> 
> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
> 
> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
> 
> 
> I'f there's no strong opposition I'd like to commit this tomorrow.
> 
> Many thanks
> david jencks
> 
> 
> 
> 
> -- 
> Lei Wang (Rex)
> rwonly AT apache.org


Re: Geronimo 3 and karaf 3

Posted by Rex Wang <rw...@gmail.com>.
2011/12/20 David Jencks <da...@yahoo.com>

> I've been spending a lot of time working to rebase geronimo on karaf 3 so
> we can have a maintainable future and get stuff like osgi 4.3, up to date
> aries components, and the experimental region support now in karaf.
>
> After a lot of work I have everything except clustering building and after
> turning off a couple problematic modules the tomcat-javaee6 server starts
> and the web admin console appears to work at least a little bit.   I'd like
> a little vacation this year and would like to commit this work first so
> that others can help with the loose ends if they like.  I'll probably be
> around to answer questions in any case.
>
> The modules that don't start are:
>
> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at
> all.  I don't know if this is an xbean-blueprint problem or an aries
> blueprint problem or a side effect of running in geronimo.
> As a result activemq-ra and tomcat-console-activemq can't be started.
>

Hi David, neither xbean-blueprint nor aries-blueprint can correctly do such
evaluation. So for 3.0-beta-1 release, I provided an  interim fix of
Aries-727 and  release our aries-blueprint in external folder:
http://svn.apache.org/repos/asf/geronimo/external/tags/blueprint-0.3.0.1/

However, we should not use this approach for trunk. I had refactored the
codes in Aries-727 based on the discussion in Aries mailing list. The new
approach has been applied to Aries trunk.
The current approach is as following:
1, depends on following
org.apache.aries.blueprint.core-0.4.1-SNAPSHOT
org.apache.aries.blueprint.jexl.evaluator-0.1.1-SNAPSHOT (
http://svn.apache.org/repos/asf/aries/trunk/blueprint/blueprint-jexl-evaluator/
)

2. use the new namespace blueprint-ext 1.2.0
xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.2.0"

3. use the ext:property-placeholder with the new attribute *evaluator="jexl"
* to do evaluation
<ext:property-placeholder placeholder-prefix="$["
         placeholder-suffix="]" ignore-missing-locations="true"
        system-properties="override" *evaluator="jexl"*>
         <ext:default-properties>
             <ext:property name="name" value="value" />
            <ext:property name="a" value="Hello " />
            <ext:property name="b" value="FooBar" />
         </ext:default-properties>
         <ext:location>file:///url</ext:location>
</ext:property-placeholder>

<bean id="bar" class="org.apache.aries.blueprint.sample.Bar">
        <property name="value" value="$[a+b]">
...

basically, this will make the blueprint bundle reference a
"PropertyEvaluator" service with the property "
org.apache.aries.blueprint.ext.evaluator.name=jexl" to do the evaluate.

Hope this helps, and I can help fix this issue after your commit.

Merry Christmas and happy new year!

-Rex



>
> client-deployer.  I think this is a pretty simple gbean name problem but I
> haven't looked into it.
>
>
> Here are some of the changes:
>
> -- assemble the server using a combination of karaf assembly from features
> and kars and geronimo assembly from geronimo plugins.  We now use the same
> base karaf assembly stuff as the normal default full karaf assembly (except
> I might have left out the spring feature repository).
>
> -- basic geronimo components such as the kernel, configuration manager,
> dependency manager, deployer, and service config builder are set up as osgi
> declarative services so they start without any geronimo configuration.
>  They are generally configured through config admin as appropriate.  Most
> of these also have gbean wrappers so they can be accessed through gbean
> references.
>
> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>
> -- I think I'm using the karaf remote jmx security rather than ours.  The
> capabilities are similar but not identical.
>
> Some other things that are not working yet:
>
> -- The (gogo) geronimo console commands that work through "remote" gbean
> proxies don't work AFAIK.  Probably one way to fix this would be to expose
> some more of the DS components using gbean wrappers, but I haven't looked
> into this yet.
>
> -- the app client (as well as the client-deployer) is not working yet at
> all.  We may be able to use command line args to tell the EmbeddedDaemon
> it's an app client, or possibly not.  We may be able to use a karaf
> instance to supply different ConfigAdmin settings to e.g. the local
> attribute manager to convince it it's an app client.  Similarly the
> separate console-like things presumably won't work either.
>
> -- the EditableConfigurationManager needs to be replaced by a separate
> component that edits the configuration it gets from the normal
> configuration manager.  I think this affects some part of the admin console.
>
>
> I'f there's no strong opposition I'd like to commit this tomorrow.
>
> Many thanks
> david jencks
>
>


-- 
Lei Wang (Rex)
rwonly AT apache.org

Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
David, thanks a lot! You deserve a good rest. Please feel free to commit
your change into trunk, it's open for your great changes :)

Wish you have a happy and great X'mas holiday!

On Tue, Dec 20, 2011 at 1:10 PM, David Jencks <da...@yahoo.com>wrote:

> more not-yet-working inline
>
> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>
> > I've been spending a lot of time working to rebase geronimo on karaf 3
> so we can have a maintainable future and get stuff like osgi 4.3, up to
> date aries components, and the experimental region support now in karaf.
> >
> > After a lot of work I have everything except clustering building and
> after turning off a couple problematic modules the tomcat-javaee6 server
> starts and the web admin console appears to work at least a little bit.
> I'd like a little vacation this year and would like to commit this work
> first so that others can help with the loose ends if they like.  I'll
> probably be around to answer questions in any case.
> >
> > The modules that don't start are:
> >
> > activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated
> at all.  I don't know if this is an xbean-blueprint problem or an aries
> blueprint problem or a side effect of running in geronimo.
> > As a result activemq-ra and tomcat-console-activemq can't be started.
> >
> > client-deployer.  I think this is a pretty simple gbean name problem but
> I haven't looked into it.
> >
> >
> > Here are some of the changes:
> >
> > -- assemble the server using a combination of karaf assembly from
> features and kars and geronimo assembly from geronimo plugins.  We now use
> the same base karaf assembly stuff as the normal default full karaf
> assembly (except I might have left out the spring feature repository).
> >
> > -- basic geronimo components such as the kernel, configuration manager,
> dependency manager, deployer, and service config builder are set up as osgi
> declarative services so they start without any geronimo configuration.
>  They are generally configured through config admin as appropriate.  Most
> of these also have gbean wrappers so they can be accessed through gbean
> references.
> >
> > -- "geronimo" is started from a DS component, EmbeddedDaemon.
> >
> > -- I think I'm using the karaf remote jmx security rather than ours.
>  The capabilities are similar but not identical.
> >
> > Some other things that are not working yet:
> >
> > -- The (gogo) geronimo console commands that work through "remote" gbean
> proxies don't work AFAIK.  Probably one way to fix this would be to expose
> some more of the DS components using gbean wrappers, but I haven't looked
> into this yet.
> >
> > -- the app client (as well as the client-deployer) is not working yet at
> all.  We may be able to use command line args to tell the EmbeddedDaemon
> it's an app client, or possibly not.  We may be able to use a karaf
> instance to supply different ConfigAdmin settings to e.g. the local
> attribute manager to convince it it's an app client.  Similarly the
> separate console-like things presumably won't work either.
> >
> > -- the EditableConfigurationManager needs to be replaced by a separate
> component that edits the configuration it gets from the normal
> configuration manager.  I think this affects some part of the admin console.
>
> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
> jars as bundles.    According to
> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
> exposing the packages from the framework) that breaks other stuff.  I think
> we need to investigate the karaf-activator stuff guillaume wrote and adapt
> our specs to use it.  At the moment I have the framework lying and claiming
> later versions for the xmlstream and jaxb packages.  I haven't found any
> documentation for karaf-activator yet.
>
> -- the build uses a lot more memory.  I typically run out of permgen twice
> during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
>
> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
> scripts.  Again, I have to increase memory settings for the server to fully
> start.
>
> >
> >
> > I'f there's no strong opposition I'd like to commit this tomorrow.
> >
> > Many thanks
> > david jencks
> >
>
> david jencks




-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
Hi Forrest,

I've seen some problems like this and don't know exactly what causes them.  Some old artifacts have gotten into the build: LocalAttributeManager is no longer a gbean and j2ee-system doesn't try to set it up as a gbean.  It might be related to KARAF-910.  For me this issue seems to sometimes cause aether to download an old remote copy of some artifact rather than using the one in the karaf/geronimo system repo.  Could you look in your geronimo instance and see what the j2ee-system bundle is in the system repo and in the data cache?  The log might also provide a clue.

thanks
david jencks

On Jan 4, 2012, at 1:42 AM, Forrest Xia wrote:

> 
> 
> On Wed, Jan 4, 2012 at 5:39 PM, Forrest Xia <fo...@gmail.com> wrote:
> 
> 
> On Wed, Jan 4, 2012 at 5:32 PM, Forrest Xia <fo...@gmail.com> wrote:
> I got some time to try the trunk change locally after G 2.1.8 release stuffs are basically done :-)
> 
> Several findings about the trunk changes:
> 1. The server trunk can only be compiled with Maven 3, that's the reason it failed to compile in the TCK environment(the maven version used in TCK env is 2.2.1). I will update the TCK env in the coming days.
> 2. The testsuite cannot be executed since geronimo-maven-plugin cannot launch the server now. This issue will also block TCK execution.
> 3. The command line interfaces has big changes, I cannot find startup/shutdown/geronimo scripts now. I do not look into the changes further, so I even don't know how to launch the server now.
> Sorry, I reread the mail thread and got known that how to start the server now: bin/karaf -l 
> Hit this exception when I tried on my ubuntu box:
> 
> geronimo> Booting Geronimo Kernel (in Java 1.6.0_29)...
> Module  1/62 org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car             Server Startup failed
> 
> org.apache.geronimo.kernel.config.LifecycleException: start of org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:803)
>     at org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:265)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
>     at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
>     at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:286)
>     at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:787)
>     ... 1 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Getter method not found Attribute Name: GBeanInfo, Type: class org.apache.geronimo.gbean.GBeanInfo, GBeanInstance: org.apache.geronimo.system.configuration.LocalAttributeManager
>     at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:252)
>     at org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
>     at org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
>     at org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:431)
>     at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
>     ... 3 more
> Caused by: java.lang.NoSuchMethodException: org.apache.geronimo.system.configuration.LocalAttributeManager.getGBeanInfo()
>     at java.lang.Class.getMethod(Class.java:1605)
>     at org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
>     ... 7 more
>  
> 
> So generally, I think we need a introduction about how to use the trunk build now.
> 
> 
> On Thu, Dec 22, 2011 at 5:14 PM, Forrest Xia <fo...@gmail.com> wrote:
> 
> 
> On Thu, Dec 22, 2011 at 2:27 AM, David Jencks <da...@yahoo.com> wrote:
> I pushed a karaf snapshot.... maybe that will help?  I don't see this problem locally.
> No help for server build in AHP, I will try it locally. thanks!
>  
> 
> thanks
> david jencks
> 
> On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:
> 
>> Trunk build failed with this error when building a new module Geronimo Framework, Feature :: DS and Metatype
>> 
>>  [INFO] Internal error in the plugin manager executing goal 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor': Unable to find the mojo 'features-generate-descriptor' (or one of its required components) in the plugin 'org.apache.karaf.tooling:karaf-maven-plugin'
>>  Component descriptor cannot be found in the component repository: org.sonatype.aether.RepositorySystem.
>> 
>> 
>> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com> wrote:
>> BTW, to get the regions/isolation stuff working I think we are going to need to replace our use of BundleListener/SynchronousBundleListener with the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need also change from ConfigurationActivator to an extender pattern.  I'd guess the ConfigurationActivator functionality could be moved to DependencyManager rather than having an additional tracker.
>> 
>> thanks
>> david jencks
>> 
>> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>> 
>>> OK, I just committed this stuff, with reference to GERONIMO-6240.
>>> 
>>> Some more hints....
>>> 
>>> I can build all the way through with 
>>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>>> 
>>> I can start karaf after setting
>>> 
>>> export JAVA_MAX_MEM=2048m
>>> export JAVA_MAX_PERM_MEM=512m
>>> 
>>> The car packaging is set up to stop and wait if it gets stuck.  In an earlier version of this you'd get the karaf console and you could use karaf commands to investigate what was going on.  For some reason this isn't working now.  If you get into this situation, you need to kill the maven java process some way.  Usually setting a breakpoint at DependencyManager line 571 will show you a bundle that has a resolution problem that you can then fix.
>>> 
>>> The problem with the console deploy-type commands I think relates to using the karaf RMIRegistry.  I'm going to modify it so it includes the port as a service property, then we can look for the osgi service and get its port instead of the port gbean attribute.
>>> 
>>> thanks
>>> david jencks
>>> 
>>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>>> 
>>>> more not-yet-working inline
>>>> 
>>>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>>> 
>>>>> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
>>>>> 
>>>>> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
>>>>> 
>>>>> The modules that don't start are:
>>>>> 
>>>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
>>>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>>>> 
>>>>> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
>>>>> 
>>>>> 
>>>>> Here are some of the changes:
>>>>> 
>>>>> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
>>>>> 
>>>>> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
>>>>> 
>>>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>>>> 
>>>>> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
>>>>> 
>>>>> Some other things that are not working yet:
>>>>> 
>>>>> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
>>>>> 
>>>>> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
>>>>> 
>>>>> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
>>>> 
>>>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec jars as bundles.    According to http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.html even if you do get them to work (as we seem to have up to now by not exposing the packages from the framework) that breaks other stuff.  I think we need to investigate the karaf-activator stuff guillaume wrote and adapt our specs to use it.  At the moment I have the framework lying and claiming later versions for the xmlstream and jaxb packages.  I haven't found any documentation for karaf-activator yet.
>>>> 
>>>> -- the build uses a lot more memory.  I typically run out of permgen twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
>>>> 
>>>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo scripts.  Again, I have to increase memory settings for the server to fully start.
>>>> 
>>>>> 
>>>>> 
>>>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>>>> 
>>>>> Many thanks
>>>>> david jencks
>>>>> 
>>>> 
>>>> david jencks
>>> 
>> 
>> 
>> 
>> 
>> -- 
>> Thanks!
>> 
>> Regards, Forrest
>> 
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 


Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
On Wed, Jan 4, 2012 at 5:39 PM, Forrest Xia <fo...@gmail.com> wrote:

>
>
> On Wed, Jan 4, 2012 at 5:32 PM, Forrest Xia <fo...@gmail.com> wrote:
>
>> I got some time to try the trunk change locally after G 2.1.8 release
>> stuffs are basically done :-)
>>
>> Several findings about the trunk changes:
>> 1. The server trunk can only be compiled with Maven 3, that's the reason
>> it failed to compile in the TCK environment(the maven version used in TCK
>> env is 2.2.1). I will update the TCK env in the coming days.
>> 2. The testsuite cannot be executed since geronimo-maven-plugin cannot
>> launch the server now. This issue will also block TCK execution.
>> 3. The command line interfaces has big changes, I cannot find
>> startup/shutdown/geronimo scripts now. I do not look into the changes
>> further, so I even don't know how to launch the server now.
>>
> Sorry, I reread the mail thread and got known that how to start the server
> now: bin/karaf -l
>
Hit this exception when I tried on my ubuntu box:

geronimo> Booting Geronimo Kernel (in Java 1.6.0_29)...
Module  1/62
org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car
Server Startup failed

org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.framework/j2ee-system/3.0-SNAPSHOT/car failed
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:803)
    at
org.apache.geronimo.system.main.EmbeddedDaemon$1.run(EmbeddedDaemon.java:265)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown start exception
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:527)
    at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:286)
    at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:787)
    ... 1 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Getter
method not found Attribute Name: GBeanInfo, Type: class
org.apache.geronimo.gbean.GBeanInfo, GBeanInstance:
org.apache.geronimo.system.configuration.LocalAttributeManager
    at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:252)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:396)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:266)
    at
org.apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:431)
    at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:452)
    ... 3 more
Caused by: java.lang.NoSuchMethodException:
org.apache.geronimo.system.configuration.LocalAttributeManager.getGBeanInfo()
    at java.lang.Class.getMethod(Class.java:1605)
    at
org.apache.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:237)
    ... 7 more


>
>> So generally, I think we need a introduction about how to use the trunk
>> build now.
>>
>>
>> On Thu, Dec 22, 2011 at 5:14 PM, Forrest Xia <fo...@gmail.com> wrote:
>>
>>>
>>>
>>> On Thu, Dec 22, 2011 at 2:27 AM, David Jencks <da...@yahoo.com>wrote:
>>>
>>>> I pushed a karaf snapshot.... maybe that will help?  I don't see this
>>>> problem locally.
>>>>
>>> No help for server build in AHP, I will try it locally. thanks!
>>>
>>>
>>>>
>>>> thanks
>>>> david jencks
>>>>
>>>> On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:
>>>>
>>>> Trunk build failed with this error when building a new module *Geronimo
>>>> Framework, Feature :: DS and Metatype*
>>>>
>>>>  [INFO] Internal error in the plugin manager executing goal
>>>> 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor':
>>>> Unable to find the mojo 'features-generate-descriptor' (or one of its
>>>> required components) in the plugin
>>>> 'org.apache.karaf.tooling:karaf-maven-plugin'
>>>>  Component descriptor cannot be found in the component repository:
>>>> org.sonatype.aether.RepositorySystem.
>>>>
>>>>
>>>> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com>wrote:
>>>>
>>>>> BTW, to get the regions/isolation stuff working I think we are going
>>>>> to need to replace our use of BundleListener/SynchronousBundleListener with
>>>>> the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need
>>>>> also change from ConfigurationActivator to an extender pattern.  I'd guess
>>>>> the ConfigurationActivator functionality could be moved to
>>>>> DependencyManager rather than having an additional tracker.
>>>>>
>>>>> thanks
>>>>> david jencks
>>>>>
>>>>> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>>>>>
>>>>> OK, I just committed this stuff, with reference to GERONIMO-6240<https://issues.apache.org/jira/browse/GERONIMO-6240>
>>>>> .
>>>>>
>>>>> Some more hints....
>>>>>
>>>>> I can build all the way through with
>>>>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>>>>>
>>>>> I can start karaf after setting
>>>>>
>>>>> export JAVA_MAX_MEM=2048m
>>>>> export JAVA_MAX_PERM_MEM=512m
>>>>>
>>>>> The car packaging is set up to stop and wait if it gets stuck.  In an
>>>>> earlier version of this you'd get the karaf console and you could use karaf
>>>>> commands to investigate what was going on.  For some reason this isn't
>>>>> working now.  If you get into this situation, you need to kill the maven
>>>>> java process some way.  Usually setting a breakpoint at DependencyManager
>>>>> line 571 will show you a bundle that has a resolution problem that you can
>>>>> then fix.
>>>>>
>>>>> The problem with the console deploy-type commands I think relates to
>>>>> using the karaf RMIRegistry.  I'm going to modify it so it includes the
>>>>> port as a service property, then we can look for the osgi service and get
>>>>> its port instead of the port gbean attribute.
>>>>>
>>>>> thanks
>>>>> david jencks
>>>>>
>>>>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>>>>>
>>>>> more not-yet-working inline
>>>>>
>>>>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>>>>
>>>>> I've been spending a lot of time working to rebase geronimo on karaf 3
>>>>> so we can have a maintainable future and get stuff like osgi 4.3, up to
>>>>> date aries components, and the experimental region support now in karaf.
>>>>>
>>>>>
>>>>> After a lot of work I have everything except clustering building and
>>>>> after turning off a couple problematic modules the tomcat-javaee6 server
>>>>> starts and the web admin console appears to work at least a little bit.
>>>>>   I'd like a little vacation this year and would like to commit this work
>>>>> first so that others can help with the loose ends if they like.  I'll
>>>>> probably be around to answer questions in any case.
>>>>>
>>>>>
>>>>> The modules that don't start are:
>>>>>
>>>>>
>>>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting
>>>>> evaluated at all.  I don't know if this is an xbean-blueprint problem or an
>>>>> aries blueprint problem or a side effect of running in geronimo.
>>>>>
>>>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>>>>
>>>>>
>>>>> client-deployer.  I think this is a pretty simple gbean name problem
>>>>> but I haven't looked into it.
>>>>>
>>>>>
>>>>>
>>>>> Here are some of the changes:
>>>>>
>>>>>
>>>>> -- assemble the server using a combination of karaf assembly from
>>>>> features and kars and geronimo assembly from geronimo plugins.  We now use
>>>>> the same base karaf assembly stuff as the normal default full karaf
>>>>> assembly (except I might have left out the spring feature repository).
>>>>>
>>>>>
>>>>> -- basic geronimo components such as the kernel, configuration
>>>>> manager, dependency manager, deployer, and service config builder are set
>>>>> up as osgi declarative services so they start without any geronimo
>>>>> configuration.  They are generally configured through config admin as
>>>>> appropriate.  Most of these also have gbean wrappers so they can be
>>>>> accessed through gbean references.
>>>>>
>>>>>
>>>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>>>>
>>>>>
>>>>> -- I think I'm using the karaf remote jmx security rather than ours.
>>>>>  The capabilities are similar but not identical.
>>>>>
>>>>>
>>>>> Some other things that are not working yet:
>>>>>
>>>>>
>>>>> -- The (gogo) geronimo console commands that work through "remote"
>>>>> gbean proxies don't work AFAIK.  Probably one way to fix this would be to
>>>>> expose some more of the DS components using gbean wrappers, but I haven't
>>>>> looked into this yet.
>>>>>
>>>>>
>>>>> -- the app client (as well as the client-deployer) is not working yet
>>>>> at all.  We may be able to use command line args to tell the EmbeddedDaemon
>>>>> it's an app client, or possibly not.  We may be able to use a karaf
>>>>> instance to supply different ConfigAdmin settings to e.g. the local
>>>>> attribute manager to convince it it's an app client.  Similarly the
>>>>> separate console-like things presumably won't work either.
>>>>>
>>>>>
>>>>> -- the EditableConfigurationManager needs to be replaced by a separate
>>>>> component that edits the configuration it gets from the normal
>>>>> configuration manager.  I think this affects some part of the admin console.
>>>>>
>>>>>
>>>>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
>>>>> jars as bundles.    According to
>>>>> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
>>>>> exposing the packages from the framework) that breaks other stuff.  I think
>>>>> we need to investigate the karaf-activator stuff guillaume wrote and adapt
>>>>> our specs to use it.  At the moment I have the framework lying and claiming
>>>>> later versions for the xmlstream and jaxb packages.  I haven't found any
>>>>> documentation for karaf-activator yet.
>>>>>
>>>>> -- the build uses a lot more memory.  I typically run out of permgen
>>>>> twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m
>>>>> -Xmx2048m
>>>>>
>>>>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
>>>>> scripts.  Again, I have to increase memory settings for the server to fully
>>>>> start.
>>>>>
>>>>>
>>>>>
>>>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>>>>
>>>>>
>>>>> Many thanks
>>>>>
>>>>> david jencks
>>>>>
>>>>>
>>>>>
>>>>> david jencks
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks!
>>>>
>>>> Regards, Forrest
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks!
>>>
>>> Regards, Forrest
>>>
>>>
>>
>>
>> --
>> Thanks!
>>
>> Regards, Forrest
>>
>>
>
>
> --
> Thanks!
>
> Regards, Forrest
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
On Wed, Jan 4, 2012 at 5:32 PM, Forrest Xia <fo...@gmail.com> wrote:

> I got some time to try the trunk change locally after G 2.1.8 release
> stuffs are basically done :-)
>
> Several findings about the trunk changes:
> 1. The server trunk can only be compiled with Maven 3, that's the reason
> it failed to compile in the TCK environment(the maven version used in TCK
> env is 2.2.1). I will update the TCK env in the coming days.
> 2. The testsuite cannot be executed since geronimo-maven-plugin cannot
> launch the server now. This issue will also block TCK execution.
> 3. The command line interfaces has big changes, I cannot find
> startup/shutdown/geronimo scripts now. I do not look into the changes
> further, so I even don't know how to launch the server now.
>
Sorry, I reread the mail thread and got known that how to start the server
now: bin/karaf -l

>
> So generally, I think we need a introduction about how to use the trunk
> build now.
>
>
> On Thu, Dec 22, 2011 at 5:14 PM, Forrest Xia <fo...@gmail.com> wrote:
>
>>
>>
>> On Thu, Dec 22, 2011 at 2:27 AM, David Jencks <da...@yahoo.com>wrote:
>>
>>> I pushed a karaf snapshot.... maybe that will help?  I don't see this
>>> problem locally.
>>>
>> No help for server build in AHP, I will try it locally. thanks!
>>
>>
>>>
>>> thanks
>>> david jencks
>>>
>>> On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:
>>>
>>> Trunk build failed with this error when building a new module *Geronimo
>>> Framework, Feature :: DS and Metatype*
>>>
>>>  [INFO] Internal error in the plugin manager executing goal
>>> 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor':
>>> Unable to find the mojo 'features-generate-descriptor' (or one of its
>>> required components) in the plugin
>>> 'org.apache.karaf.tooling:karaf-maven-plugin'
>>>  Component descriptor cannot be found in the component repository:
>>> org.sonatype.aether.RepositorySystem.
>>>
>>>
>>> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com>wrote:
>>>
>>>> BTW, to get the regions/isolation stuff working I think we are going to
>>>> need to replace our use of BundleListener/SynchronousBundleListener with
>>>> the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need
>>>> also change from ConfigurationActivator to an extender pattern.  I'd guess
>>>> the ConfigurationActivator functionality could be moved to
>>>> DependencyManager rather than having an additional tracker.
>>>>
>>>> thanks
>>>> david jencks
>>>>
>>>> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>>>>
>>>> OK, I just committed this stuff, with reference to GERONIMO-6240<https://issues.apache.org/jira/browse/GERONIMO-6240>
>>>> .
>>>>
>>>> Some more hints....
>>>>
>>>> I can build all the way through with
>>>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>>>>
>>>> I can start karaf after setting
>>>>
>>>> export JAVA_MAX_MEM=2048m
>>>> export JAVA_MAX_PERM_MEM=512m
>>>>
>>>> The car packaging is set up to stop and wait if it gets stuck.  In an
>>>> earlier version of this you'd get the karaf console and you could use karaf
>>>> commands to investigate what was going on.  For some reason this isn't
>>>> working now.  If you get into this situation, you need to kill the maven
>>>> java process some way.  Usually setting a breakpoint at DependencyManager
>>>> line 571 will show you a bundle that has a resolution problem that you can
>>>> then fix.
>>>>
>>>> The problem with the console deploy-type commands I think relates to
>>>> using the karaf RMIRegistry.  I'm going to modify it so it includes the
>>>> port as a service property, then we can look for the osgi service and get
>>>> its port instead of the port gbean attribute.
>>>>
>>>> thanks
>>>> david jencks
>>>>
>>>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>>>>
>>>> more not-yet-working inline
>>>>
>>>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>>>
>>>> I've been spending a lot of time working to rebase geronimo on karaf 3
>>>> so we can have a maintainable future and get stuff like osgi 4.3, up to
>>>> date aries components, and the experimental region support now in karaf.
>>>>
>>>>
>>>> After a lot of work I have everything except clustering building and
>>>> after turning off a couple problematic modules the tomcat-javaee6 server
>>>> starts and the web admin console appears to work at least a little bit.
>>>>   I'd like a little vacation this year and would like to commit this work
>>>> first so that others can help with the loose ends if they like.  I'll
>>>> probably be around to answer questions in any case.
>>>>
>>>>
>>>> The modules that don't start are:
>>>>
>>>>
>>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated
>>>> at all.  I don't know if this is an xbean-blueprint problem or an aries
>>>> blueprint problem or a side effect of running in geronimo.
>>>>
>>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>>>
>>>>
>>>> client-deployer.  I think this is a pretty simple gbean name problem
>>>> but I haven't looked into it.
>>>>
>>>>
>>>>
>>>> Here are some of the changes:
>>>>
>>>>
>>>> -- assemble the server using a combination of karaf assembly from
>>>> features and kars and geronimo assembly from geronimo plugins.  We now use
>>>> the same base karaf assembly stuff as the normal default full karaf
>>>> assembly (except I might have left out the spring feature repository).
>>>>
>>>>
>>>> -- basic geronimo components such as the kernel, configuration manager,
>>>> dependency manager, deployer, and service config builder are set up as osgi
>>>> declarative services so they start without any geronimo configuration.
>>>>  They are generally configured through config admin as appropriate.  Most
>>>> of these also have gbean wrappers so they can be accessed through gbean
>>>> references.
>>>>
>>>>
>>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>>>
>>>>
>>>> -- I think I'm using the karaf remote jmx security rather than ours.
>>>>  The capabilities are similar but not identical.
>>>>
>>>>
>>>> Some other things that are not working yet:
>>>>
>>>>
>>>> -- The (gogo) geronimo console commands that work through "remote"
>>>> gbean proxies don't work AFAIK.  Probably one way to fix this would be to
>>>> expose some more of the DS components using gbean wrappers, but I haven't
>>>> looked into this yet.
>>>>
>>>>
>>>> -- the app client (as well as the client-deployer) is not working yet
>>>> at all.  We may be able to use command line args to tell the EmbeddedDaemon
>>>> it's an app client, or possibly not.  We may be able to use a karaf
>>>> instance to supply different ConfigAdmin settings to e.g. the local
>>>> attribute manager to convince it it's an app client.  Similarly the
>>>> separate console-like things presumably won't work either.
>>>>
>>>>
>>>> -- the EditableConfigurationManager needs to be replaced by a separate
>>>> component that edits the configuration it gets from the normal
>>>> configuration manager.  I think this affects some part of the admin console.
>>>>
>>>>
>>>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
>>>> jars as bundles.    According to
>>>> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
>>>> exposing the packages from the framework) that breaks other stuff.  I think
>>>> we need to investigate the karaf-activator stuff guillaume wrote and adapt
>>>> our specs to use it.  At the moment I have the framework lying and claiming
>>>> later versions for the xmlstream and jaxb packages.  I haven't found any
>>>> documentation for karaf-activator yet.
>>>>
>>>> -- the build uses a lot more memory.  I typically run out of permgen
>>>> twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m
>>>> -Xmx2048m
>>>>
>>>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
>>>> scripts.  Again, I have to increase memory settings for the server to fully
>>>> start.
>>>>
>>>>
>>>>
>>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>>>
>>>>
>>>> Many thanks
>>>>
>>>> david jencks
>>>>
>>>>
>>>>
>>>> david jencks
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks!
>>>
>>> Regards, Forrest
>>>
>>>
>>>
>>
>>
>> --
>> Thanks!
>>
>> Regards, Forrest
>>
>>
>
>
> --
> Thanks!
>
> Regards, Forrest
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
I got some time to try the trunk change locally after G 2.1.8 release
stuffs are basically done :-)

Several findings about the trunk changes:
1. The server trunk can only be compiled with Maven 3, that's the reason it
failed to compile in the TCK environment(the maven version used in TCK env
is 2.2.1). I will update the TCK env in the coming days.
2. The testsuite cannot be executed since geronimo-maven-plugin cannot
launch the server now. This issue will also block TCK execution.
3. The command line interfaces has big changes, I cannot find
startup/shutdown/geronimo scripts now. I do not look into the changes
further, so I even don't know how to launch the server now.

So generally, I think we need a introduction about how to use the trunk
build now.

On Thu, Dec 22, 2011 at 5:14 PM, Forrest Xia <fo...@gmail.com> wrote:

>
>
> On Thu, Dec 22, 2011 at 2:27 AM, David Jencks <da...@yahoo.com>wrote:
>
>> I pushed a karaf snapshot.... maybe that will help?  I don't see this
>> problem locally.
>>
> No help for server build in AHP, I will try it locally. thanks!
>
>
>>
>> thanks
>> david jencks
>>
>> On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:
>>
>> Trunk build failed with this error when building a new module *Geronimo
>> Framework, Feature :: DS and Metatype*
>>
>>  [INFO] Internal error in the plugin manager executing goal
>> 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor':
>> Unable to find the mojo 'features-generate-descriptor' (or one of its
>> required components) in the plugin
>> 'org.apache.karaf.tooling:karaf-maven-plugin'
>>  Component descriptor cannot be found in the component repository:
>> org.sonatype.aether.RepositorySystem.
>>
>>
>> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com>wrote:
>>
>>> BTW, to get the regions/isolation stuff working I think we are going to
>>> need to replace our use of BundleListener/SynchronousBundleListener with
>>> the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need
>>> also change from ConfigurationActivator to an extender pattern.  I'd guess
>>> the ConfigurationActivator functionality could be moved to
>>> DependencyManager rather than having an additional tracker.
>>>
>>> thanks
>>> david jencks
>>>
>>> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>>>
>>> OK, I just committed this stuff, with reference to GERONIMO-6240<https://issues.apache.org/jira/browse/GERONIMO-6240>
>>> .
>>>
>>> Some more hints....
>>>
>>> I can build all the way through with
>>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>>>
>>> I can start karaf after setting
>>>
>>> export JAVA_MAX_MEM=2048m
>>> export JAVA_MAX_PERM_MEM=512m
>>>
>>> The car packaging is set up to stop and wait if it gets stuck.  In an
>>> earlier version of this you'd get the karaf console and you could use karaf
>>> commands to investigate what was going on.  For some reason this isn't
>>> working now.  If you get into this situation, you need to kill the maven
>>> java process some way.  Usually setting a breakpoint at DependencyManager
>>> line 571 will show you a bundle that has a resolution problem that you can
>>> then fix.
>>>
>>> The problem with the console deploy-type commands I think relates to
>>> using the karaf RMIRegistry.  I'm going to modify it so it includes the
>>> port as a service property, then we can look for the osgi service and get
>>> its port instead of the port gbean attribute.
>>>
>>> thanks
>>> david jencks
>>>
>>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>>>
>>> more not-yet-working inline
>>>
>>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>>
>>> I've been spending a lot of time working to rebase geronimo on karaf 3
>>> so we can have a maintainable future and get stuff like osgi 4.3, up to
>>> date aries components, and the experimental region support now in karaf.
>>>
>>>
>>> After a lot of work I have everything except clustering building and
>>> after turning off a couple problematic modules the tomcat-javaee6 server
>>> starts and the web admin console appears to work at least a little bit.
>>>   I'd like a little vacation this year and would like to commit this work
>>> first so that others can help with the loose ends if they like.  I'll
>>> probably be around to answer questions in any case.
>>>
>>>
>>> The modules that don't start are:
>>>
>>>
>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated
>>> at all.  I don't know if this is an xbean-blueprint problem or an aries
>>> blueprint problem or a side effect of running in geronimo.
>>>
>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>>
>>>
>>> client-deployer.  I think this is a pretty simple gbean name problem but
>>> I haven't looked into it.
>>>
>>>
>>>
>>> Here are some of the changes:
>>>
>>>
>>> -- assemble the server using a combination of karaf assembly from
>>> features and kars and geronimo assembly from geronimo plugins.  We now use
>>> the same base karaf assembly stuff as the normal default full karaf
>>> assembly (except I might have left out the spring feature repository).
>>>
>>>
>>> -- basic geronimo components such as the kernel, configuration manager,
>>> dependency manager, deployer, and service config builder are set up as osgi
>>> declarative services so they start without any geronimo configuration.
>>>  They are generally configured through config admin as appropriate.  Most
>>> of these also have gbean wrappers so they can be accessed through gbean
>>> references.
>>>
>>>
>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>>
>>>
>>> -- I think I'm using the karaf remote jmx security rather than ours.
>>>  The capabilities are similar but not identical.
>>>
>>>
>>> Some other things that are not working yet:
>>>
>>>
>>> -- The (gogo) geronimo console commands that work through "remote" gbean
>>> proxies don't work AFAIK.  Probably one way to fix this would be to expose
>>> some more of the DS components using gbean wrappers, but I haven't looked
>>> into this yet.
>>>
>>>
>>> -- the app client (as well as the client-deployer) is not working yet at
>>> all.  We may be able to use command line args to tell the EmbeddedDaemon
>>> it's an app client, or possibly not.  We may be able to use a karaf
>>> instance to supply different ConfigAdmin settings to e.g. the local
>>> attribute manager to convince it it's an app client.  Similarly the
>>> separate console-like things presumably won't work either.
>>>
>>>
>>> -- the EditableConfigurationManager needs to be replaced by a separate
>>> component that edits the configuration it gets from the normal
>>> configuration manager.  I think this affects some part of the admin console.
>>>
>>>
>>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
>>> jars as bundles.    According to
>>> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
>>> exposing the packages from the framework) that breaks other stuff.  I think
>>> we need to investigate the karaf-activator stuff guillaume wrote and adapt
>>> our specs to use it.  At the moment I have the framework lying and claiming
>>> later versions for the xmlstream and jaxb packages.  I haven't found any
>>> documentation for karaf-activator yet.
>>>
>>> -- the build uses a lot more memory.  I typically run out of permgen
>>> twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m
>>> -Xmx2048m
>>>
>>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
>>> scripts.  Again, I have to increase memory settings for the server to fully
>>> start.
>>>
>>>
>>>
>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>>
>>>
>>> Many thanks
>>>
>>> david jencks
>>>
>>>
>>>
>>> david jencks
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Thanks!
>>
>> Regards, Forrest
>>
>>
>>
>
>
> --
> Thanks!
>
> Regards, Forrest
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
On Thu, Dec 22, 2011 at 2:27 AM, David Jencks <da...@yahoo.com>wrote:

> I pushed a karaf snapshot.... maybe that will help?  I don't see this
> problem locally.
>
No help for server build in AHP, I will try it locally. thanks!


>
> thanks
> david jencks
>
> On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:
>
> Trunk build failed with this error when building a new module *Geronimo
> Framework, Feature :: DS and Metatype*
>
>  [INFO] Internal error in the plugin manager executing goal
> 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor':
> Unable to find the mojo 'features-generate-descriptor' (or one of its
> required components) in the plugin
> 'org.apache.karaf.tooling:karaf-maven-plugin'
>  Component descriptor cannot be found in the component repository:
> org.sonatype.aether.RepositorySystem.
>
>
> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com>wrote:
>
>> BTW, to get the regions/isolation stuff working I think we are going to
>> need to replace our use of BundleListener/SynchronousBundleListener with
>> the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need
>> also change from ConfigurationActivator to an extender pattern.  I'd guess
>> the ConfigurationActivator functionality could be moved to
>> DependencyManager rather than having an additional tracker.
>>
>> thanks
>> david jencks
>>
>> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>>
>> OK, I just committed this stuff, with reference to GERONIMO-6240<https://issues.apache.org/jira/browse/GERONIMO-6240>
>> .
>>
>> Some more hints....
>>
>> I can build all the way through with
>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>>
>> I can start karaf after setting
>>
>> export JAVA_MAX_MEM=2048m
>> export JAVA_MAX_PERM_MEM=512m
>>
>> The car packaging is set up to stop and wait if it gets stuck.  In an
>> earlier version of this you'd get the karaf console and you could use karaf
>> commands to investigate what was going on.  For some reason this isn't
>> working now.  If you get into this situation, you need to kill the maven
>> java process some way.  Usually setting a breakpoint at DependencyManager
>> line 571 will show you a bundle that has a resolution problem that you can
>> then fix.
>>
>> The problem with the console deploy-type commands I think relates to
>> using the karaf RMIRegistry.  I'm going to modify it so it includes the
>> port as a service property, then we can look for the osgi service and get
>> its port instead of the port gbean attribute.
>>
>> thanks
>> david jencks
>>
>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>>
>> more not-yet-working inline
>>
>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>
>> I've been spending a lot of time working to rebase geronimo on karaf 3 so
>> we can have a maintainable future and get stuff like osgi 4.3, up to date
>> aries components, and the experimental region support now in karaf.
>>
>>
>> After a lot of work I have everything except clustering building and
>> after turning off a couple problematic modules the tomcat-javaee6 server
>> starts and the web admin console appears to work at least a little bit.
>>   I'd like a little vacation this year and would like to commit this work
>> first so that others can help with the loose ends if they like.  I'll
>> probably be around to answer questions in any case.
>>
>>
>> The modules that don't start are:
>>
>>
>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated
>> at all.  I don't know if this is an xbean-blueprint problem or an aries
>> blueprint problem or a side effect of running in geronimo.
>>
>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>
>>
>> client-deployer.  I think this is a pretty simple gbean name problem but
>> I haven't looked into it.
>>
>>
>>
>> Here are some of the changes:
>>
>>
>> -- assemble the server using a combination of karaf assembly from
>> features and kars and geronimo assembly from geronimo plugins.  We now use
>> the same base karaf assembly stuff as the normal default full karaf
>> assembly (except I might have left out the spring feature repository).
>>
>>
>> -- basic geronimo components such as the kernel, configuration manager,
>> dependency manager, deployer, and service config builder are set up as osgi
>> declarative services so they start without any geronimo configuration.
>>  They are generally configured through config admin as appropriate.  Most
>> of these also have gbean wrappers so they can be accessed through gbean
>> references.
>>
>>
>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>
>>
>> -- I think I'm using the karaf remote jmx security rather than ours.  The
>> capabilities are similar but not identical.
>>
>>
>> Some other things that are not working yet:
>>
>>
>> -- The (gogo) geronimo console commands that work through "remote" gbean
>> proxies don't work AFAIK.  Probably one way to fix this would be to expose
>> some more of the DS components using gbean wrappers, but I haven't looked
>> into this yet.
>>
>>
>> -- the app client (as well as the client-deployer) is not working yet at
>> all.  We may be able to use command line args to tell the EmbeddedDaemon
>> it's an app client, or possibly not.  We may be able to use a karaf
>> instance to supply different ConfigAdmin settings to e.g. the local
>> attribute manager to convince it it's an app client.  Similarly the
>> separate console-like things presumably won't work either.
>>
>>
>> -- the EditableConfigurationManager needs to be replaced by a separate
>> component that edits the configuration it gets from the normal
>> configuration manager.  I think this affects some part of the admin console.
>>
>>
>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
>> jars as bundles.    According to
>> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
>> exposing the packages from the framework) that breaks other stuff.  I think
>> we need to investigate the karaf-activator stuff guillaume wrote and adapt
>> our specs to use it.  At the moment I have the framework lying and claiming
>> later versions for the xmlstream and jaxb packages.  I haven't found any
>> documentation for karaf-activator yet.
>>
>> -- the build uses a lot more memory.  I typically run out of permgen
>> twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m
>> -Xmx2048m
>>
>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
>> scripts.  Again, I have to increase memory settings for the server to fully
>> start.
>>
>>
>>
>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>
>>
>> Many thanks
>>
>> david jencks
>>
>>
>>
>> david jencks
>>
>>
>>
>>
>
>
> --
> Thanks!
>
> Regards, Forrest
>
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
I pushed a karaf snapshot.... maybe that will help?  I don't see this problem locally.

thanks
david jencks

On Dec 21, 2011, at 8:18 AM, Forrest Xia wrote:

> Trunk build failed with this error when building a new module Geronimo Framework, Feature :: DS and Metatype
> 
>  [INFO] Internal error in the plugin manager executing goal 'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor': Unable to find the mojo 'features-generate-descriptor' (or one of its required components) in the plugin 'org.apache.karaf.tooling:karaf-maven-plugin'
>  Component descriptor cannot be found in the component repository: org.sonatype.aether.RepositorySystem.
> 
> 
> On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com> wrote:
> BTW, to get the regions/isolation stuff working I think we are going to need to replace our use of BundleListener/SynchronousBundleListener with the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need also change from ConfigurationActivator to an extender pattern.  I'd guess the ConfigurationActivator functionality could be moved to DependencyManager rather than having an additional tracker.
> 
> thanks
> david jencks
> 
> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
> 
>> OK, I just committed this stuff, with reference to GERONIMO-6240.
>> 
>> Some more hints....
>> 
>> I can build all the way through with 
>> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>> 
>> I can start karaf after setting
>> 
>> export JAVA_MAX_MEM=2048m
>> export JAVA_MAX_PERM_MEM=512m
>> 
>> The car packaging is set up to stop and wait if it gets stuck.  In an earlier version of this you'd get the karaf console and you could use karaf commands to investigate what was going on.  For some reason this isn't working now.  If you get into this situation, you need to kill the maven java process some way.  Usually setting a breakpoint at DependencyManager line 571 will show you a bundle that has a resolution problem that you can then fix.
>> 
>> The problem with the console deploy-type commands I think relates to using the karaf RMIRegistry.  I'm going to modify it so it includes the port as a service property, then we can look for the osgi service and get its port instead of the port gbean attribute.
>> 
>> thanks
>> david jencks
>> 
>> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>> 
>>> more not-yet-working inline
>>> 
>>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>>> 
>>>> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
>>>> 
>>>> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
>>>> 
>>>> The modules that don't start are:
>>>> 
>>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
>>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>>> 
>>>> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
>>>> 
>>>> 
>>>> Here are some of the changes:
>>>> 
>>>> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
>>>> 
>>>> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
>>>> 
>>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>>> 
>>>> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
>>>> 
>>>> Some other things that are not working yet:
>>>> 
>>>> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
>>>> 
>>>> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
>>>> 
>>>> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
>>> 
>>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec jars as bundles.    According to http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.html even if you do get them to work (as we seem to have up to now by not exposing the packages from the framework) that breaks other stuff.  I think we need to investigate the karaf-activator stuff guillaume wrote and adapt our specs to use it.  At the moment I have the framework lying and claiming later versions for the xmlstream and jaxb packages.  I haven't found any documentation for karaf-activator yet.
>>> 
>>> -- the build uses a lot more memory.  I typically run out of permgen twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
>>> 
>>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo scripts.  Again, I have to increase memory settings for the server to fully start.
>>> 
>>>> 
>>>> 
>>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>>> 
>>>> Many thanks
>>>> david jencks
>>>> 
>>> 
>>> david jencks
>> 
> 
> 
> 
> 
> -- 
> Thanks!
> 
> Regards, Forrest
> 


Re: Geronimo 3 and karaf 3

Posted by Forrest Xia <fo...@gmail.com>.
Trunk build failed with this error when building a new module *Geronimo
Framework, Feature :: DS and Metatype*

 [INFO] Internal error in the plugin manager executing goal
'org.apache.karaf.tooling:karaf-maven-plugin:3.0.0-SNAPSHOT:features-generate-descriptor':
Unable to find the mojo 'features-generate-descriptor' (or one of its
required components) in the plugin
'org.apache.karaf.tooling:karaf-maven-plugin'
 Component descriptor cannot be found in the component repository:
org.sonatype.aether.RepositorySystem.


On Tue, Dec 20, 2011 at 2:06 PM, David Jencks <da...@yahoo.com>wrote:

> BTW, to get the regions/isolation stuff working I think we are going to
> need to replace our use of BundleListener/SynchronousBundleListener with
> the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need
> also change from ConfigurationActivator to an extender pattern.  I'd guess
> the ConfigurationActivator functionality could be moved to
> DependencyManager rather than having an additional tracker.
>
> thanks
> david jencks
>
> On Dec 20, 2011, at 10:13 AM, David Jencks wrote:
>
> OK, I just committed this stuff, with reference to GERONIMO-6240<https://issues.apache.org/jira/browse/GERONIMO-6240>
> .
>
> Some more hints....
>
> I can build all the way through with
> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
>
> I can start karaf after setting
>
> export JAVA_MAX_MEM=2048m
> export JAVA_MAX_PERM_MEM=512m
>
> The car packaging is set up to stop and wait if it gets stuck.  In an
> earlier version of this you'd get the karaf console and you could use karaf
> commands to investigate what was going on.  For some reason this isn't
> working now.  If you get into this situation, you need to kill the maven
> java process some way.  Usually setting a breakpoint at DependencyManager
> line 571 will show you a bundle that has a resolution problem that you can
> then fix.
>
> The problem with the console deploy-type commands I think relates to using
> the karaf RMIRegistry.  I'm going to modify it so it includes the port as a
> service property, then we can look for the osgi service and get its port
> instead of the port gbean attribute.
>
> thanks
> david jencks
>
> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
>
> more not-yet-working inline
>
> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>
> I've been spending a lot of time working to rebase geronimo on karaf 3 so
> we can have a maintainable future and get stuff like osgi 4.3, up to date
> aries components, and the experimental region support now in karaf.
>
>
> After a lot of work I have everything except clustering building and after
> turning off a couple problematic modules the tomcat-javaee6 server starts
> and the web admin console appears to work at least a little bit.   I'd like
> a little vacation this year and would like to commit this work first so
> that others can help with the loose ends if they like.  I'll probably be
> around to answer questions in any case.
>
>
> The modules that don't start are:
>
>
> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at
> all.  I don't know if this is an xbean-blueprint problem or an aries
> blueprint problem or a side effect of running in geronimo.
>
> As a result activemq-ra and tomcat-console-activemq can't be started.
>
>
> client-deployer.  I think this is a pretty simple gbean name problem but I
> haven't looked into it.
>
>
>
> Here are some of the changes:
>
>
> -- assemble the server using a combination of karaf assembly from features
> and kars and geronimo assembly from geronimo plugins.  We now use the same
> base karaf assembly stuff as the normal default full karaf assembly (except
> I might have left out the spring feature repository).
>
>
> -- basic geronimo components such as the kernel, configuration manager,
> dependency manager, deployer, and service config builder are set up as osgi
> declarative services so they start without any geronimo configuration.
>  They are generally configured through config admin as appropriate.  Most
> of these also have gbean wrappers so they can be accessed through gbean
> references.
>
>
> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>
>
> -- I think I'm using the karaf remote jmx security rather than ours.  The
> capabilities are similar but not identical.
>
>
> Some other things that are not working yet:
>
>
> -- The (gogo) geronimo console commands that work through "remote" gbean
> proxies don't work AFAIK.  Probably one way to fix this would be to expose
> some more of the DS components using gbean wrappers, but I haven't looked
> into this yet.
>
>
> -- the app client (as well as the client-deployer) is not working yet at
> all.  We may be able to use command line args to tell the EmbeddedDaemon
> it's an app client, or possibly not.  We may be able to use a karaf
> instance to supply different ConfigAdmin settings to e.g. the local
> attribute manager to convince it it's an app client.  Similarly the
> separate console-like things presumably won't work either.
>
>
> -- the EditableConfigurationManager needs to be replaced by a separate
> component that edits the configuration it gets from the normal
> configuration manager.  I think this affects some part of the admin console.
>
>
> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec
> jars as bundles.    According to
> http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.htmleven if you do get them to work (as we seem to have up to now by not
> exposing the packages from the framework) that breaks other stuff.  I think
> we need to investigate the karaf-activator stuff guillaume wrote and adapt
> our specs to use it.  At the moment I have the framework lying and claiming
> later versions for the xmlstream and jaxb packages.  I haven't found any
> documentation for karaf-activator yet.
>
> -- the build uses a lot more memory.  I typically run out of permgen twice
> during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
>
> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo
> scripts.  Again, I have to increase memory settings for the server to fully
> start.
>
>
>
> I'f there's no strong opposition I'd like to commit this tomorrow.
>
>
> Many thanks
>
> david jencks
>
>
>
> david jencks
>
>
>
>


-- 
Thanks!

Regards, Forrest

Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
BTW, to get the regions/isolation stuff working I think we are going to need to replace our use of BundleListener/SynchronousBundleListener with the (updated-for-4.3) aries RecursiveBundleTracker.  I think we'll need also change from ConfigurationActivator to an extender pattern.  I'd guess the ConfigurationActivator functionality could be moved to DependencyManager rather than having an additional tracker.

thanks
david jencks

On Dec 20, 2011, at 10:13 AM, David Jencks wrote:

> OK, I just committed this stuff, with reference to GERONIMO-6240.
> 
> Some more hints....
> 
> I can build all the way through with 
> MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"
> 
> I can start karaf after setting
> 
> export JAVA_MAX_MEM=2048m
> export JAVA_MAX_PERM_MEM=512m
> 
> The car packaging is set up to stop and wait if it gets stuck.  In an earlier version of this you'd get the karaf console and you could use karaf commands to investigate what was going on.  For some reason this isn't working now.  If you get into this situation, you need to kill the maven java process some way.  Usually setting a breakpoint at DependencyManager line 571 will show you a bundle that has a resolution problem that you can then fix.
> 
> The problem with the console deploy-type commands I think relates to using the karaf RMIRegistry.  I'm going to modify it so it includes the port as a service property, then we can look for the osgi service and get its port instead of the port gbean attribute.
> 
> thanks
> david jencks
> 
> On Dec 19, 2011, at 9:10 PM, David Jencks wrote:
> 
>> more not-yet-working inline
>> 
>> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
>> 
>>> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
>>> 
>>> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
>>> 
>>> The modules that don't start are:
>>> 
>>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
>>> As a result activemq-ra and tomcat-console-activemq can't be started.
>>> 
>>> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
>>> 
>>> 
>>> Here are some of the changes:
>>> 
>>> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
>>> 
>>> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
>>> 
>>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>>> 
>>> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
>>> 
>>> Some other things that are not working yet:
>>> 
>>> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
>>> 
>>> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
>>> 
>>> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
>> 
>> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec jars as bundles.    According to http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.html even if you do get them to work (as we seem to have up to now by not exposing the packages from the framework) that breaks other stuff.  I think we need to investigate the karaf-activator stuff guillaume wrote and adapt our specs to use it.  At the moment I have the framework lying and claiming later versions for the xmlstream and jaxb packages.  I haven't found any documentation for karaf-activator yet.
>> 
>> -- the build uses a lot more memory.  I typically run out of permgen twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
>> 
>> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo scripts.  Again, I have to increase memory settings for the server to fully start.
>> 
>>> 
>>> 
>>> I'f there's no strong opposition I'd like to commit this tomorrow.
>>> 
>>> Many thanks
>>> david jencks
>>> 
>> 
>> david jencks
> 


Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
OK, I just committed this stuff, with reference to GERONIMO-6240.

Some more hints....

I can build all the way through with 
MAVEN_OPTS="-XX:MaxPermSize=2048m -Xms2048m -Xmx4096m"

I can start karaf after setting

export JAVA_MAX_MEM=2048m
export JAVA_MAX_PERM_MEM=512m

The car packaging is set up to stop and wait if it gets stuck.  In an earlier version of this you'd get the karaf console and you could use karaf commands to investigate what was going on.  For some reason this isn't working now.  If you get into this situation, you need to kill the maven java process some way.  Usually setting a breakpoint at DependencyManager line 571 will show you a bundle that has a resolution problem that you can then fix.

The problem with the console deploy-type commands I think relates to using the karaf RMIRegistry.  I'm going to modify it so it includes the port as a service property, then we can look for the osgi service and get its port instead of the port gbean attribute.

thanks
david jencks

On Dec 19, 2011, at 9:10 PM, David Jencks wrote:

> more not-yet-working inline
> 
> On Dec 19, 2011, at 5:08 PM, David Jencks wrote:
> 
>> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
>> 
>> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
>> 
>> The modules that don't start are:
>> 
>> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
>> As a result activemq-ra and tomcat-console-activemq can't be started.
>> 
>> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
>> 
>> 
>> Here are some of the changes:
>> 
>> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
>> 
>> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
>> 
>> -- "geronimo" is started from a DS component, EmbeddedDaemon.
>> 
>> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
>> 
>> Some other things that are not working yet:
>> 
>> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
>> 
>> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
>> 
>> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.
> 
> --I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec jars as bundles.    According to http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.html even if you do get them to work (as we seem to have up to now by not exposing the packages from the framework) that breaks other stuff.  I think we need to investigate the karaf-activator stuff guillaume wrote and adapt our specs to use it.  At the moment I have the framework lying and claiming later versions for the xmlstream and jaxb packages.  I haven't found any documentation for karaf-activator yet.
> 
> -- the build uses a lot more memory.  I typically run out of permgen twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m
> 
> -- startup AFAIK only works as ./bin/karaf -l rather than our geronimo scripts.  Again, I have to increase memory settings for the server to fully start.
> 
>> 
>> 
>> I'f there's no strong opposition I'd like to commit this tomorrow.
>> 
>> Many thanks
>> david jencks
>> 
> 
> david jencks


Re: Geronimo 3 and karaf 3

Posted by David Jencks <da...@yahoo.com>.
more not-yet-working inline

On Dec 19, 2011, at 5:08 PM, David Jencks wrote:

> I've been spending a lot of time working to rebase geronimo on karaf 3 so we can have a maintainable future and get stuff like osgi 4.3, up to date aries components, and the experimental region support now in karaf.
> 
> After a lot of work I have everything except clustering building and after turning off a couple problematic modules the tomcat-javaee6 server starts and the web admin console appears to work at least a little bit.   I'd like a little vacation this year and would like to commit this work first so that others can help with the loose ends if they like.  I'll probably be around to answer questions in any case.
> 
> The modules that don't start are:
> 
> activemq-broker-blueprint.  The ${X + Y} stuff is not getting evaluated at all.  I don't know if this is an xbean-blueprint problem or an aries blueprint problem or a side effect of running in geronimo.
> As a result activemq-ra and tomcat-console-activemq can't be started.
> 
> client-deployer.  I think this is a pretty simple gbean name problem but I haven't looked into it.
> 
> 
> Here are some of the changes:
> 
> -- assemble the server using a combination of karaf assembly from features and kars and geronimo assembly from geronimo plugins.  We now use the same base karaf assembly stuff as the normal default full karaf assembly (except I might have left out the spring feature repository).
> 
> -- basic geronimo components such as the kernel, configuration manager, dependency manager, deployer, and service config builder are set up as osgi declarative services so they start without any geronimo configuration.  They are generally configured through config admin as appropriate.  Most of these also have gbean wrappers so they can be accessed through gbean references.
> 
> -- "geronimo" is started from a DS component, EmbeddedDaemon.
> 
> -- I think I'm using the karaf remote jmx security rather than ours.  The capabilities are similar but not identical.
> 
> Some other things that are not working yet:
> 
> -- The (gogo) geronimo console commands that work through "remote" gbean proxies don't work AFAIK.  Probably one way to fix this would be to expose some more of the DS components using gbean wrappers, but I haven't looked into this yet.
> 
> -- the app client (as well as the client-deployer) is not working yet at all.  We may be able to use command line args to tell the EmbeddedDaemon it's an app client, or possibly not.  We may be able to use a karaf instance to supply different ConfigAdmin settings to e.g. the local attribute manager to convince it it's an app client.  Similarly the separate console-like things presumably won't work either.
> 
> -- the EditableConfigurationManager needs to be replaced by a separate component that edits the configuration it gets from the normal configuration manager.  I think this affects some part of the admin console.

--I couldn't get the xml stream 1.2 and jaxb 2.2 to work with the spec jars as bundles.    According to http://servicemix.396122.n5.nabble.com/DISCUSS-Enhance-specs-to-work-better-with-JRE-td5001108.html even if you do get them to work (as we seem to have up to now by not exposing the packages from the framework) that breaks other stuff.  I think we need to investigate the karaf-activator stuff guillaume wrote and adapt our specs to use it.  At the moment I have the framework lying and claiming later versions for the xmlstream and jaxb packages.  I haven't found any documentation for karaf-activator yet.

-- the build uses a lot more memory.  I typically run out of permgen twice during the build with MAVEN_OPTS =  -XX:MaxPermSize=512m -Xms1024m -Xmx2048m

-- startup AFAIK only works as ./bin/karaf -l rather than our geronimo scripts.  Again, I have to increase memory settings for the server to fully start.

> 
> 
> I'f there's no strong opposition I'd like to commit this tomorrow.
> 
> Many thanks
> david jencks
> 

david jencks