0 Replies Latest reply on May 22, 2014 12:46 AM by xybrek

    App not deployed when running with the new Errai Dev Mode Launcher

    xybrek Newbie

      When trying to run with new Errai Dev Mode launcher, I am getting this error, then after I access the Admin console, nothing is deployed there, in the "Deployments"


      When I access, there's the JBoss AS page, but when I access or it throws 404


      What am I missing, it seems JBoss was able to bootstrap, or is it? There was an error 'java.lang.NoClassDefFoundError: org/xnio/http/RedirectException' not sure if that is related to the deployment issue.


      Here is the log:


      [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts

      [INFO] auto discovered modules [app.App]

      [INFO] create exploded Jetty webapp in /home/xybrek/Projects/mycompany/app.ui/src/main/webapp

      [WARNING] Your POM <build><outputdirectory> does not match your hosted webapp WEB-INF/classes folder for GWT Hosted browser to see your classes.

      [INFO] JAVA_OPTS already set in environment; overriding default settings with values: -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -javaagent:/home/xybrek/.m2/repository/org/jboss/errai/errai-client-local-class-hider/3.0.0.CR1/errai-client-local-class-hider-3.0.0.CR1.jar

      [INFO] =========================================================================


      [INFO]   JBoss Bootstrap Environment


      [INFO]   JBOSS_HOME: /home/xybrek/Projects/mycompany/wildfly


      [INFO]   JAVA: java


      [INFO]   JAVA_OPTS:  -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=n -javaagent:/home/xybrek/.m2/repository/org/jboss/errai/errai-client-local-class-hider/3.0.0.CR1/errai-client-local-class-hider-3.0.0.CR1.jar


      [INFO] =========================================================================


      [ERROR] Exception in thread "main" java.lang.NoClassDefFoundError: org/xnio/http/RedirectException

      [ERROR] at org.jboss.as.cli.impl.CommandContextFactoryImpl.newCommandContext(CommandContextFactoryImpl.java:44)

      [ERROR] at org.jboss.errai.cdi.server.as.JBossServletContainerAdaptor.<init>(JBossServletContainerAdaptor.java:69)

      [ERROR] at org.jboss.errai.cdi.server.gwt.JBossLauncher.start(JBossLauncher.java:117)

      [ERROR] at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)

      [ERROR] at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)

      [ERROR] at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)

      [ERROR] at com.google.gwt.dev.DevMode.main(DevMode.java:311)

      [ERROR] Caused by: java.lang.ClassNotFoundException: org.xnio.http.RedirectException

      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

      [ERROR] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

      [ERROR] at java.security.AccessController.doPrivileged(Native Method)

      [ERROR] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

      [ERROR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

      [ERROR] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

      [ERROR] ... 7 more

      [INFO] Listening for transport dt_socket at address: 8001

      [INFO] 12:38:25,928 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA

      [INFO] 12:38:44,733 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

      [INFO] 12:38:44,810 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

      [INFO] 12:38:46,125 INFO  [org.xnio] XNIO Version 3.0.3.GA

      [INFO] 12:38:46,127 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)

      [INFO] 12:38:46,137 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA

      [INFO] 12:38:46,147 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA

      [INFO] 12:38:46,178 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

      [INFO] 12:38:46,187 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 32) JBAS016200: Activating ConfigAdmin Subsystem

      [INFO] 12:38:46,193 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 37) JBAS010280: Activating Infinispan subsystem.

      [INFO] 12:38:46,231 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 49) JBAS011940: Activating OSGi Subsystem

      [INFO] 12:38:46,199 INFO  [org.jboss.as.jacorb] (ServerService Thread Pool -- 38) JBAS016300: Activating JacORB Subsystem

      [INFO] 12:38:46,241 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 48) JBAS011800: Activating Naming Subsystem

      [INFO] 12:38:46,236 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 54) JBAS013101: Activating Security Subsystem

      [INFO] 12:38:46,254 INFO  [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final

      [INFO] 12:38:46,268 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 58) JBAS015537: Activating WebServices Extension

      [INFO] 12:38:46,314 INFO  [org.jboss.as.naming] (MSC service thread 1-5) JBAS011802: Starting Naming Service

      [INFO] 12:38:46,369 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]

      [INFO] 12:38:46,441 INFO  [org.jboss.as.connector] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)

      [INFO] 12:38:46,507 INFO  [org.jboss.jaxr] (MSC service thread 1-5) JBAS014000: Started JAXR subsystem, binding JAXR connection factory into JNDI as: java:jboss/jaxr/ConnectionFactory

      [INFO] 12:38:46,581 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)

      [INFO] 12:38:46,629 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA

      [INFO] 12:38:46,675 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.0)

      [INFO] 12:38:46,738 WARN  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

      [INFO] 12:38:46,833 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http-localhost-

      [INFO] 12:38:46,883 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=/home/xybrek/Projects/mycompany/wildfly/standalone/data/messagingjournal,bindingsDirectory=/home/xybrek/Projects/mycompany/wildfly/standalone/data/messagingbindings,largeMessagesDirectory=/home/xybrek/Projects/mycompany/wildfly/standalone/data/messaginglargemessages,pagingDirectory=/home/xybrek/Projects/mycompany/wildfly/standalone/data/messagingpaging)

      [INFO] 12:38:46,902 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) Waiting to obtain live lock

      [INFO] 12:38:46,995 INFO  [org.hornetq.core.persistence.impl.journal.JournalStorageManager] (MSC service thread 1-3) Using NIO Journal

      [INFO] 12:38:47,075 INFO  [org.jboss.as.jacorb] (MSC service thread 1-8) JBAS016330: CORBA ORB Service started

      [INFO] 12:38:47,321 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-3) Waiting to obtain live lock

      [INFO] 12:38:47,322 INFO  [org.hornetq.core.server.impl.FileLockNodeManager] (MSC service thread 1-3) Live Server Obtained live lock

      [INFO] 12:38:47,513 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory /home/xybrek/Projects/mycompany/wildfly/standalone/deployments

      [INFO] 12:38:47,568 INFO  [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on localhost/

      [INFO] 12:38:47,568 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on /

      [INFO] 12:38:47,882 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-3) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5445 for CORE protocol

      [INFO] 12:38:47,891 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-3) Started Netty Acceptor version 3.2.5.Final-a96d88c localhost:5455 for CORE protocol

      [INFO] 12:38:47,894 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) Server is now live

      [INFO] 12:38:47,894 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-3) HornetQ Server version 2.2.13.Final (HQ_2_2_13_FINAL_AS7, 122) [2ca31c3f-1701-11e3-b32d-d0df9a4bb7dd]) started

      [INFO] 12:38:47,899 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-6) trying to deploy queue jms.topic.testTopic

      [INFO] 12:38:47,929 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:/topic/test

      [INFO] 12:38:47,930 INFO  [org.jboss.as.messaging] (MSC service thread 1-6) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/topic/test

      [INFO] 12:38:47,932 INFO  [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.queue.testQueue

      [INFO] 12:38:47,943 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/queue/test

      [INFO] 12:38:47,944 INFO  [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/queue/test

      [INFO] 12:38:47,959 INFO  [org.jboss.as.messaging] (MSC service thread 1-8) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory

      [INFO] 12:38:47,961 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:jboss/exported/jms/RemoteConnectionFactory

      [INFO] 12:38:47,962 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory

      [INFO] 12:38:57,392 WARN  [com.arjuna.ats.arjuna] (Transaction Expired Entry Monitor) ARJUNA012210: Unable to use InetAddress.getLocalHost() to resolve address.

      [INFO] 12:38:57,459 INFO  [org.jboss.as.jacorb] (MSC service thread 1-4) JBAS016328: CORBA Naming Service started

      [INFO] 12:38:57,498 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/mycompany]

      [INFO] 12:38:57,499 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]

      [INFO] 12:38:57,516 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-5) JBAS010406: Registered connection factory java:/JmsXA

      [INFO] 12:38:57,526 INFO  [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-5) HornetQ resource adaptor started

      [INFO] 12:38:57,529 INFO  [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-5) IJ020002: Deployed: file://RaActivatorhornetq-ra

      [INFO] 12:38:57,532 INFO  [org.jboss.as.deployment.connector] (MSC service thread 1-4) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]

      [INFO] 12:38:57,674 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on

      [INFO] 12:38:57,675 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 32199ms - Started 173 of 253 services (78 services are passive or on-demand)