archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Long Vu <long...@vantrix.com>
Subject Unable to start Archiva on RHEL 5.4 x86 64 bits
Date Thu, 06 May 2010 17:38:35 GMT
Hi,

We are trying to use Archiva as our repository manager for Maven.

We get this error when trying to start Archiva. I have also include the environment var for
M2_HOME and JAVA_HOME.

Can someone give us any clues why Archiva refuses to start on our RHEL 5.4 x86 64 bits inside
VirtualBox (we are in testing/proof-of-concept phase).

[u1@localhost packages]$ uname -a
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64
x86_64 GNU/Linux
[u1@localhost packages]$

[u1@localhost packages]$ env | grep HOME
JAVA_HOME=/usr/local/packages/jdk1.6.0_20
JDK_HOME=/usr/local/packages/jdk1.6.0_20
M2_HOME=/usr/local/packages/apache-maven-2.2.1
HOME=/home/u1
[u1@localhost packages]$

[u1@localhost packages]$ sudo apache-archiva-1.3/bin/archiva console
Password:
Running Apache Archiva...
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    |
jvm 1    | 2010-05-06 13:32:50.355::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
jvm 1    | 2010-05-06 13:32:50.477::WARN:  Deprecated configuration used for ./apps
jvm 1    | 2010-05-06 13:32:50.498::WARN:  Config error at <New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource"><Arg>mail/Session</Arg><Arg>
jvm 1    |       <New class="org.mortbay.naming.factories.MailSessionReference"><Set
name="user"/><Set name="password"/><Set name="properties">
jvm 1    |           <New class="java.util.Properties"><Put name="mail.smtp.host">localhost</Put></New>
jvm 1    |         </Set></New>
jvm 1    |     </Arg></New>
jvm 1    | 2010-05-06 13:32:50.498::WARN:  EXCEPTION
jvm 1    | java.lang.reflect.InvocationTargetException
jvm 1    |    at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.newObj(XmlConfiguration.java:608)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:256)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
jvm 1    |    at org.mortbay.start.Main.invokeMain(Main.java:194)
jvm 1    |    at org.mortbay.start.Main.start(Main.java:534)
jvm 1    |    at org.mortbay.start.Main.start(Main.java:441)
jvm 1    |    at org.mortbay.start.Main.main(Main.java:119)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    |    at java.lang.Thread.run(libgcj.so.7rh)
jvm 1    | Caused by: java.lang.NullPointerException
jvm 1    |    at javax.naming.spi.NamingManager.getPlusPath(libgcj.so.7rh)
jvm 1    |    at javax.naming.spi.NamingManager.getStateToBind(libgcj.so.7rh)
jvm 1    |    at org.mortbay.naming.NamingContext.rebind(NamingContext.java:995)
jvm 1    |    at org.mortbay.naming.NamingContext.rebind(NamingContext.java:1063)
jvm 1    |    at org.mortbay.naming.NamingUtil.bind(NamingUtil.java:80)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.save(NamingEntry.java:199)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.<init>(NamingEntry.java:58)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.<init>(NamingEntry.java:76)
jvm 1    |    at org.mortbay.jetty.plus.naming.Resource.<init>(Resource.java:44)
jvm 1    |    at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
jvm 1    |    ...12 more
jvm 1    | 2010-05-06 13:32:50.539::WARN:  Nested in java.lang.reflect.InvocationTargetException:
jvm 1    | java.lang.NullPointerException
jvm 1    |    at javax.naming.spi.NamingManager.getPlusPath(libgcj.so.7rh)
jvm 1    |    at javax.naming.spi.NamingManager.getStateToBind(libgcj.so.7rh)
jvm 1    |    at org.mortbay.naming.NamingContext.rebind(NamingContext.java:995)
jvm 1    |    at org.mortbay.naming.NamingContext.rebind(NamingContext.java:1063)
jvm 1    |    at org.mortbay.naming.NamingUtil.bind(NamingUtil.java:80)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.save(NamingEntry.java:199)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.<init>(NamingEntry.java:58)
jvm 1    |    at org.mortbay.jetty.plus.naming.NamingEntry.<init>(NamingEntry.java:76)
jvm 1    |    at org.mortbay.jetty.plus.naming.Resource.<init>(Resource.java:44)
jvm 1    |    at java.lang.reflect.Constructor.newInstance(libgcj.so.7rh)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.newObj(XmlConfiguration.java:608)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:256)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:214)
jvm 1    |    at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:974)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
jvm 1    |    at org.mortbay.start.Main.invokeMain(Main.java:194)
jvm 1    |    at org.mortbay.start.Main.start(Main.java:534)
jvm 1    |    at org.mortbay.start.Main.start(Main.java:441)
jvm 1    |    at org.mortbay.start.Main.main(Main.java:119)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.7rh)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1    |    at java.lang.Thread.run(libgcj.so.7rh)
jvm 1    | 2010-05-06 13:32:50.604::INFO:  Shutdown hook executing
jvm 1    | 2010-05-06 13:32:50.604::INFO:  Shutdown hook complete
wrapper  | <-- Wrapper Stopped
[u1@localhost packages]$


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message