Announcement Announcement Module

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
Required OSGi bundles for web deployment with Tomcat 6.0.18 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Required OSGi bundles for web deployment with Tomcat 6.0.18


    I've spent quite a lot of time to figure out what's required to run webapps atop Apache Tomcat 6.0.18 within Spring-DM 1.2.0-m2-SNAPSHOT. I must admit it's not an easy task and was so close to set the deps, but lost it (didn't write down the list) and can't move on. I'm stuck. Could someone tell me what the necessary bundles are to run Catalina and be successful developing webapps as OSGi bundles? I think I've read all the emails in the forum and couldn't find the answer.

    Here's the list so far:

    0       ACTIVE      org.eclipse.osgi_3.5.0.v20080916-2300
    1       ACTIVE      org.eclipse.equinox.common_3.4.0.v20080421-2006
    2       ACTIVE      org.eclipse.update.configurator_3.2.300.v20080917
    3       ACTIVE      org.springframework.osgi.catalina.start.osgi_6.0.16.SNAPSHOT
    4       ACTIVE      com.springsource.javax.activation_1.1.1
    5       ACTIVE      com.springsource.javax.annotation_1.0.0
    6       ACTIVE      com.springsource.javax.ejb_3.0.0
    7       ACTIVE      com.springsource.javax.el_2.1.0
    8       ACTIVE      com.springsource.javax.mail_1.4.1
    9       ACTIVE      com.springsource.javax.persistence_1.0.0
    10      ACTIVE      com.springsource.javax.servlet_2.5.0
    11      ACTIVE      com.springsource.javax.servlet.jsp_2.1.0
    12      ACTIVE      com.springsource.javax.servlet.jsp.jstl_1.1.2
    13      ACTIVE      com.springsource.javax.xml.bind_2.1.7
    14      ACTIVE      com.springsource.javax.xml.rpc_1.1.0
    15      ACTIVE      com.springsource.javax.xml.soap_1.3.0
    16      ACTIVE      com.springsource.javax.xml.stream_1.0.1
    17      ACTIVE      com.springsource.javax.xml.ws_2.1.1
    18      ACTIVE
    19      ACTIVE
    20      ACTIVE
    21      RESOLVED
    22      ACTIVE
    23      ACTIVE
    24      ACTIVE
    25      ACTIVE
    26      ACTIVE
    27      ACTIVE      jcl104.over.slf4j_1.5.0
    28      ACTIVE      slf4j.api_1.5.0
                        Fragments=29, 30
    29      RESOLVED    slf4j.jcl_1.5.0
    30      RESOLVED    slf4j.log4j12_1.5.0
    31      ACTIVE      org.springframework.bundle.spring.aop_2.5.6
    32      ACTIVE      org.springframework.bundle.spring.beans_2.5.6
    33      ACTIVE      org.springframework.bundle.spring.context_2.5.6
    34      ACTIVE      org.springframework.bundle.spring.context.support_2.5.6
    35      ACTIVE      org.springframework.bundle.spring.core_2.5.6
    36      ACTIVE      org.springframework.bundle.osgi.extensions.annotations_1.2.0.m2-SNAPSHOT
    37      ACTIVE      org.springframework.bundle.osgi.core_1.2.0.m2-SNAPSHOT
    38      ACTIVE      org.springframework.bundle.osgi.extender_1.2.0.m2-SNAPSHOT
    39      ACTIVE      org.springframework.bundle.osgi.io_1.2.0.m2-SNAPSHOT
    40      ACTIVE      org.springframework.bundle.osgi.web_1.2.0.m2-SNAPSHOT
    41      ACTIVE      org.springframework.bundle.osgi.web.extender_1.2.0.m2-SNAPSHOT
    42      ACTIVE      org.springframework.bundle.spring.web_2.5.6
    Upon startup, I'm getting:

    osgi> log4j:WARN No appenders could be found for logger (org.springframework.osgi.web.tomcat.internal.Activator).
    log4j:WARN Please initialize the log4j system properly.
    and no webapp seems to be properly deployed.

    Any help appreciated.


  • #2
    Jacek, I recommend you start with the sample included in the distribution (you can try 1.2.0 M1 for an extra example). Once you get this working, you can remove the Tomcat 5.5 version with the 6.0.x.
    The sample use 5.5 so that JDK 1.4 can be used for running the samples (the web-console requires 1.5 as it contains annotations).