Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Where is the catalina (Tomcat) bundle?

  1. #1
    Join Date
    May 2008
    Location
    Pittsboro, NC
    Posts
    32

    Default Where is the catalina (Tomcat) bundle?

    In the bundle repository I can only find 6.0 version of catalina, where can I find a 5.5 version that registers the catalina start service?

    I have a version of the bundle in this jar, catalina.osgi-5.5.23-SNAPSHOT.jar, but it does not appear to register the required service, so I get the service matching filter=[(objectClass=org.apache.catalina.Service)] unavailable error.

    Thanks,

    John

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    I don't see it in BRITS either.
    However, it is available in Spring DM distribution's lib directory

    You can also download both of them from Maven repo(see below)
    Code:
    <dependency>
    	  <groupId>org.springframework.osgi</groupId>
    	  <artifactId>catalina.start.osgi</artifactId>
    	  <version>1.0-SNAPSHOT</version>
    	  <scope>test</scope>
    </dependency>
    <dependency>
              <groupId>org.springframework.osgi</groupId>
    	  <artifactId>catalina.osgi</artifactId>
    	  <version>5.5.23-SNAPSHOT</version>		     
    </dependency>
    . . . . .
    <repository>
          <id>i21-s3-osgi-repo</id>
          <name>i21 osgi artifacts repo</name>
          <snapshots>
             <enabled>true</enabled>
          </snapshots>
          <url>http://maven.springframework.org/osgi</url>
    </repository>
    Once downloaded, copy it from your local Maven repo (MAVEN_HOME/.m2/repository/org/springframework/osgi) to your Target platform (basically deploy it)
    Last edited by oleg.zhurakousky; May 14th, 2008 at 10:04 PM.

  3. #3
    Join Date
    May 2008
    Location
    Pittsboro, NC
    Posts
    32

    Default

    Thanks Oleg,

    I have the one from the distribution lib folder, but it does not appear to register the org.apache.catalina.Service service that the web extender bundle is looking for. Shouldn't this register the catalina service? I have it deployed and successfully started.

  4. #4
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    No, you have to have a startup bundle fragment as well (defines all your Tomcat configuration), which is the other bundle I pointed out in Maven configuration.
    Code:
    <dependency>
    	  <groupId>org.springframework.osgi</groupId>
    	  <artifactId>catalina.start.osgi</artifactId>
    	  <version>1.0-SNAPSHOT</version>
    	  <scope>test</scope>
    </dependency>
    More info on this in chapter 8.6.1.1. Here is a small quote.
    In addition to the Catalina artifacts, the repository contains also a Tomcat activator (that works with both 5.5.x and 6.0.x versions) named catalina.osgi.start. The activator understands Tomcat XML configuration and contains a default, minimal setup that starts the server on localhost, port 8080. This behaviour can be customized by placing the desired configuration (which will override the default one) under conf/server.xml location (following the Tomcat folder layout) in a fragment attached to the Tomcat activator.
    Once you deploy it you should be up and running

  5. #5
    Join Date
    May 2009
    Posts
    10

    Default

    I was able to download the binary files using the maven configuration above. Now I need to see the source of the tomcat activator bundle. I know it should be easy to do using maven, but I don't know how. For some reason the catalina.start.osgi bundle is not in the EBR (https://issuetracker.springsource.com/browse/EBR-253). Thanks!

  6. #6
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Both artifacts are available in the Spring DM repository as explained here:
    http://static.springsource.org/osgi/...osgi-repo.html
    The web section also contains details on how to configure various web containers into OSGi: http://static.springsource.org/osgi/...cts:containers
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  7. #7
    Join Date
    Aug 2005
    Location
    Halifax, NS, Canada
    Posts
    50

    Default

    Note: the link in the doc using s3browse.com to view s3 no longer seems to work. But other s3 browsers do.

    The problem is at s3browse.com, the site seems to be down. The web site responds with 503 Service Temporarily Unavailable. But the whose site has been responding that way for at least a few days.
    Don Laidlaw
    Infor Global Solutions

  8. #8
    Join Date
    May 2009
    Posts
    10

    Default

    Looks like S3 Browse has been discontinued (http://blog.s3browse.com/). Are there any instructions on how to browse an s3 repository with another client? I downloaded a stand alone client and one for firefox and they both are asking me to enter in account information. Googling hasn't provided great results yet. If I figure it out, I'll post here.
    Last edited by kneumei; Dec 9th, 2009 at 10:15 AM.

  9. #9
    Join Date
    Aug 2005
    Location
    Halifax, NS, Canada
    Posts
    50

    Default

    I use Cyberduck on my Mac, for a client.

    With it I am able to define a connection to https://s2/amazonaws.com with a username of anonymous. The path from there is maven.springframework.org/osgi/org/springframework/osgi

    Therefore the full URL is: https://s3.amazonaws.com/maven.sprin...framework/osgi
    Don Laidlaw
    Infor Global Solutions

  10. #10
    Join Date
    May 2009
    Posts
    10

    Default

    Gosh I feel like I'm doing something very stupid. On all the s3 clients I've downloaded (the one for firefox, cloudberry, etc), They all want me to enter an "access key" and a "secret key". I guess that is for management of buckets. I haven't found anything yet that just simply lets me browse a url like the one you've provided. I am expecting to enter in a url, a path, and a username/pass sort of like an ftp client. I haven't found that yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •