geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski" <>
Subject Re: Deploying Hudson on Geronimo
Date Wed, 07 Nov 2007 15:34:16 GMT
On 11/7/07, gghazali <> wrote:

> Hi all. I'm a newbie trying to deploy Hudson on Geronimo 2.02, but have no
> clue as to how to construct the geronimo-web.xml deployment plan. I was
> hoping someone on the forums has already done it, or at least can help me
> through constructing the file by pointing me in the right directions. I've
> checked out the documentation on writing geronimo-web.xml for Geronimo v1.1
> but frankly don't understand it at all.


I've been trying to deploy hudson.war to Geronimo 2.0.2, but have not
been very successful. It blew up with the following error:

16:27:05,953 WARN  [BasicLifecycleMonitor] Exception occured while
notifying listener
        at hudson.util.XStream2.init(
        at hudson.util.XStream2.<init>(
        at hudson.model.Hudson.<clinit>(
        at hudson.WebAppMain.installLogger(
        at hudson.WebAppMain.contextInitialized(
        at org.mortbay.jetty.handler.ContextHandler.startContext(

Does it ring a bell for you? I took a quick glimpse at
hudson.util.XStream2 and noticed they used getMapper() method from
XStream, but didn't dig into it further. If you know the answer it'd
be simpler to figure out why it blows up.

The plan - hudson-geronimo-plan.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="">
  <environment xmlns="">


    <default-principal realm-name="HudsonRealm">
      <principal name="anonymous"
      <role role-name="admin">
        <realm realm-name="HudsonRealm">
          <principal name="AdminGroup"
        <principal name="system"


and the command line to (attempt to) deploy hudson.

./bin/ -u system -p manager deploy hudson.war hudson-geronimo-plan.xml


Jacek Laskowski

View raw message