View Full Version : Where is the catalina (Tomcat) bundle?
May 14th, 2008, 08:15 AM
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.
May 14th, 2008, 09:56 PM
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)
. . . . .
<name>i21 osgi artifacts repo</name>
Once downloaded, copy it from your local Maven repo (MAVEN_HOME/.m2/repository/org/springframework/osgi) to your Target platform (basically deploy it)
May 15th, 2008, 08:24 AM
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.
May 15th, 2008, 08:44 AM
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.
More info on this in chapter 126.96.36.199. 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
Dec 7th, 2009, 04:57 PM
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!
Dec 8th, 2009, 05:49 AM
Both artifacts are available in the Spring DM repository as explained here:
The web section also contains details on how to configure various web containers into OSGi: http://static.springsource.org/osgi/docs/current/reference/html/web.html#web:osgi-artifacts:containers
Dec 9th, 2009, 08:22 AM
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.
Dec 9th, 2009, 10:06 AM
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.
Dec 9th, 2009, 12:04 PM
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.springframework.org/osgi/org/springframework/osgi
Dec 9th, 2009, 12:49 PM
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.
Dec 10th, 2009, 12:23 PM
I don't use windows much, but maybe this will help?
I have not tried it, but that page looks promising.
You do not really need to browse that repository. It is just a maven repository and the maven coordinates for the bundles are shown in the pom near the top of this thread.
I also have another pom example that copies the sources for a bundle if that is what you need. It is a comment on a blog post (http://yetanotherway.blogspot.com/2009/12/configuring-spring-dynamic-modules.html#comments).
Dec 10th, 2009, 01:26 PM
I was also able to browse it with the s3fox firefox plugin.
See the attachment.
Dec 22nd, 2009, 12:28 PM
I am one of the developers of CloudBerry Explorer freeware. you can't login to Amazon S3 with username and password. The only way is to use your Amazon S3 access and security keys. Think of them as of your user name and password. This is how it works. Check out our blog post for more info
Feb 7th, 2010, 01:01 PM
Costin, what is the benefit of TomcatWarDeployer in Spring DM Server?. can we install wars automatically as we do using tomcat:deploy into Spring DM? How can I register the same catalina service in multiple war files?
Feb 8th, 2010, 03:49 AM
The WarDeployer is meant for vanilla OSGi environments that do not have any web awareness - dmServer already understands WARs (far beyond Spring DM) thus it's better to use its capabilities over those in Spring DM.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.