I got some feedback from someone in the Geronimo forum and they said to
update the java mail to 2.1.4. That worked, but now when the application is
started I get the following:
start of org.apache.maven.archiva/archiva/1.2/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.maven.archiva/archiva/1.2/war failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:580)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
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:832)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at
org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$7be39eff.startConfiguration(<generated>)
at
org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
start exception
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration org.apache.maven.archiva/archiva/1.2/war failed to start due
to the following reasons:
The service
J2EEApplication=null,j2eeType=WebModule,name=org.apache.maven.archiva/archiva/1.2/war
did not start because ContainerBase.addChild: start: LifecycleException:
java.io.IOException: Context did not start for an unknown reason
at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
... 16 more
Any Ideas???
v2cg4ss wrote:
>
> 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-tp23748019p23748743.html
Sent from the archiva-users mailing list archive at Nabble.com.