-
1. Re: nexus.war (V1.9.2.3) doesn't work on JBoss AS 7
saltnlight5 Feb 19, 2012 9:19 AM (in response to mvoegele)Hi,
I still have same problem with latest nexus-2.0.war on latest AS 7.1.0 deployment. What's worse is that once I deployed with error, the AS server will hang and can not be shutdown. I understand that there could be problem with Nexus war file, but shouldn't AS handle error more gracefully so that in any deployment error condition, it would at least let user to issue proper shutdown right?
Zemian@Zemian-PC /c/apps/jboss-as-7.1.0.Final
$ bin/standalone.bat
Calling "C:\apps\jboss-as-7.1.0.Final\bin\standalone.conf.bat"
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\apps\jboss-as-7.1.0.Final
JAVA: C:\apps\jdk1.7.0\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml
===============================================================================
09:04:05,885 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
09:04:06,025 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
09:04:06,056 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.0.Final "Thunder" starting
09:04:06,774 INFO [org.xnio] XNIO Version 3.0.3.GA
09:04:06,774 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
09:04:06,790 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
09:04:06,790 INFO [org.jboss.remoting] JBoss Remoting version 3.2.2.GA
09:04:06,805 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
09:04:06,805 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
09:04:06,836 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
09:04:06,836 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinispan subsystem.
09:04:06,883 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
09:04:06,914 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
09:04:06,961 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
09:04:07,086 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
09:04:07,102 INFO [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.7.Final)
09:04:07,117 INFO [org.jboss.as.security] (MSC service thread 1-3) JBAS013100: Current PicketBox version=4.0.6.final
09:04:07,117 INFO [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
09:04:07,226 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
09:04:07,382 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.1.GA
09:04:07,554 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment nexus-2.0.war
09:04:07,554 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory C:\apps\jboss-as-7.1.0.Final\standalone\deployments
09:04:07,570 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
09:04:07,570 INFO [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4447
09:04:07,663 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
09:04:07,710 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
09:04:07,710 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.0.Final "Thunder" started in 2028ms - Started 134 of 205 services (70 services are passive or on-demand)
09:04:07,726 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "nexus-2.0.war"
09:04:10,378 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) Class Path entry activation.jar in "/C:/apps/jboss-as-7.1.0.Final/content/nexus-2.0.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
09:04:10,424 WARN [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015893: Encountered invalid class name 'org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer' for service type 'org.xmlpull.v1.XmlPullParserFactory'
09:04:10,440 INFO [org.jboss.as.pojo] (MSC service thread 1-3) JBAS017000: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be missing some xml features (potential exceptions).
09:04:10,643 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/nexus-2.0]] (MSC service thread 1-3) Configuring Nexus in vanilla WAR...
09:04:10,658 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/nexus-2.0]] (MSC service thread 1-3) Setting Plexus basedir context variable to (discovered from Servlet container): C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF
09:04:10,674 INFO [stdout] (MSC service thread 1-3) ===================================
09:04:10,674 INFO [stdout] (MSC service thread 1-3) Application context "nexus" dump:
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "nexus-work"="C:\Users\Zemian/sonatype-work/nexus" (raw: "${user.home}/sonatype-work/nexus", src: propsFile(C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF\plexus.properties, size:5))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "runtime"="C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF" (raw: "${bundleBasedir}", src: propsFile(C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF\plexus.properties, size:5))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "application-conf"="C:\Users\Zemian/sonatype-work/nexus/conf" (raw: "${nexus-work}/conf", src: propsFile(C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF\plexus.properties, size:5))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "nexus-app"="C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF" (raw: "${runtime}", src: propsFile(C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF\plexus.properties, size:5))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "security-xml-file"="C:\Users\Zemian/sonatype-work/nexus/conf/security.xml" (raw: "${nexus-work}/conf/security.xml", src: propsFile(C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF\plexus.properties, size:5))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) "bundleBasedir"="C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF" (raw: "C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF", src: static("bundleBasedir"="C:\apps\jboss-as-7.1.0.Final\standalone\tmp\vfs\tempaad46067ebef183f\nexus-2.0.war-52dedfdd79861db1\WEB-INF"))
09:04:10,674 INFO [stdout] (MSC service thread 1-3) Total of 6 entries.
09:04:10,674 INFO [stdout] (MSC service thread 1-3) ===================================
09:04:10,674 INFO [stdout] (MSC service thread 1-3)
Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "MSC service thread 1-3"
Exception: java.lang.StackOverflowError thrown from the UncaughtExceptionHandler in thread "MSC service thread 1-4"
When I hit CTRL+C, I get these and the server will hang.
09:04:46,055 INFO [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
09:04:46,055 INFO [org.apache.catalina.core.StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
09:04:46,070 INFO [org.apache.coyote.http11.Http11Protocol] Pausing Coyote HTTP/1.1 on http--127.0.0.1-8080
09:04:46,055 WARN [org.jboss.remoting.remote] JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException
09:04:46,070 INFO [org.apache.coyote.http11.Http11Protocol] Stopping Coyote HTTP/1.1 on http--127.0.0.1-8080
09:05:07,583 INFO [org.jboss.as.server] JBAS015870: Deploy of deployment "nexus-2.0.war" was rolled back with failure message Operation cancelled
09:05:07,755 ERROR [org.jboss.as.server.deployment.scanner] JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.
-
2. Re: nexus.war (V1.9.2.3) doesn't work on JBoss AS 7
saltnlight5 Feb 19, 2012 9:25 AM (in response to saltnlight5) -
3. Re: nexus.war (V1.9.2.3) doesn't work on JBoss AS 7
nickarls Feb 19, 2012 9:43 AM (in response to saltnlight5)Already filed https://issues.jboss.org/browse/AS7-3765 for it.