geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwengr <>
Subject car-maven-plugin and Geronimo Bean references problem
Date Wed, 26 Mar 2014 23:50:38 GMT
I am packaging my first Geronimo plugin in a CAR file.  I am using

The CAR packaging will not complete successfully.  The essence of the error

Caused by: org.apache.geronimo.common.DeploymentException: No reference
named GeronimoServerInfo in gbean

My deployment plan is shown below.

I think the root cause of the problem is that maven boots the Geronimo
kernel and runs the plugin to do the packaging.  But there will be no
external gbean to reference until I start the plugin on a real instance of
the server; not the maven bootstrapped one.

If I remove the thread from the source code that runs my gbean, packaging is
OK.  But of course, I don't have anything useful.

*How do I make external references available to my plugin when it is being
activated by car-maven-plugin?  Or should I be taking another approach?*

Thanks in advance.


<module xmlns="">
  <gbean name="ServerInfo"
      <attribute name="useSystemProperties">true</attribute>
  <gbean name="DirectoryService"
      <attribute name="configFile">var/directory/server.xml</attribute>
      <attribute name="workingDir">var/directory</attribute>

View this message in context:
Sent from the Users mailing list archive at

View raw message