Now, when I configure the datasource, I receive the following exception already received by Rene-Paul (see below). The context: WAS 5.1.0.3 on linux redhat 8.0, DB2 8.1.4 (Question to Rene Paul: How did you managed to go through that one?)
Something strange: When I set the classloader to "parent last" in WAS (ie it search for classes/resources first at the war level, then in WAS classpath, which SHOULD be used a confluence uses its own versions od xerces, commons-*...), the application does not start at all. I suspect that some manifest.mf classpath is not correctly set in some confluence jar file. I didn't managed to exactly see where the problem comes from. I also see in the traces that something is looking for a resources under META-INF/services .....Very strange. Is that legal (on a J2EE 1.3 point of view ) to put classes/resource in that place ?
(Sorry to not give more info on that, but installing confluence was not supposed to take all my time...)
-----------------------------
Configuring the database failed. Couldnt create the database schema.
java.lang.NullPointerException at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDatabase(ConfluenceHibernateSetup.java:84) at com.atlassian.confluence.setup.ConfluenceHibernateSetup.configureDataSourceDatabase(ConfluenceHibernateSetup.java:61) at com.atlassian.confluence.setup.actions.SetupDatasourceDatabaseAction.execute(SetupDatasourceDatabaseAction.java:60) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:171) at com.atlassian.confluence.setup.actions.SetupCheckInterceptor.intercept(SetupCheckInterceptor.java:27) at
Now have 2 exception in some listener at startup (To make the app start I had to create a file named WEB-INF/META-DATA/services/org.apache.commons.logging.LogFactory with the following content: org.apache.commons.logging.impl.Log4jFactory)
---------------------------------------
Exceptiuon 1:
java.lang.NullPointerException
[5/11/04 11:08:43:935 EDT] 5d8d9bb4 SystemErr R at com.atlassian.confluence.setup.schema.ConfluenceSchemaUpdateListener.contextInitialized(ConfluenceSchemaUpdateListener.java:26)
Exception 2:
2004-05-11 11:10:14,649 DEBUG [opensymphony.xwork.interceptor.ParametersInterceptor] Setting params {}
2004-05-11 11:10:14,663 ERROR [opensymphony.webwork.dispatcher.ServletDispatcher] Could not execute action
java.lang.IllegalStateException: The application context has not been set on this resolver
at com.atlassian.xwork.ext.SpringApplicationContextReferenceResolver.resolveReferences(SpringApplicationContextReferenceResolver.java:53)
at com.opensymphony.xwork.interceptor.ExternalReferencesInterceptor.before(ExternalReferencesInterceptor.java:40)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:36)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:37)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:182)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:162)