geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From v2cg4ss <ssel...@datamentors.com>
Subject Archiva install on Geronimo 2.1.4
Date Wed, 27 May 2009 18:12:30 GMT

I'm getting the following when deploying the Archiva 1.2 war, I followed the
wiki entry and changed the versions were they applied based on the content
of the geronimo repository.  Also below the stack trace is the deployment
plan:

http://cwiki.apache.org/ARCHIVA/archiva-on-geronimo-202-with-mysql-backend.html

Any more wiki's on deployment???

Unable to create configuration for deployment
org.apache.geronimo.common.DeploymentException: Unable to create
configuration for deployment
	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:150)
	at
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:130)
	at
org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:110)
	at
org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java:68)
	at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:530)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of
org.apache.maven.archiva/archiva/1.2/war failed
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:328)
	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:287)
	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
	at
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:147)
	... 17 more
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error
starting configuration gbean org.apache.maven.archiva/archiva/1.2/war
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:353)
	at
org.apache.geronimo.deployment.DeploymentConfigurationManager.load(DeploymentConfigurationManager.java:119)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:313)
	... 21 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException:
Missing dependency: org.apache.geronimo.configs/javamail/2.0.2/car
	at
org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(ConfigurationResolver.java:113)
	at
org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration.java:410)
	at
org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:327)
	at
org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:272)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.load(SimpleConfigurationManager.java:349)
	... 23 more

<?xml version="1.0" encoding="UTF-8"?>
<web:web-app
	xmlns:gernaming="http://geronimo.apache.org/xml/ns/naming-1.2"
	xmlns:geronimo="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"
	xmlns:persistence="http://java.sun.com/xml/ns/persistence"
	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2"
	xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1 ">
	<sys:environment>
		<sys:moduleId>
			<sys:groupId>org.apache.maven.archiva</sys:groupId>
			<sys:artifactId>archiva</sys:artifactId>
			<sys:version>1.2</sys:version>
		</sys:moduleId>
		<sys:dependencies>
			<sys:dependency>
				<sys:groupId>console.dbpool</sys:groupId>
				<sys:artifactId>archiva</sys:artifactId>
			</sys:dependency>
			<sys:dependency>
				<sys:groupId>org.apache.geronimo.configs</sys:groupId>
				<sys:artifactId>javamail</sys:artifactId>
				<sys:version>2.0.2</sys:version>
				<sys:type>car</sys:type>
			</sys:dependency>
			<sys:dependency>
				<sys:groupId>commons-lang</sys:groupId>
				<sys:artifactId>commons-lang</sys:artifactId>
				<sys:version>2.3</sys:version>
				<sys:type>jar</sys:type>
			</sys:dependency>
			<sys:dependency>
				<sys:groupId>commons-collections</sys:groupId>
				<sys:artifactId>commons-collections</sys:artifactId>
				<sys:version>3.2</sys:version>
				<sys:type>jar</sys:type>
			</sys:dependency>
		</sys:dependencies>
		<sys:hidden-classes>
			<sys:filter>org.apache.commons.lang.</sys:filter>
			<sys:filter>org.apache.commons.collections.</sys:filter>
		</sys:hidden-classes>
	</sys:environment>

	<web:context-root>/archiva</web:context-root>
	<gernaming:resource-ref>
		<gernaming:ref-name>jdbc/archiva</gernaming:ref-name>
		<gernaming:resource-link>archiva</gernaming:resource-link>
	</gernaming:resource-ref>
	<gernaming:resource-ref>
		<gernaming:ref-name>jdbc/users</gernaming:ref-name>
		<gernaming:resource-link>archiva</gernaming:resource-link>
	</gernaming:resource-ref>
	<gernaming:resource-ref>
		<gernaming:ref-name>mail/Session</gernaming:ref-name>
		<gernaming:resource-link>mail/MailSession</gernaming:resource-link>
	</gernaming:resource-ref>
</web:web-app>

-- 
View this message in context: http://www.nabble.com/Archiva-install-on-Geronimo-2.1.4-tp23747944s134p23747944.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message