[jboss-jira] [JBoss JIRA] (AS7-3765) Deployment of Nexus 2.0 war fails
James Perkins (JIRA)
jira-events at lists.jboss.org
Fri Feb 24 17:40:36 EST 2012
[ https://issues.jboss.org/browse/AS7-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated AS7-3765:
-------------------------------
Workaround Description:
Get the web.xml configuration file from the WAR. Comment out the org.sonatype.nexus.web.LogConfigListener listener in the web.xml and re-add it to the WAR.
Second workaround is to insert a jboss-deployment-structure.xml that excludes slf4j dependencies.
{code:xml}
<jboss-deployment-structure>
<deployment>
<!-- Exclusions allow you to prevent the server from automatically adding some dependencies -->
<exclusions>
<module name="org.slf4j" />
<module name="org.slf4j.impl" />
</exclusions>
</deployment>
</jboss-deployment-structure>
{code}
was:Get the web.xml configuration file from the WAR. Comment out the org.sonatype.nexus.web.LogConfigListener listener in the web.xml and re-add it to the WAR.
Forum Reference: https://community.jboss.org/message/636994#636994 (was: https://community.jboss.org/message/636994#636994)
> Deployment of Nexus 2.0 war fails
> ---------------------------------
>
> Key: AS7-3765
> URL: https://issues.jboss.org/browse/AS7-3765
> Project: Application Server 7
> Issue Type: Bug
> Components: Logging
> Affects Versions: 7.1.0.Final
> Reporter: Nicklas Karlsson
> Assignee: James Perkins
> Priority: Critical
> Fix For: 7.1.1.Final
>
>
> Dropping the Nexus 2.0 war into upstream master AS7 results in a hang (.isdeploying marker file) and the log output
> {code}
> 14:22:06 /:@ INFO JBAS015876: Starting deployment of "nexus-2.0.war"
> 14:22:14 /:@ WARN Class Path entry activation.jar in "/C:/Java/dev/AS7/build/target/jboss-as-7.1.0.Final-SNAPSHOT/bin/content/nexus-2.0.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
> 14:22:15 /:@ WARN JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
> 14:22:15 /:@ INFO JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).
> 14:22:16 /:@ INFO Configuring Nexus in vanilla WAR...
> 14:22:16 /:@ INFO Setting Plexus basedir context variable to (discovered from Servlet container): C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF
> 14:22:16 /:@ INFO ===================================
> 14:22:16 /:@ INFO Application context "nexus" dump:
> 14:22:16 /:@ INFO "nexus-work"="C:\Users\karlsnic/sonatype-work/nexus" (raw: "${user.home}/sonatype-work/nexus", src: propsFile(C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF\plexus.properties, size:5))
> 14:22:16 /:@ INFO "runtime"="C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF" (raw: "${bundleBasedir}", src: propsFile(C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF\plexus.properties, size:5))
> 14:22:16 /:@ INFO "application-conf"="C:\Users\karlsnic/sonatype-work/nexus/conf" (raw: "${nexus-work}/conf", src: propsFile(C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF\plexus.properties, size:5))
> 14:22:16 /:@ INFO "nexus-app"="C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF" (raw: "${runtime}", src: propsFile(C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF\plexus.properties, size:5))
> 14:22:16 /:@ INFO "security-xml-file"="C:\Users\karlsnic/sonatype-work/nexus/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: propsFile(C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF\plexus.properties, size:5))
> 14:22:16 /:@ INFO "bundleBasedir"="C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF" (raw: "C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF", src: static("bundleBasedir"="C:\Java\dev\AS7\build\target\jboss-as-7.1.0.Final-SNAPSHOT\standalone\tmp\vfs\temp1a9b1390bbbbec8d\nexus-2.0.war-87bcc73f67f0dfd8\WEB-INF"))
> 14:22:16 /:@ INFO Total of 6 entries.
> 14:22:16 /:@ INFO ===================================
> 14:22:16 /:@ INFO
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list