rwengr | 16 Apr 18:48 2014
Picon

No class found in dependency bundles - manifest issue?

I put this post into development because I am trying to create a plugin.
Geronimo 3.0.0 (wasce), Maven 2, JDK 1.6_45.

Using car-maven-plugin I can successfully create a CAR file with
dependencies I want.  When I install the plugin from the web console, I see
all the dependencies.  All the dependencies get installed as bundles.

The plugin loads, but the Geronimo Bean in the module cannot start.

 Exception in thread "DefaultThreadPool 26" java.lang.NoClassDefFoundError:
org/apache/xbean/spring/context/FileSystemXmlApplicationContext

Well, this class (pkg org.apache.xbean.spring.context) is in a dependency
(artifactId=xbean-spring) and xbean-spring-3.1.jar is an installed bundle.

However, if I check in the OSGI manager, the manifiest of this bundle in
Geronimo shows no "Export Package" statement on any of the status views.

The original artifact, xbean-spring-3.1.jar is NOT a bundle; just a POJ.  I
thought Geronimo was suppose to convert normal jar files to bundles.  If the
manifest created does not export anything, then how can anybody use its
contents in Geronimo?  Is a jar file compatible only if it has an original
bundle manifest?

THANKS IN ADVANCE FOR ANY SUGGESTIONS.

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/No-class-found-in-dependency-bundles-manifest-issue-tp3987879.html
Sent from the Development mailing list archive at Nabble.com.

(Continue reading)

rwengr | 11 Apr 21:00 2014
Picon

Cannot load <module> package while installing plugin

Wasce (Ger 3.0.0) Maven 2.2.1 JDK 1.6.0_45

I am able to successfully compile and package a plugin with a module that
implements a Geronimo Bean.  I can create a CAR file with car-maven-plugin. 
The deployment plan and geronimo-plugin.xml look OK.

I try to install the plugin using Web Page administrator tools.  This plugin
is a very simple example.

In the server log, I see the following:

2014-04-10 21:13:12,332 ERROR [PluginInstallerGBean] Unable to load
configuration. 
org.apache.geronimo.kernel.config.LifecycleException: load of
com.packt.plugins/WorldClock/1.0.0/car failed
....
Caused by: org.osgi.framework.BundleException: The bundle
"com.packt.plugins.WorldClock_1.0.0 [585]" could not be resolved. Reason:
Missing Constraint: Import-Package: com.packt.plugins; version="0.0.0"

But, here is the top level of the CAR file:

FOLDER - META-INF
FOLDER - OSGI-INF
WorldClockModule-1.0.0.jar

The contents of the manifest:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
(Continue reading)

rwengr | 10 Apr 01:17 2014
Picon

Class Load Problem - Getter return type in wrong classloader

I am trying to compile and install a plugin (that implements a Geronimo
Bean).  I am using IBM WASCE so I have set my geronimo version set to 3.0.0.

I am able to create and install a bundle for the class that implements the
Geronimo Bean.

I am also able to create a CAR file for the plugin using car-maven-plugin
which creates a suitable looking deployment plan.

Even though I have this dependency when I build the CAR file, it does NOT
get included as part of the deployment plan.  When I try to load the plugin
it gets a class load error because GBeanLifeCycle is missing.

    <dependency>
      <groupId>org.apache.geronimo.framework</groupId>
      <artifactId>geronimo-kernel</artifactId>
      <version>${geronimoVersion}</version>
    </dependency>

    <dependency>
      <groupId>org.apache.geronimo.framework</groupId>
      <artifactId>geronimo-system</artifactId>
      <version>${geronimoVersion}</version>
    </dependency>

So, I used the <EmbedDependency> instruction to force it to be included in
the bundle which is the main module.  The bundle installs OK.

Now, I no longer get a class not found error, but I do get this error.

(Continue reading)

Jarek Gawor | 7 Apr 19:18 2014
Picon

Board Report Time

Hi all,

I created a draft board report for April:
https://cwiki.apache.org/confluence/display/GMOxPMGT/Apache+Geronimo+Board+Report+-+2014-04+-+April

If I missed something please let me know or go ahead and update the
page directly.

The report is due on the 9th (Wednesday).

Thanks,
Jarek

Romain Manni-Bucau | 3 Apr 22:17 2014
Picon

[RESULT] [VOTE] XBean 3.17

Closing this vote with 8 +1s (4 bindings) and no other votes.

I'll publish the binaries ASAP.

Thx to everyone for voting.

Romain Manni-Bucau
Twitter:  <at> rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

2014-04-03 15:30 GMT+02:00 Jarek Gawor <jgawor@...>:
> +1
>
> Jarek
>
> On Mon, Mar 31, 2014 at 3:54 PM, Romain Manni-Bucau
> <rmannibucau@...> wrote:
>> Hi,
>>
>> I'm starting a vote for an xbean 3.17 release.
>>
>> The main change is the removing of asm3 and 4 shades and the
>> replacement with asm5 one to be able to be compatible with java 8.
>>
>> Binaries:
>>
>> https://repository.apache.org/content/repositories/orgapachegeronimo-1000/
>> (yeah this number is awesome ;))
(Continue reading)

Romain Manni-Bucau | 31 Mar 21:54 2014
Picon

[VOTE] XBean 3.17

Hi,

I'm starting a vote for an xbean 3.17 release.

The main change is the removing of asm3 and 4 shades and the
replacement with asm5 one to be able to be compatible with java 8.

Binaries:

