Jarek,
I agree.... I came to the same conclusion and then saw your email. I
guess any time we see a situation like this we need to look at the
bundles involved for optional imports and the log to see if the bundle
with optional imports gets started sooner than we expect.
many thanks!
david jencks
On Jan 30, 2010, at 5:21 PM, Jarek Gawor wrote:
David,
I'm pretty sure this is caused by revision 902527 and more
specifically http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/j2ee/geronimo-j2ee/pom.xml?r1=901935&r2=902527
.
Here's why:
The transaction configuration loads/starts the HOWLLogGBean which is
loaded from the geronimo-transaction-1_6 bundle. The HOWLLogGBean
extends HOWLLog class which is loaded from the txmanager
geronimo-transaction bundle. That txmanager geronimo-transaction
bundle has an optional import on the howl package. Because the
txmanager geronimo-transaction was added to the j2ee plugin and the
howl bundle isn't installed yet, the txmanager geronimo-transaction
bundle will resolve ok but without the wire for the howl classes. So
an attempt to load HOWLLog class will fail. Later on the howl bundle
will be installed by the connector plugin but at that point txmanager
geronimo-transaction bundle is already resolved so it won't have any
effect on it but next time the server is started and since all bundles
are already installed the txmanager geronimo-transaction bundle will
be wired to the howl bundle.
Anyway, adding howl bundle to j2ee plugin should fix this problem.
Jarek
On Tue, Jan 26, 2010 at 1:25 PM, David Jencks
<[email protected]> wrote:
I've been seeing errors like this the first time I start any server
containing transaction-1_6. If I try again the server starts OK.
..
2010-01-24 13:58:29,038 INFO [DependencyManager] did not find
geronimo-plugin.xml for bundle
org.apache.geronimo.modules.geronimo-connector-1_6 [81]
2010-01-24 13:58:29,038 INFO [DependencyManager] did not find
geronimo-plugin.xml for bundle
org.apache.geronimo.components.geronimo-connector [82]
2010-01-24 13:58:29,039 INFO [DependencyManager] did not find
geronimo-plugin.xml for bundle
org.apache.geronimo.modules.geronimo-transaction-1_6 [83]
2010-01-24 13:58:29,039 INFO [DependencyManager] did not find
geronimo-plugin.xml for bundle org.apache.servicemix.bundles.howl
[84]
2010-01-24 13:58:29,192 INFO [DependencyManager] did not find
geronimo-plugin.xml for bundle
org.apache.geronimo.specs.geronimo-jpa_2.0_spec [85]
2010-01-24 13:58:29,696 WARN [ConfigurationUtil] Could not load
gbean
org.apache.geronimo.configs/transaction-1_6/3.0-SNAPSHOT/car?
ServiceModule=org.apache.geronimo.configs/transaction-1_6/3.0-
SNAPSHOT/car,j2eeType=TransactionLog,name=HOWLTransactionLog
java.lang.NoClassDefFoundError: org/objectweb/howl/log/ReplayListener
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at
org
.apache
.geronimo.gbean.runtime.GBeanAttribute.<init>(GBeanAttribute.java:
237)
at
org
.apache
.geronimo
.gbean.runtime.GBeanInstance.buildAttributes(GBeanInstance.java:373)
at
org
.apache
.geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:246)
at
org
.apache
.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java:360)
at
org
.apache
.geronimo
.kernel
.config
.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:
447)
at
org
.apache
.geronimo
.kernel
.config
.KernelConfigurationManager.start(KernelConfigurationManager.java:
224)
at
org
.apache
.geronimo
.kernel
.config
.SimpleConfigurationManager
.startConfiguration(SimpleConfigurationManager.java:716)
at
org
.apache
.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:
149)
at
org
.apache
.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:81)
at
org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:109)
at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
at
org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
Caused by: java.lang.ClassNotFoundException:
org.objectweb.howl.log.ReplayListener
at
org
.apache
.felix
.framework
.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:779)
at org.apache.felix.framework.ModuleImpl.access
$100(ModuleImpl.java:61)
at
org.apache.felix.framework.ModuleImpl
$ModuleClassLoader.loadClass(ModuleImpl.java:1698)
at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:402)
... 16 more
Is anyone else seeing this?
Does anyone have an idea what might be causing this or where to
look or how
to fix it?
many thanks
david jencks