1 Reply Latest reply on Sep 14, 2012 11:15 AM by bosschaert

    Quickstart helloworld-osgi bundle not started after deployment.

    pankbharambe

      Hi,

       

      I have download the quickstart from JBoss AS and deployed helloworld-osgi as per the jboss documentation,it is deployed successfully but not started.

      I have deployed helloworld-osgi bundle using jboss-as maven plugin by using the command mvn package jboss-as:deploy and it is deployed successfully as my jboss console shows me that message as follows.

       

      ......

      06:03:34,711 INFO  [org.jboss.as.repository] (management-handler-thread - 5) JBAS014900: Content added at location C:\jboss-eap-6.0.0\jboss-eap-6.0\standalone\data\content\66\399b252959d64afdb69197555bc55e2f37a16c\content

      06:03:34,721 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "jboss-as-helloworld-osgi-7.0.2.CR3.jar"

      06:03:34,741 INFO  [org.jboss.osgi.framework] (MSC service thread 1-1) JBOSGI011001: Bundle installed: jboss-as-helloworld-osgi:7.0.2.CR3

      06:03:34,831 INFO  [org.jboss.as.server] (management-handler-thread - 5) JBAS018559: Deployed "jboss-as-helloworld-osgi-7.0.2.CR3.jar"

      .......

       

       

      But it is not shown any Hello AS 7 message in console or log file also, So my problem is how can I start my bundle using jboss-as maven plugin?

       

      I am using jboss EAP 6.

       

      And I also want to know that, can I launch jboss-cli using maven, means can I give the jboss-cli batch file reference into the pom.xml so that I can launch jboss commandline interface through maven, if yes then how?

       

      Thanks.