Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5173

PAX does not add internal bundle jars specified in Bundle-Classpath manifest to the class-path.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 7.1.1.Final
    • OSGi
    • None
    • Hide

      Make any VAB with internal jars and add the jars to Bundle-Classpath.

      Show
      Make any VAB with internal jars and add the jars to Bundle-Classpath.

    Description

      PAX does not add internal bundle jars specified in Bundle-Classpath manifest to the class-path.

      This is my Manifest.MF file for my VAB/WAR:
      ________________________________________________________________________
      Manifest-Version: 1.0
      Embed-Directory: WEB-INF/lib
      Bundle-ClassPath: ., WEB-INF/classes, WEB-INF/li
      b/vaadin-6.7.5.jar, WEB-INF/lib/aps-web-tools-1.0.0.jar,
      WEB-INF/lib/vaadin-chameleon-theme-1.0.2.jar, WE
      B-INF/lib/chameleon-blue.jar
      Built-By: tommy
      Tool: Bnd-1.43.0
      Bundle-Name: APS Administration Web
      Created-By: Apache Maven Bundle Plugin
      Web-ContextPath: apsadminweb
      Bundle-Vendor: Natusoft AB
      Build-Jdk: 1.6.0_33
      Bundle-Version: 1.0.0
      Bnd-LastModified: 1342262597333
      Bundle-ManifestVersion: 2
      Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
      Bundle-Description: This is a web application providing and administra
      tion web frame.
      Bundle-SymbolicName: aps-admin-web
      Import-Package: javax.servlet,javax.servlet.http,javax.xml.namespace,o
      rg.osgi.framework;version="[1.5,2)",org.osgi.service.log;version="[1.
      3,2)",org.osgi.util.tracker;version="[1.4,2)",org.w3c.dom,se.natusoft
      .osgi.aps.apsadminweb.service;version="[1.0,2)",se.natusoft.osgi.aps.
      apsadminweb.service.model;version="[1.0,2)",se.natusoft.osgi.aps.tool
      s;version="[1.0,2)",se.natusoft.osgi.aps.tools.tracker;version="[1.0,
      2)"
      Embed-Dependency: *;scope=compile
      ________________________________________________________________________

      As can be seen from this startup log the expected class-path is not available! The pointed to jars are available in WEB-INF/lib!

      This also deploys fine in Glassfish and Virgo. I would really like to also be able to deploy in JBoss.
      ________________________________________________________________________
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /Users/tommy/Development/servers/jboss-as-7.1.1.Final

      JAVA: java

      JAVA_OPTS: -d32 -client -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

      =========================================================================

      12:48:32,705 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
      12:48:32,860 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
      12:48:32,900 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
      12:48:33,567 INFO [org.xnio] XNIO Version 3.0.3.GA
      12:48:33,567 INFO [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-http)
      12:48:33,575 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      12:48:33,583 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
      12:48:33,596 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      12:48:33,599 INFO [org.jboss.as.configadmin] (ServerService Thread Pool – 26) JBAS016200: Activating ConfigAdmin Subsystem
      12:48:33,615 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 31) JBAS010280: Activating Infinispan subsystem.
      12:48:33,639 INFO [org.jboss.as.naming] (ServerService Thread Pool – 38) JBAS011800: Activating Naming Subsystem
      12:48:33,643 INFO [org.jboss.as.osgi] (ServerService Thread Pool – 39) JBAS011940: Activating OSGi Subsystem
      12:48:33,648 INFO [org.jboss.as.security] (ServerService Thread Pool – 44) JBAS013101: Activating Security Subsystem
      12:48:33,656 INFO [org.jboss.as.security] (MSC service thread 1-5) JBAS013100: Current PicketBox version=4.0.7.Final
      12:48:33,673 INFO [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
      12:48:33,706 INFO [org.jboss.as.webservices] (ServerService Thread Pool – 48) JBAS015537: Activating WebServices Extension
      12:48:33,758 INFO [org.jboss.as.naming] (MSC service thread 1-7) JBAS011802: Starting Naming Service
      12:48:33,793 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7) JBAS015400: Bound mail session [java:jboss/mail/Default]
      12:48:33,808 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
      12:48:33,823 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-3) JBoss Web Services - Stack CXF Server 4.0.2.GA
      12:48:33,925 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
      12:48:34,101 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) JBAS015012: Started FileSystemDeploymentService for directory /Users/tommy/Development/servers/jboss-as-7.1.1.Final/standalone/deployments
      12:48:34,128 INFO [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:4447
      12:48:34,129 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
      12:48:34,207 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
      12:48:34,223 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      12:48:34,224 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 1758ms - Started 133 of 208 services (74 services are passive or on-demand)
      12:48:34,234 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "aps-admin-web-1.0.0.war"
      12:48:34,237 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "aps-apis-1.0.0.jar"
      12:48:34,238 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "aps-config-admin-web-1.0.0.war"
      12:48:34,240 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "aps-configuration-service-provider-1.0.0.jar"
      12:48:34,240 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "aps-filesystem-service-provider-1.0.0.jar"
      12:48:34,243 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "aps-json-lib-1.0.0.jar"
      12:48:34,246 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "aps-web-tools-1.0.0.jar"
      12:48:34,280 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "aps-admin-web-service-provider-1.0.0.jar"
      12:48:34,246 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "aps-tools-lib-1.0.0.jar"
      12:48:34,245 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "aps-platform-service-provider-1.0.0.jar"
      12:48:34,422 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-7) JBossOSGi Framework Core - 1.1.8.Final
      12:48:34,512 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-5) Install bundle: system.bundle:0.0.0
      12:48:34,579 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) find providers for: AbstractRequirement[maven.identity,attributes=

      {maven.identity=org.ops4j.pax.web:pax-web-jetty-bundle:jar:1.1.2}

      ]
      12:48:42,811 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) found matching caps: [AbstractIdentityCapability[osgi.identity,attributes=

      {content.path=org/ops4j/pax/web/pax-web-jetty-bundle/1.1.2/pax-web-jetty-bundle-1.1.2.jar, osgi.identity=org.ops4j.pax.web.pax-web-jetty-bundle, content.url=file:/Users/tommy/Development/servers/jboss-as-7.1.1.Final/standalone/data/osgi-store/bundle-0/repository/org/ops4j/pax/web/pax-web-jetty-bundle/1.1.2/pax-web-jetty-bundle-1.1.2.jar, type=osgi.bundle, version=1.1.2}

      ]]
      12:48:42,837 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) find providers for: AbstractRequirement[maven.identity,attributes=

      {maven.identity=org.ops4j.pax.web:pax-web-jsp:jar:1.1.2}

      ]
      12:48:49,900 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) found matching caps: [AbstractIdentityCapability[osgi.identity,attributes=

      {content.path=org/ops4j/pax/web/pax-web-jsp/1.1.2/pax-web-jsp-1.1.2.jar, osgi.identity=org.ops4j.pax.web.pax-web-jsp, content.url=file:/Users/tommy/Development/servers/jboss-as-7.1.1.Final/standalone/data/osgi-store/bundle-0/repository/org/ops4j/pax/web/pax-web-jsp/1.1.2/pax-web-jsp-1.1.2.jar, type=osgi.bundle, version=1.1.2}

      ]]
      12:48:49,923 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) find providers for: AbstractRequirement[maven.identity,attributes=

      {maven.identity=org.ops4j.pax.web:pax-web-extender-war:jar:1.1.2}

      ]
      12:48:54,136 INFO [org.jboss.osgi.repository.core.RepositoryImpl] (MSC service thread 1-6) found matching caps: [AbstractIdentityCapability[osgi.identity,attributes=

      {content.path=org/ops4j/pax/web/pax-web-extender-war/1.1.2/pax-web-extender-war-1.1.2.jar, osgi.identity=org.ops4j.pax.web.pax-web-extender-war, content.url=file:/Users/tommy/Development/servers/jboss-as-7.1.1.Final/standalone/data/osgi-store/bundle-0/repository/org/ops4j/pax/web/pax-web-extender-war/1.1.2/pax-web-extender-war-1.1.2.jar, type=osgi.bundle, version=1.1.2}

      ]]
      12:48:54,154 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-6) Install bundle: javax.transaction.api:0.0.0
      12:48:54,232 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-8) Install bundle: jboss-osgi-logging:1.0.0
      12:48:54,251 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-6) Install bundle: org.apache.felix.log:1.0.0
      12:48:54,251 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-5) Install bundle: jboss-as-osgi-configadmin:7.1.1.Final
      12:48:54,353 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: org.apache.felix.configadmin:1.2.8
      12:48:54,356 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-8) Install bundle: jbosgi-http-api:1.0.5
      12:48:54,572 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: osgi.enterprise:4.2.0.201003190513
      12:48:54,942 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: org.ops4j.pax.web.pax-web-extender-war:1.1.2
      12:48:55,370 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.ops4j.pax.web.pax-web-jsp:1.1.2
      12:48:55,406 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-7) Install bundle: org.ops4j.pax.web.pax-web-jetty-bundle:1.1.2
      12:48:55,601 INFO [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 1
      12:48:55,603 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jbosgi-http-api:1.0.5
      12:48:55,604 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: osgi.enterprise:4.2.0.201003190513
      12:48:55,609 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-as-osgi-configadmin:7.1.1.Final
      12:48:55,613 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: jboss-osgi-logging:1.0.0
      12:48:55,630 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.log:1.0.0
      12:48:55,631 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: javax.transaction.api:0.0.0
      12:48:55,662 WARN [org.jboss.osgi.framework.internal.ModuleEntriesProvider] (MSC service thread 1-1) [JBOSGI-408] Bundle entry related functionality for plain modules
      12:48:55,664 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.ops4j.pax.web.pax-web-extender-war:1.1.2
      12:48:55,748 ERROR [stderr] (MSC service thread 1-1) 2012-07-14 12:48:55.748:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
      12:48:55,775 INFO [org.ops4j.pax.web.service.jetty.internal.JettyServerImpl] (MSC service thread 1-1) Pax Web available at [0.0.0.0]:[8090]
      12:48:55,780 ERROR [stderr] (MSC service thread 1-1) 2012-07-14 12:48:55.780:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:8090 STARTING
      12:48:55,796 INFO [org.ops4j.pax.web.service.internal.Activator] (MSC service thread 1-1) Pax Web started
      12:48:55,797 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.ops4j.pax.web.pax-web-jetty-bundle:1.1.2
      12:48:55,818 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.apache.felix.configadmin:1.2.8
      12:48:55,819 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle started: org.ops4j.pax.web.pax-web-jsp:1.1.2
      12:48:55,820 INFO [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 2
      12:48:55,821 INFO [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-1) Starting bundles for start level: 3
      12:48:55,823 INFO [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-1) OSGi Framework started
      12:48:55,831 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: aps-admin-web:1.0.0
      12:48:55,833 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-8) Install bundle: aps-filesystem-service-provider:1.0.0
      12:48:55,833 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-6) Install bundle: aps-platform-service-provider:1.0.0
      12:48:55,849 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: aps-admin-web-service-provider:1.0.0
      12:48:55,849 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-3) Install bundle: aps-config-admin-web:1.0.0
      12:48:55,849 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-5) Install bundle: aps-json-lib:1.0.0
      12:48:55,854 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: aps-configuration-service-provider:1.0.0
      12:48:55,854 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-8) Install bundle: aps-apis:1.0.0
      12:48:55,858 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-7) Install bundle: aps-tools-lib:1.0.0
      12:48:55,888 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,915 ERROR [stderr] (CM Configuration Updater (ManagedService Update: pid=org.ops4j.pax.web)) 2012-07-14 12:48:55.912:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT
      12:48:55,924 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-platform-service-provider:1.0.0
      12:48:55,926 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-web-tools-1.0.0.jar"
      12:48:55,927 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-tools-lib-1.0.0.jar"
      12:48:55,928 INFO [org.ops4j.pax.web.service.jetty.internal.JettyServerImpl] (CM Configuration Updater (ManagedService Update: pid=org.ops4j.pax.web)) Pax Web available at [0.0.0.0]:[8090]
      12:48:55,928 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-platform-service-provider-1.0.0.jar"
      12:48:55,929 ERROR [stderr] (CM Configuration Updater (ManagedService Update: pid=org.ops4j.pax.web)) 2012-07-14 12:48:55.929:INFO:oejs.AbstractConnector:Started NIOSocketConnectorWrapper@0.0.0.0:8090 STARTING
      12:48:55,930 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-json-lib-1.0.0.jar"
      12:48:55,934 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-filesystem-service-provider-1.0.0.jar"
      12:48:55,934 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-configuration-service-provider-1.0.0.jar"
      12:48:55,935 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-config-admin-web-1.0.0.war"
      12:48:55,942 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-apis-1.0.0.jar"
      12:48:55,942 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-admin-web-service-provider-1.0.0.jar"
      12:48:55,943 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "aps-admin-web-1.0.0.war"
      12:48:55,948 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,949 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,950 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,953 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-configuration-service-provider:1.0.0
      12:48:55,960 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,961 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,969 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,972 INFO [stdout] (MSC service thread 1-7) DEBUG: Added service: ServiceState

      {service.id=40, objectClass=[se.natusoft.osgi.aps.api.core.filesystem.service.APSFilesystemService], service.pid=se.natusoft.osgi.aps.core.filesystem.service.APSFilesystemServiceProvider}
      12:48:55,973 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:55,974 INFO [stdout] (MSC service thread 1-7) DEBUG: Set active: ServiceState{service.id=40, objectClass=[se.natusoft.osgi.aps.api.core.filesystem.service.APSFilesystemService], service.pid=se.natusoft.osgi.aps.core.filesystem.service.APSFilesystemServiceProvider}

      12:48:55,979 INFO [aps-filesystem-service-provider] (Thread-68) APSFilesystemService Activator: Bundle started!
      12:48:55,980 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-filesystem-service-provider:1.0.0
      12:48:55,982 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-tools-lib:1.0.0
      12:48:56,006 ERROR [stderr] (MSC service thread 1-7) Error: null
      12:48:56,011 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-admin-web-service-provider:1.0.0
      12:48:56,011 INFO [aps-configuration-service-provider] (Thread-68) APSConfigAdminServiceProvider have been registered!
      12:48:56,016 ERROR [stderr] (Thread-87) Error: null
      12:48:56,021 INFO [aps-configuration-service-provider] (Thread-68) APSConfigServiceProvider have been registered!
      12:48:56,036 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-admin-web:1.0.0
      12:48:56,037 INFO [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] (Executor: 1) Using [apsadminweb] as web application context name
      12:48:56,040 INFO [org.ops4j.pax.web.extender.war.internal.WebXmlObserver] (Executor: 1) Using [] as web application root path
      12:48:56,061 ERROR [org.jboss.as.osgi] (MSC service thread 1-7) JBAS011900: Cannot start bundle: aps-config-admin-web:1.0.0: org.osgi.framework.BundleException: Cannot start bundle: aps-config-admin-web:1.0.0
      at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:328) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:223) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:494) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.as.osgi.deployment.BundleStartTracker$1.processService(BundleStartTracker.java:144) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
      at org.jboss.as.osgi.deployment.BundleStartTracker$1.transition(BundleStartTracker.java:119) [jboss-as-osgi-service-7.1.1.Final.jar:7.1.1.Final]
      at org.jboss.msc.service.ServiceControllerImpl.invokeListener(ServiceControllerImpl.java:1416) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      at org.jboss.msc.service.ServiceControllerImpl.access$2700(ServiceControllerImpl.java:49) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      at org.jboss.msc.service.ServiceControllerImpl$ListenerTask.run(ServiceControllerImpl.java:1954) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
      Caused by: java.lang.ClassNotFoundException:

                1. My Comment - Start ######
                  This shows that not even WEB-INF/classes is available on the class-path!!
                2. My Comment - End ######
                  se.natusoft.osgi.aps.apsconfigadminweb.APSConfigAdminWebActivator from [Module "deployment.aps-config-admin-web:1.0.0" from Service Module Loader]
                  at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
                  at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
                  at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132) [jboss-modules.jar:1.1.1.GA]
                  at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:114) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
                  at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:415) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
                  at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:151) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
                  at org.jboss.osgi.framework.internal.HostBundleState.transitionToActive(HostBundleState.java:294) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
                  ... 10 more

      12:48:56,070 INFO [org.ops4j.pax.web.service.internal.HttpServiceFactoryImpl] (Executor: 1) Binding bundle: [aps-admin-web:1.0.0] to http service
      12:48:56,082 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-json-lib:1.0.0
      12:48:56,083 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-7) Bundle started: aps-apis:1.0.0
      12:48:56,173 ERROR [stderr] (Executor: 1) 2012-07-14 12:48:56.173:INFO:oejsh.ContextHandler:started HttpServiceContext

      {httpContext=org.ops4j.pax.web.extender.war.internal.WebAppWebContainerContext@141f9f6}

      12:48:56,190 WARN [org.ops4j.pax.web.jsp.internal.JasperClassLoader] (Executor: 1) Exception while calculating location of imported bundles: java.net.MalformedURLException: no protocol: aps-admin-web-service-provider-1.0.0.jar
      at java.net.URL.<init>(URL.java:567) [classes.jar:1.6.0_33]
      at java.net.URL.<init>(URL.java:464) [classes.jar:1.6.0_33]
      at java.net.URL.<init>(URL.java:413) [classes.jar:1.6.0_33]
      at org.ops4j.pax.web.jsp.internal.JasperClassLoader.getLocationsOfBundlesInClassSpace(JasperClassLoader.java:177)
      at org.ops4j.pax.web.jsp.internal.JasperClassLoader.getClassPathJars(JasperClassLoader.java:157)
      at org.ops4j.pax.web.jsp.internal.JasperClassLoader.<init>(JasperClassLoader.java:73)
      at org.ops4j.pax.web.jsp.JspServletWrapper.<init>(JspServletWrapper.java:59)
      at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerJsps(HttpServiceStarted.java:490)
      at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerJsps(HttpServiceProxy.java:194)
      at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:169)
      at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:590)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)
      at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.deploy(WebXmlObserver.java:200)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:159)
      at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:224)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

      12:48:56,241 ERROR [org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC] (Executor: 1) Registration exception. Skipping.: java.lang.ClassNotFoundException: se.natusoft.osgi.aps.tools.web.vaadin.APSSessionListener from [Module "deployment.aps-admin-web:1.0.0" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:114) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:415) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:151) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)
      at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [classes.jar:1.6.0_33]
      at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorHS.newInstance(RegisterWebAppVisitorHS.java:221)
      at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:269)
      at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:593)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)
      at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.deploy(WebXmlObserver.java:200)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:159)
      at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:224)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

      12:48:56,263 ERROR [org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC] (Executor: 1) Registration exception. Skipping.: java.lang.ClassNotFoundException: com.vaadin.terminal.gwt.server.ApplicationServlet from [Module "deployment.aps-admin-web:1.0.0" from Service Module Loader]
      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132) [jboss-modules.jar:1.1.1.GA]
      at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:114) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:415) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:151) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)
      at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [classes.jar:1.6.0_33]
      at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorHS.newInstance(RegisterWebAppVisitorHS.java:221)
      at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:200)
      at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:615)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)
      at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)
      at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273) [jbosgi-framework-core-1.1.8.Final.jar:1.1.8.Final]
      at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)
      at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)
      at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.deploy(WebXmlObserver.java:200)
      at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:159)
      at org.ops4j.pax.swissbox.extender.BundleWatcher$3.run(BundleWatcher.java:224)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [classes.jar:1.6.0_33]
      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [classes.jar:1.6.0_33]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_33]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_33]
      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]
      ________________________________________________________________________

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tommybs Tommy Svensson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: