continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschlaefcke <cschlaef...@wms-network.de>
Subject Cannot deploy continuum 1.2.2 on glassfish v2/v3
Date Mon, 08 Dec 2008 18:01:33 GMT

Hi Folks,

I need to run continuum and archiva on the same host and thought deploying
the war-versions on netbeans-bundled glassfish might be a good idea. The
archiva-war works fine but the continuum-war causes quite annoying trouble.
Í followed instruction like this:
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Glassfish or
documents on continuum homepage but no matter on what version (v2/v3) of
glassfish I deploy, I get heaps of errors in my server.log:

[#|2008-12-08T17:09:22.698+0100|SEVERE|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|WebModule[/continuum]PWC1275:
Exception sending context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'notifierManager' defined in URL
[jar:file:/C:/Programme/Java/glassfish-v3-prelude/glassfish/domains/domain1/applications/continuum/WEB-INF/lib/continuum-core-1.2.2.jar!/META-INF/spring-context.xml]:
Cannot create inner bean
'org.apache.maven.continuum.notification.manager.spring.NotifierFactoryBean#1809bd3'
of type
[org.apache.maven.continuum.notification.manager.spring.NotifierFactoryBean]
while setting bean property 'notifiers'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.apache.maven.continuum.notification.manager.spring.NotifierFactoryBean#1809bd3':
FactoryBean threw exception on object creation; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'notifier#mail': FactoryBean threw exception on object creation;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mailSender#continuum' defined in
ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve
reference to bean 'mailSession' while setting bean property 'session';
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mailSession' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: mail
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'modelResolver': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.apache.maven.project.ModelResolver]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'httpClientHeader': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.codehaus.plexus.redback.xwork.filter.authentication.digest.HttpClientHeader]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'modelResolver': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.apache.maven.project.ModelResolver]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'knownHostsProvider#null': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'implementation'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostsProvider]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'modelResolver': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.apache.maven.project.ModelResolver]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'httpClientHeader': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.codehaus.plexus.redback.xwork.filter.authentication.digest.HttpClientHeader]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'modelResolver': Initialization of bean
failed; nested exception is org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.lang.Class] for property 'role'; nested exception is
java.lang.IllegalArgumentException: Cannot find class
[org.apache.maven.project.ModelResolver]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mailSession' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Invocation of init method
failed; nested exception is javax.naming.NameNotFoundException: mail
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]

Later I see some stack traces like:
Related cause: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'repositoryMetadataBuilder': Initialization of
bean failed; nested exception is
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type [java.lang.Class] for
property 'role'; nested exception is java.lang.IllegalArgumentException:
Cannot find class
[org.apache.maven.artifact.repository.metadata.RepositoryMetadataBuilder]
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1244)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1008)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:470)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at
org.codehaus.plexus.spring.PlexusComponentFactoryBean.createInstance(PlexusComponentFactoryBean.java:141)
	at
org.codehaus.plexus.spring.PlexusComponentFactoryBean.getObject(PlexusComponentFactoryBean.java:108)
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)
	... 54 more

And so on... (see attached file "continuum.log")

Any help on this would be very appreceated!

Thanks & Regards,

Christian
http://www.nabble.com/file/p20900367/continuum.log continuum.log 
-- 
View this message in context: http://www.nabble.com/Cannot-deploy-continuum-1.2.2-on-glassfish-v2-v3-tp20900367p20900367.html
Sent from the Continuum - Users mailing list archive at Nabble.com.


Mime
View raw message