archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Harold <>
Subject Re: archiva 1.4M3 under geronimo 3.0.0 (was archiva 1.3.5)
Date Tue, 23 Oct 2012 23:37:31 GMT
Circling back around to this, I've gotten farther but I suspect I still 
have some setup errors with Geronimo.

1) I created the "ArchivaDS" in Geronimo web console and pointed it at a 
PostgreSQL database.  This seems to work fine as I can run queries 
against the database using the Geronimo console.

- Create the login role in pgsql 9.1 (i.e. "archiva"), assign it a 
random password

- Create a group role (i.e. "archiva_app")

- Assign the login role to the group role as a member

- Create the archiva database as UTF-8

- Set the default privileges for the group role to all

- Also allow the group role create/temp/connect permissions

- Fix your pg_hba.conf file (since this is user/database specific, put 
it in front of the other, more general, entries)

host    archiva         archiva            md5

- Create the data pool in Geronimo's console and verify that you can run 
queries against it (create a temporary table like "geronimo_test" and do 
a test SELECT)

2) Load the downloaded WAR file into the Geronimo plan creator (under 
Navigator(Advanced), Applications, Plan Creator).  You will need to fill 
in the name of the datasource/datapool that you configured.  I changed 
the context path to be "archiva" instead of the default.  For everything 
else, I just used the defaults.

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

3) At this point, the application deploys properly into Geronimo, but 
will not start up.  The error I'm now stuck on is:

25339:  2012-10-23 18:54:41,880 ERROR [ContextLoader] Context 
initialization failed
25432:  2012-10-23 18:54:41,885 ERROR [[/archiva]] Exception sending 
context initialized event to listener instance of class 
25525:  2012-10-23 18:54:41,886 ERROR [[/archiva]] Exception sending 
context initialized event to listener instance of class 
25618:  2012-10-23 18:54:41,888 ERROR [StandardContext] Error listenerStart
25619:  2012-10-23 18:54:41,888 ERROR [StandardContext] Context 
[/archiva] startup failed due to previous errors
25620:  2012-10-23 18:54:41,888 ERROR [ContainerBase] 
ContainerBase.addChild: start:
25707:  2012-10-23 18:54:41,892 ERROR [[/archiva]] Exception sending 
context destroyed event to listener instance of class 
25801:  2012-10-23 18:54:41,895 WARN [TomcatWebAppContext] 
TomcatWebAppContext failed
25802:  2012-10-23 18:54:41,895 ERROR [GBeanInstanceState] Error while 
starting; GBean is now in the FAILED state: 

Since this is a brand new instance of Geronimo, it's possible that I've 
forgotten to configure something.

View raw message