https://repository.apache.org/content/repositories/orgapachegeronimo-1000/
(yeah this number is awesome ;))

Tag:

http://svn.apache.org/repos/asf/geronimo/xbean/tags/xbean-3.17/

Hope I didn't do something wrong since I'm not yet really familiar
with releases.

Romain Manni-Bucau
Twitter:  <at> rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

danishrulez | 28 Mar 08:44 2014
Picon

Quick debugging of JSP's doesn't work

I have been trying to set my development environment to allow copy/compile of modified JSP's without the need to reload the entire application.

The Apache documentation is here

I have also tried experimenting with the "modificationTestInterval" setting in the Catalina web.xml file as the help text indicates this value is related to the "development" setting in the same file.

Is there someone here, who has successfully made this work?

Thanks,


View this message in context: Quick debugging of JSP's doesn't work
Sent from the Development mailing list archive at Nabble.com.
Romain Manni-Bucau | 26 Mar 14:05 2014
Picon

asm 5

Hi guys,

do we upgrade xbean shade to asm 5? we'll be mandatory very soon for
openejb, openwebbeans...

Romain Manni-Bucau
Twitter:  <at> rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau

rwengr | 25 Feb 17:30 2014
Picon

Request Geronimo 3 Bean example using annotation

I didn't see anything recent on this topic and the topic straddles the
user/developer boundary so I put it here.  I am trying to convert a 2.1
Geronimo bean to 3.0.1.  It compiles OK, but generates exceptions during
packaging.  Don't want to study Gernonimo 2 for Geronimo 3 specific problem.

My question is:

*Where can I find an example of a non-trivial Geronimo bean top level class
using ANNOTATIONS where the bean has attributes AND the attributes get
values (<config-xml-content> AND the bean also uses <copy-file>?*

It looks like source code for 2.1 bean is missing something and I would like
to use annotations from org.apache.geronimo.gbean.annotation.

The error during packaging I am trying to fix is:

[main] ERROR org.apache.geronimo.deployment.Deployer - Deployment failed due
to  
org.apache.geronimo.gbean.GBeanInfoFactoryException: Cannot create a
GBeanInfo for [org.apache.geronimo.directory.DirectoryGBean], errors:
[org.apache.geronimo.gbean.GBeanInfoFactoryException: Could not get
GBeanInfo from class: org.apache.geronimo.directory.DirectoryGBean,
org.apache.geronimo.gbean.GBeanInfoFactoryException:
org.apache.geronimo.gbean.annotation.GBeanAnnotationException: Missing
default constructor]

It sounds like I a missing a setup component.  

Thanks

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Request-Geronimo-3-Bean-example-using-annotation-tp3987662.html
Sent from the Development mailing list archive at Nabble.com.

Maarten Ectors (JIRA | 23 Feb 08:10 2014
Picon

[jira] [Updated] (GERONIMO-6517) Create a Juju Charm for Geronimo


     [
https://issues.apache.org/jira/browse/GERONIMO-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Ectors updated GERONIMO-6517:
-------------------------------------

    Description: 
Create a Juju Charm for Geronimo in order for users to:
do a one line install (juju quickstart bundle...)
have a one line upgrade (juju upgrade-charm)
instantly scale (juju add-unit)
instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc. (juju add-relation)
More info on Juju Charms at http://juju.ubuntu.com/docs.

  was:
Create a Juju Charm for Geronimo in order for users to:
do a one line install (juju quickstart bundle...)
have a one line upgrade (juju upgrade-charm)
instantly scale (juju add-unit)
instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc.
More info on Juju Charms at http://juju.ubuntu.com/docs.

> Create a Juju Charm for Geronimo
> --------------------------------
>
>                 Key: GERONIMO-6517
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6517
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>            Reporter: Maarten Ectors
>
> Create a Juju Charm for Geronimo in order for users to:
> do a one line install (juju quickstart bundle...)
> have a one line upgrade (juju upgrade-charm)
> instantly scale (juju add-unit)
> instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc. (juju add-relation)
> More info on Juju Charms at http://juju.ubuntu.com/docs.

--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Maarten Ectors (JIRA | 23 Feb 08:06 2014
Picon

[jira] [Updated] (GERONIMO-6517) Create a Juju Charm for Geronimo


     [
https://issues.apache.org/jira/browse/GERONIMO-6517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Ectors updated GERONIMO-6517:
-------------------------------------

    Description: 
Create a Juju Charm for Geronimo in order for users to:
do a one line install (juju quickstart bundle...)
have a one line upgrade (juju upgrade-charm)
instantly scale (juju add-unit)
instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc.
More info on Juju Charms at http://juju.ubuntu.com/docs.

  was:
Create a Juju Charm for Giraph in order for users to:
do a one line install (juju quickstart bundle...)
have a one line upgrade (juju upgrade-charm)
instantly scale (juju add-unit)
instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc.
More info on Juju Charms at http://juju.ubuntu.com/docs.

> Create a Juju Charm for Geronimo
> --------------------------------
>
>                 Key: GERONIMO-6517
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6517
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>            Reporter: Maarten Ectors
>
> Create a Juju Charm for Geronimo in order for users to:
> do a one line install (juju quickstart bundle...)
> have a one line upgrade (juju upgrade-charm)
> instantly scale (juju add-unit)
> instantly integrate with other charms like MySQL, Postgres, Memcache, Cassandra, Hive, HBase, Gitlab,
Jenkins, etc.
> More info on Juju Charms at http://juju.ubuntu.com/docs.

--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


Gmane