3 Replies Latest reply: May 28, 2012 4:01 AM by Thomas Diesler RSS

How to do to support jsp+servlet in JBoss OSGi ?

qingqinxl huang Newbie

I am trying to deploy my bundles under JBoss AS 7.1.0Final,but some of them can not install,these are details:

 

First,I deploy my bundle in Equnix.This bundle contains jsp and servlet and need import org.eclipse.equinox.registry.jar .This jar works well in Equinox :

eclipseRegister.png

Then,I  deploy this bundle in JBoss.The org.eclipse.equinox.registry.jar can not install,Error details are follows:

 

错误.png

Thanks!

  • 1. Re: How to do to support jsp+servlet in JBoss OSGi ?
    Thomas Diesler Master

    Please post the stack trace as text - it's cut off - I cannot see the root cause.

  • 2. Re: How to do to support jsp+servlet in JBoss OSGi ?
    qingqinxl huang Newbie

    17:40:51,124 INFO  [org.jboss.as.server] (HttpManagementService-threads - 4) JBA

    S015870: Deploy of deployment "org.eclipse.equinox.registry_3.5.100.v20110502.ja

    r" was rolled back with failure message {"JBAS014671: Failed services" => {"jbos

    gi.bundle.23.\"org.eclipse.equinox.registry;singleton:=true\".\"3.5.100.v2011050

    2\".INSTALLED" => "org.jboss.msc.service.StartException in service jbosgi.bundle

    .23.\"org.eclipse.equinox.registry;singleton:=true\".\"3.5.100.v20110502\".INSTA

    LLED: Failed to start service"}}

    17:40:51,155 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBA

    S015877: Stopped deployment org.eclipse.equinox.registry_3.5.100.v20110502.jar i

    n 29ms

    17:40:51,156 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 4)

    JBAS014774: Service status report

    JBAS014777:   Services which failed to start:      service jbosgi.bundle.23."org

    .eclipse.equinox.registry;singleton:=true"."3.5.100.v20110502".INSTALLED: org.jb

    oss.msc.service.StartException in service jbosgi.bundle.23."org.eclipse.equinox.

    registry;singleton:=true"."3.5.100.v20110502".INSTALLED: Failed to start service

  • 3. Re: How to do to support jsp+servlet in JBoss OSGi ?
    Thomas Diesler Master

    This is not a stack trace

     

    17:40:51,124 INFO  [org.jboss.as.server] (HttpManagementService-threads - 4) JBAS015870: Deploy of deployment "org.eclipse.equinox.registry_3.5.100.v20110502.jar" was rolled back with failure message {"JBAS014671: Failed services" => {"jbosgi.bundle.23.\"org.eclipse.equinox.registry;singleton:=true\".\"3.5.100.v20110502\".INSTALLED" => "org.jboss.msc.service.StartException in service jbosgi.bundle.23.\"org.eclipse.equinox.registry;singleton:=true\".\"3.5.100.v20110502\".INSTALLED: Failed to start service"}}
    17:40:51,155 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment org.eclipse.equinox.registry_3.5.100.v20110502.jar in 29ms
    17:40:51,156 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 4) JBAS014774: Service status report JBAS014777:   Services which failed to start:      service jbosgi.bundle.23."org.eclipse.equinox.registry;singleton:=true"."3.5.100.v20110502".INSTALLED: org.jboss.msc.service.StartException in service jbosgi.bundle.23."org.eclipse.equinox.registry;singleton:=true"."3.5.100.v20110502".INSTALLED: Failed to start service