1 Reply Latest reply on Sep 8, 2012 5:15 AM by Nicklas Karlsson

    How to run Nexus OSS war 2.1.2 on JBoss AS 7.1.1.Final?

    Hilco Wijbenga Newbie

      Hi all,


      I'm trying to get the Nexus OSS war to run on JBoss AS 7.1.1.Final. Unfortunately, I get "JBAS018040: Failed to start context" (without [to me] any really interesting information).


      JBoss also lists 2 warnings before the failure:


      18:34:36,560 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry activation.jar in "/content/nexus.war/WEB-INF/lib/mail-1.4.jar"  does not point to a valid jar for a Class-Path reference.

      18:34:36,688 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'


      I got rid of them by removing mail-1.4.jar and xpp3_min-1.1.4c.jar from nexus-2.1.2.war/WEB-INF/lib but it doesn't seem to affect the end result. (Was that the right thing to do, by the way? Or should I just ignore these WARNs?)


      There is another message that might be interesting:


      19:58:51,993 INFO  [org.jboss.as.pojo] (MSC service thread 1-2) JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).


      It is not a WARN so I'm not sure how important this is but the "potential exceptions" sounds ominous. :-)


      I have attached both boot.log and server.log (with the above warnings "fixed"). Any help would be greatly appreciated.





      P.S. I first asked on the Nexus mailing list but JBoss is not officially supported by Sonatype so I got no help there. :-( They would be happy to accept patches though.